Problem in building u-boot

Andy Green andy at openmoko.com
Sun Dec 7 10:31:36 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Somebody in the thread at some point said:
| Hi all...
|
| I was trying to build the kernel but got the following error;
| 'mkimage command not found'
|
| I saw a post on http://lists.openmoko.org/nabble.html#nabble-td577770
| saying that I needed to git u-boot to tackle this problem
|
| But i am having an error in 'make u-boot.udfu' which follows:
|
| /bin/sh: line 3: arm-linux-gcc: command not found
|
| I dont know what to do about this.....!!!!
|
| I would also like to know if 'make u-boot.udfu' is the last step in
| resolving the problem of mkimage being not recognized

Yes you can get mkimage from U-Boot or in fact Qi, so you have the right
idea.  But you need to pass cross tool path into the make, and you need
to run a config make action first.

make -s ARCH=arm
CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
gta02v5_config
make -s ARCH=arm
CROSS_COMPILE=/usr/local/openmoko/arm/bin/arm-angstrom-linux-gnueabi-
u-boot.udfu

- -Andy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkk7l/gACgkQOjLpvpq7dMoizQCdFdQMBLzLTLj7PgFnx9gweUOq
7ncAoIRao8i61iPMDeS1vVWOczeDydhl
=jcMa
-----END PGP SIGNATURE-----



More information about the openmoko-kernel mailing list