Zynq u-boot: Unterschied zwischen den Versionen

Aus Nicki Wiki
Zur Navigation springen Zur Suche springen
Zeile 7: Zeile 7:
  export CROSS_COMPILE=arm-linux-gnueabihf-
  export CROSS_COMPILE=arm-linux-gnueabihf-
  export ARCH=arm
  export ARCH=arm
Konfigurieren und baunen von u-boot:
Konfigurieren und baunen von u-boot (>= 2020.1 Release):
  make distclean
  make distclean
  make zynq_zc702_defconfig
  make xilinx_zynq_virt_defconfig
export DEVICE_TREE="zynq-te0720"
  make
  make


{| class="wikitable"
{| class="wikitable"

Version vom 23. August 2021, 12:16 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 (>= 2020.1 Release):

make distclean
make xilinx_zynq_virt_defconfig
export DEVICE_TREE="zynq-te0720"
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