public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] problems about loading linux via u-boot
@ 2004-09-08  9:19 刘勇
  2004-09-08 14:46 ` [U-Boot-Users] " Lonsn
  2004-09-08 16:27 ` [U-Boot-Users] " Wolfgang Denk
  0 siblings, 2 replies; 3+ messages in thread
From: 刘勇 @ 2004-09-08  9:19 UTC (permalink / raw)
  To: u-boot

   i successfully load uImage into the address 0x100000,
and the command imi is ok.
	after i run the command bootm 0x100000,i get the infomation.

=> bootm 0x100000
## Booting image at 00100000 ...
   Image Name:   Linux-2.6.8
   Created:      2004-09-08   8:49:54 UTC
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    1009417 Bytes = 985.8 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK

the console seems dead.i have set bootargs into "console=ttyS0 root=/dev/nfs"
my cpu is 440gx.it seems linux finish uncompressing,and then it will print
Linux version information.

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

* [U-Boot-Users] Re: problems about loading linux via u-boot
  2004-09-08  9:19 [U-Boot-Users] problems about loading linux via u-boot 刘勇
@ 2004-09-08 14:46 ` Lonsn
  2004-09-08 16:27 ` [U-Boot-Users] " Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Lonsn @ 2004-09-08 14:46 UTC (permalink / raw)
  To: u-boot

First, your download address 0x100000 is not good.
because kernel will be uncompressed and probably overlap the original 
uImage.
Maybe 0x200000 is safe enough.

then pass the correct serial baudrate arguments such as
"console=ttyS0 38400 root=/dev/nfs" to kernel.

then go on checking...


>    i successfully load uImage into the address 0x100000,
> and the command imi is ok.
> 	after i run the command bootm 0x100000,i get the infomation.
> 
> => bootm 0x100000
> ## Booting image at 00100000 ...
>    Image Name:   Linux-2.6.8
>    Created:      2004-09-08   8:49:54 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1009417 Bytes = 985.8 kB
>    Load Address: 00000000
>    Entry Point:  00000000
>    Verifying Checksum ... OK
>    Uncompressing Kernel Image ... OK
> 
> the console seems dead.i have set bootargs into "console=ttyS0 root=/dev/nfs"
> my cpu is 440gx.it seems linux finish uncompressing,and then it will print
> Linux version information.
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by BEA Weblogic Workshop
> FREE Java Enterprise J2EE developer tools!
> Get your free copy of BEA WebLogic Workshop 8.1 today.
> http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click

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

* [U-Boot-Users] problems about loading linux via u-boot
  2004-09-08  9:19 [U-Boot-Users] problems about loading linux via u-boot 刘勇
  2004-09-08 14:46 ` [U-Boot-Users] " Lonsn
@ 2004-09-08 16:27 ` Wolfgang Denk
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2004-09-08 16:27 UTC (permalink / raw)
  To: u-boot

In message <20040908092223.A007EFB044@gatekeeper.ncic.ac.cn> you wrote:
>    i successfully load uImage into the address 0x100000,
> and the command imi is ok.
> 	after i run the command bootm 0x100000,i get the infomation.
> 
=> bootm 0x100000
> ## Booting image at 00100000 ...
>    Image Name:   Linux-2.6.8
>    Created:      2004-09-08   8:49:54 UTC
>    Image Type:   PowerPC Linux Kernel Image (gzip compressed)
>    Data Size:    1009417 Bytes = 985.8 kB
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Your image is HUGE. It will overwerite itself when uncompression starts.

Use a higher download address, like 0x400000.

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
Quote from the Boss... "I didn't say it was your fault.  I said I was
going to blame it on you."

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

end of thread, other threads:[~2004-09-08 16:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-08  9:19 [U-Boot-Users] problems about loading linux via u-boot 刘勇
2004-09-08 14:46 ` [U-Boot-Users] " Lonsn
2004-09-08 16:27 ` [U-Boot-Users] " Wolfgang Denk

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