DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

How are you handling the data revolution? We want your take on what's real, what's hype, and what's next in the world of data engineering.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

SBOMs are essential to circumventing software supply chain attacks, and they provide visibility into various software components.

Related

  • Building a 24-Core Docker Swarm Cluster on Banana Pi Zero
  • Issue and Present Verifiable Credentials With Spring Boot and Android
  • Why SASE Is the Future of Networking and How to Actualize It
  • Model Cards and the Importance of Standardized Documentation for Explaining Models

Trending

  • Article Moderation: Your Questions, Answered
  • Driving Streaming Intelligence On-Premises: Real-Time ML With Apache Kafka and Flink
  • When Agile Teams Fake Progress: The Hidden Danger of Status Over Substance
  • Advanced Argo Rollouts With Datadog Metrics for Progressive Delivery

Create a BOOT.bin, Program an SD Card, and Boot a ZC706 Using Windows

Learn more about creating a BOOT.bin program with an SD Card using Windows.

By 
Zach Pfeffer user avatar
Zach Pfeffer
·
Jun. 28, 19 · Tutorial
Likes (2)
Comment
Save
Tweet
Share
25.4K Views

Join the DZone community and get the full member experience.

Join For Free

This post shows you how to create a BOOT.bin with a Hello World bare-metal application and a bitstream created in [Run Hello World on a ZC702], how to program the BOOT.bin onto the SD Card using Windows (copy it to the SD card), and how to boot the ZC702 from the SD card and see output from the serial port.

Before You Get Started

Generate Bitstreams, Hello World Binaries, and Test Everything

This post assumes you've generated the bitstreams, Hello World binaries, and have tested everything as listed in [Run Hello World on a ZC702], but on the ZC706. All of the instructions are the same except for two things:

1. You select the ZC706 board instead of the ZC702

2. You need to connect the UART-to-USB and JTAG-to-USB cables to:

Image title

Get a License

The ZC706 has an XC7Z045-2FFG900 C SoC. This chip is not supported in WebPACK (see [link]) like the chip on the ZC702. You can get a 30-day license at [link].

Versions Used

  • 2018.2 Vivado and SDK
  • Windows 7 SP1
  • Rufus 3.5 @ [link]

Create Boot Image

The following picks up after the last step listed in [Run Hello World on a ZC702]

Step 1: Create the first stage boot loader (FSBL) that will load the bitstream and the helloworld.elf.

A. Click File

B. Click New

C. Click Application Project

Image title

D. Type fsbl

E. Ensure the rest of the fields match the picture and click Next >

Image title


F. Click Zynq FSBL

G. Click Finish

Image title

Step 2: Create the BOOT.bin

A. Select fsbl

Image title

B. Click Xilinx

C. Click Create Boot Image

Image title

D. Ensure that the picture below matches (your paths may be different) and click Add

Image title

E. Browse to helloworld.elf in C:\zc706vivado\helloworld\helloworld.sdk\helloworld\Debug or similar and select it

F. Click Open

Image title

G. Ensure that this image matches yours (again paths may be a little different) and click OK

Image title

H. Click Create Image

Image title

I. You should see Build Finished (took ...ms)

J. ...and Bootgen command execution is done.

Image title

Prepare the SD Card and Copy the BOOT.bin

Step 1: Insert into an SD card reader/writer on your PC the SD card that came with the ZC706 (see [link]) or find an 8 GB SanDisk class 4 card:

Image title

Step 2: Format the SD card

A. Right-click the SD card

B. Select Format...

Image title

C. Click Start

Image title

D. Click OK

Image title

E. Click OK again

Image title

F. Click Close

Image title

Step 3: Copy the BOOT.bin to the SD card

A. Browse to the BOOT.bin

B. Right-click on BOOT.bin

C. Select Copy

Image title

D. Click the SD card

E. Right-click in the empty area of the SD explorer

F. Click Paste

Image title

G. You should see:

Image title

Step 4: Eject the SD card

A. Right-click on the SD card

B. Click Eject

Image title

Step 5: Make sure the ZC706 is off and plug the SD card into the ZC706

A. Off:

Image title

Step 6: Set the board to SD boot mode

Image title

Step 7: Ensure the UART connection is connected to the computer

A. Connect the Mini-B port of Mini-B to Type-A USB cable to the port marked "UART"

Image title

B. Connect the Type-A port of Mini-B to Type-A USB cable to the port marked "UART"

Image title

Step 8: Set up the terminal on the SDK

Step 9: Power on the ZC706

A. Move the switch from:

Image title

B. To:

Image title

You should see Hello World on the console:

Image title

...and the DONE LED green, which indicates that the FPGA was successfully programmed by the FSBL!

References

  • Zynq-7000 All Programmable SoC ZC706 Evaluation Kit Getting Started Guide UG961 (v6.0.1) January 28, 2015 @ [link]
  • ZC706 Evaluation Board for the Zynq-7000 XC7Z045 SoC User Guide UG954 (v1.7) July 1, 2018 @ [link]
  • Xilinx logo found via https://twitter.com/xilinxinc at [link]
System dynamics Cards (iOS)

Published at DZone with permission of Zach Pfeffer, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Building a 24-Core Docker Swarm Cluster on Banana Pi Zero
  • Issue and Present Verifiable Credentials With Spring Boot and Android
  • Why SASE Is the Future of Networking and How to Actualize It
  • Model Cards and the Importance of Standardized Documentation for Explaining Models

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • [email protected]

Let's be friends: