New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 846016 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

CCD status self-change to scarlet

Project Member Reported by haoweiw@chromium.org, May 23 2018

Issue description

CCD status changed from open to lock at no reason. 


> ccd
State: Opened
Password: none
Flags: 0x000001
Capabilities: 4055414100000000
  UartGscRxAPTx   Y 0=Default (Always)
  UartGscTxAPRx   Y 0=Default (Always)
  UartGscRxECTx   Y 0=Default (Always)
  UartGscTxECRx   Y 1=Always
  FlashAP         Y 1=Always
  FlashEC         Y 1=Always
  OverrideWP      Y 1=Always
  RebootECAP      Y 1=Always
  GscFullConsole  Y 1=Always
  UnlockNoReboot  Y 0=Default (Always)
  UnlockNoShortPP Y 0=Default (Always)
  OpenNoTPMWipe   Y 1=Always
  OpenNoLongPP    Y 1=Always
  BatteryBypassPP Y 0=Default (Always)
  UpdateNoTPMWipe Y 0=Default (Always)
  I2C             Y 1=Always
  FlashRead       Y 0=Default (Always)

> ccd
State: Locked
Password: none
Flags: 0x000001
Capabilities: 4055414100000000
  UartGscRxAPTx   Y 0=Default (Always)
  UartGscTxAPRx   Y 0=Default (Always)
  UartGscRxECTx   Y 0=Default (Always)
  UartGscTxECRx   Y 1=Always
  FlashAP         Y 1=Always
  FlashEC         Y 1=Always
  OverrideWP      Y 1=Always
  RebootECAP      Y 1=Always
  GscFullConsole  Y 1=Always
  UnlockNoReboot  Y 0=Default (Always)
  UnlockNoShortPP Y 0=Default (Always)
  OpenNoTPMWipe   Y 1=Always
  OpenNoLongPP    Y 1=Always
  BatteryBypassPP Y 0=Default (Always)
  UpdateNoTPMWipe Y 0=Default (Always)
  I2C             Y 1=Always
  FlashRead       Y 0=Default (Always)

 
Cc: rspangler@chromium.org
Owner: mruthven@chromium.org
This may be the incomplete unlock on the PVT devices.
I think they should still work in the lab while locked? Mary/Randall to confirm
Did Cr50 reboot?  The state goes back to locked on reboot.

If those are sequential output with no other debug output in between, not sure what happened.

Note that the device is in testlab mode (flags&1), so 'ccd testlab open' will move the device back to the opened state.

Re #4, The scarlet unit keep rebooting unexpected. 

Ref bug crbug/846012


Status: WontFix (was: Untriaged)
This is expected behavior, then.  The reason is that Cr50 reboots.

Did cr50 reboot? How are you checking that? If cr50 did reboot, then this is expected. From crbug/846012 it doesn't look like cr50 is rebooting/has rebooted in a while. Also you can't tell the cr50 reset reason unless you look at sysinfo.

CCD should work ok even if ccd is locked. Cr50 is setup with all of the capabilities set to Always, so you can use them even when cr50 is locked. 


cr50 reboot during low charge. 

# usb_console -d 18d1:5014

> 
> sysinfo
Reset flags: 0x00000800 (hard)
Reset count: 0
Chip:        g cr50 B2-D
RO keyid:    0xaa66150f(prod)
RW keyid:    0xde88588d(prod)
DEV_ID:      0x1700a02f 0x90ecc673
Rollback:    2/2/2

> gettime
Time: 0x00000003ad39d398 = 15791.149976 s

Sign in to add a comment