Hello Thomas Culverhouse,
Please run the following commands to get the clean Kernel source.
$ bitbake virtual/kernel -c cleansstate
$ bitbake virtual/kernel -c patch -f
Get the Kernel source in build_<platform>_release/tmp/work/<platform>-fsl-linux/linux-ls2-sdk/4.1-r0/git.
Configure Kernel with menuconfig.
Go to Kernel source folder.
$cp arch/arm64/configs/defconfig .config
$ make ARCH=arm64 menuconfig
Assume Toolchain is installed in /opt/fsl-networking/LS2080A-SDK/sysroots/x86_64-fsl-linux/usr/bin/aarch64-fsl-linux/.
Build Kernel image with the following commands.
$ make ARCH=arm64 CROSS_COMPILE="/opt/fsl-networking/LS2080A-SDK/sysroots/x86_64-fsl-linux/usr/bin/aarch64-fsl-linux/aarch64-fsl-linux-" LD=aarch64-fsl-linux-ld.bfd
Have a great day,
Yiping
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------