Zynq FSBL: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
Part 1: [https://wiki.xnick.de/index.php/Vivado_Zynq_project Zynq Vivado project] <br>
Part 1: [https://wiki.xnick.de/index.php/Vivado_Zynq_project Zynq Vivado project] <br>
Part 2: [https://wiki.xnick.de/index.php/Xilinx_SDK Zynq SDK] <br>
Part 2: [https://wiki.xnick.de/index.php/Xilinx_SDK Zynq SDK] <br>
Part 3: [https://wiki.xnick.de/index.php/Petalinux_Zynq Zynq Petalinux] <br><br>
Part 3: [https://wiki.xnick.de/index.php/Petalinux_Zynq Zynq Petalinux] <br>
Verwendetes Board Trenz TE0720<br>
Verwendetes Board Trenz TE0720.<br>


== Fetch Sources ==
== Fetch Sources ==

Version vom 15. März 2021, 17:13 Uhr

Part 1: Zynq Vivado project
Part 2: Zynq SDK
Part 3: Zynq Petalinux
Verwendetes Board Trenz TE0720.

Fetch Sources

Download der relevanten Repositories:

git clone https://github.com/Xilinx/linux-xlnx.git
git clone https://github.com/Xilinx/u-boot-xlnx.git
git clone https://github.com/Xilinx/device-tree-xlnx.git
git clone https://git.kernel.org/pub/scm/utils/dtc/dtc.git
git clone https://github.com/Xilinx/arm-trusted-firmware.git

FSBL

Wurde das SDK nicht aus Vivado mit dem SDK-Arbeitsbereich heraus gestartet. Muss der Pfad des SDK-Arbeitsbereich angegeben werden.
FSBL erstellen:

File -> New -> Application Project
Project name: fsbl -> Next
Available Templates: Zynq FSBL -> Finish

Build Device Tree Compiler

Compiler für den Device Tree bauen (pkg-config, flex, bison):

cd zynq_project/repositories/dtc
make
export PATH=`pwd`:$PATH

Build U-Boot

Vorbereitung:

cd zynq_project/repositories/u-boot-xlnx
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm

U-Boot bauen:

make distclean
make zynq_zc702_defconfig
make