You need to modify LS1043AQDS device tree according to your custom board.
In LSDK 21.08 build environment:
$ source setup.env
$ flex-builder -c linux -m ls1043aqds
Go to Linux Kernel source code components/linux/linux, please modify arch/arm64/boot/dts/freescale/fsl-ls1043a-qds.dts according to your custom board.
For example, please delete the following device node, if there is no IFC NOR flash on your custom board.
nor@0,0 {
compatible = "cfi-flash";
reg = <0x0 0x0 0x8000000>;
big-endian;
bank-width = <2>;
device-width = <1>;
};
Then rebuild Linux Kernel
$ flex-builder -c linux -m ls1043aqds
Regenerate itb image
$ flex-builder -i mkitb -r yocto:tiny
Get the image flexbuild_lsdk2108_github/build/images/lsdk2108_yocto_tiny_LS_arm64.itb
If you need to the bootpartition image, please regenerate it with the following command
$ flex-builder -i mkbootpartition -a arm64