Zynq u-boot: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 26: Zeile 26:
  Try 'dirname --help' for more information.
  Try 'dirname --help' for more information.
|
|
   
  sudo apt install gcc-arm-linux-gnueabihf
|}
|}

Version vom 23. August 2021, 12:14 Uhr

Zynq U-boot

Download tools and u-boot:

sudo apt install bison -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