← Back to team overview

linaro-pm-wg team mailing list archive

Re: [Bug 1229658] Re: Information is unavailable on "Gpio" page in powerdebug 0.7.1 with vexpress A9 Android.

 

hello Botao,

Here change is needed from kernel side. The issue is, in the vexpress 
kernel the GPIO_SYSFS directive is not enabled (checked in the 331 build 
config file). Its one of the prerequisites for the feature to work. 
Please create a new bug for that and close this one. thanks

On Thursday 22 May 2014 12:47 PM, Botao Sun wrote:
> Hi Sanjay, the issue still exists on vexpress Android build #331
>
> https://android-build.linaro.org/builds/~linaro-android/vexpress-
> linaro/#build=331
>
> The GPIO column is empty there. The version of PowerDebug now shows
> 0.7.2, have your patch been merged?
>
> ** Description changed:
>
>    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
>
> ** Changed in: linaro-powerdebug
>         Status: Fix Released => In Progress
>


-- 
sanjay

-- 
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

To manage notifications about this bug go to:
https://bugs.launchpad.net/linaro-android/+bug/1229658/+subscriptions


References