In this step, you will create a Vitis platform running Linux operation system. The Vitis platform requires several software components which need to be prepared in advance. AMD simplifies this process by offering common software images for rapid evaluation, expediting your development journey. However, it’s important to note that the common image package doesn’t include the Device Tree Blob (DTB) file. DTB files vary across platforms due to differences in device peripherals. To bridge this gap, we’ll employ the createdts
command to generate the device tree file for your platform. Of course, customization might be required depending on the unique demands of your project. If you find the need to fine-tune aspects like the kernel or root filesystem (rootfs), you can refer to PetaLinux customization page for customization.
Listed below are the software components necessary for this platform:
Component | Conventional Path or Filename | Description | Provenance |
---|---|---|---|
Boot components in BOOT.BIN | bl31.elf | Arm® trusted firmware/ secure monitor | Extracted from common image |
Boot components in BOOT.BIN | u-boot.elf | Second stage boot loader | Extracted from common image |
Boot components in BOOT.BIN | system.dtb | Device tree information file | Generated from "createdts" command |
Boot components in FAT32 partition of SD card | boot.scr | U-boot configuration file to store in FAT32 partition of SD card | Extracted from common image |
Linux Software Components | Image | Linux kernel Image | Extracted from common image |
Linux Software Components | rootfs.ext4 | Linux file system | Extracted from common image |
Linux SDK | sysroot | Cross compile and header files | Extracted from common image |
> Note: The Kernel Image, Linux file system, and Sysroot are not mandatory components for the platform itself. Instead, they are used to compile the application and generate the SD Card Image. |
As most of the components are extracted from the common image package, we will prepare the common image first.