UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor abhilashvr
Visitor
3,382 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
Voyager
Voyager
3,366 Views
Registered: ‎06-24-2013

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

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
Moderator
Moderator
3,347 Views
Registered: ‎12-04-2016

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

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
Visitor abhilashvr
Visitor
3,258 Views
Registered: ‎02-19-2016

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

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
Visitor abhilashvr
Visitor
3,254 Views
Registered: ‎02-19-2016

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

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
Voyager
Voyager
3,215 Views
Registered: ‎06-24-2013

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

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
Xilinx Employee
Xilinx Employee
3,183 Views
Registered: ‎02-26-2014

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

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