Used the list provided in 2019.2_PetaLinux_Package_List.xlsx (found at Option not to use /bin/dash as the default shell).Ĭ) Per UG1144 installed various packages: Also enabled clipboard sharing.Ģ, Changes in Linux setup after installationĪ) Changed the shell from dash to bash (sudo dpkg-reconfigure dash and select the Worked around by minimizing and maximizing the VM.Į) Specified a shared folder with all permissions. Note: even now occasionally there are transient problems with rendering which are Specifically, I am using VirtualBox 6.1Ĭ) Specified 200 GB disk size for the VM (the PetaLinux tools are extremely disk-ĭ) Needed to enable 3D acceleration, or else the display did not function very well. It subsequently updated itself to 18.04.4.ī) I am running Ubuntu in a VirtualBox VM. II) PetaLinux environment setup (for PetaLinux 2019.2)Ī) PetaLinux development tools need to run under Linux. Vitis does provideĪ graphical IDE (based on Eclipse) which facilitates a reasonably convenient buildīoth the PetaLinux environment and the Vitis environment use custom designĭetails exported from Vivado (these are files with. Particular, there is no GUI-based IDE for building and debugging. ![]() In general, software development under PetaLinux is quite user-unfriendly. In the latter case, need to export target libraries, BSP data, device tree, etc.įrom the PetaLinux environment to the Vitis environment. Target and run separately (once Linux is up). PetaLinux tools are only supported on Linux.ī) Vitis development environment - this environment supports development of allĭesign flows mentioned above except for bootable Linux kernel preparation (whichĪpplication software running under Linux (on the A53 cores in SMP mode) can beĪ) Using PetaLinux tools - the application is added to the bootable image.ī) Using Vitis - creating a separate executable (ELF) which can be downloaded to the ![]() ![]() It follows that any custom drivers that are linked to the kernel must be added to Specifically, it allows preparing an image containing the variousīootloaders, the Linux image and (optionally) application code. Xilinx provides two software development environments, as follows:Ī) PetaLinux tools - this environment is necessary for preparing a bootable Linux SSBL (second-stage boot loader) - usually U-Boot Packages for the system to start, as follows: In addition to Linux kernel and application software also need several software Possible that different cores run different types of software). Free RTOS or "bare metal" software running on the A53 and/or R5 cores (it is Linux running on the A53 cores (in SMP mode) Xilinx supports several software development flows for the MPSOC/RFSOC, as follows: It applies to MPSOC/RFSOC and the ZCU111 target, however I believe that it may be useful with other targets as well. The following summary describes the tool setup and use process (based on my experience). Or, you can copy the Vitis Debug\your_app.elf to SD to run the app. Now you can use a Vitis debug configuration to download your app via ethernet and run/debug the app. ![]() configure your app: C/C\+\+ Build Settings -> ARM v8 Linux gcc linker -> Miscellaneous :: and set Linker Flags as follows but replace path with your windows path to sysroot (also include the double quotes).configure your app: C/C\+\+ Build Settings -> ARM v8 Linux gcc linker -> libraries :: add library search path: /usr/lib.If using RFDC driver, libmetal and math libraries:Ĭonfigure your app: C/C\+\+ Build Settings -> ARM v8 Linux gcc linker -> libraries :: add following libraries.configure your app: C/C\+\+ Build Settings -> ARM v8 Linux gcc compiler -> Directories :: add include path: /usr/include.In Vitis (or SDK for older versions of tools) create your linux application.Copy the following directories from /aarch64-xilinx-linux to a directory on your windows system:.Run generated sdk.sh to extract and create sysroot.Use petalinux on VM or linux to create sysroot (petalinux-build -sdk).Use petalinux on VM or linux box to build linux kernel and optionally the boot files.If you are just creating linux apps, then you can do the following: It is unclear if you are using Vitis for an acceleration project or just to create linux apps.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |