Enable hugepages in kernel


Is there any guide on how to update the kernel for VIM2 - found ones for VIM but they dont result in a bootable VIM2. I need to enable hugepages for my application and that needs a new kernel as they are not enabled by default in the khadas images (neither is eth0 or openssh!)



Hi birty,

Build your new Image

$ make -j8 ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image

Create uImage

$ mkimage -n 'linux-4.9' -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -d Image uImage

Replace the kernel image /boot/uImage with your new uImage.



Thanks worked perfectly - appreciate the quick reply!