Tiny Core Base > Raspberry Pi
How to use a newer kernel?
sbp:
Thanks.
I managed to use your .config file and make a new functional kernel. Which seems to have the same problems as your original kernel - that is problems using a wifi-USB and a USB-DAC at the same time. The sound is breaking up.
If I use an original raspian image there is no problem using the same USB-wifi and USB-DAC.
So I tried to use a .config file from the rasbian build and change a few things in order to boot piCore. My hope was that maybe this would fix the USB wifi and USB-DAC problems in piCore.
So I made these changes to the original rasbian .config file:
--- Code: ---Changed to: CONFIG_CROSS_COMPILE="/cross/tools-master/arm-bcm2708/arm-bcm2708hardfp-linux-gnueabi/bin/arm-bcm2708hardfp-linux-gnueabi-"
Changed to: CONFIG_LOCALVERSION="-piCore"
Changed to: CONFIG_BLK_DEV_INITRD=y
Added: CONFIG_INITRAMFS_SOURCE=""
Added: CONFIG_RD_GZIP=y
Changed to: CONFIG_CMDLINE="dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 root=/dev/mmcblk0p2 rootfstype=ext3 rootwait"
Changed to: CONFIG_CPU_FREQ_STAT=y
Changed to: CONFIG_USB_NET_CDC_NCM=y
Changed to: CONFIG_LOGO_LINUX_MONO=y
Changed to: CONFIG_LOGO_LINUX_VGA16=y
Changed to: CONFIG_SQUASHFS_EMBEDDED=y
Changed to: CONFIG_ZLIB_INFLATE=y
--- End code ---
So besides these changes the .config file is identical to the Rasbian .config file.
The kernel made from this is almost fine; piCore boots fine, but once again the problem is with the tce package manager.
And also if I have the original TCE directory on the SD-card, where my previously downloaded ALSA, WiFi, Flac, Libmad are included, then piCore will hang during boot.
It is hanging only spinning and "loading extensions" forever.
So something is not quite right.
The uname - a command:
Linux box 3.6.11-piCore #1 PREEMPT Sun Apr 7 13:07:06 CEST 2013 armv61 GNU/Linux
Regards
Steen
bmarkus:
--- Quote ---
And also if I have the original TCE directory on the SD-card, where my previously downloaded ALSA, WiFi, Flac, Libmad are included, then piCore will hang during boot.
It is hanging only spinning and "loading extensions" forever.
--- End quote ---
At which extension?
--- Quote --- but once again the problem is with the tce package manager.
--- End quote ---
Please provide details.
--- Quote ---So I made these changes to the original rasbian .config file
--- End quote ---
Which Raspbian? release/kernel?
sbp:
--- Quote --- At which extension?
--- End quote ---
I had installed Flac, ALSA, libmad, libvorbis, dropbear and wifi packages via TCE - using your 3.6.11-piCore image. I copied this tce directory to my new SD-card with my own modified rasbian kernel.
As stated is booted fine, but was hanging when loading extensions. By removing each extension I found that it could boot with these extensions in the tce/optional directory:
Alsa.tcz
Alsa-modules-3.6.11-piCore.tcz
Alsa-plugins.tcz
Alsa-utils.tcz
Flac.tcz
libiconv.tcz
libiw.tcz
libvorbis.tcz
openssl-1.0.0.tcz
wifi.tcz
wireless_tools.tcz
wireless-3.6.11-piCore.tcz
wpa_supplicant.tcz
However it fails to load if any of these packages are present:
Droppbear
libasound
libogg
libnl
libmad
But eventhough it seems like the wifi package is OK and piCore boots with the wifi package in the tce/optional directory it is not working.
--- Quote --- Which Raspbian? release/kernel?
--- End quote ---
The Rasbian 3.6.11 obtained from here:
--- Code: ---https://github.com/raspberrypi/linux/archive/rpi-3.6.y.tar.gz
--- End code ---
as described from this page http://elinux.org/RPi_Kernel_Compilation
The problem with the TCE package manager is that it usualy does not finish:
If I try to install MC I get to here:
ncurses.tzc.dep OK
glib2.tcz.dep OK
libssh2.tcz.dep OK
If I try to install wifi (again) it find that it is already installed - but it is not working.
If I try to start wifi by
sudo /usr/local/bin/wifi.sh : command not found
If I delete the wifi package and try to install it via tce package manager I get to here:
wireless_tools.tcz.dep OK
wpa_supplicant.tcz.dep OK
Downloading: libnl.tcz
Connecting to repo.tinycorelinux.net (89.22.99.37:80)
libnl.tcz 100% ********************************************************* 232k 0:00:00 ETA
libnl.tcz: OK
And then I need to kill it because it hangs.
It might be important but my piCore could not boot fully if libnl.tcz was present in the tce/optional directory during boot.
Regards
Steen
tinypoodle:
Generally speaking, there is no guarantee a modular kernel would work properly when attempting to insert modules from a different build.
bmarkus:
You can try to build your kernel without localversion to have to same version at least by name as original to try modules.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version