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
Software Application Development Zynq FSBL cannot read BOOT.bin from SD card
  • 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 8 replies
  • Subscribers 329 subscribers
  • Views 2339 views
  • Users 0 members are here
Related

Zynq FSBL cannot read BOOT.bin from SD card

Former Member
Former Member over 10 years ago

Hello,

I also posted my problem in the Xilinx forums (http://forums.xilinx.com/t5/Embedded-Linux/Zynq-FSBL-cannot-read-BOOT-bin-from-SD-card/m-p/522631/highlight/false), but as they couldn't help me yet and it also might be a MicroZed related problem, I'm posting it here now as well.

I have a MicroZed board with a Zynq 7020. I created a Project in Vivado and applied the board definition files provided here: http://zedboard.org/support/documentation/1519. Then I created a FSBL project in the SDK based on that hardware project. As a minimal example I generated a bootimage using the FSBL I generated and the u-boot.elf from the SD card image provided by Avnet, from the same link as above. I enabled the debug output of the FSBL and it tells me this:

Xilinx First Stage Boot Loader
Release 2014.2 Sep 22 2014-14:34:28
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

I am able to boot from the original BOOT.bin provided by Avnet, so neither my SD card, nor my MicroZed should be broken. As suggested in related threads, I also verified that the CD and WP pins are configured right and that the SD card clock is set to 50MHz. I tried routing the WP pin to an EMIO without any success. I also tried it with and without a .bit file. Is there anything else I could try?

Thanks,
Alain

  • Sign in to reply
  • Cancel

Top Replies

  • Former Member
    Former Member over 10 years ago +1
    hi Alain, I'm having the exact same problem; how did you use ISE 14.7 to generate the bootimage? can you send detailed instructions? thanks
Parents
  • adielement
    0 adielement 4 months ago

    I have same issue. Zynq FSBL cannot load SD Card BOOT.bin. I am getting following error

    Xilinx First Stage Boot Loader
    Release 2019.1 May 15 2025-15:52:49
    Devcfg driver initialized
    Silicon Version 3.1
    Booting Device is MMC
    SD: rc= 0
    MMC Init Done
    Flash Base Address: 0xE0100000
    Reboot status register: 0x60400000
    Multiboot Register: 0x0000C000
    Image Start Address: 0x00000000
    Partition Header Offset:0x00000C80
    Partition Count: 3
    Partition Number: 0
    Header Dump
    Image Word Len: 0x00007002
    Data Word Len: 0x00007002
    Partition Word Len:0x00007002
    Load Addr: 0x00000000
    Exec Addr: 0x00000000
    Partition Start: 0x000005C0
    Partition Attr: 0x00000010
    Partition Checksum Offset: 0x00000000
    Section Count: 0x00000001
    Checksum: 0xFFFEA7E8
    Application
    Handoff Address: 0x00000000
    In FsblHookBeforeHandoff function
    No Execution Address JTAG handoff

    How can I fix this issue. I need to further move towards booting EMMC BOOT.bin in place of SD card BOOT.bin, after resolving this issue.
    Any help in this regard is highly appreciated. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 4 months ago in reply to adielement

    What type of SD card are you using? Must be SDHC type. I like using SDHC from Sandisk Class 10.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • adielement
    0 adielement 4 months ago in reply to iksevas

    panasonic. it's sdhc

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • iksevas
    0 iksevas 4 months ago in reply to adielement

    Have you tried something simple like Hello World and create BOOTIMAGE for that. It should be super simple to do.

    another option is to look at MicroZed Chronicles articles as they will walk you through creating a successful bootable design. 

    Also, have you followed the getting started guide to prove to yourself that this works? This would be with a known good design.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • iksevas
    0 iksevas 4 months ago in reply to adielement

    Have you tried something simple like Hello World and create BOOTIMAGE for that. It should be super simple to do.

    another option is to look at MicroZed Chronicles articles as they will walk you through creating a successful bootable design. 

    Also, have you followed the getting started guide to prove to yourself that this works? This would be with a known good design.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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