[U-Boot-Users] Bootm hangs on SMDK2410 varity

I had success in porting the U-boot-1.1.4 to a varity of SMDK2410 board. But I found the bootm command does not work as expected.
When booting from zImage with go command:
HH2410STUDY# tftp 31000000 zimage dm9000 i/o: 0x8000300, id: 0x90000a46 MAC: 00:80:00:80:00:80 could not establish link TFTP from server 192.168.2.122; our IP address is 192.168.2.120 Filename 'zimage'. Load address: 0x31000000 Loading: #################################################################
#################################################################
################################################## done Bytes transferred = 916804 (dfd44 hex) HH2410STUDY# bootelf 31000000 ## No elf image at address 0x31000000 HH2410STUDY# go 31000000 ## Starting application at 0x31000000 ... Uncompressing Linux................................................................... done, booting the kernel.
Error: a
This is understood and expected. Because the go command did not pass the archtecure # to kerner. That's why it says "Error: a".
On the other side, this proves the console setting is right because it received the msg from the kernal.
When booting from uImage with bootm command:
HH2410STUDY# run uimage dm9000 i/o: 0x8000300, id: 0x90000a46 MAC: 00:80:00:80:00:80 could not establish link TFTP from server 192.168.2.122; our IP address is 192.168.2.120 Filename 'uimage'. Load address: 0x31000000 Loading: #################################################################
#################################################################
############################################### done Bytes transferred = 904449 (dcd01 hex) ## Booting image at 31000000 ... Image Name: ARM Linux Kernel Created: 2006-02-01 0:29:18 UTC Image Type: ARM Linux Kernel Image (gzip compressed) Data Size: 904385 Bytes = 883.2 kB Load Address: 30008000 Entry Point: 30008000 Verifying Checksum ... OK Uncompressing Kernel Image ... OK
Starting kernel ...
The operation system hangs here.
I double checked the uimage making process and it is right. Here it the command list: 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 30008000 -e 30008000 -n "ARM Linux Kernel" \ -d linux.bin.gz uImage
BTW, I also tried to set up bootargs by setting without success: console=ttyS0 baudrate=9600 console=ttyS0 baudrate=115200 and etc
Any hints why this happen?
If possible, please copy me on reply. But anyway I should go to list achieve to check the reply. Thanks a lot!
___________________________________________________________ 雅虎1G免费邮箱百分百防垃圾信 http://cn.mail.yahoo.com/

In message 20060201073010.46707.qmail@web15403.mail.cnb.yahoo.com you wrote:
But I found the bootm command does not work as expected.
When booting from zImage with go command:
Please RTFM. U-Boot does not use zImages images.
When booting from uImage with bootm command:
HH2410STUDY# run uimage
What's your definition of uimage here?
...
Uncompressing Kernel Image ... OK
Starting kernel ...
The operation system hangs here.
See FAQ...
Best regards,
Wolfgang Denk
participants (2)
-
Mark
-
Wolfgang Denk