XO 1.75 11089 Fix: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
(Proper name for Open Firmware)
 
(18 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{OLPC}}
{{OLPC}}
Version Q4B05 of [[Open Firmware]] for the [[XO 1.75 B1]] laptop had a bug (<trac>11089</trac>) which causes the laptops to boot up with a white screen if it has been ten days since their manufacture, or if the RTC battery is removed. The symptom is a white screen (nothing on it) on boot.
Version Q4B05 of [[Open Firmware]] for the [[XO 1.75 B1]] laptop had a bug (<trac>11089</trac>) which caused the laptops to boot up with a white screen if it has been ten days since their manufacture, or if the RTC battery is removed. The symptom is a blank white screen on power-up.


The bug is fixed in Q4B06 of Open Firmware. ''These instructions have only been formally tested with Q4B06. Later versions might work, but have not been formally tested.'' <!-- if you formally test a later version on an unused bricked laptop, please report this to devel@ or techteam@ or quozl. -->
==The Fix==
Fortunately, the fix to this is simple (yet tedious):


==You Need==
# [[Disassembly_top|Disassemble the laptop]] to access the motherboard (the heat spreader does not have to be removed).

# Plug in a serial cable (see [[#Finding_the_Serial_Port|below]], and a USB key with Q4B06 or later.
* the bricked laptop, we call it the ''target'',
# Boot the laptop. It should print out a boot sequence on the serial port, ending in ''Unrecognized SPI Flash ID''. It should then provide an ''ok'' prompt. If at this point, it stops somewhere else or doesn't provide a prompt (like after ''Releasing'') you have another problem. Please contact [[User:wad|wad]].
* another computer, we call it the ''host'',
# Type "dir u:" to initialize the USB stack.
* a [[Serial_adapters|serial adapter]],
# Type "flash! u:\q4b06.rom". When the laptop finishes reflashing and returns an ''ok'', either reboot (type "bye") or poweroff the laptop.
* the coloured serial cable compatible with the adapter,
# [[Disassembly_top#Replacing_the_back_cover|Reassemble]]
* a screwdriver,
* a USB drive,
* between five and fifty minutes depending on your skill.

==Preparation==

* Turn off the target, unplug the power cable, and remove the battery,
* [[Disassembly_top|Disassemble the target laptop]] to access the motherboard. The display does not need to be disconnected; it can be moved slightly out of the way to access the back panel screws (after removing the back panel screws it helps to screw one or two display screws so that the display is not in the way while attaching the serial cable). The heat spreader does not have to be removed.
* Plug the white end of the serial cable into the target, see [[#Finding_the_Serial_Port|below]] for where it goes,
* Plug in a USB drive with [http://dev.laptop.org/pub/firmware/q4b06/q4b06.rom q4b06.rom] into the target,
* Attach the black end of the serial cable to a [[Serial_adapters|serial adapter]],
* Attach the serial adapter to the host,
* Insert the battery into the target,
* Plug the power cable back in to the target, (use only the provided power adapter, not an older one),
* Configure a [[Serial_adapters#Software|terminal emulator]] on the host,

==Power On==

Power on the target, while watching the terminal emulator.

The target will transmit a log of the boot sequence via the serial port, which will be shown by the terminal emulator on the host. The sequence should end in ''Unsupported SPI FLASH ID'' and an ''ok'' prompt. If at this point, it stops somewhere else or doesn't provide a prompt (like after ''Releasing'') you have another problem; please contact [[User:wad|wad]].

==Fix==

Initialise the USB stack, by typing in the terminal emulator:
ok dir u:
Then, rewrite the firmware and reboot, by typing in the terminal emulator
ok flash u:\q4b06.rom

The target should reboot into Linux, showing you have completed the fix.

You may now shutdown, turn off the target, remove the serial cable (if it is no longer required), and [[Disassembly_top#Replacing_the_back_cover|reassemble]].


===Finding the Serial Port===
===Finding the Serial Port===


You will need an [[Serial_adapters|XO serial adapter]]. The serial port to use is UART3 (CN8). There is a [[Media:XO_1.75_Connectors_B1.pdf|chart showing the location]], and this photo:
You will need an [[Serial_adapters|XO serial adapter]] designed for use with XOs. The serial port to use is UART3 (CN8). There is a [[Media:XO_1.75_Connectors_B1.pdf|chart showing the location]], and this photo:


[[Image:1.75_serial_connector.png|500px|center]]
[[Image:1.75_serial_connector.png|500px|center]]

Latest revision as of 01:18, 7 October 2012

  This page is monitored by the OLPC team.

Version Q4B05 of Open Firmware for the XO 1.75 B1 laptop had a bug (<trac>11089</trac>) which caused the laptops to boot up with a white screen if it has been ten days since their manufacture, or if the RTC battery is removed. The symptom is a blank white screen on power-up.

The bug is fixed in Q4B06 of Open Firmware. These instructions have only been formally tested with Q4B06. Later versions might work, but have not been formally tested.

You Need

  • the bricked laptop, we call it the target,
  • another computer, we call it the host,
  • a serial adapter,
  • the coloured serial cable compatible with the adapter,
  • a screwdriver,
  • a USB drive,
  • between five and fifty minutes depending on your skill.

Preparation

  • Turn off the target, unplug the power cable, and remove the battery,
  • Disassemble the target laptop to access the motherboard. The display does not need to be disconnected; it can be moved slightly out of the way to access the back panel screws (after removing the back panel screws it helps to screw one or two display screws so that the display is not in the way while attaching the serial cable). The heat spreader does not have to be removed.
  • Plug the white end of the serial cable into the target, see below for where it goes,
  • Plug in a USB drive with q4b06.rom into the target,
  • Attach the black end of the serial cable to a serial adapter,
  • Attach the serial adapter to the host,
  • Insert the battery into the target,
  • Plug the power cable back in to the target, (use only the provided power adapter, not an older one),
  • Configure a terminal emulator on the host,

Power On

Power on the target, while watching the terminal emulator.

The target will transmit a log of the boot sequence via the serial port, which will be shown by the terminal emulator on the host. The sequence should end in Unsupported SPI FLASH ID and an ok prompt. If at this point, it stops somewhere else or doesn't provide a prompt (like after Releasing) you have another problem; please contact wad.

Fix

Initialise the USB stack, by typing in the terminal emulator:

ok dir u:

Then, rewrite the firmware and reboot, by typing in the terminal emulator

ok flash u:\q4b06.rom

The target should reboot into Linux, showing you have completed the fix.

You may now shutdown, turn off the target, remove the serial cable (if it is no longer required), and reassemble.

Finding the Serial Port

You will need an XO serial adapter designed for use with XOs. The serial port to use is UART3 (CN8). There is a chart showing the location, and this photo:

1.75 serial connector.png