Zynq u-boot: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 1: Zeile 1:
=Zynq U-boot=
=Zynq U-boot=
Download tools and u-boot:
Download tools and u-boot:
  sudo apt install bison -y
  sudo apt install bison gcc-arm-linux-gnueabihf -y
  git clone https://github.com/Xilinx/u-boot-xlnx.git
  git clone https://github.com/Xilinx/u-boot-xlnx.git
  cd u-boot-xlnx/
  cd u-boot-xlnx/

Version vom 23. August 2021, 12:14 Uhr

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