<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">fyi<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>From: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">"Werner Almesberger" &lt;<a href="mailto:werner@openmoko.org">werner@openmoko.org</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Date: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">February 27, 2008 12:33:21 PM GMT+08:00</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>To: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Lorn Potter &lt;<a href="mailto:lpotter@trolltech.com">lpotter@trolltech.com</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Cc: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica">Wolfgang Spraul &lt;<a href="mailto:wolfgang@openmoko.com">wolfgang@openmoko.com</a>&gt;, Andy Green &lt;<a href="mailto:andy@openmoko.com">andy@openmoko.com</a>&gt;</font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><font face="Helvetica" size="3" color="#000000" style="font: 12.0px Helvetica; color: #000000"><b>Subject: </b></font><font face="Helvetica" size="3" style="font: 12.0px Helvetica"><b>Re: gta02</b></font></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; min-height: 14px; "><br></div> </div>Lorn Potter wrote:<br><blockquote type="cite">Well, after several failed attempts, it is booting into the kernel again, <br></blockquote><blockquote type="cite">but panics when it cannot mount root.<br></blockquote><br>Oh, great, you made it ! :-)<br><br>You may have an old partition layout. I'd suggest to just throw<br>away the environment and use the default one. (This will also take<br>away most of the boot menu.)<br><br>First of all, make sure you have a good serial console, e.g., with<br><br>neocon -t 30 /dev/ttyACM{0,1,2}<br>neocon /dev/ttyUSB{0,1,2}<br><br>I usually run both, so that I can catch u-boot wherever it comes up.<br>Then bring up u-boot and stop it at the console prompt.<br><br>If your u-boot isn't the latest you can find, upgrade it now with<br>pc# dfu-util -a 0 -R -D u-boot.udfu<br>gta02# go 0x32000000<br>(catch it again)<br>pc# dfu-util -a u-boot -R -D u-boot.udfu<br><br>Then erase the environment:<br>gta02# nand erase u-boot_env<br>reset, catch u-boot again<br>gta02# dynpart<br>gta02# dynenv set u-boot_env<br>gta02# saveenv<br><br>Now you should be able to boot with<br>gta02# boot<br><br>Next, you may want to populate the NOR, to make it easier to get past<br>any future u-boot breakage.<br><br>- Werner<br></blockquote></div><br></body></html>