Tiny Core Extensions > TCE Tips & Tricks
Compiling kernel and modules on TC
Scampada:
--- Quote from: bmarkus on April 10, 2015, 07:19:20 AM ---You are just telling stories instead sharing what you are doing really. Without knowing commands and scripts you are using do not expect answer.
Your issue is not related to Tiny Core but a generic how to build kernel. Internet is full with docs, blogs and forums with the proper answer. Please do not spam here.
--- End quote ---
I thought my last post was all about what I am doing ??? including exact commands. There aren't many of them. Let me see, these are listed exactly
--- Quote ---cd kernel
tar -xJ -f linux-3.16.6.txz
cd linux-3.16.6
patch -p1 < ../fbcondecor.patch
cp ../config-3.16.6-tinycore ./.config
[make oldconfig] (one time I did it one time not)
make menuconfig
make -j2 all
mkdir initrd
make INSTALL_MOD_PATH=/home/tc/Codez/kernel/linux-3.16.6/initrd modules_install firmware_install
...
PROFIT! Oh... I mean...
--- End quote ---
If you name THIS "telling stories", then... um... I can't imagine what you consider as "sharing what I am doing". Maybe... I had a tea when making this? :o I didn't spill it onto my keyboard, really!
But, yeah. You're right. It's a generic issue. All but one. It's a TC patched kernel I am building and it's a TC Wiki manual I am reading. So, I'll do the simplest. I'll build a regular linux-3.16.6 kernel taking look into some else manual and look is the problem still there :) cheers
Juanito:
I just tried:
--- Code: ---$ tce-load -i compiletc bash perl5 ncurses-dev bc
$ make mrproper
$ cp config-3.16.6-tinycore .config
$ patch -Np1 -i ../fbcondecor-3.15.patch
$ make oldconfig
$ make menuconfig
set Enable Tile Blitting Support disabled
set Support for the Framebuffer Console Decoration enabled
$ make bzImage
--- End code ---
..and it compiles
Once done, you rename arch/x86/boot/bzImage to vmlinuz, replace the tinycore vmlinuz and try it out.
See here for more details:
http://www.mepiscommunity.org/fbcondecor
Scampada:
I've also tried to build a non-TC kernel and succeeded without any trouble. I have no clues; all steps (wiki and mine) correspond exactly. I'll make just another attempt with TC.
curaga:
Well, it's clear the kernel doesn't like your chosen module install path. Try putting a path outside the kernel directory.
Juanito:
In this particular case, I don't believe any modules need to be compiled?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version