#1164 NORM BTest-4: Revise flash command to use new EC commands
Zarro Boogs per Child
bugtracker at laptop.org
Sat Jun 2 16:55:06 EDT 2007
#1164: Revise flash command to use new EC commands
----------------------------------+-----------------------------------------
Reporter: wmb at firmworks.com | Owner: wmb at firmworks.com
Type: defect | Status: closed
Priority: normal | Milestone: BTest-4
Component: ofw - open firmware | Version:
Resolution: invalid | Keywords:
Verified: 0 |
----------------------------------+-----------------------------------------
Changes (by wmb at firmworks.com):
* status: new => closed
* verified: => 0
* resolution: => invalid
Comment:
The packaged EC commands for restarting after reflashing have never worked
properly, and I think I know why. The fundamental conundrum is that,
after you have reflashed the EC code, the EC's 8051 microcontroller is not
running, so it cannot respond to port 6c style commands. You can hard-
restart the EC by doing indexed I/O to internal device register ff14 via
ports 381-383, because that is handled by hardwired logic and doesn't
involve executing 8051 instructions. But you can't run port 66 or port 6c
commands because they are handled by code running on the 8051.
With the current behavior of the EC code, the OFW use of the EC commands
is correct. We may want to revise the EC code to reset itself without
powering off the system, in the context of secure updates. For now, I am
closing this bug, because it is invalid in the context of the current EC
code.
--
Ticket URL: <http://dev.laptop.org/ticket/1164#comment:2>
One Laptop Per Child <http://laptop.org/>
More information about the Bugs
mailing list