Zynq u-boot

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen

Zynq U-boot

Download tools and u-boot:

sudo apt install bison gcc-arm-linux-gnueabihf -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:

make distclean
make zynq_zc702_defconfig
make



Fehler Lösung
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
make: arm-linux-gnueabihf-gcc: Command not found
/bin/sh: 1: arm-linux-gnueabihf-gcc: not found
dirname: missing operand
Try 'dirname --help' for more information.
sudo apt install gcc-arm-linux-gnueabihf