Skip to contentSkip to conversation

Bootm hangs on SMDK2410 varity

U-Boot-Users Mark 2 participants 2 messages Feb 1, 2006

lore
Share & tools
lore

Mark

author
#0 lore raw

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/

#1 lore raw
Quoted 5 lines · In message <[email protected]> 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.

Quoted 3 lines

When booting from uImage with bootm command:

HH2410STUDY# run uimage

What's your definition of uimage here?

...

Quoted 5 lines

Uncompressing Kernel Image ... OK

Starting kernel ...

The operation system hangs here.

See FAQ...

Best regards,

Wolfgang Denk

Signature · 5 lines
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
People are very flexible and learn to adjust to strange  surroundings
--  they can become accustomed to read Lisp and Fortran programs, for
example.   - Leon Sterling and Ehud Shapiro, Art of Prolog, MIT Press