[U-Boot] BUG: hang with an empty flash (due to recent bootm changes) bisected

Wolfgang Denk wd at denx.de
Thu Aug 28 01:04:17 CEST 2008


Dear Ira Snyder,

In message <20080827225557.GB10692 at ovro.caltech.edu> you wrote:
> 
> => printenv bootcmd
> bootcmd=run flash_self
> => printenv flash_self
> flash_self=run ramargs addip addtty;bootm ${kernel_addr} ${ramdisk_addr}
> => printenv ramargs addip addtty kernel_addr ramdisk_addr
> ramargs=setenv bootargs root=/dev/ram rw
> addip=setenv bootargs ${bootargs}
> ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}:${netdev}:off panic=1
> addtty=setenv bootargs ${bootargs} console=ttyS0,${baudrate}
> ## Error: "kernel_addr" not defined
> ## Error: "ramdisk_addr" not defined

Ummm... with both "kernel_addr" and "ramdisk_addr" not defined,  your
boot command looks like this:

	run ramargs addip addtty;bootm

i.e. U-Boot tries to locate an image  at  the  default  addreess  (in
RAM),  which  probably  contains  random data. Random input => random
behaviour ?

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Like winter snow on summer lawn, time past is time gone.


More information about the U-Boot mailing list