Part Number: AM5728
Other Parts Discussed in Thread: BEAGLEBOARD-X15, , PMP
Tool/software: Linux
Hi,
I use Processor SDK Linux AM57x 03_03_00_04.
When I try Linux SD boot with AM572x EVM(TMDSEVM572x), boot failure happens once a hundred times approximately.
The below is the boot log when failed.
---------- failed ----------
U-Boot SPL 2016.05-g4db46a6bbd (Mar 29 2017 - 23:25:16)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g4db46a6bbd (Mar 29 2017 - 23:25:16 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
** Unable to read "uboot.env" from mmc0:1 **
Using default environment
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
=> 3c 0b a2 99 4a 8c f7 04
Unknown command '3c' - try 'help'
=> [ 19.462134] 000000f0: e0 e0 cf d1 81o 19.669733] 000000e0: dc f7 4
Unknown command '[' - try 'help'
=> [ 19.669735] 000000f0: e0 e0 cf d1 81 5b fe f5 24 04 fd b8 df 13 d8 cd
Unknown command '[' - try 'help'
=> [ 19.669737] 00000100: f1 e3 3d 98 50 02 77 9e bc 22 ab fa c2 43 1f 66
Unknown command '[' - try 'help'
=> ** 28 printk messages dropped ** [ 19.676409] 000000e0: d8 bb c0 0d ac 2c 2f 98 3c 0b a2 99 4a 8c f7 04
Unknown command '**' - try 'help'
=> [ 19.676411] 000000f0: e0 e0 cf d1 81 5b fe f5 24 04 fd b8 df 13 d8 cd
Unknown command '[' - try 'help'
=> [ 19.676413] 00000100: f1 e3 3d 98 50 02 77 9e bc 22 ab fa c2 43 1f 66
..............
"Unknown command" continue
..............
And then, the below is the log of normal boot.
---------- normal boot ----------
U-Boot SPL 2016.05-g4db46a6bbd (Mar 29 2017 - 23:25:16)
DRA752-GP ES2.0
Trying to boot from MMC1
reading args
spl_load_image_fat_os: error reading image args, err - -1
reading u-boot.img
reading u-boot.img
reading u-boot.img
reading u-boot.img
U-Boot 2016.05-g4db46a6bbd (Mar 29 2017 - 23:25:16 -0400)
CPU : DRA752-GP ES2.0
Model: TI AM5728 BeagleBoard-X15
Board: AM572x EVM REV A.30
DRAM: 2 GiB
MMC: no pinctrl for sdr104
no pinctrl for ddr50
no pinctrl for sdr50
no pinctrl for sdr25
no pinctrl for sdr12
OMAP SD/MMC: 0, OMAP SD/MMC: 1
reading uboot.env
** Unable to read "uboot.env" from mmc0:1 **
Using default environment
SCSI: SATA link 0 timeout.
AHCI 0001.0300 32 slots 1 ports 3 Gbps 0x1 impl SATA mode
flags: 64bit ncq stag pm led clo only pmp pio slum part ccc apst
scanning bus for devices...
Found 0 device(s).
Net:
Warning: ethernet@48484000 using MAC address from ROM
eth0: ethernet@48484000
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
reading boot.scr
** Unable to read file boot.scr **
reading uEnv.txt
574 bytes read in 5 ms (111.3 KiB/s)
Loaded env from uEnv.txt
Importing environment from mmc0 ...
switch to partitions #0, OK
mmc0 is current device
SD/MMC found on device 0
3602144 bytes read in 203 ms (16.9 MiB/s)
103020 bytes read in 59 ms (1.7 MiB/s)
Kernel image @ 0x82000000 [ 0x000000 - 0x36f6e0 ]
## Flattened Device Tree blob at 88000000
Booting using the fdt blob at 0x88000000
Loading Device Tree to 8ffe3000, end 8ffff26b ... OK
Starting kernel ...
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I think the cause of failure is miss read from SD card. Is my understanding right? If the data can't be read from SD card, is it timing issue?
Please let me know how to fix this issue.
I appreciate your quick reply.
Best regards,
Michi