ikwzm / FPGA-SoC-U-Boot-ZYBO

U-Boot image for ZYBO
1 stars 0 forks source link

about vivado build the bitstream on ZYBO for U-Boot #1

Open retina007 opened 3 months ago

retina007 commented 3 months ago

hi Why is there no script for compiling the Zybo bitstream in Vivado? I'm aware that it's possible to dynamically configure the FPGA's bin file (https://github.com/ikwzm/FPGA-SoC-Linux-Example-1-ZYBO). Why are the two repositories separate? For the ZynqMP, there is a script provided for compiling the FPGA bitstream (https://github.com/ikwzm/ZynqMP-U-Boot-Ultra96/tree/master). thanks

ikwzm commented 3 months ago

There are several ways to go about the design flow of running Linux on ZYNQ.

One is to build the bitstream in Vivado and then build the bootloader as shown in the following figure. This is probably what you are thinking of.

akgeo2

The other is to use u-boot-spl as shown in the following figure.

akgeo2

This build method does not necessarily require bitstream to build u-boot. This repository provides only the fifth of these methods, boot.bin(u-boot-spl) and u-boot.img. Therefore, this repository does not contain scripts to build bitstream.

ikwzm commented 3 months ago

Boot loaders (u-boot-spl & u-boot) and Linux Kernel are available in the following repositories

FPGA-SoC-U-Boot-ZYBO built artifacts are included in FPGA-SoC-Linux and FPGA-SoC-Debian12.

https://github.com/ikwzm/FPGA-SoC-Linux-Example-1-ZYBO provides examples (bitstream and various programs) running on top of FPGA-SoC-Linux.

ikwzm commented 3 months ago

ZynqMP requires a different boot sequence than Zynq. Therefore, Vivado may be required to build the boot loader.

retina007 commented 3 months ago

Boot loaders (u-boot-spl & u-boot) and Linux Kernel are available in the following repositories

FPGA-SoC-U-Boot-ZYBO built artifacts are included in FPGA-SoC-Linux and FPGA-SoC-Debian12.

https://github.com/ikwzm/FPGA-SoC-Linux-Example-1-ZYBO provides examples (bitstream and various programs) running on top of FPGA-SoC-Linux.

thanks