public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] Why my image isn't boot?
  2003-04-09  3:12 [U-Boot-Users] Why my image isn't boot? Zhao Hongda
@ 2003-04-08 12:30 ` Wolfgang Denk
  0 siblings, 0 replies; 13+ messages in thread
From: Wolfgang Denk @ 2003-04-08 12:30 UTC (permalink / raw)
  To: u-boot

In message <00af01c2fe45$e8dab100$fe02a8c0@esd11> you wrote:
> I use the u-boot cvs source,
> linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> 
>     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
>     gzip -9 linux.bin
>     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e 0xa0008000 -n
> "Linux Kernel Image" -d linux.bin.gz uImage
> then under u-boot:
>     =>loadb 0xa0008000 (send the uImage)
>     =>go 0xa0008000
>     start the application at 0xa0008000
>     <hang>
> 
> Could someone help me about this? Thanks a lot.

Type "where" and "bt" at your GDB prompt.  Umm...  you  are  using  a
debugger like the BDI2000, aren't you?


Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
Schshschshchsch.
	-- The Gorn, "Arena", stardate 3046.2

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

* [U-Boot-Users] Why my image isn't boot?
       [not found] <00c601c2fe49$d82ab360$fe02a8c0@esd11>
@ 2003-04-08 12:44 ` richard at uclinux.net
  2003-04-09  4:05   ` Zhao Hongda
  0 siblings, 1 reply; 13+ messages in thread
From: richard at uclinux.net @ 2003-04-08 12:44 UTC (permalink / raw)
  To: u-boot

> I want it run from flash, but if I use "loadb 0x00100000", after transfer
> the uImage, "md 0x00100000" shows that flash data is wrong,
> what should I do?
>                                                     Hongda Zhao

My question was:

Why are you trying to directly execute a compressed linux image from RAM?
It also won't work if you want to run it directly from flash either...


Rick


> ----- Original Message -----
> From: <richard@uclinux.net>
> To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
> Sent: Tuesday, April 08, 2003 5:23 AM
> Subject: Re: [U-Boot-Users] Why my image isn't boot?
> 
> 
> > > I use the u-boot cvs source,
> > > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> > >
> > >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
> linux.bin
> > >     gzip -9 linux.bin
> > >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
> 0xa0008000 -n
> > > "Linux Kernel Image" -d linux.bin.gz uImage
> > > then under u-boot:
> > >     =>loadb 0xa0008000 (send the uImage)
> > >     =>go 0xa0008000
> > >     start the application at 0xa0008000
> > >     <hang>
> > >

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

* [U-Boot-Users] Why my image isn't boot?
  2003-04-09  4:05   ` Zhao Hongda
@ 2003-04-08 13:06     ` richard at uclinux.net
  2003-04-09 16:23       ` Zhao Hongda
       [not found]     ` <E192tZ6-00014h-00@hall.mail.mindspring.net>
  1 sibling, 1 reply; 13+ messages in thread
From: richard at uclinux.net @ 2003-04-08 13:06 UTC (permalink / raw)
  To: u-boot

> I just want to boot the linux kernel in lubbock, and follow the README file
> in u-boot,
> then what steps should I take to product a workable uImage file ?
> and how to load it correctly?
> please give me a sample procedure.
>                                                                     Hongda

Load an uncompressed linux image instead (o;

Rick

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

* [U-Boot-Users] Why my image isn't boot?
@ 2003-04-09  3:12 Zhao Hongda
  2003-04-08 12:30 ` Wolfgang Denk
  0 siblings, 1 reply; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  3:12 UTC (permalink / raw)
  To: u-boot

I use the u-boot cvs source,
linux-2.4.19 kernel, arm-linux patch, and xscale patch.
arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.

    arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux linux.bin
    gzip -9 linux.bin
    mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e 0xa0008000 -n
"Linux Kernel Image" -d linux.bin.gz uImage
then under u-boot:
    =>loadb 0xa0008000 (send the uImage)
    =>go 0xa0008000
    start the application at 0xa0008000
    <hang>

