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

Issue 656223 link

Starred by 2 users

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 2
Type: Bug



Sign in to add a comment

Parrot: wpsw_cur shows error in crossystem

Reported by dhend...@chromium.org, Oct 15 2016

Issue description

While looking into issue #653814 I noticed that crossystem output shows an error when reading wpsw_cur. I'm currently a 8350.74.0 (R52) test image. I don't think this is blocking, though it might confuse the updater so we should probably fix it if feasible (Pri=2 for now).

The jumper itself is operational as I can successfully alter firmware ROM write-protect settings by shorting/opening it.

Crossystem appears to try to get the value by reading GPIOs in /sys/class/gpio. However that directory doesn't have anything other than "export" and "unexport" in it:
localhost gpio # ls -l /sys/class/gpio/
total 0
--w------- 1 root root 4096 Oct 14 17:01 export
--w------- 1 root root 4096 Oct 14 17:01 unexport

It's been a while since I've looked at this, but I thought the kernel was supposed to recognize Panther Point as the chipset and populate these automatically.

If I follow the testing steps from https://chromium-review.googlesource.com/#/c/28183/ I see an error:
localhost ~ # echo $(( 160 + 70 )) > /sys/class/gpio/export
-bash: echo: write error: No such device

dmesg shows an error when I do this:
[ 3149.537166] gpio_request: gpio-230 (sysfs) status -517
[ 3149.537175] export_store: status -19

Kernel is 3.8.11 (according to uname -r).
 

Comment 1 by hungte@chromium.org, Oct 15 2016

FYI updater will look at wpsw_boot when wpsw_cur is error.
Thanks, Hung-Te. wpsw_boot shows 0 or 1, so at least the updater will continue working for the normal case.

I should also note that recoverysw_cur also shows up as an error, but recoverysw_boot seems to work.
Project Member

Comment 3 by sheriffbot@chromium.org, Oct 16 2017

Labels: Hotlist-Recharge-Cold
Status: Untriaged (was: Available)
This issue has been Available for over a year. If it's no longer important or seems unlikely to be fixed, please consider closing it out. If it is important, please re-triage the issue.

Sorry for the inconvenience if the bug really should have been left as Available. If you change it back, also remove the "Hotlist-Recharge-Cold" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment