General TC > Programming & Scripting - Unofficial

building realtime kernel & remastering for tiny core linux

(1/10) > >>

Arslan S.:
i have setup a git repository at gitorious to host build scripts
https://gitorious.org/tinyrt

to download:

--- Code: ---git clone git://gitorious.org/tinyrt/linux.git
--- End code ---
or
click linux-->source tree and download master as tar.gz

just run ./build.sh

everything from downloading to packing is automated

pre-built rt kernel and modules images posted in contrib repository
http://distro.ibiblio.org/tinycorelinux/4.x/x86/contrib/rt-kernel/

you can use this script to remaster latest tiny core linux images
https://gitorious.org/tinyrt/linux/blobs/master/extra/remaster-core.sh

build concepts:

* latest stable linux kernel + tiny core linux patches + PREEMPT_RT patch

* tiny core linux kernel configure + the principle of disabling latency killer options as much as possible
* power management and cpu freq scaling is totally disabled, but your power buttons should work :)
read more about rt linux
https://rt.wiki.kernel.org/index.php/Main_Page

Arslan S.:
first product of the project is hosted in kernel contrib repository and
a script is attached to first post to remaster latest tinycore/microcore images, it is useful because grub does not support multiple initrds, there is a way chainloading a bootloader supporting multiple initrds though

curaga:
Grub is ok with merely cat'ed initrds though. cat tinycore.gz rt-modules.cpio.gz > tinycorert.gz

Less space efficient than repacking, but easier to do.

tinypoodle:

--- Quote from: Arslan S. on March 30, 2011, 04:08:11 PM ---unfortunately grub does not support multiple initrds so use the script attached to this post to remaster latest tinycore/microcore images

--- End quote ---

Oh? Rather surprising...
I simply tried to load 2 initrd's with linld which is ~5Kb and next to zero documented, and "it just works"   ;D

Arslan S.:

--- Quote from: curaga on April 02, 2011, 05:59:54 AM ---Grub is ok with merely cat'ed initrds though. cat tinycore.gz rt-modules.cpio.gz > tinycorert.gz

Less space efficient than repacking, but easier to do.

--- End quote ---

i tried cat'ing tinycore.gz with rt-modules.gz before but when i extract the output file i can not find the modules

Navigation

[0] Message Index

[#] Next page

Go to full version