Zynq u-boot

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen

Download tools and u-boot:

sudo apt install libssl-dev bison gcc-arm* -y
git clone https://github.com/Xilinx/u-boot-xlnx.git
cd u-boot-xlnx/

Umgebungsvariablen für Zynq setzen:

export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm

Konfigurieren und baunen von u-boot (< 2020.1 Release):

make distclean
make zynq_zc706_defconfig
make

Konfigurieren und baunen von u-boot (>= 2020.1 Release):

make distclean
make xilinx_zynq_virt_defconfig
export DEVICE_TREE="zynq-zc706"    #device tree können unter u-boot-xlnx/arch/arm/dts/ gefunden werden
make
Fehler Lösung
./scripts/gcc-version.sh: line 25: arm-linux-gnueabihf-gcc: command not found
sudo apt-get install gcc-arm*

Quelle

Xilinx U-Boot