Skip to content

cm211-1 u盘成功启动,install也可以正常写入,但重启后不进系统,看ttl日志自动进入pxe引导了... #3017

Open
@zzj2039

Description

@zzj2039
**Device Information | 设备信息**
 - SOC: [s905l3-b]
 - Model [cm211-1 zg]

**Armbian Version | 系统版本**
 - Kernel Version: [6.12.35]
 - Release: [noble]
 - Data: [2025.07.01]

**Describe the bug | 问题描述**
问题如题
启动日志
TE: 72368

BL2 Built : 17:21:16, Mar 19 2021.
gxl g767b31d - longyong.chen@droid02-sz

Board ID = 4, adc=303
set vcck to 1070 mv
set vddee to 1070 mv
CPU clk: 1200MHz

DDR4 chl: Rank0+1 @ 912MHz - FAIL
DDR4 chl: Rank0 @ 912MHz - FAIL
DDR4 chl: Rank0 16bit @ 912MHz - FAIL
DDR3 chl: Rank0+1 @ 792MHz - FAIL
DDR3 chl: Rank0 @ 792MHz
bist_test rank: 0 24 02 47 39 16 5d 22 00 44 3b 1b 5b 22 00 45 36 13 5a 24 00 48 3a 16 5f 612   - PASS

Rank0: 2048MB(auto)-2T-11
AddrBus test pass!
-s
Load fip header from eMMC, src: 0x0000c200, des: 0x01400000, size: 0x00004000
New fip structure!
Load bl30 from eMMC, src: 0x00010200, des: 0x013c0000, size: 0x00007600
Load bl301 from eMMC, src: 0x00018200, des: 0x01380000, size: 0x00002600
Load bl31 from eMMC, src: 0x0001c200, des: 0x10100000, size: 0x00019600
Load bl33 from eMMC, src: 0x00038200, des: 0x01000000, size: 0x0004dc00
NOTICE:  BL3-1: v1.0(debug):27617c8a4
NOTICE:  BL3-1: Built : 18:02:23, Aug 18 2021
NOTICE:  BL31: GXL normal boot!
NOTICE:  BL31: BL33 decompress pass
[Image: gxl_v1.1.3103-923400455-dirty 2020-12-28 18:42:52 xingyu.chen@droid12-sz]
efuse init ops = c5
efuse init hdcp = c, cf9=7
x2_hp_e = 0
bl30: check_permit, count is 1
bl30: check_permit: ok!
chipid: 0 0 3 c c 0 11 b4 70 a0 0 c5 not ES chip
[0.987602 Inits done]
INFO:    BL3-1: Initializing runtime services
WARNING: No OPTEE provided by BL2 boot loader
ERROR:   Error initializing runtime service opteed_fast
INFO:    BL3-1: Preparing for EL3 exit to normal world
INFO:    BL3-1: Next image address = 0x1000000
INFO:    BL3-1: Next image spsr = 0x3c9


U-Boot 2015.01 (Sep 15 2021 - 15:14:46)

DRAM:  2 GiB
Relocation Offset is: 76edf000
gpio: pin GPIODV_24 (gpio 43) value is 1
register usb cfg[0][1] = 0000000077f5d920
[CANVAS]canvas init
vpu: error: vpu: check dts: FDT_ERR_BADMAGIC, load default parameters
vpu: clk_level = 7
vpu: set clk: 666667000Hz, readback: 666660000Hz(0x300)
vpp: vpp_init
MMC:   aml_priv->desc_buf = 0x0000000073ecfac0
aml_priv->desc_buf = 0x0000000073ed1de0
SDIO Port B: 0, SDIO Port C: 1
emmc/sd response timeout, cmd8, status=0x3ff2800
emmc/sd response timeout, cmd55, status=0x3ff2800
init_part() 278: PART_TYPE_DOS
[mmc_init] mmc init success
dtb magic 00088b1f
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 4
      Multi dtb tool version: v2 .
      Support 6 dtbs.
        aml_dt soc: gxlx2 platform: p291 variant: 2g
        dtb 0 soc: gxlx2   plat: p291   vari: 1g
        dtb 1 soc: gxlx2   plat: p291   vari: 2g
        dtb 2 soc: gxlx2   plat: p291   vari: 3g
        dtb 3 soc: gxlx2   plat: p295   vari: 1g
        dtb 4 soc: gxlx2   plat: p295   vari: 2g
        dtb 5 soc: gxlx2   plat: p295   vari: 3g
      Find match dtb: 1
start dts,buffer=0000000073ed4610,dt_addr=0000000073ed4610
      Amlogic multi-dtb tool
      Single dtb detected
parts: 1
00:      data   ffffffffffffffff 4
init_part() 278: PART_TYPE_DOS
eMMC/TSD partition table have been checked OK!
check pattern success
mmc env offset: 0x7400000
In:    serial
Out:   serial
Err:   serial
board id is : 4
hpd_state=0
do_hpd_detect: hdmimode=720p50hz
do_hpd_detect: colorattribute=444,8bit
cvbs performance type = 7, table = 2
[store]To run cmd[emmc dtb_read 0x1000000 0x40000]
_verify_dtb_checksum()-924: calc 65a16114, store 65a16114
_verify_dtb_checksum()-924: calc 65a16114, store 65a16114
dtb_read()-1046: total valid 2
dtb_read()-1113: do nothing
      Amlogic multi-dtb tool
      GZIP format, decompress...
      Multi dtb detected
      unified board, board id = 4
      Multi dtb tool version: v2 .
      Support 6 dtbs.
        aml_dt soc: gxlx2 platform: p291 variant: 2g
        dtb 0 soc: gxlx2   plat: p291   vari: 1g
        dtb 1 soc: gxlx2   plat: p291   vari: 2g
        dtb 2 soc: gxlx2   plat: p291   vari: 3g
        dtb 3 soc: gxlx2   plat: p295   vari: 1g
        dtb 4 soc: gxlx2   plat: p295   vari: 2g
        dtb 5 soc: gxlx2   plat: p295   vari: 3g
      Find match dtb: 1
