2009年2月23日 星期一

Building kernel of Neo FreeRunner

Get the toolchain
http://downloads.openmoko.org/developer/toolchains/
I used openmoko-i686-arm-linux-gnueabi-toolchain.tar.bz2 and it is the symbolic link of openmoko-i686-20080916-arm-linux-gnueabi-toolchain.tar.bz2 currently. I think it is linked to the latest toolchain available.

The tarball will be uncompressed to usr/local/openmoko, one should install the toolchain to /usr/local/openmoko (uncompress it at / ), or install it somewhere else but make a symbolic link /usr/local/openmoko to the actual directory.

mkdir -p /usr/local/;
ln -s /dir/to/toolchain/openmoko /usr/local/openmoko;


build-kernel.sh/build-image.sh/mkimage
get the mkimage only
http://people.openmoko.org/jollen/openmoko-kernel/mkimage
mv mkimage /usr/sbin
or just make a link /usr/sbin/mkimage to the actual file location.

Getting/Building kernel
git clone git://git.openmoko.org/git/kernel.git linux-2.6
git checkout origin/andy-tracking -b __my_branch_name__
mkdir __XXX__
cp arch/arm/configs/gta02_moredrivers_defconfig __XXX__/.config
./build __XXX__ dummy
the image is at __XXX__/modules-GTA02___my_branch_name__-1c6a91fef7cb2e0f.tar.gz and __XXX__/uImage-moredrivers-GTA02___my_branch_name__-1c6a91fef7cb2e0f.bin (or __XXX__/uImage-GTA02.bin)


Howto compile Openmoko kernel for Neo Freerunner
http://wiki.openmoko.org/wiki/Howto_compile_Openmoko_kernel_for_Neo_Freerunner

Building Openmoko Kernel from git repo using Toolchain
http://wiki.openmoko.org/wiki/Toolchain#Building_Openmoko_Kernel_from_git_repo_using_Toolchain

Howto: Compile latest kernel for Neo Freerunner
http://comments.gmane.org/gmane.comp.handhelds.openmoko.community/37106

自行編譯 Neo FreeRunner 的 kernel
http://www.jollen.org/blog/2009/02/compile_neo_freerunner_kernel.html

沒有留言: