element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design FSBL SD start error
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 3 replies
  • Subscribers 326 subscribers
  • Views 1057 views
  • Users 0 members are here
Related

FSBL SD start error

Former Member
Former Member over 9 years ago

Iwant to start a standalone elf on the board,
I have imaged three files(fsbl elf, bit, standalone elf )into a bin file , and the  mode is  setted at SD_START ,  it doesn't work,

If I replaced the fsbl elf file(generated from defualt set) with the zedboard fsbl elf file ,
it works,

and now I don't why the fsbl file (generated from the default parogramme) doesn't work

who can help me ,
thanks very much!!

Xilinx First Stage Boot Loader
Release 2015.2tMar 11 2016-15:12:41
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

This Boot Mode Doesn't Support Fallback
In FsblHookFallback function

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 9 years ago

    Hi xuhappy,

    I like the troubleshooting steps that you have taken.  Since you found that the ZedBoard FSBL file works to boot your board, that tells me that it is unlikely a problem with the SD card itself.

    I came across this Xilinx forum thread here:

    https://forums.xilinx.com/t5/Embedded-Linux/Zynq-FSBL-cannot-read-BOOT-bin-from-SD-card/td-p/521823

    According to this, an incomplete PS7 config from Vivado can cause the problems you are seeing with a generated FSBL since the FSBL BSP settings are inherited from the hardware platform definition which comes from Vivado.

    My recommendation is to double check the PS7 config settings for MIO to the SD card as well as the SD clock settings.  The easiest way to take card of all this would be to start a new Vivado project, select ZedBoard as the target, and when you go to place down your "Zynq Processing System 7" IP block, make sure you apply the board settings.  This will make sure that the presets for ZedBoard are applied to your Zynq PS7 block so that you don't have to worry about missing any of the necessary settings for SD card boot.  If doing this results in a generated FSBL which works okay, then you can go back to your original Vivado project and double check the Zynq PS7 block settings against the one in the second project.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • edoutthere
    0 edoutthere over 8 years ago in reply to zedhed
    Kevin,

        I too am having trouble getting a zedboard to boot from a SDcard.  I read lots of forum posts here and at xilinx and none of the suggestions have helped.

    I have a standalone design with logic in the PL that works fine loading through jtag using SDK.  I am using 2015.2 .  I made sure the PS part of the project has the zedboard settings applied to it.  I checkd the SD card MIO pins, they seem to be correct, the clock is 50MHz.  I created a fsbl project in SDK, made it the first partition in the boot generator gui.  After that is the bitfile, then the elf for the standalone app.  It creates a boot.bin.  It does not boot from my fat32 formatted empty except boot.bin 32GB sdcard.  I tried setting the debugging prints for the FSBL project (-D FSBL_DEBUG_INFO) and I get no output.  The original SDcard that came with the zed works fine, boots linux.  When I put the sd_image dir contents that came with the zedboard OOB design collection, on my 32GB SDcard, it boots as well.

        I need help troubleshooting this issue! 

    First of all, how does the FSBL know to load my (or any) bitfile to the PL? 

    The ps7_init.c does not have any reference to what would be the port to load the PL, what code does the load?

    I found this on a xilinx forum post:

    1) the ROM bootloader reads BOOT.BIN from the SD card

    2) it extracts the FSBL from the file and executes it

    3) FSBL runs the ps7_init code extracted from vivado

    4) FSBL reads the boot.bin from the SD card

    5) FSBL loads uboot and optional bitstream.

    There are a lot of details missing from this list.  I dont see any code, source or lib that is in the fsbl project that would handle reading the sd card, loading the bitstream, etc.  I wonder if you (ar anybody else) could fill in the details between these items.  I'm going to have to dig deep into this problem.

    Thanks
    Ed!
     

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hello Ed,

    In our Developing Zynq Software Speedway 2016.2, we go through the steps required to create an SD card image for a Zedboard,MicroZed, and PicoZed development platform. I would like you to go through that portion of the Speedway and make sure you can replicate the example. You can find it here http://zedboard.org/course/developing-zynq%C2%AE-7000-all-programmable-soc-software-vivado-20152-and-20162 and please refer to lab07. Please use the 2016.2 toolset while you do so.

    Based on what you are saying, you have validated that the Out of Box image works on both your SD card and the SD card that came with your Zedboard. So your SD card should be OK to use.

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube