On Fri, Jan 5, 2018 at 2:59 PM, Dennis K <[email protected]> wrote: > > I need to recompile my current Beaglebone Black Linux kernel (4.4.91) to set > CONFIG_STRICT_DEVMEM=n. > This will allow the use of mmap to access the SPI interface hardware > directly, among other things. > > So far... > I have loaded the latest version of arm-linux-gnueabihf gcc. > Cloned the latest kernel source (https://github.com/beagleboard/linux/git) > which is currently 4.4.91. > Modified the kernel config options to set CONFIG_STRICT_DEVMEM=n. > Compiled the kernel. > Cloned, patched, and compiled u-boot. > > At this point the instructions that I have been following diverge and are > more concerned with creating a bootable image > on the SD card for testing or for replacing the entire contents of the eMMC > on the Beaglebone. > > What I want to do is replace the existing kernel on eMMC with minimal impact > to the current configuration. > My current filesystem is BeagleBoard.org Debian Image 2016-05-13. > > Can someone explain the process to replace the kernel on eMMC?
First cat ./include/generated/utsrelease.h in your build directory: You'll see something similar like: #define UTS_RELEASE "4.14.12-00004-gdb0cd0519e45" That's your Kernel Version, then just follow this: Copy zImage to /boot/vmlinuz-`Kernel Version` Copy *.dtb to /boot/dtbs/`Kernel Version`/ Copy modules to /lib/modules/`Kernel Version` Edit /boot/uEnv.txt and update uname_r=`Kernel Version` Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYjPP07ryvAXqLRUdvgaunnzhOTgnxX6M0MyAq%2BWKe_hiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
