Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
Announcements
Need Forum Guidance? Click here

Search our FPGA Knowledge Articles here.
18489 Discussions

A10SOC u-boot fails from SDcard booting

JET60200
New Contributor I
240 Views

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
0 Kudos
1 Solution
EBERLAZARE_I_Intel
230 Views

Hi there,

I recommend that you do the compilation using the latest version of U-boot here:

https://rocketboards.org/foswiki/Documentation/BuildingBootloader#Arria_10_SoC_45_Boot_from_SD_Card

If you still have problem after following the steps above, let me know.

View solution in original post

2 Replies
EBERLAZARE_I_Intel
231 Views

Hi there,

I recommend that you do the compilation using the latest version of U-boot here:

https://rocketboards.org/foswiki/Documentation/BuildingBootloader#Arria_10_SoC_45_Boot_from_SD_Card

If you still have problem after following the steps above, let me know.

View solution in original post

JET60200
New Contributor I
221 Views

after fixing some hardware problem on SDcard cage, u-boot can boot up from SDCard now.

 

Thanks and close this ticket.

Reply