[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.

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

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@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
participants (2)
-
Wolfgang Denk
-
zhuzhenhua