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_PATHSenvironment 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_PATHSshould be set accordingly.Change the
BASE_PLATFORMin the Makefile to point to the custom.xpfmfile created in the<vck190_custom_path>/export/vck190_custom/directory.For example:
BASE_PLATFORM = ${PLATFORM_REPO_PATHS}/vck190_custom.xpfmMake sure your
ROOTFSandIMAGEare still pointing to thexilinx-versal-common-v2024.2directory.Note : The
$PLATFORM_REPO_PATHSnow points to the custom platform and it does not contain therootfs.ext4andImagefiles 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.