View Single Post
nicolai's Avatar
Posts: 1,637 | Thanked: 4,424 times | Joined on Apr 2009 @ Germany
#1
Hello,

can someone give me advice on how to setup kernel development
environment for the 770 device.

I already searched, but only found howtos for the n800/n810 devices
or special howtos for bora and diablo. Correct me if I am wrong, but
I think I cannot take the diablo source and environment for the 770 device. I suppose I have to use the gregale sources. My device current firmware version is 3.2006.49-2.

So far I set up scratchbox target as describe in a tutorial from here:
http://test.maemo.org/platform/docs/...uide_bora.html
with:
sb-conf setup MaemoKernel -c cs2005q3.2-glibc-arm -t /scratchbox/devkits/cputransp/bin/qemu-arm-0.8.1-sb2
sb-conf select MaemoKernel
sb-conf rs MaemoKernel /scratchbox/packages/Maemo_Dev_Platform_v2.2_armel-rootstrap.tgz
sb-conf in MaemoKernel -e -d -F

I set my source.list for gregale instead of bora, but cannot do apt-get update. I get this error:
Failed to fetch http://repository.maemo.org/dists/gregale/Release.gpg Temporary failure resolving 'repository.maemo.org'
apt-get only works if I add debian-sarge devkit when setup the target.
By the way, why do some howtos use fakeroot apt-get, instead of just apt-get?

The next question is, where to find the kernel source. The maemo wiki entry for kernel developing only deals with diablo and the kernel source is named kernel-source-diable. But in the gregale repository is no package named kernel-source-gregal.

My primary goal is to rebuild some kernel modules, but I would like to rebuild the whole kernel too.

thanks in advance.