Tiny Core Extensions > TCE Tips & Tricks

Compiling kernel and modules on TC

<< < (7/12) > >>

^thehatsrule^:

--- Quote from: kerpob on February 23, 2009, 03:06:48 PM ---error: kernel directory lib/modules/2.6.28.6-tinycore does not exist

--- End quote ---
Make sure your TC remaster also has the newly built modules, if applicable.

oldpig:
Thanks for your summary. Marked and practice later.
thanks again.

Scampada:
Hi,
I need to patch my kernel with condecor patch, allowing a kernel to output background image in console mode.
I have got these files:

1. condecor patch
2. TC kernel config file
3. Well well well where is it ahh, linux-3.16.6-patched.txz from there: http://tinycorelinux.net/6.x/x86/release/src/kernel/, or somewhere.
4. Also I've downloaded Module.symvers-3.16.6-tinycore. I don't know what is this for, but just in case...

So, do I need to reproduce all steps described? Do I need to rebuild initrd? The core version is the same I'm using now. Why does this kernel source weigh about 70 mbs, and the result core image weigh only about 5; I got used to the fact that a source package is usually much lighter than a binary one. How can I build only kernel , with no modules I already have and so on; or I can not?

Misalf:
Wiki is your friend. (:
http://wiki.tinycorelinux.net/wiki:custom_kernel

In my understanding, it's the opposite - Binary is usually smaller.

Scampada:

--- Quote from: Misalf on April 07, 2015, 04:33:30 PM ---Wiki is your friend. (:
http://wiki.tinycorelinux.net/wiki:custom_kernel

In my understanding, it's the opposite - Binary is usually smaller.

--- End quote ---
I found a reference to this thread on the Wiki page. It also describes the whole process including non-relevant parts of obtaining non-TC kernel, patching it with TC patches, building modules, replacing initrd... I can't be sure if I have to do it all at once or not. And it's quite old. Maybe is somewhat outdated.

I mean, not binary executable but a whole binary package with all shared libraries and service files. Hmmm... I'll check it out later. I thought so.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version