question about kernel image build
mx li
lz5886 at gmail.com
Tue Mar 24 03:57:52 CET 2009
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,
why?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20090324/144a45b3/attachment.htm
More information about the community
mailing list