Re: clean installation of 643.

2007-12-04 Thread Mike C. Fletcher
Bert Freudenberg wrote:
 On Dec 4, 2007, at 9:25 , Yoshiki Ohshima wrote:

   
   Thank you, John,

 
 The autoinstaller is not working properly.  This is a known  
 problem, but
 given that the preferred method of upgrade is now over the  
 network, it
 has not been a priority.
   
...
 For me at least, the XO's wireless is still totally unreliable. So  
 I'd appreciate if the download-to-usb upgrade process was still  
 supported.
   
Having just updated my XO last night via USB I'd suggest that it's
useful too (olpc-upgrade wasn't even on my machine as far as I could
see, so it wasn't really an option).

BTW, work around for me was to do something like the following (keep in
mind, I am *not* sure what the implications of doing this are, this is
so the people who know can say egads, don't do that if I'm doing
something wrong):

Plug in the USB Key (MP3 player), hold X to get the firmware and then
the backup done.
When the machine starts showing the failed to boot unhappy-face,
interrupt and go to the OFW prompt (ok).
Manually boot from the USB key...

boot u:\boot\OLPC.FTH

which lets the upgrade continue (at least for me).  That suggests it's
probably just something to do with timing or similar issues that
prevented the initial attempt to read the file from USB.

HTH,
Mike

-- 

  Mike C. Fletcher
  Designer, VR Plumber, Coder
  http://www.vrplumber.com
  http://blog.vrplumber.com

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-12-04 Thread C. Scott Ananian
On Dec 4, 2007 5:02 AM, Bert Freudenberg [EMAIL PROTECTED] wrote:
Is preferred method really over the network?  I'm so ignorant about
  it, but what is the current theory of upgrading?  Does the current
  scheme let people download a 300MB file over the wireless?  (I haven't
  tried it by myself, but does T-Mobile connection stable enough to let
  them do it generally?)

olpc-update is incremental.  The total amount of transferred data is
rather small.

 For me at least, the XO's wireless is still totally unreliable. So
 I'd appreciate if the download-to-usb upgrade process was still
 supported.

Please update to the latest joyride or ship.2 build.  The new libertas
firmware fixes a large number of unreliable network bugs in our
testing.  If you still have problems, please file a trac bug, as we're
very interested in hunting these down.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-12-04 Thread C. Scott Ananian
On Dec 4, 2007 8:23 AM, ffm [EMAIL PROTECTED] wrote:
 The USB process is supported, but the manual instructions do not.
 Use the Sugar-update.py script.

Just fair warning: this entire process is highly deprecated.  Even if
you can get it to work for you now, there's no guarantee that it will
continue to work.  olpc-update is the supported method from upgrading
from ship.2 or joyride builds; please file bugs if this doesn't work
for you!
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-12-04 Thread Bert Freudenberg

On Dec 4, 2007, at 16:10 , C. Scott Ananian wrote:

 On Dec 4, 2007 8:23 AM, ffm [EMAIL PROTECTED] wrote:
 The USB process is supported, but the manual instructions do not.
 Use the Sugar-update.py script.

 Just fair warning: this entire process is highly deprecated.  Even if
 you can get it to work for you now, there's no guarantee that it will
 continue to work.  olpc-update is the supported method from upgrading
 from ship.2 or joyride builds; please file bugs if this doesn't work
 for you!

Well, what process do you suggest to upgrade without a permanent  
broadband internet connection?

- Bert -


___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-12-04 Thread C. Scott Ananian
On Dec 4, 2007 10:21 AM, Bert Freudenberg [EMAIL PROTECTED] wrote:
 Well, what process do you suggest to upgrade without a permanent
 broadband internet connection?

olpc-update via USB: trac #3881.  Not fully implemented yet, which is
the only reason why the autoreinstallation script is not completely
deprecated.
 --scott

-- 
 ( http://cscott.net/ )
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-12-03 Thread John Watlington

The autoinstaller is not working properly.  This is a known problem, but
given that the preferred method of upgrade is now over the network, it
has not been a priority.

To install the firmware from a USB stick using OFW:
flash path_to_file
   where path_to_file is usually something like u:q2d05.rom
You can use:  dir u: to list the contents of the USB stick.

To install a build from a USB stick using OFW:
copy-nand path_to_file

This will overwrite all data on the laptop.  Make sure to backup  
anything
you want to keep!

wad

On Nov 28, 2007, at 12:31 PM, Yoshiki Ohshima wrote:

   Alex,

 In the future, if you're only updating the ofw, you should just get
 to the ok prompt and type: ok flash path_to_file

   Yes, I know that, but it is not a good way to check if there is a
 bug or not^^;

 Also, after the firmware is upgraded, it reboots the machine, which
 would then lead the machine into trying to do an upgrade instead of
 a clean install if you don't hold the square key. That is probably
 why it created a backup and tried to restore from it. This means
 there may be some issues with the auto-reinstallation process, which
 should be looked into.

   Yes, that explains.  Thank you!

 -- Yoshiki
 ___
 Devel mailing list
 Devel@lists.laptop.org
 http://lists.laptop.org/listinfo/devel

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


clean installation of 643.

2007-11-28 Thread Yoshiki Ohshima
I tried to do clean install of 643 and it failed.  Actually, it worked
for the first time.  Then, I realized that I forgot to put Q2D05
firmware on my USB memory.  So I put the .rom file and tried the clean
installation again.  Then during the boot process I got:

--
 Restoring from backup 
tar: Short read
Traceback (most recent call last):
  File /init, line 110, in module
backup_or_restore()
  File /init, line 87, in backup_or_restore
do_restore()
  File /init, line 77, in do_restore
safe_sh(tar -xz -f  + backup_file +  -C /restore)
  File /initutil.py, line 26, in safe_sh
raise RuntimeError(Command exited with non-zero exit status.)
--

-- Yoshiki
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: clean installation of 643.

2007-11-28 Thread Alexander M. Latham
--- Yoshiki Ohshima wrote:
I tried to do clean install of 643 and it failed.  Actually, it worked
for the first time.  Then, I realized that I forgot to put Q2D05
firmware on my USB memory.  So I put the .rom file and tried the clean
installation again.  Then during the boot process I got:

--
 Restoring from backup 
tar: Short read
Traceback (most recent call last):
  File /init, line 110, in module
backup_or_restore()
  File /init, line 87, in backup_or_restore
do_restore()
  File /init, line 77, in do_restore
safe_sh(tar -xz -f  + backup_file +  -C /restore)
  File /initutil.py, line 26, in safe_sh
raise RuntimeError(Command exited with non-zero exit status.)
--

-- Yoshiki
--- end of quote ---

In the future, if you're only updating the ofw, you should just get to the ok 
prompt and type:  ok flash path_to_file

Also, after the firmware is upgraded, it reboots the machine, which would then 
lead the machine into trying to do an upgrade instead of a clean install if you 
don't hold the square key. That is probably why it created a backup and tried 
to restore from it. This means there may be some issues with the 
auto-reinstallation process, which should be looked into.

- AlexL
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel