[U-Boot] zynq: mmc boot issue

Michal Simek monstr at monstr.eu
Thu Oct 8 11:37:03 CEST 2015


Hi Jagan,

I have just tried mmc boot with the latest HEAD and it is working fine
for me on zc702.


U-Boot SPL 2015.10-rc4-00050-g996ec1dcc58a (Oct 08 2015 - 09:48:17)
mmc boot
reading system.dtb
spl_load_image_fat_os: error reading image system.dtb, err - -1
reading u-boot.img
reading u-boot.img


U-Boot 2015.10-rc4-00050-g996ec1dcc58a (Oct 08 2015 - 09:48:17 +0200)

Model: Zynq ZC702 Development Board
Board:	Xilinx Zynq
I2C:   ready
DRAM:  ECC disabled 1 GiB
MMC:   zynq_sdhci: 0
Using default environment

In:    serial
Out:   serial
Err:   serial
Model: Zynq ZC702 Development Board
Board:	Xilinx Zynq
Net:   Gem.e000b000
Warning: Gem.e000b000 (eth0) using random MAC address - 02:4a:de:c3:c8:80

Hit any key to stop autoboot:  0
Copying FIT from SD to RAM...
reading fit.itb
** Unable to read file fit.itb **
=>


I don't have afcdb02 in my git tree that's why I can't test your version.


On 10/07/2015 12:02 PM, Jagan Teki wrote:
> Hi Michal/Siva,
> 
> Looks like somethings broken with mmc boot, could you please check.
> 
> dump1:
> U-Boot SPL 2015.10-rc4-00104-gafcdb02-dirty (Oct 07 2015 - 15:16:54)
> mmc boot
> reading system.dtb
> spl_load_image_fat_os: error reading image system.dtb, err - -1
> reading u-boot.img
> spl_load_image_fat: error reading image u-boot-dtb.img, err - -1
> spl: mmc: no boot mode left to try
> ### ERROR ### Please RESET the board ###
> 
> dump2:
> U-Boot SPL 2015.10-rc4-00104-gafcdb02-dirty (Oct 07 2015 - 15:16:54)
> mmc boot
> MMC: no card present

This looks weird.

> spl: mmc init failed with error: -16
> ### ERROR ### Please RESET the board ###

Please retest with the latest HEAD.

Thanks,
Michal

-- 
Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91
w: www.monstr.eu p: +42-0-721842854
Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/
Maintainer of Linux kernel - Xilinx Zynq ARM architecture
Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20151008/eaab319c/attachment.sig>


More information about the U-Boot mailing list