Could someone help me about this? Thanks a lot.
                                  Hongda Zhao

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

* [U-Boot-Users] Why my image isn't boot?
@ 2003-04-09  3:43 Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  3:43 UTC (permalink / raw)
  To: u-boot

 I want it run from flash, but if I use "loadb 0x00100000", after transfer
the uImage, "md 0x00100000" shows that flash data is wrong,
what should I do?
                                                     Hongda Zhao
> ----- Original Message -----
> From: <richard@uclinux.net>
> To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
> Sent: Tuesday, April 08, 2003 5:23 AM
> Subject: Re: [U-Boot-Users] Why my image isn't boot?
>
>
> > > I use the u-boot cvs source,
> > > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> > >
> > >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
> linux.bin
> > >     gzip -9 linux.bin
> > >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
> 0xa0008000 -n
> > > "Linux Kernel Image" -d linux.bin.gz uImage
> > > then under u-boot:
> > >     =>loadb 0xa0008000 (send the uImage)
> > >     =>go 0xa0008000
> > >     start the application at 0xa0008000
> > >     <hang>
> > >
> >
> > You try to start a compressed kernel from RAM?
> >
> >
> > Rick
> >
>

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

* [U-Boot-Users] Why my image isn't boot?
@ 2003-04-09  3:44 Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  3:44 UTC (permalink / raw)
  To: u-boot

 How poor I am,
 I am just have a JTAG cable and a RS232 cable connect to lubbock,
 then what should I do?
                                     Hongda Zhao
> ----- Original Message -----
> From: "Wolfgang Denk" <wd@denx.de>
> To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
> Cc: <u-boot-users@lists.sourceforge.net>
> Sent: Tuesday, April 08, 2003 5:30 AM
> Subject: Re: [U-Boot-Users] Why my image isn't boot?
> 
> 
> > In message <00af01c2fe45$e8dab100$fe02a8c0@esd11> you wrote:
> > > I use the u-boot cvs source,
> > > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> > >
> > >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
> linux.bin
> > >     gzip -9 linux.bin
> > >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
> 0xa0008000 -n
> > > "Linux Kernel Image" -d linux.bin.gz uImage
> > > then under u-boot:
> > >     =>loadb 0xa0008000 (send the uImage)
> > >     =>go 0xa0008000
> > >     start the application at 0xa0008000
> > >     <hang>
> > >
> > > Could someone help me about this? Thanks a lot.
> >
> > Type "where" and "bt" at your GDB prompt.  Umm...  you  are  using  a
> > debugger like the BDI2000, aren't you?
> >
> >
> > Wolfgang Denk
> >
> > --
> > Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> > Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> > Schshschshchsch.
> > -- The Gorn, "Arena", stardate 3046.2
> 

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

* [U-Boot-Users] Why my image isn't boot?
       [not found] <r01050400-1024-D710B80969BC11D7BCB400039387ACB6@[10.0.1.2]>
@ 2003-04-09  3:52 ` Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  3:52 UTC (permalink / raw)
  To: u-boot

Could you give me the detail step from vmlinux/zImage to u-boot's uImage,
and the step to load and run it.
thanks very much.
----- Original Message -----
From: <richard@uclinux.net>
To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
Sent: Tuesday, April 08, 2003 5:23 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> > I use the u-boot cvs source,
> > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> >
> >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
linux.bin
> >     gzip -9 linux.bin
> >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
0xa0008000 -n
> > "Linux Kernel Image" -d linux.bin.gz uImage
> > then under u-boot:
> >     =>loadb 0xa0008000 (send the uImage)
> >     =>go 0xa0008000
> >     start the application at 0xa0008000
> >     <hang>
> >
>
> You try to start a compressed kernel from RAM?
>
>
> Rick
>

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

* [U-Boot-Users] Why my image isn't boot?
       [not found] <20030408124843.DAA8EC5877@atlas.denx.de>
@ 2003-04-09  3:56 ` Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  3:56 UTC (permalink / raw)
  To: u-boot

