1. Please modify configs/nxp_ls1028ardb-64b_defconfig according to your target board, please modify the following variables.
BR2_TARGET_GENERIC_HOSTNAM
BR2_TARGET_UBOOT_BOARDNAME
BR2_TARGET_UBOOT_ENVIMAGE_SOURCE
BR2_LINUX_KERNEL_INTREE_DTS_NAME
BR2_PACKAGE_HOST_QORIQ_RCW_BIN
BR2_TARGET_ARM_TRUSTED_FIRMWARE_PLATFORM
2. Please run the following command to get uboot source code in output/build/uboot-OpenIL-v1.8-u-boot-202005.
$make nxp_ls1028xx-64b_defconfig
$make
In uboot source folder, please modify file configs/ls1028ardb_tfa_defconfig, files in board/freescale/ls1028a/ and include/configs/ls1028ardb.h according to your target board.
3. After run the above command to get Linux Kernel source code in output/build/linux-OpenIL-v1.8-linux-202005, in Linux Kernel source code arch/arm64/boot/dts/freescale/, please create dts file for your target file based on fsl-ls1028a-rdb.dtb.
4. After get RCW in source output/build/host-qoriq-rcw-LSDK-20.04/, please create RCW for you target board based on LS1028ARDB.
5. Customize atf, please go to output/build/arm-trusted-firmware-LSDK-20.04, please add your target board configuration in folder plat/nxp/soc-ls1028/, please customize DDR initialization plat/nxp/soc-ls1028/ls1028ardb/ddr_init.c according to your target board.
6. Please run "make menuconfig" to configure the menu for your custom board and build images.