ophub / amlogic-s9xxx-armbian

Support for Armbian in Amlogic, Rockchip and Allwinner boxes. Support a311d, s922x, s905x3, s905x2, s912, s905d, s905x, s905w, s905, s905l, rk3588, rk3568, rk3399, rk3328, h6, etc.
GNU General Public License v2.0
5.91k stars 1.9k forks source link

M401a-S095L3,u盘启动成功,写入emmc成功,从emmc启动失败 #2397

Closed 52bin closed 2 months ago

52bin commented 3 months ago

Device Information | 设备信息

Describe the bug | 问题描述 刷入android_tv_m401a_s905l3.tar.xz u盘启动成功,写入emmc成功,从emmc启动失败 ,使用120写入,疑似未识别emmc 补充:删除emmc boot的u-boot.emmc可以从emmc启动,但是没有网络

盒子信息

1000029081 1000029083 1000029086

未插网线从u盘启动

U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212

Model: Amlogic Meson GXL (S905X) P212 Development Board
SoC:   Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2)
DRAM:  2 GiB
MMC:   mmc@70000: 0, mmc@72000: 1, mmc@74000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
[BL31]: tee size: 0
[BL31]: tee size: 0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: SanDisk Rev: 1.00 Prod: Cruzer Glide 3.0
            Type: Removable Hard Disk
            Capacity: 29760.0 MB = 29.0 GB (60948480 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
1123 bytes read in 3 ms (365.2 KiB/s)
## Executing script at 08000000
Start AMLOGIC mainline U-boot
## Error: "bootfromsd" not defined
372 bytes read in 3 ms (121.1 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=4a:c9:0e:e1:18:1e
47184384 bytes read in 1158 ms (38.9 MiB/s)
13545448 bytes read in 342 ms (37.8 MiB/s)
40132 bytes read in 9 ms (4.3 MiB/s)
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13545384 Bytes = 12.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Ramdisk to 7d260000, end 7df4afa8 ... OK
   Loading Device Tree to 000000007d253000, end 000000007d25fcc3 ... OK

Starting kernel ...

写入emmc未插网线启动

U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212

Model: Amlogic Meson GXL (S905X) P212 Development Board
SoC:   Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2)
DRAM:  2 GiB
MMC:   mmc@70000: 0, mmc@72000: 1, mmc@74000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
[BL31]: tee size: 0
[BL31]: tee size: 0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
unable to select a mode : -5
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: pxeuuid
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/01-4a-c9-0e-e1-18-1e
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/00000000
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/0000000
ethernet@c9410000 Waiting for PHY auto negotiation to complete......... TIMEOUT !
Could not initialize PHY ethernet@c9410000
missing environment variable: bootfile
Retrieving file: pxelinux.cfg/000000

插网线从u盘启动

U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212

Model: Amlogic Meson GXL (S905X) P212 Development Board
SoC:   Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2)
DRAM:  2 GiB
MMC:   mmc@70000: 0, mmc@72000: 1, mmc@74000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
[BL31]: tee size: 0
[BL31]: tee size: 0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... 2 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Device 0: Vendor: SanDisk Rev: 1.00 Prod: Cruzer Glide 3.0
            Type: Removable Hard Disk
            Capacity: 29760.0 MB = 29.0 GB (60948480 x 512)
... is now current device
Scanning usb 0:1...
Found U-Boot script /boot.scr
1123 bytes read in 3 ms (365.2 KiB/s)
## Executing script at 08000000
Start AMLOGIC mainline U-boot
## Error: "bootfromsd" not defined
372 bytes read in 3 ms (121.1 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=4a:c9:0e:e1:18:1e
47184384 bytes read in 1158 ms (38.9 MiB/s)
13545448 bytes read in 341 ms (37.9 MiB/s)
40132 bytes read in 10 ms (3.8 MiB/s)
## Loading init Ramdisk from Legacy Image at 13000000 ...
   Image Name:   uInitrd
   Image Type:   AArch64 Linux RAMDisk Image (gzip compressed)
   Data Size:    13545384 Bytes = 12.9 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
## Flattened Device Tree blob at 08008000
   Booting using the fdt blob at 0x8008000
   Loading Ramdisk to 7d260000, end 7df4afa8 ... OK
   Loading Device Tree to 000000007d253000, end 000000007d25fcc3 ... OK

Starting kernel ...

写入emmc插网线启动

U-Boot 2021.04-00056-g13ac02db31-dirty (Apr 28 2021 - 22:52:02 +0800) p212

Model: Amlogic Meson GXL (S905X) P212 Development Board
SoC:   Amlogic Meson Unknown (Unknown) Revision 2a:e (c5:2)
DRAM:  2 GiB
MMC:   mmc@70000: 0, mmc@72000: 1, mmc@74000: 2
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
[BL31]: tee size: 0
[BL31]: tee size: 0
Net:   eth0: ethernet@c9410000
Hit any key to stop autoboot:  0 
starting USB...
Bus usb@c9000000: dwc3_meson_gxl_get_phys: usb2 ports: 2
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus usb@c9000000 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found

Device 0: unknown device
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
unable to select a mode : -5
Speed: 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 10.1.1.128 (7 ms)
*** Warning: no boot file name; using '0A010180.img'
Using ethernet@c9410000 device
TFTP from server 10.1.1.1; our IP address is 10.1.1.128
Filename '0A010180.img'.
Load address: 0x1000000
Loading: T T T T T T T T T
52bin commented 3 months ago

已解决,可以从emmc进入,有线网络正常,参照#2145 使用 129刷入 :meson-gxl-s905l2-x7-5g.dtb :u-boot-s905x-s912.bin 未使用extlinux.conf

ophub commented 3 months ago

恭喜你