XO 4 A2

From OLPC
Revision as of 23:43, 15 August 2012 by Wad (talk | contribs) (Software Support)
Jump to: navigation, search
  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:

Software Support

  • The current EC Firmware release is 7.0.1.08.
  • The current OpenFirmware release is Q7A04. 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
  • There is no current Linux image

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 Q7A02 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 Q7A01 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 Q4XYY 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 q4a07 release):

 flash ext:\q4a07.rom

Note: If upgrading from an unofficial Q4A04 release, the "int" and "ext" SD cards may be switched.

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

Using JTAG

If using JTAG to upgrade OFW, the CForth image begins at offset 0x2000 of the .rom file, and is of size 0x1e000. OFW is the rest of the .rom file, starting from offset 0x20000.

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.

Restrictions

There is a list of recommended modifications (ECOs).

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

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.

Followed by

Preceded by

Changes