Opened 4 years ago

Closed 3 years ago

#10616 closed enhancement (fixed)

XO-1.75 change machine signature for firmware

Reported by: Quozl Owned by: Quozl
Priority: blocker Milestone: 1.75-firmware
Component: ofw - open firmware Version: Development firmware
Keywords: Cc:
Blocked By: Blocking:
Deployments affected: Action Needed: no action
Verified: no

Description

We used CL1 as the machine signature in the .rom file for XO-1 and XO-1.5, so for XO-1.75 we will use CL2.

svn 2120 contains the first half of the change, such that the next release of the firmware will refuse CL1 .rom files unless the downgrade word is used first.

After next release, we are to change olpc.bth to use CL2 for the following release.

Change History (7)

comment:1 Changed 4 years ago by Quozl

svn 2148 contains the second half of the change.

comment:2 Changed 4 years ago by Quozl

svn 2148 broke flash on Q4A11 and Q4A12. crc-offset is already different on each machine, and this prevents accidental install. Removed the CL1 vs CL2 check in svn 2153.

comment:3 Changed 4 years ago by Quozl

A new requirement has emerged that the firmware machine signature should read CL3.

comment:4 Changed 4 years ago by Quozl

svn 2158 adds machine signature check again.

OLPC D1, 1 GiB memory installed, 4 GB internal storage, S/N SHC93701192
OpenFirmware  Q3A62q   EC Firmware Ver:2.0.1

ok flash u:\q4a13.rom       
Reading u:\q4a13.rom
Got firmware version: CL2   Q4A13  Q4A
Wrong machine signature
ok 

OpenFirmware machine signature strings and laptop models:

CL1XO-1(AMD Geode laptop)
CL1XO-1.5(VIA C7 laptop)
CL2XO-1.75(ARM laptop)
CL3XO-3(ARM tablet)

Expected outcome of flashing firmware on hardware:

On hardware:XO-1XO-1.5XO-1.75XO-3
Flashing XO-1 firmwareokcrcmsms
Flashing XO-1.5 firmwarecrcokmsms
Flashing XO-1.75 firmwarecrccrcokms
Flashing XO-3 firmwarecrccrcmsok
  • ok - success,
  • crc - Firmware image has bad internal CRC, (except where XO-1 and XO-1.5 firmware updates beyond svn 2158),
  • ms - Wrong machine signature.

comment:5 Changed 4 years ago by Quozl

svn 2159 changes machine signature check to use a value defined in dictionary during build, since SPI FLASH is not memory mapped on XO-1.75.

comment:6 Changed 4 years ago by Quozl

XO-1.5 aspect of this ticket is completed, in Q3A63.

comment:7 Changed 3 years ago by Quozl

  • Action Needed changed from code to no action
  • Resolution set to fixed
  • Status changed from new to closed

XO-1.75 aspect of this ticket is completed, in Q4A14.

Note: See TracTickets for help on using tickets.