Refer to the AMD EDF Wiki for full details on booting the VEK385 board: AMD EDF Getting Started — Discovery and Evaluation of AMD Versal device portfolio.
Program the OSPI flash with the
versal-2ve-2vm-vek385-multidomain_edf-ospiimage, following the chapter How to boot a board using the pre-built Images: OSPI Boot in the Wiki link above.Program the EDF platform rootfs WIC (
edf-platform-disk-image-amd-cortexa78-mali-common.rootfs.wic.xz) to a microSD card, following the chapter Writing the EDF Linux® disk image (wic) to the secondary boot media : SD card in the Wiki link above.Note: Eject the SD card properly from the host system after programming it.
Insert the microSD card into the VEK385 and set boot mode to OSPI (
SW1 = ON,ON,ON,OFF=0001).Power on the board and open the UART console.
Log in as
amd-edf(set a new password on first login):amd-edf login: amd-edf amd-edf:~$ sudo su
Copy the contents of
aie2ps_work/package.hw/(hostapplication,gm2aie.pdi,gm2aie.dtbo,gm2aie.xclbin, andembedded_exec.sh) to the board (viascpor by placing them on the SD card).Run the application:
amd-edf:/home/amd-edf# ./embedded_exec.shExpected output:
INFO: Load the pdi and dtbo using fpgautil Initializing ADF API... XAIEFAL: INFO: Resource group Avail is created. XAIEFAL: INFO: Resource group Static is created. XAIEFAL: INFO: Resource group Generic is created. run s2mm graph end s2mm completed with status(4) Releasing remaining XRT objects... TEST PASSED INFO: Embedded host run completed.