On Tue, Jun 16, 2009 at 12:07, <[email protected]> wrote:

> maybe because I din't act wright at the buid problem of not
> finding uImage at boot time...

 That's the kind of information that you don't hold back if you
 really wish that someone provides help...

>
> -----------------------
> .
> ..
> ...

 Can you please provide a few more lines of context here?  I'm
 not sure which command is failing.

 $ make hide= out/target/product/freerunner/obj/KERNEL/arch/arm/boot/uImage

 You ought to see something like this:

...
make -s --no-print-directory -C kernel -f Makefile
CROSS_COMPILE=/.../prebuilt/linux-x86/toolchain/armv4t-android-eabi-4.2.1/bin/armv4t-android-eabi-
O=/.../out/target/product/freerunner/obj/KERNEL ARCH=arm uImage
...
  Kernel: arch/arm/boot/Image is ready
  Kernel: arch/arm/boot/zImage is ready
Image Name:   Linux-2.6.29-rc3-mokodev
Created:      Tue Jun 16 12:19:16 2009
Image Type:   ARM Linux Kernel Image (uncompressed)
Data Size:    2275504 Bytes = 2222.17 kB = 2.17 MB
Load Address: 0x30008000
Entry Point:  0x30008000
  Image arch/arm/boot/uImage is ready

 In your case you won't see the lines between "Kernel:
 arch/arm/boot/zImage is ready" and "Image arch/arm/boot/uImage
 is ready".

 You can take the make line you see above, remove the "-s" flag,
 append "V=1" and run that, something like this (don't cut and
 paste!)

make --no-print-directory -C kernel -f Makefile
CROSS_COMPILE=/.../prebuilt/linux-x86/toolchain/armv4t-android-eabi-4.2.1/bin/armv4t-android-eabi-
O=/.../out/target/product/freerunner/obj/KERNEL ARCH=arm uImage V=1

 If everything is ok, you should see something like:

...
  Kernel: arch/arm/boot/zImage is ready
  /bin/sh /.../kernel/scripts/mkuboot.sh -A arm -O linux -T kernel -C
none -a 0x30008000 -e 0x30008000 -n 'Linux-2.6.29-rc3-mokodev' -d
arch/arm/boot/zImage arch/arm/boot/uImage
...

 and you can take that and replace "/bin/sh" with "/bin/sh -x",
 like this:

 cd out/target/product/freerunner/obj/KERNEL && /bin/sh -x
/.../kernel/scripts/mkuboot.sh -A arm -O linux -T kernel -C none -a
0x30008000 -e 0x30008000 -n 'Linux-2.6.29-rc3-mokodev' -d
arch/arm/boot/zImage arch/arm/boot/uImage

 you should see a call to mkimage, like this:

/usr/bin/mkimage -A arm -O linux -T kernel -C none -a 0x30008000 -e
0x30008000 -n Linux-2.6.29-rc3-mokodev -d arch/arm/boot/zImage
arch/arm/boot/uImage

 And if you get this far, something is broken with your
 installation.  Check the origin of mkimage.  You need uboot's
 mkimage.  Maybe you happen to have jigdo installed?

>                     If not specified, will write to stdout
>  -q                  Quick mode. Don't check MD5sums. Dangerous!
>  -s <bytenum>        Start byte number; will start at 0 if not specified
>  -e <bytenum>        End byte number; will end at EOF if not specified
>  -z                  Don't attempt to rebuild the image; simply print its
>                     size in bytes
>  Image arch/arm/boot/uImage is ready

 Obviously something failed and arch/arm/boot/uImage wasn't
 actually created.

 Marcelo
_______________________________________________
android-freerunner mailing list
[email protected]
http://android.koolu.org/listinfo.cgi/android-freerunner-koolu.org

Reply via email to