public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] about use mkimage to create uImage?
@ 2005-06-29  0:39 zhuzhenhua
  2005-06-29  8:27 ` Wolfgang Denk
  0 siblings, 1 reply; 4+ messages in thread
From: zhuzhenhua @ 2005-06-29  0:39 UTC (permalink / raw)
  To: u-boot

if i mkimage without compressing, kernel can run correct, the command
is as follow
./tools/mkimage -A arm -O linux -T kernel -C none-a 0x30000000
-e0x30008000 -n "Linux" -d vmlinux  uImage


but i want to create a compressed uImage,i use commands like these,it
stop at "starting kernel..."
arm-linux-objcopy -O binary -R.note -R.comment -S vmlinux linux.bin
gzip -9 linux.bin
./tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000
-e0x30008000 -n "Linux" -d linux.bin.gz  uImage

i think the second method should run well,and i see the same example
in the Readme of u-boot src.

any hints are appreciate.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] about use mkimage to create uImage?
@ 2005-06-29  3:13 KokHow Teh
  0 siblings, 0 replies; 4+ messages in thread
From: KokHow Teh @ 2005-06-29  3:13 UTC (permalink / raw)
  To: u-boot

without compressing, you used "-a 0x30000000" and with compressing, you
used "-a 0x30008000".




zhuzhenhua <zzh.hust@gmail.com>@lists.sourceforge.net on 06/29/2005
08:39:03 AM

Please respond to zhuzhenhua <zzh.hust@gmail.com>

Sent by:    u-boot-users-admin at lists.sourceforge.net


To:    u-boot-users at lists.sourceforge.net
cc:

Subject:    [U-Boot-Users] about use mkimage to create uImage?


if i mkimage without compressing, kernel can run correct, the command
is as follow
./tools/mkimage -A arm -O linux -T kernel -C none-a 0x30000000
-e0x30008000 -n "Linux" -d vmlinux  uImage


but i want to create a compressed uImage,i use commands like these,it
stop at "starting kernel..."
arm-linux-objcopy -O binary -R.note -R.comment -S vmlinux linux.bin
gzip -9 linux.bin
./tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000
-e0x30008000 -n "Linux" -d linux.bin.gz  uImage

i think the second method should run well,and i see the same example
in the Readme of u-boot src.

any hints are appreciate.


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id\x16492&oplick
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] about use mkimage to create uImage?
  2005-06-29  0:39 [U-Boot-Users] about use mkimage to create uImage? zhuzhenhua
@ 2005-06-29  8:27 ` Wolfgang Denk
  2005-06-30  3:32   ` zhuzhenhua
  0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Denk @ 2005-06-29  8:27 UTC (permalink / raw)
  To: u-boot

In message <50c9a225050628173937eaabda@mail.gmail.com> you wrote:
> if i mkimage without compressing, kernel can run correct, the command
> is as follow
> ./tools/mkimage -A arm -O linux -T kernel -C none-a 0x30000000
------------------------------------------------------^^^^^^^^^^
> -e0x30008000 -n "Linux" -d vmlinux  uImage
...
> but i want to create a compressed uImage,i use commands like these,it
...
> ./tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000
------------------------------------------------------^^^^^^^^^^

> i think the second method should run well,and i see the same example
> in the Readme of u-boot src.

It probably fails because you changed the load address...

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
The evolution of the human race will not be accomplished in  the  ten
thousand  years  of  tame  animals,  but in the million years of wild
animals, because man is and will always be a wild animal.
                                              - Charles Galton Darwin

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [U-Boot-Users] about use mkimage to create uImage?
  2005-06-29  8:27 ` Wolfgang Denk
@ 2005-06-30  3:32   ` zhuzhenhua
  0 siblings, 0 replies; 4+ messages in thread
From: zhuzhenhua @ 2005-06-30  3:32 UTC (permalink / raw)
  To: u-boot

something strange happened. as i said, i had used command

'./tools/mkimage -A arm -O linux -T kernel -C none-a 0x30000000
-e0x30008000 -n "Linux" -d vmlinux  uImage'
to get a runing correctly uImage.
but today i use the same command to the same vmlinux to generate the
uImage which runing only to "starting kernel........." and then stop.

but if i download the uImage i made few days ago, it still can run correct
what's happen? or maybe i rember the wrong command ?i just got confused.

thanks for any hints or answers

Best regards

zzh.hust





On 6/29/05, Wolfgang Denk <wd@denx.de> wrote:
> In message <50c9a225050628173937eaabda@mail.gmail.com> you wrote:
> > if i mkimage without compressing, kernel can run correct, the command
> > is as follow
> > ./tools/mkimage -A arm -O linux -T kernel -C none-a 0x30000000
> ------------------------------------------------------^^^^^^^^^^
> > -e0x30008000 -n "Linux" -d vmlinux  uImage
> ...
> > but i want to create a compressed uImage,i use commands like these,it
> ...
> > ./tools/mkimage -A arm -O linux -T kernel -C gzip -a 0x30008000
> ------------------------------------------------------^^^^^^^^^^
> 
> > i think the second method should run well,and i see the same example
> > in the Readme of u-boot src.
> 
> It probably fails because you changed the load address...
> 
> Best regards,
> 
> Wolfgang Denk
> 
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
> The evolution of the human race will not be accomplished in  the  ten
> thousand  years  of  tame  animals,  but in the million years of wild
> animals, because man is and will always be a wild animal.
>                                               - Charles Galton Darwin
>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-06-30  3:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-29  0:39 [U-Boot-Users] about use mkimage to create uImage? zhuzhenhua
2005-06-29  8:27 ` Wolfgang Denk
2005-06-30  3:32   ` zhuzhenhua
  -- strict thread matches above, loose matches on Subject: below --
2005-06-29  3:13 KokHow Teh

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox