11233: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Problem ==
== Problem ==


The operating system does not run from an SD card in the external slot of an XO-1.
The [[13.2.0]] operating system did not run from an SD card in the external slot of an XO-1.


== Proposed Solution ==
== Solution ==


Upgrade to [[13.2.1]] as follows:
* select an SD card of at least 4GB; the faster the better, but it will be erased by the process below,
* select a USB drive of at least 1GB,
* download [http://dev.laptop.org/~quozl/11233/32014o0.zip 32014o0.zip] (601 MB) and expand the contents onto the USB drive,
* [[Shutdown]] the XO-1,
* insert the USB drive and the SD card into the XO-1,
* hold down all four game keys above the power button,
* turn on the laptop,
* wait for the message ''Release the game keys to continue'',
* release the game keys, progress will be displayed, grey blocks will turn green, and the screen will show:


{{:Release_notes/13.2.1/Installation/XO-1/SD}}
Blocks/square: 2 Total blocks: 14195 Now writing: 70 0 %
Installing to SD card ..... please wait.


== Workaround ==
* after a few minutes it will show:


Engineers may derive a workaround by understanding the ticket, see <trac>11233</trac> and the associated changes in git.
Blocks/square: 2 Total blocks: 14195 Now writing: 0 0 %
Rebooting in 10 seconds ... please wait.


== Installing with an XO-1.5, XO-1.75, or XO-4 ==
* it is finished, you may the USB drive then, during the reboot, or after the reboot.


Use these steps to prepare an SD card for an XO-1, using an XO-1.5, XO-1.75, or XO-4.
== Alternate Solution ==


* download as above,
* download as above,
Line 34: Line 24:
* wait for the fs-update to complete,
* wait for the fs-update to complete,
* remove the USB drive, insert into an XO-1, power on, wait for Sugar, verify version in My Settings, About my Computer.
* remove the USB drive, insert into an XO-1, power on, wait for Sugar, verify version in My Settings, About my Computer.

== How install works for XO-1 with SD card ==

* the fs0.zip file is expanded, the signature verified, and the payload is run,
* the payload is Forth source for [[Firmware/Storage#fs-update|''fs-update'']] to external SD card on XO-1, followed by block hashes,
* the ''fs-update'' reads the block hashes, reads the 32014o0.zd file, expands the blocks, and writes them to the SD card, then reboots.

== How boot works for XO-1 with SD card ==

* the firmware normally checks for bootable components on USB drives, SD card, and then internal storage, so when an SD card contains a valid operating system it is booted,
* the operating system identifies the root filesystem on the SD card (dracut-modules-olpc package).


== See Also ==
== See Also ==

Latest revision as of 01:13, 2 March 2015

Problem

The 13.2.0 operating system did not run from an SD card in the external slot of an XO-1.

Solution

Upgrade to 13.2.1 as follows:

  • select an SD card of at least 4GB; the faster the better, but it will be erased by the process below,
  • select a USB drive of at least 1GB,
  • download 32014o0.zip (601 MB) and expand the contents onto the USB drive,
  • Shutdown the XO-1,
  • insert the USB drive and the SD card into the XO-1,
  • hold down all four game keys above the power button,
  • turn on the laptop,
  • wait for the message Release the game keys to continue,
  • release the game keys, progress will be displayed, grey blocks will turn green, and the screen will show:
 Blocks/square: 2        Total blocks: 14195     Now writing: 70  0 %
 Installing to SD card ..... please wait.
  • after a few minutes it will show:
 Blocks/square: 2        Total blocks: 14195     Now writing: 0  0 %
 Rebooting in 10 seconds ... please wait.
  • it is finished, you may the USB drive then, during the reboot, or after the reboot.

Workaround

Engineers may derive a workaround by understanding the ticket, see <trac>11233</trac> and the associated changes in git.

Installing with an XO-1.5, XO-1.75, or XO-4

Use these steps to prepare an SD card for an XO-1, using an XO-1.5, XO-1.75, or XO-4.

  • download as above,
  • insert the USB drive and SD card into an XO-1.5, XO-1.75, or XO-4, but do not boot the laptop from the USB drive,
  • instead, at the Ok prompt, type
devalias fsdisk ext:0
fs-update u:\32014o0.zd
  • wait for the fs-update to complete,
  • remove the USB drive, insert into an XO-1, power on, wait for Sugar, verify version in My Settings, About my Computer.

How install works for XO-1 with SD card

  • the fs0.zip file is expanded, the signature verified, and the payload is run,
  • the payload is Forth source for fs-update to external SD card on XO-1, followed by block hashes,
  • the fs-update reads the block hashes, reads the 32014o0.zd file, expands the blocks, and writes them to the SD card, then reboots.

How boot works for XO-1 with SD card

  • the firmware normally checks for bootable components on USB drives, SD card, and then internal storage, so when an SD card contains a valid operating system it is booted,
  • the operating system identifies the root filesystem on the SD card (dracut-modules-olpc package).

See Also