I'm pulling my hair out on a kernel compilation issue:
I have a CubieTruck type card (armv7) on which I installed a debian bulleyes without too many problems. However I need to recompile the kernel in order to lighten it. For this I use the traditional Debian way :
Code: Select all
scripts/config --disable DEBUG_INFO
make oldconfig
scripts/config --set-str MODULE_SIG_KEY certs/signing_key.pem
make LSMOD=~/mylsmod localmodconfig
make nconfig
make -j$(nproc) deb-pkg
Code: Select all
Kernel /boot/vmlinuz-5.10.113-armmp-armmp-custom does not match any of the expected flavors (armmp armmp-lpae), therefore not writing it to flash.
- Through nconfig by naming the kernel with a relevant name
- by creating a "localversion" file in my kernel tree which contain "-armmp" (without the quote)
Last precision, it is a Sunxi embedded system that boots through the u-boot loader, and not grub.
Kind regards
Manu