Currently I am running Linux kernel 4.4.91 on the Beaglebone Black and it is working well but I need to set CONFIG_STRICT_DEVMEM=n and recompile. This is required to access the full capabilities of the SPI hardware, among other things, using mmap.
So far…
I have loaded the latest version of arm-linux-gnueabihf-gcc (Linaro GCC 7.2-2017.11) 7.2.1 20171011.
Cloned the latest version of the kernel source which is currently 4.4.91, https://github.com/beagleboard/linux.git.
Changed the kernel config files to set CONFIG_STRICT_DEVMEM=n.
Cross compiled the kernel, sudo make ARCH=arm CROSS_COMPILE=/opt/gcc-arm-linux/bin/arm-linuxgnueabihf- uImage dtbs LOADADDR=0x80008000 -j4.
Cloned, patched, configured and compiled u-boot.
Now at this point I think that I have everything required but the instructions that I have been following up to this point now diverge and are mostly concerned with setting up a bootable SD card with the new kernel on it, or placing the new kernel in a bootable SD card with a complete copy of the operating system files that can be flashed into the eMMC.
What I want to do is to replace the current kernel on the eMMC with the new version leaving as much of the existing system on the eMMC as possible intact.
The instructions to accomplish this I can not seem to locate, and it probably involves more than just copying files.
Can anyone tell me how to do this?
My current system is: BeagleBoard.org Debian Image 2016-05-13
I have backed up my system in case of failure.
``