[U-Boot-Users] problems about loading linux via 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.

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

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
participants (3)
-
Lonsn
-
Wolfgang Denk
-
刘勇