Rodrigo Campos Posted July 21 Share Posted July 21 Hi @Nick A. Thaks for new answer. I tried changing the verbosity=1 to 7, but the same problem. tried extraargs=debug initcall_debug as the link you posted, but none change, still stops in "Starting kernel ..." Quote Is this your box? https://androidpctv.com/firmware-m98-8k-plus/ Yes. This is exactly the same as mine. my wifi chip is the SP6330. My board is exactly the same as @afiftyp posted in page 3 of this topic, but theirs is not with secure boot activated. As I understood, he could use Armbian with your image without modifications. Because of it I think that my problem is the demon of sunx secure boot. Any way, I'm very thank for the effort of all of you in help me. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 21 Share Posted July 21 (edited) Changing the verbosity to 7 worked on my box. Maybe your serial /dev/ttyS0 is different. Can't really do much without kernel messages. You can access your /armbi_root/var/log/kern.log from the SD card using your PC. Edited July 21 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Rodrigo Campos Posted July 21 Share Posted July 21 Thanks again @Nick A. There are no kern.log file in /var/log, even in mini Arch that starts the kernel. Anyway, I will put here 3 files with consoles. A mini Arch with original transpeed dtb (UART_miniArch_transpeeddtb.txt), a mini Arch with yours armbian transpeed dtb (UART_miniArch_Nicks_transpeeddtb.txt) and an android logo of a functional rom(UART_Android_customROM.txt) (I changed the original one for this, because the original is an Android TV and this is a pure Android with root). UART_miniArch_transpeeddtb.txt UART_miniArch_Nicks_transpeeddtb.txt UART_Android_customROM.txt 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 21 Share Posted July 21 (edited) I noticed my transpeed dts booted further without kernel panics. Does the log stop at "[ 1.577046] sun50i-h616-pinctrl 300b000.pinctr" ? I guess the other transpeed dts is the one that came with mainline u-boot? I think the only difference between the two is the Ethernet patch. The first patch adds Ethernet to transpeed dts. Other two edits u-boot source code to support the SOC on chip Ethernet phy called AC300. https://github.com/NickAlilovic/build/tree/main/patch/u-boot/u-boot-sunxi dts-Transpeed-8K618-T-Enable-Ethernet.patch 100-sunsi-add-h616-internal-eth-phy-support.patch 106-Add-int-phy-eth-H313-h616-with-AC300.patch U-boot log should show "apply fix for AC300 ephy bb version bug ..." when these patches are applied. I also noticed your Kernel only show's 2 GiB Dram. I think you are missing a patch to fix this problem. Last time I used MiniArch.. I was able to boot using the Vontar image. I didn't make any changes. Of course you probably need to change miniarch's Vontar u-boot with secure boot option. https://github.com/warpme/miniarch/releases/download/v20240715/MiniArch-20240715-6.10.0-board-h618.vontar_h618-SD-Image.img.xz The mainline u-boot you are using might not be compatible with warpme's build. I think you are missing some of the patches (for example the Ethernet and Dram fixes). The transpeed dts file might not be compatible because the sun50i-h616.dtsi might be different. These are the patches warpme uses for h616 u-boot.. https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/Makefile https://github.com/warpme/minimyth2/tree/master/script/bootloaders/u-boot-h616/files Apply these patches to mainline u-boot and add "CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y" to "/2024.01-rc3/configs/vontar_h618_defconfig" Compile u-boot with Vontar dts. The only change to miniarch vontar u-boot should be "CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y". Edited July 22 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 23 Share Posted July 23 (edited) I created a patch using my Armbian build. If you want to compile an image yourself you need to copy this patch into the /build/patch/u-boot/u-boot-sunxi folder. Here's an image you can test. https://github.com/NickAlilovic/build/releases/download/v20240716/Armbian-20240716-unofficial_24.5.0-trunk_Transpeed-8k618-t_bookworm_edge_6.7.12_xfce_desktop_Secure_Boot.img.tar.xz configs-Transpeed-8K618-T-Add-Transpeed-Secure-Boot.patch From fc6da5681853bdf61ef403dd47a8bc9e5451a6d7 Mon Sep 17 00:00:00 2001 From: Nick Alilovic <nickalilovic@gmail.com> Date: Tue, 23 Jul 2024 00:45:46 -0400 Subject: [PATCH 1/1] configs: Transpeed-8K618-T: Add Transpeed Secure Boot Add Secure Boot Signed-off-by: Nick Alilovic <nickalilovic@gmail.com> --- configs/transpeed-8k618-t_defconfig | 1 + root_key.pem | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 root_key.pem diff --git a/configs/transpeed-8k618-t_defconfig b/configs/transpeed-8k618-t_defconfig index ef7559bf68..5e65c2fa72 100644 --- a/configs/transpeed-8k618-t_defconfig +++ b/configs/transpeed-8k618-t_defconfig @@ -29,3 +29,4 @@ CONFIG_AXP313_POWER=y CONFIG_AXP_DCDC3_VOLT=1360 CONFIG_USB_EHCI_HCD=y CONFIG_USB_OHCI_HCD=y +CONFIG_SPL_IMAGE_TYPE_SUNXI_TOC0=y diff --git a/root_key.pem b/root_key.pem new file mode 100644 index 0000000000..892a10ef90 --- /dev/null +++ b/root_key.pem @@ -0,0 +1,28 @@ +-----BEGIN PRIVATE KEY----- +MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCWZ7G39E+RCi+9 +B48yiD4GxnfqNzvlXOxAd+GHQuKbgynXZd5pIuNHt3ewhZTHZkdHxuO9liqX9MmU +8OhiG+Skww2LzHPPi/eLeN4vCt/waXkjFrkblkhNzB3c6MejKdiz9sfw8oeOFX1S +teP/MJBoRaj6Hexj5g/oCspU+KFfv0cOBcWuq4vZwPJ6+U44IBi7EGleShGHNhBI +xQEyvNaDLWoDCPGLrjRM0DrIbUpzEntk9KJ0z+3Th8O/FtvlW21atolIVr5F96Pw +EEv3CDUHrY+IvK0z+IwNhnYo99kMPi5djB6vviz4In530JQ+OdPxhi4cQY3Yw9wx +Sm8EFaRRAgMBAAECggEAEaEcZ+k7VU8aGuBStNPa31zui9XHD8KlT4YtuXbJzHwi +kKSYXf7woISdAyQZNQkkREHICn4aRn7zDOHy/yLxWS2ivhbsITDxBlhXxLBT4OBg +ClCcyGLEXVgWTQE8+z9Jrwh3VaL76BfVPXdj/tKwroQxwwV0Yp5CEYsIPc75zVjW +Y2tppJL9XlTfKXTSo7FAxJmjkTC8QGPSHgMglR5FOfZ/D3Nj4KV4LV1gHCkICKUy +c2jklHISy8S6/pvgpWb50TKArEhbN6uAKQBNb74ZsChKJ9h9aof/vjH/8Ab1rwUJ +g91lpkR3mEefTjJTW1JOuoT49Y3lfWmkRVh75GiCsQKBgQDUo3uMcy9VdbbmY9Gt +2JuhbSvwR/dOHZJoXvtlNYVJ+1JvavExBy2u31cYsK/2SH/Upc8AXS6H02dXbnC3 +wjlUFi21Xi7/PCQM8TUz05km3+9qOkDYw53EBBBnCdjawBpDgcUSkoZGU+ltBzcR +sj0nsmI29DjwfYHXhofnlfI52QKBgQC1E2Q0hGfk3YUtfzTjDJCfd3gs6QYGQGeT +49jvnsbYsnz9vsK4Ao2skN8nBhSefDJR8h2X+7tRXEefQB2Hy/+9qoiuoVzPJGWD +IiHjeVJDoEqA2Q483UhZ+OPjUGFDTI7O/j1A1HkEBKswdJpKlGVygdoXYaieUAfz +Sb+dCYf7OQKBgQCWkE/aSnE4vQpOJl4BEABbFFdpYzvcpxnVJ3Qw3O3NTdS4Keww +wBl72o7sX6eo5vsE0oc5hcF90ZY6FWxg4XkAblfdNZxng+ku9NisIuct3KDFAgyK +sDCU7B/FJfbUJfQy2r91gCTtxVripZo7wI6G/kuHB/UNbIE04AB5XfZPOQKBgAGw +K5f9wAY3Nn2lGPYg8Nw7vegVSBQY155eWnBpd4sfpuCqvZ//jhiUxS/U865ClCmF +a1c2ZpmslZJbg6r3cOvwwhN2t6nKuhON5uj7AZRV0zv+Sg6xNXJ5So6c+jspZI9z +eVi4YmRyMrJh8+pMFeIKaeEb7PmE334aKuoo45apAoGBAKNp7ssXgU4Ma7cUr7+L +TKGBNVsMZyM3T2qsXJjFY1f90+lwp7TlNQGVMPOSOHxyINWkuLNgAgetlhavnc0S +0l+SbSaO6SfnHfQWBFPEJfol8V/Xa4rcVP7fGxQn4phYnk14N09xKIQa24Mi2Xa5 +9G0C2VOB8Yz6OWcQZELs0uFp +-----END PRIVATE KEY----- -- 2.34.1 Edited July 23 by Nick A 1 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 23 Share Posted July 23 help, who know how to calculate the live image crc? I modify rootfs part , and use write back by dd, then the phoenix image suite log prompt me that pr_crc != nand_crc, and failed. I know the Vxx tis the crc of the xx, but I try crc32 to calc, that is not same. 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 24 Share Posted July 24 (edited) I have learned a lot from the thread. thanks for Nick A. I have installed MiniArch-20240715-6.10.0-board-h618.vontar_h618-SD-Image.img.xz on my box. My board hw is 4G+128G, rtl8211f, axp313a. But the ethernet does not work. The emac1 eth is up, but cant get Ip. the attach is the android dts, and dmesg. I want to try emac0, but it was failed when it init phy link. another question, can I burn an commandline image by phoenix suite? I have a xfce ubuntu phoenix image, but I cant swith it to cmd mode. is there an armbian same as vontar? I am more farmiliar with debian/Ubuntu. I batted it for 2weeks, Thanks a lot. dmsg.tgz Edited July 24 by Loong 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 24 Share Posted July 24 What's the name of the box? Try one of these images. (except the secure boot.) https://github.com/NickAlilovic/build/releases/tag/v20240716 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 24 Share Posted July 24 thank you very much, the box has no name, I have already tried these image before, it does not boot to login. only vontar reache the login screen. Maybe the ethernet doesnot work because the power problem, the ethernet does not receive the elec signal when line plug. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 24 Share Posted July 24 Do you have a log for the Armbian build? If you don't have a serial console you can find it on the sdcard. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 25 Share Posted July 25 (edited) sorry latest armbian 24.8.0 release removed until I find out why HDMI doesn't work without a serial console attached to the uart. Edit: removing patch/u-boot/u-boot-sunxi/opizero3-1.5GB-trim-from-u-boot-v2024.01.patch fixes the problem. Edited July 27 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
kazekami Posted July 25 Share Posted July 25 @Nick A can you build one other version for tanix tx68 (chip aw869a) ? I have some problem about wireless connection. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 25 Share Posted July 25 (edited) Hi Kazekami, It's not so simple. First you would need a working DTS and u-boot defconfig for your box. You can use mine and modify it with your box settings. OrangePi-Zero2 uses the same wifi/bt aw859a chip. You can borrow code off that board to get WIFI to work. https://github.com/orangepi-xunlong/linux-orangepi/blob/orange-pi-6.1-sun50iw9/arch/arm64/boot/dts/allwinner/sun50i-h616-orangepi-zero2.dts https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/files/0641-arm64-dts-allwinner-h616-OrangePI-Zero23-enable-ths-hdmi-audio.patch Your GPIO might be a different value. You can find the correct settings in your android dts. "reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */" reg_vcc33_wifi: vcc33-wifi { /* Always on 3.3V regulator for WiFi and BT */ compatible = "regulator-fixed"; regulator-name = "vcc33-wifi"; regulator-min-microvolt = <3300000>; regulator-max-microvolt = <3300000>; regulator-always-on; vin-supply = <®_vcc5v>; }; reg_vcc_wifi_io: vcc-wifi-io { /* Always on 1.8V/300mA regulator for WiFi and BT IO */ compatible = "regulator-fixed"; regulator-name = "vcc-wifi-io"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; regulator-always-on; vin-supply = <®_vcc33_wifi>; }; wifi_pwrseq: wifi-pwrseq { compatible = "mmc-pwrseq-simple"; clocks = <&rtc 1>; clock-names = "osc32k-out"; reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */ post-power-on-delay-ms = <200>; }; . . . &mmc1 { vmmc-supply = <®_vcc33_wifi>; vqmmc-supply = <®_vcc_wifi_io>; mmc-pwrseq = <&wifi_pwrseq>; bus-width = <4>; non-removable; mmc-ddr-1_8v; status = "okay"; }; You would need to create patches for your box. Make your changes to both u-boot and kernel sun50i-h618-transpeed-8k618-t.dts. git clone https://github.com/NickAlilovic/build.git cd build ./compile.sh In the choose board menu click on "Show CSC/WIP/EOS/TVB" option then choose "transpeed-8k618-t". Choose "bleeding edge", "bookworm", server or desktop doesn't matter. Any desktop environment. Any software. (After the kernel patches are applied and kernel starts to build) ctrl C Create patches for u-boot: cd cache/sources/u-boot-worktree/u-boot/v2024.01 sudo git add . (For the first line patch title you can put "test" and the second line patch description put "test". Doesn't matter right now.) sudo git commit --signoff sudo pico arch/arm/dts/sun50i-h618-transpeed-8k618-t.dts sudo git status sudo git add arch/arm/dts/sun50i-h618-transpeed-8k618-t.dts sudo git commit --signoff (Remember the first line patch title and the second line patch description.) sudo git format-patch v2024.01 Create patches for kernel: cd ~/build/cache/sources/kernel-sunxi64-6.7/ sudo git add . (For the first line patch title you can put "test" and the second line patch description put "test". Doesn't matter right now.) sudo git commit --signoff sudo pico arch/arm64/boot/dts/allwinner/sun50i-h618-transpeed-8k618-t.dts sudo git status sudo git add arch/arm64/boot/dts/allwiner/sun50i-h618-transpeed-8k618-t.dts sudo git commit --signoff (Remember the first line patch title and the second line patch description.) sudo git format-patch -1 kernel-sunxi64-6.7 Patch directories: u-boot ~/build/patch/u-boot/u-boot-sunxi/ kernel ~/build/patch/kernel/archive/sunxi-6.7/patches.armbian/ Kernel patches config ( mines (-) before the patch name disables the patch) Add your new kernel patch to the bottom of these two files. ~/build/patch/kernel/archive/sunxi-6.7/series.armbian ~/build/patch/kernel/archive/sunxi-6.7/series.conf Armbian board config: # Allwinner H618 quad core 4GB RAM SoC WiFi USB BOARD_NAME="Transpeed 8k618-t" BOARDFAMILY="sun50iw9" BOARD_MAINTAINER="Nick A" BOOTCONFIG="transpeed-8k618-t_defconfig" OVERLAY_PREFIX="sun50i-h616" BOOT_LOGO="desktop" KERNEL_TARGET="current,edge" FORCE_BOOTSCRIPT_UPDATE="yes" function post_family_tweaks__station_m2() { display_alert "$BOARD" "Installing board tweaks" "info" cp -R $SRC/packages/blobs/station/firmware/brcm/* $SDCARD/lib/firmware/brcm return 0 } If you need to add wifi or bluetooth firmware. Add your firmware to /build/packages/blobs/station/firmware and make changes to the bottom copy command. sudo pico ~/build/config/boards/transpeed-8k618-t.wip Firmware for aw859a chip may already be in the armbian build. https://github.com/warpme/minimyth2/blob/master/script/firmware/aw859a-firmware/Makefile Edited August 10 by Nick A 1 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 26 Share Posted July 26 @Nick A how to use Armbian-20240716-unofficial_24.5.0-trunk_Transpeed-8k618-t_bookworm_edge_6.7.12_server.img.tar.xz I have decompresss and flash to sd card, it cant boot. livesuit cant recognize it. Thank you very much. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 26 Share Posted July 26 (edited) You can use my build and instructions above to create an armbian image using miniarch’s vontar dts and defconfig. U-boot https://github.com/warpme/minimyth2/blob/master/script/bootloaders/u-boot-h616/files/160-add-vontar-h618-defconfig.patch Kernel https://github.com/warpme/minimyth2/blob/master/script/kernel/linux-6.10/files/0647-arm64-dts-allwinner-h618-add-vontar-h618-TVbox.patch Edited July 26 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
kazekami Posted July 26 Share Posted July 26 @Nick A Thank you!!! 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 26 Share Posted July 26 @Nick A I have clone your build, but there is a error when building https://paste.armbian.com/osojimuwem AR sound/soc/built-in.a [🐳|🔨] LD [M] net/netfilter/ipvs/ip_vs.o [🐳|🔨] AR sound/built-in.a [🐳|🔨] AR net/built-in.a [🐳|🔨] CC [M] kernel/kheaders.o [🐳|🔨] make[2]: *** [Makefile:1923: .] Error 2 [🐳|🔨] make[1]: *** [/armbian/cache/sources/linux-kernel-worktree/6.6__sunxi64__arm64/Makefile:359: __build_one_by_one] Error 2 [🐳|🔨] make: *** [Makefile:234: __sub-make] Error 2 [🐳|💥] Error 2 occurred in main shell [ at /armbian/lib/functions/logging/runners.sh:211 run_host_command_logged_raw() --> lib/functions/logging/runners.sh:211 run_host_command_logged() --> lib/functions/logging/runners.sh:193 run_kernel_make_internal() --> lib/functions/compilation/kernel-make.sh:61 run_kernel_make_long_running() --> lib/functions/compilation/kernel-make.sh:74 do_with_ccache_statistics() --> lib/functions/compilation/ccache.sh:39 kernel_build() --> lib/functions/compilation/kernel.sh:218 do_with_hooks() --> lib/functions/general/extensions.sh:557 do_with_logging() --> lib/functions/logging/section-logging.sh:81 kernel_prepare_build_and_package() --> lib/functions/compilation/kernel.sh:157 compile_kernel() --> lib/functions/compilation/kernel.sh:91 artifact_kernel_build_from_sources() --> lib/functions/artifacts/artifact-kernel.sh:238 artifact_build_from_sources() --> lib/functions/artifacts/artifacts-obtain.sh:34 obtain_complete_artifact() --> lib/functions/artifacts/artifacts-obtain.sh:280 build_artifact_for_image() --> lib/functions/artifacts/artifacts-obtain.sh:392 main_default_build_packages() --> lib/functions/main/build-packages.sh:108 full_build_packages_rootfs_and_image() --> lib/functions/main/default-build.sh:31 do_with_default_build() --> lib/functions/main/default-build.sh:42 cli_standard_build_run() --> lib/functions/cli/cli-build.sh:25 armbian_cli_run_command() --> lib/functions/cli/utils-cli.sh:136 cli_entrypoint() --> lib/functions/cli/entrypoint.sh:176 main() --> compile.sh:50 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 26 Share Posted July 26 (edited) BRANCH=current 6.6 Use the edge kernel. 6.7 ./compile.sh build BOARD=transpeed-8k618-t BRANCH=edge BUILD_DESKTOP=no BUILD_MINIMAL=yes KERNEL_CONFIGURE=no RELEASE=bookworm Edited July 26 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 27 Share Posted July 27 (edited) If you are using v20240725 build... Delete patch/u-boot/u-boot-sunxi/opizero3-1.5GB-trim-from-u-boot-v2024.01.patch It's causing boot issues on my transpeed box. Edited July 27 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 30 Share Posted July 30 Thank you very much. I have built up with the same patch vontar h618 of minarch. I have 2 boxes, those are white brand. And I have tried gmac driver in orange pi zero2. There are the same issue. when the net plugin or pullout, the ethernet has no response. I have no idea about this. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 30 Share Posted July 30 (edited) Can you take pictures of your board.. maybe we can figure out which chip your box uses for Ethernet. Also, can you post your boot logs. https://linux-sunxi.org/Ethernet Edited July 31 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 31 Share Posted July 31 (edited) 514: boot0: Allwinner boot0 size: 61440 bytes eGON checksum matches: 0xe69a1706 DRAM parameters: A64 H616 DRAM clock : 0x288 0x288 - DRAM type : 0x3 0x3 - ZQ value : 0x3030303 - - ODT enabled : 0xe0e0e0e 0x1 - DX ODT : - 0x3030303 - DX DRI : - 0xe0e0e0e - CA DRI : - 0x1f12 - PARA1 : 0x1f12 0x30fb - PARA2 : 0x1 0 - MR0 : 0x30fb 0x840 - MR1 : 0 0x4 - MR2 : 0x840 0x8 - MR3 : 0x4 0 - TPR0 : 0x8 0xc0001002 - TPR6 : 0 0x33808080 - TRP10 : 0 0x2f1107 - TRP11 : 0 0xddddcccc - TRP12 : 0xc0001002 0xeddc7665 - TRP13 : 0 0x40 the ethernet chip is rtl8211f, power is axp313a the attachment is origin adroid dts. android_sunxi.dts Edited July 31 by Loong 0 Quote Link to comment Share on other sites More sharing options...
Loong Posted July 31 Share Posted July 31 when I use emac0 same dts as orange pi zero2 (RTL8211f,axp305) the log like [ 1.875818] dwmac-sun8i 5020000.ethernet: IRQ eth_wake_irq not found [ 1.875832] dwmac-sun8i 5020000.ethernet: IRQ eth_lpi not found [ 1.876038] dwmac-sun8i 5020000.ethernet: supply phy-io not found, using dummy regulator [ 1.876212] dwmac-sun8i 5020000.ethernet: PTP uses main clock [ 1.876242] dwmac-sun8i 5020000.ethernet: Current syscon value is not the default 51fe6 (expect 0) [ 1.879401] dwmac-sun8i 5020000.ethernet: No HW DMA feature register supported [ 1.879426] dwmac-sun8i 5020000.ethernet: RX Checksum Offload Engine supported [ 1.879434] dwmac-sun8i 5020000.ethernet: COE Type 2 [ 1.879443] dwmac-sun8i 5020000.ethernet: TX Checksum insertion supported [ 1.879451] dwmac-sun8i 5020000.ethernet: Normal descriptors [ 1.879459] dwmac-sun8i 5020000.ethernet: Chain mode enabled [ 1.880698] mdio_bus stmmac-0: MDIO device at address 0 is missing. [ 1.899782] mmc2: new DDR MMC card at address 0001 [ 1.902560] mmcblk2: mmc2:0001 UY7CS0 117 GiB [ 1.915805] mmcblk2: p1 p2 p3 p4 p5 [ 1.917149] mmcblk2boot0: mmc2:0001 UY7CS0 4.00 MiB [ 1.919393] mmcblk2boot1: mmc2:0001 UY7CS0 4.00 MiB [ 1.921901] sun4i-drm display-engine: bound 1100000.mixer (ops 0xffff800080ede728) [ 1.922172] sun4i-drm display-engine: bound 6510000.tcon-top (ops 0xffff800080ee34c0) [ 1.922427] sun4i-drm display-engine: bound 6515000.lcd-controller (ops 0xffff800080edb550) [ 1.981778] dwmac-sun8i 5020000.ethernet: EMAC reset timeout [ 1.981808] dwmac-sun8i 5020000.ethernet eth0: stmmac_dvr_remove: removing driver [ 2.000392] dwmac-sun8i: probe of 5020000.ethernet failed with error -110 ---------------------------- when I use default vantar eth, with emac1, there is no erro, but when line plun in it does not response. [ 5.784131] dwmac-sun8i 5030000.ethernet: IRQ eth_wake_irq not found [ 5.784157] dwmac-sun8i 5030000.ethernet: IRQ eth_lpi not found [ 5.784165] dwmac-sun8i 5030000.ethernet: IRQ sfty not found [ 5.821569] dwmac-sun8i 5030000.ethernet: supply phy-io not found, using dummy regulator [ 5.852038] dwmac-sun8i 5030000.ethernet: PTP uses main clock [ 5.852092] dwmac-sun8i 5030000.ethernet: Current syscon value is not the default 53fe1 (expect 0) [ 5.862416] dwmac-sun8i 5030000.ethernet: No HW DMA feature register supported [ 5.862438] dwmac-sun8i 5030000.ethernet: RX Checksum Offload Engine supported [ 5.862443] dwmac-sun8i 5030000.ethernet: COE Type 2 [ 5.862450] dwmac-sun8i 5030000.ethernet: TX Checksum insertion supported [ 5.862455] dwmac-sun8i 5030000.ethernet: Normal descriptors [ 5.862461] dwmac-sun8i 5030000.ethernet: Chain mode enabled [ 5.964131] sunxi-snd-mach soc:ahub_dam_mach: ASoC: can't create pcm ahub_dam-snd-soc-dummy-dai :-22 [ 5.978763] sunxi-snd-mach soc:ahub_dam_mach: probe with driver sunxi-snd-mach failed with error -22 [ 6.161460] dwmac-sun8i 5030000.ethernet end0: renamed from eth0 [ 6.229051] dwmac-sun8i 5030000.ethernet end0: Register MEM_TYPE_PAGE_POOL RxQ-0 [ 6.233434] dwmac-sun8i 5030000.ethernet end0: PHY [stmmac-0:00] driver [Generic PHY] (irq=POLL) [ 6.241542] dwmac-sun8i 5030000.ethernet end0: No Safety Features support found [ 6.241565] dwmac-sun8i 5030000.ethernet end0: No MAC Management Counters available [ 6.241574] dwmac-sun8i 5030000.ethernet end0: PTP not supported by HW [ 6.246544] dwmac-sun8i 5030000.ethernet end0: configuring for phy/rmii link mode ---------------- and I try orange pi zero 2w dts, with gmac driver ,the behavior like vontar, no error, no response. the atatchment is same as zero 2 hv16.dts 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 31 Share Posted July 31 (edited) hv16.dts looks like the android dts. Can I have your armbian linux dts you are using right now? H618 soc suports two Ethernet devices.. emac0 uses external Ethernet chip. (Usually 1000/100Mbit ethernet) emac1 uses the internal PHY built in Ehternet inside H618 soc. (100Mbit ethernet) Orangepie zero2. (External Ethernet chip) aliases { mmc0 = &mmc0; mmc2 = &mmc2; ethernet0 = &emac0; ethernet1 = &wlan; serial0 = &uart0; }; &emac0 { allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; phy-mode = "rgmii"; phy-supply = <®_dcdce>; }; Transpeed and Vontar box. (H618 Ethernet inside H618 soc.) aliases { mmc0 = &mmc0; mmc2 = &mmc2; ethernet0 = &emac1; ethernet1 = &wlan; serial0 = &uart0; }; &emac1 { pinctrl-names = "default"; pinctrl-0 = <&rmii_pins>; phy-mode = "rmii"; phy-handle = <&rmii_phy>; phy-supply = <®_aldo1>; allwinner,rx-delay-ps = <3100>; allwinner,tx-delay-ps = <700>; status = "okay"; }; &mdio1 { rmii_phy: ethernet-phy@0 { compatible = "ethernet-phy-ieee802.3-c22"; reg = <0>; }; }; You might have to compile your kernel with RTL8211f support. Not sure if the option is already selected. Remember both u-boot and kernel dts needs these changes. Edited July 31 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Rodrigo Campos Posted July 31 Share Posted July 31 Hi @Nick A. Sorry the late feedback, but I'm still test some things... On 7/23/2024 at 1:58 AM, Nick A said: Here's an image you can test. https://github.com/NickAlilovic/build/releases/download/v20240716/Armbian-20240716-unofficial_24.5.0-trunk_Transpeed-8k618-t_bookworm_edge_6.7.12_xfce_desktop_Secure_Boot.img.tar.xz Yes, I finally could boot Armbian with this image successfully. Almost everything worked fine Just Bluetooth and the memory size still bad. Desktop started OK; HDMI - image and sound - OK (Not in u-boot); Ethernet - OK; WIFI didn't work in beginning, because my chip is the sp6330, but I could make it to work following this tip: https://forum.armbian.com/topic/16696-armbian-for-tanix-tx3-amlogic-s905x3-with-sp6330-wifibluetooth-module/?do=findComment&comment=117066; Bluetooth still don't work. I see somewhere in this topic a tip about it, I'll look for it then; The box just recognize 2GB instead 4GB (In u-boot shows 4GB, but in system for some reason, just recognize 2GB); I could successfully install this image in internal EMMC with armbian-install and it works fine without the uSD inserted; Obs.: I cant update/upgrade the system, because it make the system stop working, so I freezed kernel upgrades and now I can update and upgrade without break the system. Thank for yours tips and efforts to help us. 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted July 31 Share Posted July 31 (edited) I remember Jernej was working on better Ram detection. But I don't know if this will fix the kernel Ram detection. Maybe your Ram settings in your u-boot defconfig has something to do with it. You would have to extract your boot0 to get the correct Ram settings. I haven't found the fix for this issue yet. https://github.com/jernejsk/u-boot/commits/dram-fixes/ For Bluetooth, I would need to see the bluetooth errors in the boot log. Maybe your missing the bluetooth firmware, GPIO in the dts is the wrong number or for some reason Bluetooth on my transpeed box only works when I have bluetooth enabled in Android. Edited July 31 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted August 3 Share Posted August 3 (edited) Hi Loong I would use the Ethernet code from Sipeed Longan 3H... this board uses a similar chip RTL8211F-CG. https://github.com/sipeed/LonganPi-3H-SDK/blob/main/linux/0001-arm64-dts-allwinner-h616-Add-Sipeed-Longan-SoM-3H-an.patch Edited August 3 by Nick A 0 Quote Link to comment Share on other sites More sharing options...
Johan S Posted August 10 Share Posted August 10 Hi @Nick A and friends, I got my own Transpeed 8K earlier this week (4GB ram / 64GB emmc). I am including a picture with the top off below. 1) I first tried to install the MiniArch OS of WarpMe. I used the VONTAR image as recommended in this thread. Almost everything worked out of the box including WiFi. - HDMI: Display works, sound not tested - Ram: MiniArch correctly detects all 4GB of ram. - EMMC: For some reason, I could not get the emmc to work. First I tried to use the tool supplied by MiniArch to flash the OS to emmc, but it just hangs indefinitely. Then I tried to manually format / partition the emmc with fdisk, but everytime i try to write a partition table to mmcblk2 (both GPT and MBR), my system would just hang indefinitely - attempting to mount /dev/mmcblk2 produce the same outcome. I manage to somehow format the emmc. - WiFi: The only other (minor) issue i had with MiniArch is that it takes about 2 min for the OS to properly load the wifi drivers (see output from dmesg for reference). I didn't spend so more time on MiniArch because I'd much rather use Armbian. [ 67.908595] cfg80211: failed to load regulatory.db [ 69.615347] brcmfmac mmc3:0001:1: loading /lib/firmware/brcm/brcmfmac4334-sdio.clm_blob failed with error -22 [ 69.625299] brcmfmac mmc3:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.clm_blob failed with error -22 [ 69.635482] brcmfmac mmc3:0001:1: Falling back to sysfs fallback for: brcm/brcmfmac4334-sdio.clm_blob [ 131.233673] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-2), device may have limited channels available [ 131.233699] brcmfmac: brcmf_c_process_txcap_blob: no txcap_blob available (err=-2) [ 131.234035] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM4334/3 wl0: Jul 24 2019 12:58:36 version 6.10.191 (TOB) (r) FWID 01-b049404e 2) I then tried the Armbian-20240726-unofficial_24.8.0-trunk_Transpeed-8k618-t_bookworm_edge_6.7.12_server.img.tar.xz prepared by Nick. - I had to unpack the xz file before flashing with balenaEtcher to get it to work correctly. The image works really well on my Transpeed8k. - HDMI: Display works, sound not tested - Ram: Correctly detects all 4GB - EMMC: It works! I ran armbian-install and succesfully transferred to OS to emmc and I am booting from emmc without SD-card! - WiFi: does not work out of the box (dmesg output below). I have added a wifi dongle (RealTek 8188) and it worked right away. I will see if i can get the internal wifi to work. - DE: I installed xfce4 and it works really well on the transpeed. - Other: I noticed that the 7-segment display (time display) on the device is driven by a FD650 chip that communicates over i2c. brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac4334-sdio for chip BCM4334/3 brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.transpeed,8k618-t.bin failed with error -2 brcmfmac mmc0:0001:1: Direct firmware load for brcm/brcmfmac4334-sdio.txt failed with error -2 brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50 Thanks 0 Quote Link to comment Share on other sites More sharing options...
Nick A Posted August 11 Share Posted August 11 (edited) Hi Johan, Try the firmware from https://github.com/LibreELEC/brcmfmac_sdio-firmware brcmfmac4334-sdio.txt brcmfmac4334-sdio.bin Rename brcmfmac4334-sdio.bin to brcmfmac4334-sdio.transpeed,8k618-t.bin or create a link. copy the files into your /lib/firmware/brcm/ directory. Edited August 11 by Nick A 1 Quote Link to comment Share on other sites More sharing options...
kazekami Posted August 11 Share Posted August 11 @Nick A Hi, i have some problems with usb gate, i missing one connect usb 2.0 ( my box have three gates usb). You can suggestion for this problem ? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.