08-05-2017 06:32 AM
We are using a custom board based on Zynq 7000 (xa7z020) and when we tried to boot the board with SD card, bootrom code is able to fetch FSBL but fsbl not able to intialize the SD card and read from it, It is exiting with following error. I tried reducing clock, MIO slew rate, pull up disble etc but still not working. Could some one please check my configuartion and please advises is there anything else I could try?
Xilinx First Stage Boot Loader
Release 2016.3Aug 5 2017-18:40:50
Devcfg driver initialized
Silicon Version 3.1
Boot mode is SD
SD: rc= 0
SD: Unable to open file BOOT.BIN: 3
FSBL Status = 0xA009
SD card hardware configuartion
08-05-2017 07:14 AM
Did you verify that the SD interface (physical layer) is working at all?
Is there activity on the SD pins (CLK, CMD, DAT0)?
Is the FSBL built properly to match the hardware?
The FSBL Status = 0xA009 suggests that the connection between controller and card is not there.
There is a thread covering similar issues here on the forum.
Hope this helps,
08-05-2017 09:45 AM
08-06-2017 09:51 AM
Thank you Herbert, Yes we tried probing the CMD and clock lines and we can see the Activity.
Also we found SD_INIT_FAIL due to one commmand XSdPs_SetBlkSize() called for Initailization is is returing Timeout error,
08-11-2017 02:41 AM
If the issue still exist, do diff of ps7_init.c with a working FSBL ps7_init.c. With this you can understand the differences in SD controller programming in FSBL.