Closed tv4you2016 closed 2 years ago
The kernel version of 5.9.0 is quite different from that of 5.15.28, and the dtb file is not necessarily universal. The dtb of meson-sm1-sei610.dtb is available in all versions of the kernel. Can you use the dtb of the current kernel directly?
Your box is a 100M wired network card, and wireless cannot be used.
Test the firmware of the 5.4 kernel, use the default dtb and do not modify it. meson-sm1-x96-max-plus-100m.dtb
with this one it works. (https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_focal_03.17.1008/Armbian_22.05.0_Aml_s905x3_focal_5.4.185_2022.03.17.0917.img.gz)
I don't understand one thing.
The reason why this error only happens when after switching to emmc.. it's when I create the img the first time and put the setting everything works correctly
this is an old armbian img that works with the dtb meson-sm1-sei610.dtb you have at https://github.com/ophub/amlogic-s9xxx-armbian/tree/main/build-armbian/amlogic-dtb
root@armhassio:~# dmesg|grep dwmac [ 3.378045] meson8b-dwmac ff3f0000.ethernet: IRQ eth_wake_irq not found [ 3.384017] meson8b-dwmac ff3f0000.ethernet: IRQ eth_lpi not found [ 3.390214] meson8b-dwmac ff3f0000.ethernet: PTP uses main clock [ 3.396091] meson8b-dwmac ff3f0000.ethernet: no reset control found [ 3.408902] meson8b-dwmac ff3f0000.ethernet: User ID: 0x11, Synopsys ID: 0x37 [ 3.415933] meson8b-dwmac ff3f0000.ethernet: DWMAC1000 [ 3.421109] meson8b-dwmac ff3f0000.ethernet: DMA HW capability register supported [ 3.428520] meson8b-dwmac ff3f0000.ethernet: RX Checksum Offload Engine supported [ 3.435933] meson8b-dwmac ff3f0000.ethernet: COE Type 2 [ 3.441108] meson8b-dwmac ff3f0000.ethernet: TX Checksum insertion supported [ 3.448094] meson8b-dwmac ff3f0000.ethernet: Wake-Up On Lan supported [ 3.454531] meson8b-dwmac ff3f0000.ethernet: Normal descriptors [ 3.460346] meson8b-dwmac ff3f0000.ethernet: Ring mode enabled [ 3.466122] meson8b-dwmac ff3f0000.ethernet: Enable RX Mitigation via HW Watchdog Timer [ 6.524853] meson8b-dwmac ff3f0000.ethernet eth0: PHY [0.1:08] driver [Meson G12A Internal PHY] (irq=34) [ 6.540310] meson8b-dwmac ff3f0000.ethernet eth0: No Safety Features support found [ 6.542252] meson8b-dwmac ff3f0000.ethernet eth0: PTP not supported by HW [ 6.549059] meson8b-dwmac ff3f0000.ethernet eth0: configuring for phy/rmii link mode [ 8.079282] meson8b-dwmac ff3f0000.ethernet eth0: Link is Up - 100Mbps/Full - flow control rx/tx
kernel setting export (zcat /proc/config.gz > running.config) running.txt
with this one it works. (https://github.com/ophub/amlogic-s9xxx-armbian/releases/download/Armbian_Aml_focal_03.17.1008/Armbian_22.05.0_Aml_s905x3_focal_5.4.185_2022.03.17.0917.img.gz)
Add your own personalized installation configuration in /usr/sbin/armbian-install
999:X96 Max Plus Q1:s905x3:meson-sm1-x96-max-plus-100m.dtb:u-boot-x96maxplus.bin:NA:NA:4C@2100Mhz,2GB Mem,100Mb Nic,Wifi
I think there's something I'm not getting. The installation pen works fine (with this dtb meson-sm1-sei610.dtb) until the moment of installing in emmc. when I pass the emmc and the eth0 error appears
this img is already when booted by emmc
You said earlier that using the default firmware works fine on USB, the DTB that works fine is meson-sm1-x96-max-plus-100m.dtb, not the meson-sm1-sei610.dtb you have been clinging to. Since you have used the default firmware on USB and it can be used normally, then use meson-sm1-x96-max-plus-100m.dtb, no matter what dtb you have used in other firmware before, your current test results shall prevail.
my x96 box only works when I select the dtb meson-sm1-sei610.dtb. all other dtb's always give eth0 error.
Only firmware with 5.4 kernel can be used . Add your own personalized installation configuration in /usr/sbin/armbian-install
999:X96 Max Plus Q1:s905x3:meson-sm1-sei610.dtb:NA:NA:NA:4C@2100Mhz,2GB Mem,100Mb Nic,Wifi
My board
-CPU: Amlogic S905X3 quad-core ARM Cortex A55; -GPU: ARM Mali-G31MP; - OS: Android 9.0; - Memory: DDR3 4GB, FLASH 32/64GB/128GB;
Without chip 1000Mb. LAN 100, Cdtech 4761743 radio module and two antennas
hello friends I'm using this build of armbian https://github.com/ophub/amlogic-s9xxx-armbian using kernel 5.15.28, put the dtb meson-sm1-sei610.dtb (FDT /dtb/amlogic/meson-sm1 - sei610.dtb which corresponds to my box because this build Armbian_20.10_Arm-64_buster_current_5.9.0.img works), I boot from Pen everything works (it boots and I have eth0) but when I transfer to emc using script (https://github.com/ophub/amlogic-s9xxx-armbian/blob/main/build -armbian/ common-files/files/usr/sbin/armbian-install) Then I restart the box and the error eth0 appears and I no longer have IP What will my problem be?
Please do not close the topic until it is resolved.