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 libssl-dev bison gcc-arm-linux-gnueabihf -y
  sudo apt install libssl-dev bison gcc-arm* -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 25. August 2021, 07:20 Uhr

Zynq U-boot

Download tools and u-boot:

sudo apt install libssl-dev bison gcc-arm* -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-zc706"    #device tree können unter u-boot-xlnx/arch/arm/dts/ gefunden werden
make
Fehler Lösung
./scripts/gcc-version.sh: line 25: arm-linux-gnueabihf-gcc: command not found
sudo apt-get install gcc-arm*

Quelle