#11195 NORM 1.75-fi: after fresh EC auto-flash, OFW can't talk to EC

Zarro Boogs per Child bugtracker at laptop.org
Tue Aug 30 18:50:39 EDT 2011


#11195: after fresh EC auto-flash, OFW can't talk to EC
-------------------------------------------+--------------------------------
           Reporter:  pgf                  |       Owner:  wmb at firmworks.com                
               Type:  defect               |      Status:  new                              
           Priority:  normal               |   Milestone:  1.75-firmware                    
          Component:  ofw - open firmware  |     Version:  Development build as of this date
         Resolution:                       |    Keywords:                                   
        Next_action:  diagnose             |    Verified:  0                                
Deployment_affected:                       |   Blockedby:                                   
           Blocking:                       |  
-------------------------------------------+--------------------------------

Comment(by Quozl):

 Reproduced here using the following method:
  * have q4b08 installed,
  * ensure startup sound is enabled,
  * flash l2-4_0_2_02.img (unit will reboot, then OpenFirmware will reflash
 to 0.2.03, then unit will reboot again),
  * wait for startup sound,
  * press enter to obtain ok prompt,
  * note the corrupted banner variables; 1A1 instead of 1B1, model wrong,

 Does not always reproduce.  Might be timing sensitive.  Once reproduced,
 several observations:

 ofw-version$ is set to "rks,3.0" (72 6b 73 2c 33 2e 30), should be
 "Q4B08".

 ofw-model$ is set to "FirmWorks,3.0", should be "CL2   Q4B08  Q4B".

 Properties of /openprom are unusual:
  * model is as above,
  * source-url is missing.

 Properties of / are unusual:
  * ec-* are missing,
  * banner-name is "OLPC 1A1" instead of "OLPC 1B1",
  * model is "1A1" instead of "1B1",

 board-revision returns 1a18, but board-id@ now returns 1b1.  Therefore
 board-id@ aborted when first called.

 The serial-number property is present in the root device.  Therefore part
 of stand-init in devices.fth was run.

 Diagnosis: board-id@ aborted during stand-init of board-rev.fth.  ec-api-
 ver@ aborted in stand-init in devices.fth.

 Serial port log:
 {{{
 OLPC 1B1, 508 MiB memory installed, 4 GB internal storage, S/N SHC12900023
 OpenFirmware  Q4B08   EC Firmware 0.2.03

 Type 'help' for more information.

 ok flash-ec u:\ec.img
 Reading u:\ec.img
 EC firmware version: XO-EC 4 0.2.02 2011/07/14-02:42
 Erasing ...
 Writing ...
 7f80
 Verifying ...
 Restarting EC and rebooting
 C Forth 2005.  Copyright (c) 1997-2005 by FirmWorks
 Using lower core voltage
 ID: c2 25 34
 releasing
 Matrix mUART installed
 ode on
 First stand-init:
 CIF buffers
 DHCP init
 memory node
 Probing memory
 Random number generator
 Null-NVRAM
 CPU nodes
 Manufacturing data
 EC
 board revision
 SDHC clocks
 Using eMMC
 Init USB Phy
 RTC
 Updating EC code
 Erasing ...
 Writing ...
 7f80
 Verifying ...
 Restarting EC and rebooting
 C Forth 2005.  Copyright (c) 1997-2005 by FirmWorks
 Using lower core voltage
 ID: c2 25 34
 releasing
 Matrix mUARTo installed
 de on
 First stand-init:
 CIF buffers
 DHCP init
 memory node
 Probing memory
 Random number generator
 Null-NVRAM
 CPU nodes
 Manufacturing data
 EC
 board revision
 SDHC clocks
 Using eMMC
 Init USB Phy
 RTC
 USB devices:
 /usb at d4208000/hub at 0,0
 OLPC 1A1, 508 MiB memory installed, 4 GB internal storage, S/N SHC12900023
 OpenFirmware  rks,3.0

 Type any key to interrupt automatic startup
 2
 OLPC 1A1, 508 MiB memory installed, 4 GB internal storage, S/N SHC12900023
 OpenFirmware  rks,3.0

 Type 'help' for more information.

 ok
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/11195#comment:2>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list