cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
abhilashvr
Visitor
Visitor
4,525 Views
Registered: ‎02-19-2016

Zynq FSBL Unable to open BOOT.BIN from SD card FSBL)

Hi,

 

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
SD_INIT_FAIL
FSBL Status = 0xA009

 

SD card hardware configuartion

 

sd0.PNG

 

Clock Configuartion

clock.PNG

 

Regards

Abhilash

 

 

0 Kudos
6 Replies
hpoetzl
Voyager
Voyager
4,509 Views
Registered: ‎06-24-2013

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,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
shabbirk
Moderator
Moderator
4,490 Views
Registered: ‎12-04-2016

Hi Abhilash

 

Please find the below discussion on this issue:

https://forums.xilinx.com/t5/Welcome-Join/Unable-to-boot-FSBL-from-Micro-SD-on-a-custom-designed-board/td-p/597842

 

 

Best Regards

Shabbir

0 Kudos
abhilashvr
Visitor
Visitor
4,401 Views
Registered: ‎02-19-2016

Thank You for the reply.

 

But we tried with 25MHz and 15MHz also, but that didn't work in our case 

 

Any thing else we should check ??

 

Regards
Abhilash

0 Kudos
abhilashvr
Visitor
Visitor
4,397 Views
Registered: ‎02-19-2016

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, 

0 Kudos
hpoetzl
Voyager
Voyager
4,358 Views
Registered: ‎06-24-2013

Hey @abhilashvr

 

Could it be that your SD card is write protected?

(i.e. that the WP pin is active)

 

Best,

Herbert

-------------- Yes, I do this for fun!
0 Kudos
kravi
Xilinx Employee
Xilinx Employee
4,326 Views
Registered: ‎02-26-2014

Hi,

 

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.

 

Regards,

Ravi

0 Kudos