Tests/Boot/USBUpgrade: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by one other user not shown)
Line 15: Line 15:
olpc-update 2.12, Copyright (C) 2007 One Laptop Per Child Association, Inc.
olpc-update 2.12, Copyright (C) 2007 One Laptop Per Child Association, Inc.


If you don't even have the --version option, <font color="red">(this includes all G1G1 laptops shipped before July 2008)</font> or if it does not say that you are using at least version 2.0 of olpc-update, you will need to [[#Workaround: updating olpc-update|update olpc-update]] before continuing.
If you don't even have the --version option, <font color="red">(this includes all G1G1 laptops shipped before July 2008)</font> or if it does not say that you are using at least version 2.0 of olpc-update, you will need to [[Olpc-update#Updating_olpc-update|update olpc-update]] before continuing.


Now follow one of the build links in the "latest releases" box above. You need to download two files to the top directory of your USB flash drive: '''<code>os''NNN''.usb</code>''' and '''<code>os''NNN''.toc</code>''', where ''NNN'' is the numeric part of the build you are updating to. For example, if you are updating to build 711, the files would be named <code>os711.usb</code> and <code>os711.toc</code>; if you are updating to build joyride-1452, the files would be named <code>os1452.usb</code> and <code>os1452.toc</code>.
Now follow one of the build links in the "latest releases" box above. You need to download two files to the top directory of your USB flash drive: '''<code>os''NNN''.usb</code>''' and '''<code>os''NNN''.toc</code>''', where ''NNN'' is the numeric part of the build you are updating to. For example, if you are updating to build 711, the files would be named <code>os711.usb</code> and <code>os711.toc</code>; if you are updating to build joyride-1452, the files would be named <code>os1452.usb</code> and <code>os1452.toc</code>.
Line 40: Line 40:
|testresult_passfail=Pass
|testresult_passfail=Pass
|testresult_comments=from 656
|testresult_comments=from 656
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=763
|testresult_passfail=Pass
|testresult_comments=from 760
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=763
|testresult_passfail=Pass
|testresult_comments=updating from 708
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=765
|testresult_passfail=Pass
|testresult_comments=from 763
}}
{{Test results
|testresult_release=Candidate
|testresult_stream=8.2
|testresult_build=766
|testresult_passfail=Pass
}}
}}
{{Test results end}}
{{Test results end}}

Latest revision as of 19:34, 30 September 2008

Test case: Short name::USB Upgrade
How to report results

Stream ,|x|Build stream::x}}
Category Test category::Boot Sub-category Test subcategory::USB Upgrade
Component System component::preservation of journal
Feature System feature::
Objective Test objective::After using the XO, perform upgrade with USB to preserve journal items
Tools Test tools::XO unit, USB stick
Setup Test setup::
Procedure [[Test procedure::

USB upgrade

At the terminal prompt in your root shell, type:

/usr/sbin/olpc-update --version

The first line of the response should be something like:

olpc-update 2.12, Copyright (C) 2007 One Laptop Per Child Association, Inc.

If you don't even have the --version option, (this includes all G1G1 laptops shipped before July 2008) or if it does not say that you are using at least version 2.0 of olpc-update, you will need to update olpc-update before continuing.

Now follow one of the build links in the "latest releases" box above. You need to download two files to the top directory of your USB flash drive: osNNN.usb and osNNN.toc, where NNN is the numeric part of the build you are updating to. For example, if you are updating to build 711, the files would be named os711.usb and os711.toc; if you are updating to build joyride-1452, the files would be named os1452.usb and os1452.toc.

Insert your USB flash drive with these files on it into your XO. At the terminal prompt, type:

sudo olpc-update --usb

When olpc-update is finished, you should reboot to start using your new build.

As with other update sources, the update mechanism preserves the build from which you ran the updater as an "alternate" image from which you can boot. To swap the "primary" and "alternate" images, hold the 'O' gamepad key during boot.]]

Expected Results
and Pass Criteria
Pass criteria::Journal entries can be opened and viewed/edited after upgrade of software.
Comments More notes::
Release Stream Build Pass/Fail Trac Ticket(s) Comment(s) Date of Test
Software release::Candidate Build stream::8.2 Build number::760 PassFail::Pass ,|x| #x}} Comments:: Created::


Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::from 656 Created::


Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::from 760 Created::


Software release::Candidate Build stream::8.2 Build number::763 PassFail::Pass ,|x| #x}} Comments::updating from 708 Created::


Software release::Candidate Build stream::8.2 Build number::765 PassFail::Pass ,|x| #x}} Comments::from 763 Created::


Software release::Candidate Build stream::8.2 Build number::766 PassFail::Pass ,|x| #x}} Comments:: Created::