Skip to contentSkip to conversation

unzip kernel error in lubbock platform

U-Boot-Users Zhao Hongda 3 participants 5 messages Apr 9, 2003

lore
Share & tools
lore
#1 lore raw
In reply to Zhao Hongda

----- Original Message -----
From: "Zhao Hongda" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 10, 2003 7:03 AM
Subject: [U-Boot-Users] unzip kernel error in lubbock platform

Quoted 5 lines

I follow these steps:

$ make zImage
$ arm-linux-objcopy -S -O binary vmlinux linux
$ gzip -vf9 linux
$ mkimage -n name -A arm -O linux -T kernel -C gzip -a a0008000 -e

a0008000

Quoted 16 lines

\
-d linux.gz linuxgz.image

then load it follow these steps:
=>loadb 0xa1000000
=>bootm 0xa1000000
## Booting image at a1000000 ...

   Image Name:   akzhd crazy
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    791658 Bytes = 773.1 kB

Load Address: a0008000
Entry Point: a0008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflateInit2() returned -4
GUNZIP ERROR - must RESET board to recover

Quoted 6 lines

Could someone tell me the detail step to create a usable uImage file, and how to load / run it?
Thanks.
Hongda Zhao

I think the problem may be the interface between the U-BOOT and the
LINUX,maybe not the step of creating image.

Quoted 12 lines

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#3 lore raw
In reply to Zhao Hongda
Quoted 4 lines · In message <001f01c2fee3$e88f1e40$fe02a8c0@esd11> you wrote:

then load it follow these steps:
=>loadb 0xa1000000
=>bootm 0xa1000000

How much RAM do you have at 0xa1000000 ?

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
It became apparent that one reason why the Ice Giants were  known  as
the  Ice  Giants  was  because they were, well, giants. The other was
that they were made of ice.              -Terry Pratchett, _Sourcery_
#0 lore raw

I follow these steps:

$ make zImage
$ arm-linux-objcopy -S -O binary vmlinux linux
$ gzip -vf9 linux
$ mkimage -n name -A arm -O linux -T kernel -C gzip -a a0008000 -e a0008000
\
     -d linux.gz linuxgz.image

then load it follow these steps:
=>loadb 0xa1000000
=>bootm 0xa1000000
## Booting image at a1000000 ...

   Image Name:   akzhd crazy
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    791658 Bytes = 773.1 kB

Load Address: a0008000
Entry Point: a0008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflateInit2() returned -4
GUNZIP ERROR - must RESET board to recover

Could someone tell me the detail step to create a usable uImage file, and how to load / run it?
Thanks.
Hongda Zhao

#2 lore raw
In reply to seaman

then what should I do to boot a linux kernel by u-boot.
Hongda Zhao
----- Original Message -----
From: "seaman" <[email protected]>
To: "Zhao Hongda" <[email protected]>
Cc: "u-boot-users" <[email protected]>
Sent: Tuesday, April 08, 2003 11:53 PM
Subject: Re: [U-Boot-Users] unzip kernel error in lubbock platform

Quoted 52 lines

----- Original Message -----
From: "Zhao Hongda" <[email protected]>
To: <[email protected]>
Sent: Thursday, April 10, 2003 7:03 AM
Subject: [U-Boot-Users] unzip kernel error in lubbock platform

Quoted 5 lines

I follow these steps:

$ make zImage
$ arm-linux-objcopy -S -O binary vmlinux linux
$ gzip -vf9 linux
$ mkimage -n name -A arm -O linux -T kernel -C gzip -a a0008000 -e

a0008000

Quoted 16 lines

\
-d linux.gz linuxgz.image

then load it follow these steps:
=>loadb 0xa1000000
=>bootm 0xa1000000
## Booting image at a1000000 ...

   Image Name:   akzhd crazy
   Image Type:   ARM Linux Kernel Image (gzip compressed)
   Data Size:    791658 Bytes = 773.1 kB

Load Address: a0008000
Entry Point: a0008000
Verifying Checksum ... OK
Uncompressing Kernel Image ... Error: inflateInit2() returned -4
GUNZIP ERROR - must RESET board to recover

Quoted 6 lines

Could someone tell me the detail step to create a usable uImage file, and how to load / run it?
Thanks.
Hongda Zhao

I think the problem may be the interface between the U-BOOT and the
LINUX,maybe not the step of creating image.

Quoted 12 lines

-------------------------------------------------------
This SF.net email is sponsored by: ValueWeb:
Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server
http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

#4 lore raw
In reply to Wolfgang Denk

I have 64M sdram in Lubbock from a0000000 to a4000000
Hongda Zhao
----- Original Message -----
From: "Wolfgang Denk" <[email protected]>
To: "Zhao Hongda" <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, April 09, 2003 1:05 AM
Subject: Re: [U-Boot-Users] unzip kernel error in lubbock platform

Quoted 17 lines
Quoted 4 lines · In message <001f01c2fee3$e88f1e40$fe02a8c0@esd11> you wrote:

then load it follow these steps:
=>loadb 0xa1000000
=>bootm 0xa1000000

How much RAM do you have at 0xa1000000 ?

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
It became apparent that one reason why the Ice Giants were  known  as
the  Ice  Giants  was  because they were, well, giants. The other was
that they were made of ice.              -Terry Pratchett, _Sourcery_