Skip to contentSkip to conversation

problems about loading linux via u-boot

U-Boot-Users 刘勇 3 participants 3 messages Sep 8, 2004

lore
Share & tools
lore

刘勇

author
#0 lore raw

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.

#1 lore raw

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

Quoted 26 lines

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

#2 lore raw
In reply to 刘勇
Quoted 4 lines · In message <[email protected]> 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

Quoted 5 lines

## 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

Signature · 4 lines
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."