View Single Post
penguinbait's Avatar
Posts: 3,096 | Thanked: 1,525 times | Joined on Jan 2006 @ Michigan, USA
#2
Originally Posted by nicolai View Post
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.


Check your DNS servers /scratchbox/etc/resolv.conf

Sounds like they are empty so no name resolution is happening
__________________
To all my Maemo friends. I will no longer be monitoring any of my threads here on a regular basis. I am no longer supporting anything I did under maemo at maemo.org. If you need some help with something you can reach me at tablethacker.com or www.facebook.com/penguinbait. I have disabled my PM's here, and removed myself from Council email and Community mailing list. There has been some fun times, see you around.