I'm struggling to install/build packages on the LS1046ARDB due to linux-headers-5.10.35 not being available through a typical "apt install" process.
I've tried using the default system configuration using LSDK2108 flex-installer, ie. "ubuntu main".
If possible, can you provide me with some direction for obtaining the linux kernel headers (which I would then have available at /usr/src/).
Having looked through NXP community posts for similar issues, I've found this approach isn't recommended.
How should I proceed instead? If it requires including the source files / repositories in the build process, where/how should I configure them?
Thanks for any help.
After execute the following command, you will get linux-headers-5.10.35-dirty_5.10.35-dirty-4_arm64.deb in folder flexbuild_lsdk2108/build/linux/kernel/arm64/LS/output.
$ flex-builder -c linux-deb -p LS
Please copy linux-headers-5.10.35-dirty_5.10.35-dirty-4_arm64.deb to the target board and execute the following command.
# dpkg -i linux-headers-5.10.35-dirty_5.10.35-dirty-4_arm64.deb
# cd /usr/src/linux-headers-5.10.35-dirty