Zynq u-boot: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 11: Zeile 11:
  make zynq_zc702_defconfig
  make zynq_zc702_defconfig
  make
  make
{| class="wikitable"
!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.
|
|}

Version vom 23. August 2021, 12:10 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.