linaro-pm-wg team mailing list archive
-
linaro-pm-wg team
-
Mailing list archive
-
Message #00514
[Bug 1229658] Re: Information is unavailable on "Gpio" page in powerdebug 0.7.1 with vexpress A9 Android.
Hi Sanjay,
In that case, I think users need to export GPIOs first via
/sys/kernel/gpio/export. Otherwise, the below lines don't appear in
/sys/kernel/debug/gpio file -
gpio-0 (tfp410 PD ) out lo
gpio-1 (hsusb1_vbus ) out hi
Atleast thats what I see on my Samsung Arndale Board with Linaro Saucy
Server.
If that is the case, then patch mentioned in comment #21 is not
necessary. Simply configuring kernel with SYSFS_GPIO won't do it (may be
a warning message in gpio page of powerdebug will help - export gpios
first by writing to /sys/kernel/gpio/export file?) Please correct me if
I am wrong.
However, patch mentioned in comment #20 is still necessary to avoid
build errors and segmentation fault.
Please suggest.
--
Thanks,
-Meraj
--
You received this bug notification because you are a member of Linaro
Powerdebug Commits, which is subscribed to Linaro PMWG Powerdebug.
Matching subscriptions: powerdebug commits
https://bugs.launchpad.net/bugs/1229658
Title:
Information is unavailable on "Gpio" page in powerdebug 0.7.1 with
vexpress A9 Android.
Status in Linaro Android:
New
Status in Powerdebug - a tool to help ARM developers:
In Progress
Bug description:
On ARM Versatile Express A9 board with Linaro Android image:
https://android-build.linaro.org/builds/~linaro-android/vexpress-
linaro-13.09-release/#build=6
Information is unavailable on "Clocks" & "Gpio" after launched
powerdebug version 0.7.1, error output shows as below:
root@vexpress:/ # powerdebug
failed to initialize clock details (check debugfs)
error: unable to open directory /sys/class/gpio
failed to initialize gpios
root@vexpress:/ #
Please refer to attachment to get snapshot pictures.
Note:
Please run powerdebug in ADB shell, which the output is well
formatted, however the failure is same as run in serial console.
Latest update for this bug is the behaviour shows as described in
comment #9, only GPIO information is unavailable.
For the bug on Samsung Arndale Android, please refer to:
https://bugs.launchpad.net/linaro-powerdebug/+bug/1298171
###########################################
This issue is observed on following images:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.09-release/#build=6
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.11-release/#build=2
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-13.12-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.01-release/#build=6
###########################################
From build #247, only "Gpio" page is empty:
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=247
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.02-release/#build=11
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=271
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.03-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=297
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.04-release/#build=1
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro/#build=331
https://android-build.linaro.org/builds/~linaro-android/vexpress-linaro-14.05-release/#build=2
########################################
Also observed with Panda Android Kitkat build
https://android-build.linaro.org/builds/~linaro-android-member-ti
/panda-linaro-14.05-release/#build=1
To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-android/+bug/1229658/+subscriptions
References