01-28-2022, 06:09 PM
(01-28-2022, 06:04 PM)dieselnutjob Wrote:(01-28-2022, 05:27 PM)mara Wrote:(01-28-2022, 05:21 PM)dieselnutjob Wrote: Hi Mara
If I compile and boot a kernel that I compiled myself, how do I populate /lib/modules/{version}?
currently I only have /lib/modules/{oldversion}
I can see all of the .ko files listed when the modules were compiled, but then there are all the other files like aliases
I am assuming that there is some normal way to do it that I don't know.
Until I have a /lib/modules I can't run rebuild-initrd.sh
after compiling you did:
Code:make O=$(pwd) ARCH=arm64 INSTALL_MOD_PATH=/lib/modules modules_install
I am cross compiling on a normal PC. Does that make a difference?
no, specify where to install the modules and then transfer to the sdcard