In order for Vitis’ application to compile, the necessary libraries need to be installed. This can be done from Petalinux:
$ petalinux-build --sdk
$ petalinux-package --sysroot --dir /path/to/empty/destination/sysroot
sysroot
with /lib
).Create a new platform with “linux” as the operating system.
(Alternatively, expand an old platform with a “new domain”).
Also: No need for “boot artifacts”:
.bif
file, located either at petalinux’s: my_project/images/linux
directory (FIXME: After config?) or the tftp/dest
(if a tftpserver
was used).my_project/images/linux
or tftp/dest
).File/New Component/From Examples
).sysroot
directory (previously generated through petalinux
(--sdk
)) to the (inner) sysroot/sysroots/*-gnueabi
folder:.elf
file[!].From this point on, the hellow_world.elf
file can be [copied to, and] run from any partition on the SD card.
BOOT.bin
, boot.scr
and image.ub
to FAT32
partition, extract rootfs.tar.gz
to ext4
, and copy, for example onto ext4
, the hellow_world.elf
).$ ./hellow_world.elf
😎).