Forum Discussion

JET60200's avatar
JET60200
Icon for Contributor rankContributor
5 years ago
Solved

A10SOC u-boot fails from SDcard booting

hello,

we had made an A10SOC customer board, and we chose SDcard boot mode currently.

We generate "uboot_w_dtb-mkpimage.bin" based on our FPGA projeect, and burn it into SDcard.

U-boot can brings up, but it quickly halt with ERROR as :

:

U-Boot 2014.10 (Apr 27 2018 - 15:10:42)

CPU   : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
I2C:   ready
DRAM:  WARNING: Caches not enabled
SOCFPGA DWMMC: 0
dwmci_send_cmd: DATA ERROR!
** No partition table - mmc 0 **
Failed to set filesystem to FAT.
Flash probe failed.
INFO  : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe386e8
data abort
pc : [<ffe00cd6>]          lr : [<ffe02333>]
sp : ffe3def8  ip : 0000001c     fp : 00000001
r10: ffd02078  r9 : ffe3ff38     r8 : ffe00054
r7 : ffe20444  r6 : ffe203f0     r5 : 00000000  r4 : ffffd000
r3 : ffcfb000  r2 : 00000002     r1 : 00000004  r0 : 00000001
Flags: nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...


U-Boot 2014.10 (Apr 27 2018 - 15:10:42)

CPU   : Altera SOCFPGA Arria 10 Platform
BOARD : Altera SOCFPGA Arria 10 Dev Kit
I2C:   ready
DRAM:  WARNING: Caches not enabled
SOCFPGA DWMMC: 0
dwmci_send_cmd: DATA ERROR!
** No partition table - mmc 0 **
Failed to set filesystem to FAT.
Flash probe failed.
INFO  : Skip relocation as SDRAM is non secure memory
Reserving 2048 Bytes for IRQ stack at: ffe386e8
data abort
pc : [<ffe00cd6>]          lr : [<ffe02333>]
sp : ffe3def8  ip : 0000001c     fp : 00000001
r10: ffd02078  r9 : ffe3ff38     r8 : ffe00054
r7 : ffe20444  r6 : ffe203f0     r5 : 00000000  r4 : ffffd000
r3 : ffcfb000  r2 : 00000002     r1 : 00000004  r0 : 00000001
Flags: nzcv  IRQs off  FIQs off  Mode SVC_32
Resetting CPU ...

resetting ...

and run into dead-loop ..

What can be the problem ? And How can we debug this ? Thanks

2 Replies