From: Wolfgang Denk Date: Thu, 28 Aug 2008 01:04:17 +0200 Subject: [U-Boot] BUG: hang with an empty flash (due to recent bootm changes) bisected In-Reply-To: <20080827225557.GB10692@ovro.caltech.edu> References: <20080827214923.GA10692@ovro.caltech.edu> <665AA317-62B9-46BC-BD09-1C39DAB4C559@kernel.crashing.org> <20080827225557.GB10692@ovro.caltech.edu> Message-ID: <20080827230417.30FB1248BF@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Ira Snyder, In message <20080827225557.GB10692@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.