XO 4 A2: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
Line 22: Line 22:
*The current EC Firmware release is [http://dev.laptop.org/pub/ec/cl4-7_0_1_08.img 7.0.1.08].
*The current EC Firmware release is [http://dev.laptop.org/pub/ec/cl4-7_0_1_08.img 7.0.1.08].


*The current OpenFirmware release is [http://dev.laptop.org/pub/firmware/q7a08/ Q7A08]. This will not work on an XO-1, XO-1.5, or XO-1.75. As with XO-1.75, Open Firmware and the EC firmware are separate --- Open Firmware contains a recent version of the EC firmware and will automatically update an older version given two sources of power, but a more recent version may actually be programmed into the EC
*The current OpenFirmware release is [http://dev.laptop.org/pub/firmware/q7a09/ Q7A09]. This will not work on an XO-1, XO-1.5, or XO-1.75. As with XO-1.75, Open Firmware and the EC firmware are separate --- Open Firmware contains a recent version of the EC firmware and will automatically update an older version given two sources of power, but a more recent version may actually be programmed into the EC.


*The current Linux image is 13.
*The current Linux image is 15.


'''It is strongly recommended that you have two sources of power (a charged battery and an external power source) when you upgrade your EC or OpenFirmware.''' Failure to do so may require the use of an SPI programmer to recover your laptop.
'''It is strongly recommended that you have two sources of power (a charged battery and an external power source) when you upgrade your EC or OpenFirmware.''' Failure to do so may require the use of an SPI programmer to recover your laptop.

Revision as of 04:38, 30 August 2012

  This page is monitored by the OLPC team.

XO-4 Laptop Alpha test model, also known as A-test or A2.

Description

The A2 was the first prototype of the XO-4 built using the Marvell PXA2128 SoC. (MMP3). The A2 bring up happened in late July and early August 2012.

The number of boards built was small, and distribution was limited to hardware testing and OFW and Linux kernel driver development.

Identification

  • Bare circuit board, no case or display
  • Bare die MMP3 packaging
  • Rev. B motherboard

Photographs:

XO4 A2 mobo annotated bot.png

Software Support

  • The current EC Firmware release is 7.0.1.08.
  • The current OpenFirmware release is Q7A09. This will not work on an XO-1, XO-1.5, or XO-1.75. As with XO-1.75, Open Firmware and the EC firmware are separate --- Open Firmware contains a recent version of the EC firmware and will automatically update an older version given two sources of power, but a more recent version may actually be programmed into the EC.
  • The current Linux image is 15.

It is strongly recommended that you have two sources of power (a charged battery and an external power source) when you upgrade your EC or OpenFirmware. Failure to do so may require the use of an SPI programmer to recover your laptop.

Upgrading the EC code

Using OpenFirmware and WiFi

  • requires Q7A08 or later
ok wifi name
ok flash-ec http:\\dev.laptop.org\pub\ec\cl4-7_0_1_08.img
Reading http:\\dev.laptop.org\pub\ec\cl4-7_0_1_08.img
Scan for: name found
Associate with: name 
DHCP got 10.0.0.170 
EC firmware verison: XO-EC 7 0.1.08
Erasing ...

Writing ...
fff0 
Verifying ...
fff0

Board powers down at this point due to EC restart. Power up manually.

Using OpenFirmware

  • requires Q7A08 or later

Place the EC firmware on a USB key and type:

ok flash-ec u:firmware-name
EC firmware verison: XO-EC 7 0.1.08
Erasing ...

Writing ...
fff0 
Verifying ...
fff0

Board powers down at this point due to EC restart. Power up manually.

Upgrading OFW

Place a recent release of the Q7XYY firmware onto an SD device, and place it in the external SD slot.

Interrupt the OFW boot process by pressing the ESC key.

Type (assuming a q7a08 release):

 flash ext:\q7a08.rom

Reboot by holding down the power button once this is completed.

See SPI Flash Recovery using JTAG if necessary.

Upgrading Linux

Installing from OpenFirmware

You will need the .zd version of the OS image. Download it, then:

  1. Place the image on a USB stick, and insert it into the XO-4 laptop's external SD slot.
  2. Get the Ok prompt,
  3. Install onto the internal SD card, type:
fs-update u:os1.zd

Installing from Linux using an XO-1.75

To install on an XO-1.75, boot an XO-1.75 to Linux, insert the SD card in the XO-1.75 external slot, then:

zcat os1.img.gz > /dev/mmcblk1

... and then power down, remove the SD card, and insert in the XO-4.

Installing from OpenFirmware using an XO-1.75

You will need the .zd version of the OS image. Download it, then:

  1. Place the image on a USB stick, and insert it into the XO-1.75 laptop's USB port.
  2. Get the Ok prompt,

To install an image onto the external SD card, you need to type:

devalias fsdisk ext:0
fs-update u:\os1.zd

... and then power down, remove the SD card, and insert it in the XO-4.

Setting the Date

The simplest way to set the date after replacing/changing the RTC battery is boot into Open Firmware and type:

wifi <your_essid>
ntp-set-clock

Restrictions

There is a list of recommended modifications (ECOs).

We aren't especially worried about overheating, but recommend the use of a heat spreader.

Battery Charging

A transistor was mounted wrong, and as a result the battery is constantly being charged.

This hasn't caused any problems outside of runin testing, but we do recommend that you remove the battery if leaving an XO-4 A2 plugged into an external DC power source for extended periods of time. There is an ECO but most boards were distributed before it was discovered.

HDMI Port

The HDMI Port was mounted on the wrong side of the motherboard. You can cut the case to access it.

Documentation

Supporting documentation for these boards (all in PDF):

Please note that production boards will likely have different pin mappings and connector locations.

See also:

Followed by

Preceded by

Changes