could you give me a detail sample to build a workable uImage and how to load
it?
                                        Hongda Zhao
----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
Sent: Tuesday, April 08, 2003 5:48 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> In message <00d201c2fe4a$15580440$fe02a8c0@esd11> you wrote:
> >
> > I am just have a JTAG cable and a RS232 cable connect to lubbock,
> > then what should I do?
>
> Buy a BDI2000 debugger?
>
> Best regards,
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> You can't evaluate a man by logic alone.
> -- McCoy, "I, Mudd", stardate 4513.3

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

* [U-Boot-Users] Why my image isn't boot?
  2003-04-08 12:44 ` richard at uclinux.net
@ 2003-04-09  4:05   ` Zhao Hongda
  2003-04-08 13:06     ` richard at uclinux.net
       [not found]     ` <E192tZ6-00014h-00@hall.mail.mindspring.net>
  0 siblings, 2 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09  4:05 UTC (permalink / raw)
  To: u-boot

I just want to boot the linux kernel in lubbock, and follow the README file
in u-boot,
then what steps should I take to product a workable uImage file ?
and how to load it correctly?
please give me a sample procedure.
                                                                    Hongda
Zhao
----- Original Message -----
From: <richard@uclinux.net>
To: <u-boot-users@lists.sourceforge.net>
Sent: Tuesday, April 08, 2003 5:44 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> > I want it run from flash, but if I use "loadb 0x00100000", after
transfer
> > the uImage, "md 0x00100000" shows that flash data is wrong,
> > what should I do?
> >                                                     Hongda Zhao
>
> My question was:
>
> Why are you trying to directly execute a compressed linux image from RAM?
> It also won't work if you want to run it directly from flash either...
>
>
> Rick
>
>
> > ----- Original Message -----
> > From: <richard@uclinux.net>
> > To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
> > Sent: Tuesday, April 08, 2003 5:23 AM
> > Subject: Re: [U-Boot-Users] Why my image isn't boot?
> >
> >
> > > > I use the u-boot cvs source,
> > > > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > > > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> > > >
> > > >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
> > linux.bin
> > > >     gzip -9 linux.bin
> > > >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
> > 0xa0008000 -n
> > > > "Linux Kernel Image" -d linux.bin.gz uImage
> > > > then under u-boot:
> > > >     =>loadb 0xa0008000 (send the uImage)
> > > >     =>go 0xa0008000
> > > >     start the application at 0xa0008000
> > > >     <hang>
> > > >
>
>
>
> -------------------------------------------------------
> 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

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

* [U-Boot-Users] Why my image isn't boot?
  2003-04-09 16:21       ` Zhao Hongda
@ 2003-04-09  8:00         ` Wolfgang Denk
  2003-04-09 23:09           ` Zhao Hongda
  0 siblings, 1 reply; 13+ messages in thread
From: Wolfgang Denk @ 2003-04-09  8:00 UTC (permalink / raw)
  To: u-boot

In message <014901c2feb4$185ece70$fe02a8c0@esd11> you wrote:
> Thanks for your help,
> But when I follow your step, after bootm, u-boot complain that :
> 
> => loadb 0xa0008000
> ## Ready for binary (kermit) download to 0xA0008000 at 115200 bps...
> ## Total Size      = 0x000c14aa = 791722 Bytes
> ## Start Addr      = 0xA0008000
> => bootm 0xa0008000
> ## Booting image at a0008000 ...
>    Image Name:   U-boot Linux
>    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: inflate() returned -3
> GUNZIP ERROR - must RESET board to recover
> reseting ...
> 
> what should I do?

Fix your image. The addrress where it is stored in RAM (as used by  "
bootm 0xa0008000" must be different from the "Load Address: a0008000"
and "Entry Point: a0008000" values, or it will overwerite itself when
it gets uncompressed.


Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
What about WRITING it first and rationalizing it afterwords?  :-)
                       - Larry Wall in <8162@jpl-devvax.JPL.NASA.GOV>

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

* [U-Boot-Users] Why my image isn't boot?
       [not found]     ` <E192tZ6-00014h-00@hall.mail.mindspring.net>
