Zynq Petalinux: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Nick (Diskussion | Beiträge) |
Nick (Diskussion | Beiträge) |
||
| Zeile 22: | Zeile 22: | ||
Webtalk deaktivieren: | Webtalk deaktivieren: | ||
petalinux-util --webtalk off | petalinux-util --webtalk off | ||
== Erstellen eines Projektes mit Vivado == | |||
Import Hardware Konfiguration | |||
Vivado -> Export -> Petalinux root folder (/tools/petalinux/2019.2/) | |||
cd /tools/petalinux/2019.2/ | |||
petalinux-config --get-hw-description | |||
Konfiguration PetaLinux (Optional): | |||
petalinux-config | |||
petalinux-config -c u-boot | |||
petalinux-config -c kernel | |||
petalinux-config -c rootfs | |||
Build System Image | |||
petalinux-build | |||
Erhaltene Dateien unter /tools/petalinux/2019.2/images/linux: | |||
u-boot.elf | |||
image.ub | |||
Version vom 15. März 2021, 14:41 Uhr
Als Beispiel dient das Zynq-Board TE0720 von Trenz.
Installation Petalinux
Download Petalinux 2019.2:
http://www.xilinx.com/support/download/index.html/content/xilinx/en/downloadNav/embedded-design-tools.html
Installation erfolgt im Verzeichnis:
/tools/
Besitzer des Ordners /tools/ anpassen:
sudo chown <owner>:<owner> /tools/
Installation benötigter Tools
sudo dpkg-reconfigure dash
- "No" auswählen
sudo apt-get update sudo apt-get install tofrodos iproute2 gawk make net-tools libncurses5-dev tftpd zlib1g:i386 libssl-dev flex bison libselinux1 gnupg wget diffstat chrpath socat xterm autoconf libtool tar unzip texinfo zlib1g-dev gcc-multilib build-essential screen pax gzip python 2.7.5 -y
Installation Petalinux (Note: do not start from shared folder, copy installer into home directory)
mkdir -p /tools/petalinux/2019.2 sudo chmod +x petalinux-v2019.2-final-installer.run ./petalinux-v2019.2-final-installer.run /tools/petalinux/2019.2
source enviroment
source /tools/petalinux/2019.2/settings.sh
Webtalk deaktivieren:
petalinux-util --webtalk off
Erstellen eines Projektes mit Vivado
Import Hardware Konfiguration
Vivado -> Export -> Petalinux root folder (/tools/petalinux/2019.2/) cd /tools/petalinux/2019.2/ petalinux-config --get-hw-description
Konfiguration PetaLinux (Optional):
petalinux-config petalinux-config -c u-boot petalinux-config -c kernel petalinux-config -c rootfs
Build System Image
petalinux-build
Erhaltene Dateien unter /tools/petalinux/2019.2/images/linux:
u-boot.elf image.ub