<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta http-equiv="CONTENT-TYPE"
 content="text/html; charset=windows-1252">
  <title>Asia Sourcing email template</title>
  <meta name="GENERATOR" content="OpenOffice.org 3.1  (Win32)">
  <meta name="CREATED" content="0;0">
  <meta name="CHANGEDBY" content="Adam Gill">
  <meta name="CHANGED" content="20100210;11544500">
  <style type="text/css">
        <!--
                P { color: #000000 }
        -->
        </style>
</head>
<body dir="ltr" lang="en-US" text="#000000">
That's really great!!<br>
<br>
I coul'nt wait&nbsp; ...so i have dismantled my netbook .... but have no
switch <span class="moz-smiley-s2"><span> :-(&nbsp; </span></span>on so-
dimm ...<br>
<br>
Need shorting weiring diagram to solder on wires ...<br>
<br>
Adam<br>
<p style="margin-bottom: 0in;"><br>
<br>
</p>
Jonathan Ervine wrote:
<blockquote class="cite"
 id="mid_D88518B5-C9E2-4536-A1CE-E4444996057F_gmail_com"
 cite="mid:D88518B5-C9E2-4536-A1CE-E4444996057F@gmail.com" type="cite">
  <pre wrap="">On 23 Mar 2010, at 17:52, Luke Kenneth Casson Leighton wrote:

  </pre>
  <blockquote class="cite" id="StationeryCiteGenerated_11" type="cite">
    <pre wrap="">On Tue, Mar 23, 2010 at 12:47 AM, Jonathan Ervine <a class="moz-txt-link-rfc2396E" href="mailto:jon.ervine@gmail.com">&lt;jon.ervine@gmail.com&gt;</a> wrote:

    </pre>
    <blockquote class="cite" id="StationeryCiteGenerated_12" type="cite">
      <blockquote class="cite" id="StationeryCiteGenerated_13"
 type="cite">
        <pre wrap="">make DAMN sure that's the right way round :)
        </pre>
      </blockquote>
      <pre wrap="">I have a 2GB SD card, so I can prep this with a view to trying to restore to
Adam's system. We'll have to organise a convenient time to do this. I've got
a busy weekend coming up when computing won't exactly be high priority ...
Once the internal NAND is dd copied to the SD card is it expected that it
should just 'boot', or would the three fingered salute be required?
      </pre>
    </blockquote>
    <pre wrap="">think about it: if this works, then the SD card will have EXACTLY
what's on the NAND flash.  that means that it will try to reference
the NAND flash, because that's set up as mmcblk0p2, right?  and u-boot
is specifically hard-coded to set the bootparams to
root=/dev/mmcblk0p2, yes?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
OK - my curiousity was suitably piqued by this, so I've created the 2GB SD card from the mmcblk0, I've rebooted my system with the mouse buttons pressed down at the same time as the power button.

  </pre>
  <blockquote class="cite" id="StationeryCiteGenerated_14" type="cite">
    <pre wrap="">so... which partition will it boot off of?  the NAND flash, yes?

which, in adam's case, has the remote possibility of having been
corrupted (but we don't know for sure).

so, the sequence of events is _likely_ to be:

* u-boot loads from SDcard
* kernel loads from SDcard
* kernel boots and uses root=/dev/mmblk0p2 which we expect to be NAND flash
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I get no SD message, neither blue nor red. If I continue to press and hold, the logo flickers, then the green bar starts, and then it powers off (presumably because I have the power button pressed). If I let go of the buttons when the green bar appears, (it is about 1/3 of the way along the 'track') then the boot process completes and I can log in. The mounted filesystem is definitely on the NAND as I can create a file beforehand in a 'normal' boot, and it's present after this partial power+button boot. I would surmise that your likely sequence of events is correct.

  </pre>
  <blockquote class="cite" id="StationeryCiteGenerated_15" type="cite">
    <pre wrap="">however if that switch _truly_ inverts /dev/mmcblk0 and /dev/mmcblk1
then of course /dev/mmcblk0p2 will be ... SDcard, yes?

so a correct answer is: absolutely no idea, let us know what happens.

the crucial and critical thing to get working is u-boot.  everything
can be recovered if u-boot can be booted.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
I'll know for sure when I have time to have a play on Adam's broken system :-)

Jon
_______________________________________________
arm-netbook mailing list <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@lists.phcomp.co.uk">arm-netbook@lists.phcomp.co.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook">http://lists.phcomp.co.uk/mailman/listinfo/arm-netbook</a>
Send large attachments to <a class="moz-txt-link-abbreviated" href="mailto:arm-netbook@files.phcomp.co.uk">arm-netbook@files.phcomp.co.uk</a>

  </pre>
</blockquote>
<br>
</body>
</html>