[Bug 1814118] Re: Make RPi.GPIO work on arm64

Ɓukasz Zemczak 1814118 at bugs.launchpad.net
Tue Feb 5 18:20:49 UTC 2019


The package looks good and I guess I'll just sponsor it as is. For a
moment I was wondering about proposing a small change to the relevant
patch: since currently when we're able to open /proc/device-
tree/system/linux,revision but are not able to read the contents, the
patch forces an error. Was thinking that maybe we should fall-back to
the cpuinfo check in this case as well. But then, I suppose that if the
linux,revision is openable but unreadable, that's actually a bug and
maybe one should actually error out. Besides, this might make the code
less clean as for handling an edge-case. Might be worth considering, but
I now lean towards just releasing this to disco as-is.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1814118

Title:
  Make RPi.GPIO work on arm64

Status in rpi.gpio package in Ubuntu:
  Fix Committed
Status in rpi.gpio source package in Bionic:
  New
Status in rpi.gpio source package in Cosmic:
  New

Bug description:
  The current release of RPi.GPIO (0.63) expects to find hardware
  revision information under /proc/cpuinfo. This exists under armhf
  kernels, but not under arm64 kernels. By contrast, both kernels now
  provide revision information under /proc/device-
  tree/system/linux,revision.

  A patched version of RPi.GPIO 0.65 is available from
  https://launchpad.net/~waveform/+archive/ubuntu/pkg/+packages which
  preferentially reads revision information from this source (falling
  back to /proc/cpuinfo to support older kernels). 0.65 was used as this
  also fixes a couple of nasty PWM bugs, including a memory leak.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rpi.gpio/+bug/1814118/+subscriptions



More information about the Ubuntu-sponsors mailing list