[Voyage-linux] compiling the kernel
Russell Lang
(spam-protected)
Fri Jul 17 12:30:47 HKT 2009
Alvaro,
The following is the method I will be trying this weekend. It might not
be correct.
Download unmodified kernel sources for 2.6.30-1.
Unpack sources.
Step 1.
Create a .config file by copying it from the current kernel of my host.
Use "make oldconfig" to update it.
Use "make menuconfig" to change some settings.
Set the extra field (Punky has it set to "-voyage") to my initials, so I
can recognise the modified kernel.
make all
make modules_install
make install
Then test the new kernel on my development host.
Step 2.
Install Voyage 0.6.2 on CF, check that it works, then put it aside.
On development host:
make clean (or similar)
Get the config file for Voyage 0.6.2, and save it as .config
Repeat the process above.
Hope that the result actually runs on my host.
If it does, then copy /lib/modules/... to the voyage CF card.
Copy the new /boot files to the voyage CF card.
Update the grub menu.lst file on the voyage CF card.
Try to boot Voyage on the Alix computer, with the old and then with the
new kernel.
I'm going to try using a vanilla kernel, without any of Punky's patches.
Most of the patches appear to be for updated Wireless drivers. The only
ones I'm likely to miss are crypto and LED drivers.
I did fill up the root partition of my development system, so I'm using a
symlink to put the sources on /home which has more space.
For application development, I've booted the Voyage LiveCD under VMware,
then done a Voyage install onto the virtual hard disk, then removed the
LiveCD. I've then got a Voyage system with a real hard disk on which I
can install development tools.
Russell
> Hi all
>
> I'm stuck trying to recompile the kernel to add support for my
> audiocard, this is really frustrating I've tried all this methods but
> none of then work for me.
>
> wiki/development
> - download Voyage-Current but got stuck in debootstrap.voyage.sh, I
> tried to modify it for lenny and remove/change packages accordingly but
> didn't work.
>
> wiki/voyage-kernel
> - download voyage-source.deb try to compile on my machine (ubuntu
> intrepid) but got problems with debian/control files and I couldn't get
> my linux-kernel.deb.
>
> - Tried installing SDK 0.6.2 on a VMware but after boot up in the
> installation process the voyage.update scripts overflows the hard-drive
> in step 6 ( coping files to disk ).
> - Tried installing SDK 0.6.2 on a Intel quad core but again it runs out
> of space (8 GB) at step 6 of voyage.update.
>
>
> So I'm finally just trying to compile the kernel from inside a
> voyage-0.6.2 normal installation running from a USB stick. Hopefully
> this would work, but it's going to take a while to compile on the little
> geode processor. Any suggestions on how to set up an environment to
> customize voyage?
>
> Thanks
>
> Alvaro
>
>
>
> _______________________________________________
> Voyage-linux mailing list
> Voyage-linux at list.voyage.hk
> http://list.voyage.hk/mailman/listinfo/voyage-linux
>
More information about the Voyage-linux
mailing list