Net:   eth_initialize:396 dwmac.c9410000 idx:0
amlkey_init() enter!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0

wipe_data=successful
wipe_cache=successful
_get_part_index_by_name()-165: do not find match in table vendor
Err imgread(L536):invalid partition name(vendor)
ext4logoLoadCmd=ext4load mmc 1:${logoPart} ${logoLoadAddr} ${ext4LogoPath}
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Err imgread(L543):Fail in load logo cmd
logo part bootup
_find_partition_by_name()-188: do not find match in table logo
Cannot find dev.
amlmmc cmd <NULL> failed

store - STORE sub-system

Usage:
store store init flag
store read name addr off|partition size
    read 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store write name addr off|partition size
    write 'size' bytes starting at offset 'off'
    to/from memory address 'addr', skipping bad blocks.
store rom_write add off size.
        write uboot to the boot device
store erase boot/data:
        erase the area which is uboot or data
store erase partition <partition_name>:
        erase the area which partition in u-boot
store erase dtb
store erase key
store disprotect key
store rom_protect on/off
store scrub off|partition size
        scrub the area from offset and size
store dtb iread/read/write addr <size>
        read/write dtb, size is optional
store key read/write addr <size>
        read/write key, size is optional
store mbr addr
   update mbr/partition table by dtb

cmd store failed
Err imgread(L336):Fail to read 0x2000B from part[logo] at offset 0
There is no valid bmp file at the given address
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[OSD]load fb addr from dts
[OSD]fb_addr for logo: 0x7f800000
[CANVAS]addr=0x7f800000 width=5760, height=2160
There is no valid bmp file at the given address
upgrade_step=2
amlkey_init() enter!
amlkey_init() 70: already init!
[EFUSE_MSG]keynum is 4
[BL31]: tee size: 0
[KM]Error:f[key_manage_query_size]L507:key[cmei] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[authkey] not programed yet
[KM]Error:f[key_manage_query_size]L507:key[region_code] not programed yet
boot_select kernel[0,3) recovery[3,10) factory[10,*)
boot_select current count=0
boot_select count=0
boot_select=kernel
rebootmode=cold_boot
Hit any key to stop autoboot:  0
card out
emmc/sd response timeout, cmd8, status=0x1ff2800
emmc/sd response timeout, cmd55, status=0x1ff2800
emmc/sd response timeout, cmd1, status=0x1ff2800
(Re)start USB...
USB0:   USB3.0 XHCI init start
Register 2000140 NbrPorts 2
Starting the controller
USB XHCI 1.00
scanning bus 0 for devices... 1 USB Device(s) found
       scanning usb for storage devices... 0 Storage Device(s) found
** Bad device usb 0 **
** Bad device usb 1 **
** Bad device usb 2 **
** Bad device usb 3 **
reading emmc_autoscript
831 bytes read in 2 ms (405.3 KiB/s)
## Executing script at 01020000
reading u-boot.emmc
606670 bytes read in 21 ms (27.6 MiB/s)
## Starting application at 0x01000000 ...


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
switch to partitions #0, OK
mmc2(part 0) is current device
Scanning mmc 2:1...
Found U-Boot script /boot.scr
1025 bytes read in 1 ms (1001 KiB/s)
## Executing script at 08000000
Start AMLOGIC mainline U-boot
## Error: "bootfromsd" not defined
373 bytes read in 2 ms (181.6 KiB/s)
## Error: "mac" not defined
## Error: "eth_mac" not defined
ethaddr=6e:d0:b2:54:02:61
Error reading cluster
** Unable to read file /zImage **
Failed to load '/zImage'
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
SCRIPT FAILED: continuing...
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
Card did not respond to voltage select! : -110
libfdt fdt_check_header(): FDT_ERR_BADMAGIC
Card did not respond to voltage select! : -110
Scanning disk mmc@70000.blk...
Disk mmc@70000.blk not ready
Card did not respond to voltage select! : -110
Scanning disk mmc@72000.blk...
Disk mmc@72000.blk not ready
Scanning disk mmc@74000.blk...
 ** fs_devread read error - block
Failed to mount ext2 filesystem...
** Unrecognized filesystem type **
Found 3 disks
No EFI system partition
BootOrder not defined
EFI boot manager: Cannot load any image
Card did not respond to voltage select! : -110
Speed: 100, full duplex
BOOTP broadcast 1
DHCP client bound to address 10.10.10.49 (8 ms)
*** Warning: no boot file name; using '0A0A0A31.img'
Using ethernet@c9410000 device
TFTP from server 10.10.10.1; our IP address is 10.10.10.49
Filename '0A0A0A31.img'.
Load address: 0x44000000
Loading: *



Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions