[Voyage-linux] Some hints or related docs

Shane Harrison (spam-protected)
Tue Oct 25 02:58:17 HKT 2011


On point 3).  Not currently setup to support the "updates" directory as far
as I know.  I always simply replace the existing modules.

To build a kernel module
~~~~~~~~~~~~~~~~~~~~

To compile a kernel or a kernel module you need the kernel headers etc.
Unfortunately for some reason the SDK doesn't include these.  Follow these
instructions to set up the environment to allow you to do this.

When you need to build a module you will find out that the linux-headers for
the voyage kernel is not available.\\
Don't worry there is still a way to build your module.\\
**NOTE I'M WRITING THIS ASUMING YOU ARE USING KERNEL 2.6.32-486-VOYAGE**

first make sure you're on R/W mode if not run:
remountrw

Perform the following to get the source
apt-get install linux-source-2.6.32-voyage

once installed go to:
/usr/src/

There you'll see that a packed file un pack this file e.g.
tar -zxf linux-source-2.6.32-voyage.tar.gz

once unpacked there will be a folder called
///usr/src/linux-source-2.6.32-voyage// \\
Enter this folder and edit the //Makefile// \\
Look for
EXTRAVERSION =
and change it to
EXTRAVERSION = -voyage

now you'll need to copy the config file to the //linux-source// folder
using:
cp /boot/config-2.6.32-voyage /usr/src/linux-source-2.6.32-voyage/.config
after that run
make

Probably you'll want to go to bed or do something right now because this can
take a little time.

once it is FINALLY DONE you'll need to make a symbol link with this command:
ln -s /usr/src/linux-source-2.6.23-voyage
/lib/modules/2.6.23-486-voyage/build
There you go now you can build your module!

2011/10/25 Zenny <garbytrash at gmail.com>

> Voyage linux seems a wonderful distro. I am surfing around the voyage linux
> site here and there, but what I could not find are:
>
> 1) How to make it completely compatible with the upstream debian release
> including kernel?
>
> 2) By downgrading the kernel, will it affect the voyage linux stability?
>
> 3) I need to add a few kernel modules, but I could not find exactly how to
> go about it? I did find the SDKs for 0.7.5 (not for 0.8.0), but it does not
> explain how to add  or remove some kernel module or packages before
> transferring to a USB/FlashDisk?
>
> Appreciate if I could get some hints, links or advice. Thanks!
>


Cheers
Shane

>
> zenny
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
>


-- 
Paragon Electronic Design Ltd
L6 Crest House
92 Queens Drive
P0 Box 30449
Lower Hutt 5040

+64 4 5703870 Extn 875
+64 21 608919  (mobile)

"Solving your problems with the right technology"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.voyage.hk/pipermail/voyage-linux/attachments/20111025/dff0b6a6/attachment.html>


More information about the Voyage-linux mailing list