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 Zedboard QSPI FSBL with Bare Metal Application and bitstream
  • 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 4 replies
  • Subscribers 329 subscribers
  • Views 1209 views
  • Users 0 members are here
Related

Zedboard QSPI FSBL with Bare Metal Application and bitstream

Former Member
Former Member over 12 years ago

Hi All.

I am wondering if anyone has a bare-metal application plus bitstream booting successfully from QSPI (using ISE14.1)?

I have an application that consists of both bare-metal implementation and Programmable Logic.  To date, I have been using the SDK tools to download the bistream, and then using SDK->Project Explorer->Right Click on Program->Run As->Launch on Hardware.

I would now like to have the .bit and .elf included in the QSPI so that the board can boot from it.

Here's what I've done to date:
1a.  Added and successfully built a Zynq FSBL project.
1b.  I have not made ANY code changes to FSBL source code...  but I wonder if that is necessary to somehow tell the FSBL which bitstream and elf to use.

2a. SDK->Xilinx Tools->Create Boot image.
2b.  In the above menu, I select the FSBL elf file as the fsbl.elf of step#1.
2c.  In the above menu, I add (2) partitions.  First, the bitstream from the design.  Second, the bare-metal application .elf.
2d.  I then select an output file location.
2e.  The output of step #2 creates a .mcs file.

3a.  SDK->Xilinx Tools->Program Flash
3b.  I select the .mcs file created in step #2 and select 'Enter'.
3c.  This starts the process (shown in the console) but it ends up crashing after about 30 seconds with the following Windows Error message.  "zynq_flash.exe has encountered a problem and needs to close"

Looking at the console, no errors are shown, and the console says it erases the QSPI 100%, but there are not any  messages about programming the QSPI.

Any suggestions are much appreciated, thanks!


-------Console output below---------
JTAG chain configuration
--------------------------------------------------
Device   ID Code        IR Length    Part Name
1       4ba00477           4        Cortex-A9
2       03727093           6        XC7Z020

CortexA9 Processor Configuration
-------------------------------------
Version.............................0x00000003
User ID.............................0x00000000
No of PC Breakpoints................6
No of Addr/Data Watchpoints.........1
BOOT_MODE REG = 0x00000000
Info:Firmware image : C:Xilinx14.114.1ISE_DSISEdatacsecseflashzynq7000qspi_single.bin.
Downloading Program -- C:Xilinx14.114.1ISE_DSISEdatacsecseflashzynq7000qspi_single.bin
tsection, .text: 0xfffc4800-0xfffd230f
tsection, .rodata: 0xfffd2310-0xfffd4628
tsection, .data: 0xfffd462c-0xfffd4e6f
tsection, .u_boot_cmd: 0xfffd4e70-0xfffd503b
tsection, .bss: 0xfffd5040-0xfffd729f
Setting PC with Program Start Address 0xfffc4800
Info:Performing Erase operation.

100% Info:Erase operation completed successfully.
100%

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 11 years ago

    Hi Kevin when I click the ling you've posted it says "coming soon" where else I can fing the document,
    thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 11 years ago

    Hi Kevin when I click the ling you've posted it says "coming soon" where else I can fing the document,
    thanks.

    • 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