question about kernel image build

xiangfu xiangfu at openmoko.org
Tue Mar 24 15:07:08 CET 2009


On Mar 24, 2009, at 10:57 AM, mx li wrote:

> i got a freerunner, first i download the two image:
> Om2008.12-om-gta02.uImage.bin
> Om2008.12-om-gta02.rootfs.jffs2
> use the dfu tools upgrade success.
>
> but i want to build the kernel image myself, so i do like this:
> 1.
> install git tools: apt-get install git
> 2.
> git clone git://git.openmoko.org/git/kernel.git linux-2.6
> 3.
> cd linux-2.6
> git checkout origin/andy-tracking
> 4.
> cp arch/arm/configs/gta02-moredrivers-defconfig .config
> 5.
> download openmoko-i686-20080916-arm-linux-gnueabi-toolchain.tar.bz2  
> from
> http://downloads.openmoko.org/developer/toolchains/
> 6.
> cd /
> sudo tar jxf /openmoko-i686-20080916-arm-linux-gnueabi- 
> toolchain.tar.bz2
> 7.
> cd linux-2.6
> mkdir GTA02
> cp arch/arm/configs/gta02-moredrivers-defconfig ./GTA02/.config
> 8.
> vi /usr/local/openmoko/arm/setup-env
> modify line with : export LDFLAGS="-L${OMTOOL_DIR}/arm/arm-angstrom- 
> linux-gnueabi/lib -rpath-link ${OMTOOL_DIR}/arm/arm-angstrom-linux- 
> gnueabi/lib -O1"
> 9.
> .   /usr/local/openmoko/arm/setup-env
> 10.
> cd linux-2.6/
> ./build GTA02 dummy
>
> after above, i use the dfu tools burn the uImage-GTA02.bin which  
> under GTA02 directory to freerunner, but it
> stop at openmoko srceen, can't boot the system up,
you should take a picture about the screen . :-)

what is your rootfs??

>
> why?
>
>
> _______________________________________________
> Openmoko community mailing list
> community at lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community

Xiangfu
Best Regards








More information about the community mailing list