@ 2003-04-09 16:21       ` Zhao Hongda
  2003-04-09  8:00         ` Wolfgang Denk
  0 siblings, 1 reply; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09 16:21 UTC (permalink / raw)
  To: u-boot

Thanks for your help,
But when I follow your step, after bootm, u-boot complain that :

=> loadb 0xa0008000
## Ready for binary (kermit) download to 0xA0008000 at 115200 bps...
## Total Size      = 0x000c14aa = 791722 Bytes
## Start Addr      = 0xA0008000
=> bootm 0xa0008000
## Booting image at a0008000 ...
   Image Name:   U-boot Linux
   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: inflate() returned -3
GUNZIP ERROR - must RESET board to recover
reseting ...

what should I do?
                                                    Hongda Zhao
----- Original Message -----
From: "Kyle Harris" <kharris@nexus-tech.net>
To: "Zhao Hongda" <zhaohd@vis.cs.tsinghua.edu.cn>
Sent: Tuesday, April 08, 2003 6:47 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> Zhao,
>
> This is my procedure. Hope this works for you.
>
> $ 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
>
> linuxgz.image is a valid u-boot kernel image and should boot with
>
> => bootm address_where_loaded
>
> Kyle.
>
> On Wednesday 09 April 2003 12:05 am, Zhao Hongda wrote:
>
> > I just want to boot the linux kernel in lubbock, and follow the README
file
> > in u-boot,
> > then what steps should I take to product a workable uImage file ?
> > and how to load it correctly?
> > please give me a sample procedure.
> >
Hongda
> > Zhao
> > ----- Original Message -----
> > From: <richard@uclinux.net>
> > To: <u-boot-users@lists.sourceforge.net>
> > Sent: Tuesday, April 08, 2003 5:44 AM
> > Subject: Re: [U-Boot-Users] Why my image isn't boot?
> >
> > > > I want it run from flash, but if I use "loadb 0x00100000", after
> >
> > transfer
> >
> > > > the uImage, "md 0x00100000" shows that flash data is wrong,
> > > > what should I do?
> > > >                                                     Hongda Zhao
> > >
> > > My question was:
> > >
> > > Why are you trying to directly execute a compressed linux image from
RAM?
> > > It also won't work if you want to run it directly from flash either...
> > >
> > >
> > > Rick
> > >
> > > > ----- Original Message -----
> > > > From: <richard@uclinux.net>
> > > > To: "Zhao Hongda" <zhaohongda@tsinghua.org.cn>
> > > > Sent: Tuesday, April 08, 2003 5:23 AM
> > > > Subject: Re: [U-Boot-Users] Why my image isn't boot?
> > > >
> > > > > > I use the u-boot cvs source,
> > > > > > linux-2.4.19 kernel, arm-linux patch, and xscale patch.
> > > > > > arm-linux-gcc 3.0 as complier,lubbock(pxa250) as platform.
> > > > > >
> > > > > >     arm-linux-objcopy -O binary -R .note -R .comment -S vmlinux
> > > >
> > > > linux.bin
> > > >
> > > > > >     gzip -9 linux.bin
> > > > > >     mkimage -A arm -O linux -T kernel -C gzip -a 0xa0008000 -e
> > > >
> > > > 0xa0008000 -n
> > > >
> > > > > > "Linux Kernel Image" -d linux.bin.gz uImage
> > > > > > then under u-boot:
> > > > > >     =>loadb 0xa0008000 (send the uImage)
> > > > > >     =>go 0xa0008000
> > > > > >     start the application at 0xa0008000
> > > > > >     <hang>
> > >
> > > -------------------------------------------------------
> > > 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
> >
> > -------------------------------------------------------
> > 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

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

* [U-Boot-Users] Why my image isn't boot?
  2003-04-08 13:06     ` richard at uclinux.net
@ 2003-04-09 16:23       ` Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09 16:23 UTC (permalink / raw)
  To: u-boot

