LonganPi-3H-SDK
LonganPi-3H-SDK copied to clipboard
How to compile a custom kernel?
I'm struggling with the steps to compile a custom kernel.
cd build/linux
make menuconfig
# next .. load arch/arm64/configs/longanpi_3h_defconfig
cd ../..
sh mklinux.sh
using the menuconfig step I'm able to change kernel options (specifically in my case I'm trying to add overlay filesystem & br_netfilter options for k8s) .. HOWEVER after this step I encounter an issue when running mklinux.sh where it can't cd dbts
directory.
My specific changes are:
[M] Virtualization
[M] File System | Overlay FS
[M] Networking support | Networking Options |
... [M] 802.1d Ethernet Bridging
... [M] Network Packet Filter
.. [M] Bridged IP/ARP packets filtering
** these modules are required to run k8s with cri-o containers
The error happens in mklinux.sh
+ cd _install/boot
+ cp vmlinuz-6.7.0-rc3+ Image
+ cd dtbs
mklinux.sh: 55: cd: can't cd to dtbs