Port-arm archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Raspberry Pi 3B: /dev/mem mmap GPIO works on earmv7hf but not on aarch64



On 16/02/2026 18:33, Izumi Tsutsui wrote:
Hi,

[snip]

Questions
---------

- Is /dev/mem + mmap expected to work for BCM283x/2711 peripheral MMIO
   on evbarm/aarch64?

No. It's lucky it works on evbarmv7.

- If yes, where should I look for the correct mapping attributes
   (device vs normal cacheable) for /dev/mem mappings on aarch64?

They don't exist.


- Does the described behavior sound like a cache attribute / pmap issue,
   or could it be an address translation issue?

There is no support for device type memory mappings via /dev/mem

What's wrong with gpioctl(8)?





Home | Main Index | Thread Index | Old Index