do you mean that vmlinux?it is too large:(
please give me a sample setp you take to product a workable kernel and load
it.
thanks.
                                                                Hongda Zhao
----- Original Message -----
From: <richard@uclinux.net>
To: <u-boot-users@lists.sourceforge.net>
Sent: Tuesday, April 08, 2003 6:06 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> > I just want to boot the linux kernel in lubbock, and follow the README
file
> > in u-boot,
> > then what steps should I take to product a workable uImage file ?
> > and how to load it correctly?
> > please give me a sample procedure.
> >
Hongda
>
> Load an uncompressed linux image instead (o;
>
> Rick
>
>
>
>
> -------------------------------------------------------
> 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

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

* [U-Boot-Users] Why my image isn't boot?
  2003-04-09  8:00         ` Wolfgang Denk
@ 2003-04-09 23:09           ` Zhao Hongda
  0 siblings, 0 replies; 13+ messages in thread
From: Zhao Hongda @ 2003-04-09 23:09 UTC (permalink / raw)
  To: u-boot

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

please help me, thanks.

Hongda Zhao
----- Original Message -----
From: "Wolfgang Denk" <wd@denx.de>
To: "Zhao Hongda" <zhaohd@vis.cs.tsinghua.edu.cn>
Cc: "Kyle Harris" <kharris@nexus-tech.net>;
<u-boot-users@lists.sourceforge.net>
Sent: Wednesday, April 09, 2003 1:00 AM
Subject: Re: [U-Boot-Users] Why my image isn't boot?


> In message <014901c2feb4$185ece70$fe02a8c0@esd11> you wrote:
> > Thanks for your help,
> > But when I follow your step, after bootm, u-boot complain that :
> >
> > => loadb 0xa0008000
> > ## Ready for binary (kermit) download to 0xA0008000 at 115200 bps...
> > ## Total Size      = 0x000c14aa = 791722 Bytes
> > ## Start Addr      = 0xA0008000
> > => bootm 0xa0008000
> > ## Booting image at a0008000 ...
> >    Image Name:   U-boot Linux
> >    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: inflate() returned -3
> > GUNZIP ERROR - must RESET board to recover
> > reseting ...
> >
> > what should I do?
>
> Fix your image. The addrress where it is stored in RAM (as used by  "
> bootm 0xa0008000" must be different from the "Load Address: a0008000"
> and "Entry Point: a0008000" values, or it will overwerite itself when
> it gets uncompressed.
>
>
> Wolfgang Denk
>
> --
> Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
> Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
> What about WRITING it first and rationalizing it afterwords?  :-)
>                        - Larry Wall in <8162@jpl-devvax.JPL.NASA.GOV>

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

end of thread, other threads:[~2003-04-09 23:09 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-04-09  3:12 [U-Boot-Users] Why my image isn't boot? Zhao Hongda
2003-04-08 12:30 ` Wolfgang Denk
     [not found] <20030408124843.DAA8EC5877@atlas.denx.de>
2003-04-09  3:56 ` Zhao Hongda
     [not found] <r01050400-1024-D710B80969BC11D7BCB400039387ACB6@[10.0.1.2]>
2003-04-09  3:52 ` Zhao Hongda
  -- strict thread matches above, loose matches on Subject: below --
2003-04-09  3:44 Zhao Hongda
2003-04-09  3:43 Zhao Hongda
     [not found] <00c601c2fe49$d82ab360$fe02a8c0@esd11>
2003-04-08 12:44 ` richard at uclinux.net
2003-04-09  4:05   ` Zhao Hongda
2003-04-08 13:06     ` richard at uclinux.net
2003-04-09 16:23       ` Zhao Hongda
     [not found]     ` <E192tZ6-00014h-00@hall.mail.mindspring.net>
2003-04-09 16:21       ` Zhao Hongda
2003-04-09  8:00         ` Wolfgang Denk
2003-04-09 23:09           ` Zhao Hongda

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