Project

General

Profile

Actions

Bug #53

closed

RW EC image for nyan_big built with Coreboot hangs

Added by Paul Kocialkowski almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
05/08/2016
Due date:
% Done:

0%

Estimated time:
Affected versions:
Needs backport to:
Affected hardware:
Affected OS:

Description

The RW EC image built within the Coreboot build system for nyan_big does not work correctly on the current git master. This is when building a full ChromeOS flash image.

The problem seems to be watchdog-related, as shown in the log:

[1.440086 hash done 5d975c3ce90d799d616caa75e0cfe6a8cca3fe1e3af1d3b7ded63d1e66cf235d]
[1.528157 HC 0x87]
[1.543803 HC 0x17]
[1.624638 HC 0x87]
[1.880736 HC 0x0b]
[1.885350 HC 0x02]
[1.893408 HC 0x8f]
[1.894333 HC 0x17]
[1.895840 HC 0x02]
[1.903151 HC 0x2a]
[1.955266 HC 0xd2]
[1.955518 Executing host reboot command 2]
[1.956211 Jumping to image RW]
[1.963886 UART initialized after sysjump]
[Image: RW, big_v1.1.4330-388a7fa 2016-02-10 12:44:16 paulk@aldrin]
[1.966653 Inits done]
[1.966947 Wait for battery stabilized during 1000000]
### WATCHDOG PC=08019d3e / LR=0801a07d / pSP=200015d8 (task 0) ###
Time:     0x00000000002e16ce us
Deadline: 0x00000000001eca5a ->   -1.002612 s from now
Active timers:
Task Ready Name         Events      Time (s)  StkUsed
   0 R << idle >>       00000000    0.024966  256/256
   1 R HOOKS            80000000    0.000836  640/640
   2   CHARGER          00000000    0.000000   64/640
   3   CHIPSET          00000000    0.000000   64/640
   4   HOSTCMD          00000000    0.000000   64/488
   5   CONSOLE          00000000    0.000000   64/488
   6   KEYSCAN          00000000    0.000000   64/488


--- UART initialized after reboot ---
[Reset cause: reset-pin watchdog]

Files

ec-rw.txt (1.18 KB) ec-rw.txt Paul Kocialkowski, 05/08/2016 04:29 PM
Actions #1

Updated by Paul Kocialkowski almost 8 years ago

This breaks the whole boot process as vboot waits for the EC to reply. Eventually, it triggers a reboot after timeout, going endlessly in a reboot cycle.

Actions #2

Updated by Paul Kocialkowski almost 8 years ago

Actions #3

Updated by Paul Kocialkowski almost 8 years ago

Disabling EC software sync in the GBB flags works around the issue, but a proper fix would be to fix the EC code.

Actions #4

Updated by Paul Kocialkowski almost 8 years ago

  • Description updated (diff)
Actions #5

Updated by Paul Kocialkowski over 7 years ago

  • Status changed from New to Closed

It looks like CrOS EC TOT runs fine on big now, so we can close this.

Actions

Also available in: Atom PDF