I am not very experienced in compiling kernels or libraries. So far, I have been able to run the required commands to create a kernel using the resources at GitHub - BPI-SINOVOIP/BPI-M4-bsp: Supports Banana Pi BPI-M4 (RTD1395) (Kernel 4.9.119), as I’d like to use an Armbian image with Home Assistant pre-installed: Armbian with preinstalled Home Assistant supervised - Software, Applications, Userspace - Armbian Community Forums. The reason I am compiling the kernel is because the Wi-Fi and Bluetooth functionality is missing in that image. (I am not sure if what I am doing is correct.)
However, once the compilation completes, I am left with several new directories and files, and I am not sure what to do with them. Should I copy them all to an SD card and try to boot from it? I am unable to use Option 7 because I can’t get my USB drive to be accessible within the Docker environment on Windows (I don’t know how).
I’ve looked into the sh files but I get stuck on this command on line 87 BPI-M4-bsp/scripts/mk_install_sd.sh at master · BPI-SINOVOIP/BPI-M4-bsp · GitHub as I don’t know what it does.
drwxr-xr-x 5 root root 4096 Nov 8 08:07 .
drwxr-xr-x 3 root root 4096 Nov 8 08:07 ..
drwxr-xr-x 2 root root 4096 Nov 8 08:07 100MB
-rw-r--r-- 1 root root 58520561 Nov 8 08:07 4.9.119-BPI-M4-Kernel-net.tgz
-rw-r--r-- 1 root root 88957354 Nov 8 08:07 4.9.119-BPI-M4-Kernel.tgz
-rw-r--r-- 1 root root 263 Nov 8 08:07 BOOTLOADER-bpi-m4.tgz
drwxr-xr-x 3 root root 4096 Nov 8 08:07 BPI-BOOT
-rw-r--r-- 1 root root 22306394 Nov 8 08:07 BPI-BOOT-bpi-m4.tgz
drwxr-xr-x 4 root root 4096 Nov 8 08:07 BPI-ROOT
-rw-r--r-- 1 root root 15487187 Nov 8 08:07 linux-headers-4.9.119-BPI-M4-Kernel.tgz