Tiny Core Base > Raspberry Pi
How to use a newer kernel?
sbp:
Hi bmarkus and tinypoodle
You both focus on the module issue - so I confident that that is where my problem is.
As you probably already have figured out I'm not so familiar with linux, but lately I have been reading a lot about linux, and started to try to learn how to make a kernel for piCore.
So if I should fix this in a correct way I suppose that I need to make the modules for my newly build kernel?
From the raspberry page I have been using (http://elinux.org/RPi_Kernel_Compilation) I copied this:
--- 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 [i](I changed it a bit because the CROSS_Compile path is in my .config file)[/i]:
make ARCH=arm INSTALL_MOD_PATH=${MODULES_TEMP} modules_install
The contents of this directory should then be copied into the RPi root directory.
--- End code ---
This resulted in the following files:
Module.symvers
Stystem.map
modules.order
.vmlinux.cmd
.tmp_System.map
vmlinux
.tmp_kallsysms2.o
.tmp_vmlinux1
vmlinux.o
.version
Is that correct, and what should I do with these files?
Steen
bmarkus:
--- Quote from: sbp on April 07, 2013, 12:57:31 PM ---This resulted in the following files:
Module.symvers
Stystem.map
modules.order
.vmlinux.cmd
.tmp_System.map
vmlinux
.tmp_kallsysms2.o
.tmp_vmlinux1
vmlinux.o
.version
--- End quote ---
And hopefully modules themselves. Are modules built?
sbp:
--- Quote from: bmarkus on April 07, 2013, 01:14:22 PM ---And hopefully modules themselves. Are modules built?
--- End quote ---
That is the question - where should I find the modules?
I think that I may have made it difficult for myself because of the directory structure I have been using.
I extracted the linux 3.6.11 to a directory called linux-rpi-3.6.11
Then cd'ed into linux-rpi-3.6.11 whith all the directories already present from a linux system.
Standing in this directory I made the kernel which was found in /arch/erm/boot
but the modules I reaaly don't know where to find. I can see a lot of directories which time stamps indicate that they were changed at the time the modules were build. Like:
sound/usb
sound/drivers
sound/core
sound/arm
In these directories there are a lot of subdirectories and also files called something like:
snd-usbmidi-lib.ko
snd-usb-audio.ko
etc
Steen
tinypoodle:
I had a look much earlier at the link you posted and I think your chances are best when following all steps in detail.
.ko extension is file naming convention for kernel modules starting with Linux 2.6
sbp:
Hi I have not given up on learning to build a kernel with its modules - but it will take some time.
I don't know exactly what to do after having build the kernel - the modules should go into the piCore.gz?
In the meantime some info for bmarcus.
The problem I had with using a wifi-USB dongle and a USB-DAC at the same time could be solved by adding this line to the cmdline.txt: dwc_otg.speed=1
But also adding "options snd-usb-audio nrpacks=1" to the /etc/modprobe.conf file seems to make it better.
Hopefully these USB problems will be solved at some time.
Steen
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version