First, set up the environment for integrating the subsystem with the custom platform and validating the design using the hardware emulation and hardware as follows:
Set up your
PLATFORM_REPO_PATHS
environment variable based upon where you created the custom platform during Step 2. For example, if the custom platform is created in the path<vck190_custom_path>/export/vck190_custom/
, thePLATFORM_REPO_PATHS
should be set accordingly.Change the
BASE_PLATFORM
in the Makefile to point to the custom.xpfm
file created in the<vck190_custom_path>/export/vck190_custom/
directory.For example:
BASE_PLATFORM = ${PLATFORM_REPO_PATHS}/vck190_custom.xpfm
Make sure your
ROOTFS
andIMAGE
are still pointing to thexilinx-versal-common-v2023.1
directory.Note : The
$PLATFORM_REPO_PATHS
now points to the custom platform and it does not contain therootfs.ext4
andImage
files as pointed in the Makefile.
Note that all other commands in the Makefile remain the same. Only the platform needs to be changed for re-targeting the design using custom platform.