Thank You very much, it works well! Please, could you tell me, what is the default path of module compiling output? I have compiled kernel and modules, kernel is in ./linux/arch/arm/boot/, but I can not find .ko files anywhere...
Many thanks. Dne pátek 5. ledna 2018 22:08:14 UTC+1 RobertCNelson napsal(a): > > On Fri, Jan 5, 2018 at 2:59 PM, Dennis K <[email protected] > <javascript:>> 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/5237fc69-9ba1-4da6-a662-207c6edce742%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
