Autoreinstallation image/lang-es: Difference between revisions
RafaelOrtiz (talk | contribs) m (preparing new translation) |
RafaelOrtiz (talk | contribs) m (titles+anchors) |
||
Line 3: | Line 3: | ||
{{TOCright}} |
{{TOCright}} |
||
{{anchor|Imagen de Reinstalación automática}} |
|||
=Automatic Reinstallation Image= |
=Automatic Reinstallation Image= |
||
{{Translated text | |
|||
This page describes how to update the software image on your laptop. This process changes regularly, so please read the instructions carefully. Important changes are [[#Notes|noted below]]. The update procedure creates a USB flash key or disk that when booted on an OLPC laptop, updates its firmware and installs a new version of the operating system image onto NAND flash. |
This page describes how to update the software image on your laptop. This process changes regularly, so please read the instructions carefully. Important changes are [[#Notes|noted below]]. The update procedure creates a USB flash key or disk that when booted on an OLPC laptop, updates its firmware and installs a new version of the operating system image onto NAND flash. |
||
Line 12: | Line 13: | ||
The [[Test Group Release Notes]] describe the status of development versions of the software. |
The [[Test Group Release Notes]] describe the status of development versions of the software. |
||
|display = block }} |
|||
{{anchor|Notes}} |
|||
==Notas== |
|||
{{Translated text | |
|||
As of '''Build 525''', we have added an activation step to the update process. |
As of '''Build 525''', we have added an activation step to the update process. |
||
* You will need to use the '''[http://dev.laptop.org/git?p=users/cscott/autore;a=blob_plain;f=olpc-auto.zip;hb=HEAD new]''' version of the fth script. |
* You will need to use the '''[http://dev.laptop.org/git?p=users/cscott/autore;a=blob_plain;f=olpc-auto.zip;hb=HEAD new]''' version of the fth script. |
||
Line 29: | Line 32: | ||
It has only been tested with Open Firmware: |
It has only been tested with Open Firmware: |
||
* if you are running Linux-as-BIOS or Insyde BIOS, see the [[#Workaround for LinuxBIOS or Insyde BIOS| workaround below]]. |
* if you are running Linux-as-BIOS or Insyde BIOS, see the [[#Workaround for LinuxBIOS or Insyde BIOS| workaround below]]. |
||
|display = block }} |
|||
{{anchor|System Update Procedure}} |
|||
==Procedimiento de Actualizacion del Sistema== |
|||
{{Translated text | |
|||
Before you begin, '''plug in your machine''' and ensure the battery is charged. It is very important that the update process not be interrupted. It will take about 2 minutes and 15 seconds total. |
Before you begin, '''plug in your machine''' and ensure the battery is charged. It is very important that the update process not be interrupted. It will take about 2 minutes and 15 seconds total. |
||
Line 74: | Line 79: | ||
(9) Congratulations: you are finished! Power the machine down and remove the USB key. |
(9) Congratulations: you are finished! Power the machine down and remove the USB key. |
||
|display = block }} |
|||
{{anchor|Transcript of System Update}} |
|||
==Transcripción de la Actualización del Sistema== |
|||
<pre> |
<pre> |
||
Release the game key to continue |
Release the game key to continue |
||
Line 114: | Line 121: | ||
Powering off |
Powering off |
||
</pre> |
</pre> |
||
{{Translated text | |
|||
'''In most cases, the system will boot automatically after the firmware or disk image is updated.''' |
'''In most cases, the system will boot automatically after the firmware or disk image is updated.''' |
||
|display = block }} |
|||
{{anchor|Possible Problems}} |
|||
== Posibles Problemas == |
|||
{{Translated text | |
|||
* The filenames you chose for the build images violate the 8.3 character restriction for FAT filesystems. Solution: use shorter filenames. |
* The filenames you chose for the build images violate the 8.3 character restriction for FAT filesystems. Solution: use shorter filenames. |
||
* The image on the laptop has a higher build number than the image on the USB flash. Solution: use copy-nand as per the [[#Downgrading|instructions below]]. |
* The image on the laptop has a higher build number than the image on the USB flash. Solution: use copy-nand as per the [[#Downgrading|instructions below]]. |
||
Line 132: | Line 143: | ||
</pre> |
</pre> |
||
* On an ATest board the X Server may fail to start up. You may need to provide [[Configuring X on an ATest board|a custom configuration]]. |
* On an ATest board the X Server may fail to start up. You may need to provide [[Configuring X on an ATest board|a custom configuration]]. |
||
|display = block }} |
|||
{{anchor|Workaround for LinuxBIOS or Insyde BIOS}} |
|||
=== Solución para LinuxBIOS o Insyde BIOS === |
|||
{{Translated text | |
|||
If you are running LinuxBIOS, this process will probably not work (it has not been tested). The [http://wiki.laptop.org/index.php?title=Autoreinstallation_image&oldid=49797 old version of this procedure] may work for you. |
If you are running LinuxBIOS, this process will probably not work (it has not been tested). The [http://wiki.laptop.org/index.php?title=Autoreinstallation_image&oldid=49797 old version of this procedure] may work for you. |
||
If you are still running Insyde BIOS, you will first have to upgrade the firmware using procedures described '''[[Upgrading_to_LinuxBIOS|elsewhere]]'''. |
If you are still running Insyde BIOS, you will first have to upgrade the firmware using procedures described '''[[Upgrading_to_LinuxBIOS|elsewhere]]'''. |
||
|display = block }} |
|||
{{anchor|Workaround for old B1 systems}} |
|||
=== Solución para los viejos sistemas B1 === |
|||
{{Translated text | |
|||
If you have a '''B1''' system that has never been upgraded, it is very important to use this page's Autoreinstallation procedure for your first update; do not try to use the new "netnandwrite" tool first. The reason is that this procedure automatically fixes a manufacturing error in the identification data that was stored in the system firmware FLASH, and updates the firmware, neither of which is done by the network-based tool. Also, some old firmware will not update with the auto-update script. If the standard procedure above doesn't update, instead, follow these steps: |
If you have a '''B1''' system that has never been upgraded, it is very important to use this page's Autoreinstallation procedure for your first update; do not try to use the new "netnandwrite" tool first. The reason is that this procedure automatically fixes a manufacturing error in the identification data that was stored in the system firmware FLASH, and updates the firmware, neither of which is done by the network-based tool. Also, some old firmware will not update with the auto-update script. If the standard procedure above doesn't update, instead, follow these steps: |
||
#Insert the autoupdater key; |
#Insert the autoupdater key; |
||
Line 145: | Line 161: | ||
#at the Ok prompt type "flash disk:\boot\q2c18.rom". The machine will turn off when finished. |
#at the Ok prompt type "flash disk:\boot\q2c18.rom". The machine will turn off when finished. |
||
#power up again and boot the autoupdater normally; (It will reflash the NAND with the new build.) |
#power up again and boot the autoupdater normally; (It will reflash the NAND with the new build.) |
||
|display = block }} |
|||
{{anchor|Downgrading}} |
|||
=== Des-actualizando === |
|||
{{Translated text | |
|||
<b>Note: DO NOT DOWNGRADE Q2Cxx firmware to Q2Bxx firmware.</b> This will destroy the manufacturing information. For details, see [[Firmware]]. |
<b>Note: DO NOT DOWNGRADE Q2Cxx firmware to Q2Bxx firmware.</b> This will destroy the manufacturing information. For details, see [[Firmware]]. |
||
Line 161: | Line 180: | ||
<b>(Note: After you've downgraded you might want to remove the 515 build from your USB stick, especially if you put it on the \boot directory of your usb stick. It is important that you have the correct .fth, .img, and .crc in the boot directory of the usb in order to upgrade properly with activation. Having more than one .img in there might cause problems.)</b> |
<b>(Note: After you've downgraded you might want to remove the 515 build from your USB stick, especially if you put it on the \boot directory of your usb stick. It is important that you have the correct .fth, .img, and .crc in the boot directory of the usb in order to upgrade properly with activation. Having more than one .img in there might cause problems.)</b> |
||
|display = block }} |
|||
[[Category:OS]] |
[[Category:OS]] |
Revision as of 00:48, 31 July 2007
Imagen de Reinstalación Automática
- This is an on-going translation
Automatic Reinstallation Image
This page describes how to update the software image on your laptop. This process changes regularly, so please read the instructions carefully. Important changes are noted below. The update procedure creates a USB flash key or disk that when booted on an OLPC laptop, updates its firmware and installs a new version of the operating system image onto NAND flash.
WARNING: The update procedure will entirely erase the flash memory of the system. Be sure to backup any user-space files onto an external device before reinstallation.
The Software Release Notes document the status of the most important issues of this software.
The Test Group Release Notes describe the status of development versions of the software.
Notas
Procedimiento de Actualizacion del Sistema
Transcripción de la Actualización del Sistema
Release the game key to continue OLPC B1, 256 MiB memory installed, S/N Unknown Open Firmware CL1 Q2C08 Q2C USB2 devices: /pci/usb@f,5/wlan@3,0 /pci/usb@f,5/scsi@1,0 /pci/usb@f,5/scsi@1,0/disk USB1 devices: Type the Esc key to interrupt automatic startup Boot device: /usb/disk:\boot\olpc.fth Arguments: Checking existing OS image on NAND FLASH Existing OS build is 353 .0 Updating OS image on NAND FLASH from build 353 .0 to build 536 .0 Erasing... 1800 Skipping bad block at 0xc20000 = page 0x1840 = eblock 0x61 3ff40 Writing 701 blocks 80b Done Existing firmware version is q2c08 Updating firmware Reading disk:\boot\q2c18.rom Got firmware version: CL1 Q2C18 Q2C Checking integrity ... SPI FLASH is type 13 - Spansion, Winbond, or ST Merging existing manufacturing data Erasing 0 Writing ff000 ... Powering off
In most cases, the system will boot automatically after the firmware or disk image is updated.
Posibles Problemas
- The filenames you chose for the build images violate the 8.3 character restriction for FAT filesystems. Solution: use shorter filenames.
- The image on the laptop has a higher build number than the image on the USB flash. Solution: use copy-nand as per the instructions below.
- It is better if the USB disk is not partitioned. If it is partitioned:
- The partition type must agree with the filesystem type; a FAT filesystem inside a partition marked ext2 won't work
- The updater files should be in the partition that is marked as "bootable", or if there isn't one, in the first partition.
- The main files (olpc.fth, osNNN.img, osNNN.crc, and q2XXX.rom) must be in the boot/ subdirectory.
- The current Open Firmware releases do not support USB keys that identify themselves as class "mass_storage/removable" -- as opposed to the more common "mass_storage/scsi", which is supported. (A fix for this problem is in the release pipeline, but that doesn't help for upgrading from existing firmware.) The way to check for this is to insert your USB key, power-on the system and stop the auto-boot by typing the Esc key (upper left key) at the countdown. Then look at the list of "USB2 devices". If you see an entry like "/pci/usb@f,5/removable@1,0", your disk has the problem. (If you are running an old version of OFW that does not display the "USB2 devices" list automatically, type "show-devs /usb" to see the list.) The workaround procedure is below.
- The current firmware also fails with USB devices whose hardware sector size is not 512 bytes. To determine the sector size of your device, you can use fdisk on the device under Linux, and it will tell you when it first accesses the device if the sector size is not 512. The workaround is the same as for the "removable" problem, i.e. the procedure below.
- Many Multi-Function devices do not work.
- If during the upgrade you see the following message, try renaming the file olpc.7th in the boot directory of the update image to olpc-boot.7th.
Trying startup script disk:\boot\olpc-boot.7th Can't open boot device
- On an ATest board the X Server may fail to start up. You may need to provide a custom configuration.
Solución para LinuxBIOS o Insyde BIOS
Solución para los viejos sistemas B1
If you have a B1 system that has never been upgraded, it is very important to use this page's Autoreinstallation procedure for your first update; do not try to use the new "netnandwrite" tool first. The reason is that this procedure automatically fixes a manufacturing error in the identification data that was stored in the system firmware FLASH, and updates the firmware, neither of which is done by the network-based tool. Also, some old firmware will not update with the auto-update script. If the standard procedure above doesn't update, instead, follow these steps:
- Insert the autoupdater key;
- boot up the laptop and when it says "Press a key to interrupt" then press any key;
- at the Ok prompt type "flash disk:\boot\q2c18.rom". The machine will turn off when finished.
- power up again and boot the autoupdater normally; (It will reflash the NAND with the new build.)
Des-actualizando
Note: DO NOT DOWNGRADE Q2Cxx firmware to Q2Bxx firmware. This will destroy the manufacturing information. For details, see Firmware.
If you are trying to load a build that is older than the one on the XO, you will get a message that the software is up to date. Follow this procedure to first load an older version and then try the upgrade again:
- In this example you have already loaded build 528 and need to try loading the same one again. Find an earlier build such as 515 (known to be good). Download the .img and .crc files onto a USB stick. They can be at the root but the two files have to be in the same directory.
- Boot up the laptop by pressing the power button and hold down the gamepad X button.
- When the message asks you to stop pressing it, let go.
- Then press the escape key when it gives you 3 seconds to stop the rest of the boot.
- From this OK prompt you should be able to type: copy-nand u:\nand515.img (use the full path if you didn't copy it into the root.)
- Assuming that started correctly you will end up with a 515 build. You can power down and then proceed to upgrade with the newer files on your usb stick for the new upgrade procedure.
(Note: After you've downgraded you might want to remove the 515 build from your USB stick, especially if you put it on the \boot directory of your usb stick. It is important that you have the correct .fth, .img, and .crc in the boot directory of the usb in order to upgrade properly with activation. Having more than one .img in there might cause problems.)