Tiny Core Base > Raspberry Pi

How to use a newer kernel?

<< < (8/13) > >>

sbp:
Thanks for the advise.

My thinking was that if I used the exact same .config file as bmarkus had used, then I would build an identical kernel. And this would be my first step, to be able to build a kernel that works.

I think you are correct about the modules, because I didn't do this part as otherwise described here http://elinux.org/RPi_Kernel_Compilation :


--- Code: ---Now you need to transfer the modules. Set an environment variable that points to a temporary module path.
export MODULES_TEMP=~/modules
In the build directory, run the following command:

make ARCH=arm CROSS_COMPILE=${CCPREFIX} INSTALL_MOD_PATH=${MODULES_TEMP} modules_install
--- End code ---


But I have just tried this
export MODULES_TEMP=~/modules
make ARCH=arm INSTALL_MOD_PATH=${MODULES_TEMP} modules_install[/code]

And it runs -
But I don't know what to do next, I think it produced a file called "modules.order" and another ".missing-syscalls.d"

tinypoodle:

--- Quote from: sbp on April 06, 2013, 10:15:36 AM ---My thinking was that if I used the exact same .config file as bmarkus had used, then I would build an identical kernel. And this would be my first step, to be able to build a kernel that works.

--- End quote ---
That's what I understood and why I said "could not harm" rather than "is required".  ;)
Depends though on the source being identical.

bmarkus:
What is the output of


--- Code: ---uname -a
--- End code ---

when you are using your own kernel?

sbp:
Thanks

There might be a problem here.
uname -a results in:

Linux box 3.6.113.6.11-piCore #1 PREEMPT Sat Apr 6 14.27:34 CEAT 2013 armv61 GNU/Linux

So it seems like I will need to build another kernel with the correct name?
 

bmarkus:
Your kernel is 3.6.113.6.11-piCore which means that you need a new initrd with your own moduls and you can't use kernel modules from the repo.

Rebuild your kernel with -piCore local version in the config to get it as 3.6.11-piCore.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version