On Friday 05 February 2010 00:47:54 Vinzenz Hersche wrote: > nice.. :D > but could you write a little tutorial to explain, how you build the kernel? > i like to play cmpiling with qtmoko, but i'm also interested in kernel- > compiling.. :)
Sure, both kernels are latest andy-tracking. The debug one is build with standard: cd linux-26 mkdir GTA02 cp arch/arm/configs/gta02_packaging_config GTA02/.config ./build GTA02 ./build GTA02 dummy and i also strip modules so that they are not too big: find . -name *.ko -exec /opt/toolchains/arm920t-eabi/bin/arm-linux-strip -R .not -R .comment --strip-unneeded {} \; The nodebug kernel is based on this config[1] and i build it like this: make CROSS_COMPILE=/opt/toolchains/arm920t-eabi/bin/arm-linux- ARCH=arm make CROSS_COMPILE=/opt/toolchains/arm920t-eabi/bin/arm-linux- ARCH=arm modules_install /opt/toolchains/arm920t-eabi/bin/arm-linux-objcopy -O binary -R .note -R .comment -S arch/arm/boot/compressed/vmlinux linux.bin mkimage -A arm -O linux -T kernel -C none -a 30008000 -e 30008000 -n "QtMoko" -d linux.bin uImage-GTA02.bin It could be also needed to run depmod on Neo if the booted kernel cant find modules. Regards Radek [1] http://github.com/radekp/qtmoko/blob/translations/devices/neo/linux_kernel/gta02_qtmoko_2.6.29_config _______________________________________________ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community