Comments (9)
On Pi 5 GPIO is controlled via the RP1. See the RP1 Peripherals document, https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf.
from documentation.
@aallan i know most gpio is controlled by the RP1, and in this use-case, i didnt want an RP1 register
i was after the old ST_CLO register in the VPU timer, which i did find after some brute-forcing
but that does raise an interesting problem
with how the pi5 has re-arranged all of the SoC registers, and moved most stuff the user wants to the RP1, the old bcm_host_get_peripheral_address()
is kind of useless
any offsets you would have done from there are now going to be wrong, no matter which base it returns
from documentation.
@pelwell thoughts here?
from documentation.
The source code for the bcm_host library lived in the userland repo, the README for which states:
This repo is ancient and deprecated.
It largely contains code using proprietary APIs to interface to the VideoCore firmware. We have since move to standard linux APIs.
V4L2, DRM/KMS and Mesa are the APIs you should be using.
The few useful tools from here (dtoverlay, dtmerge, vcmailbox, vcgencmd) have been moved to the raspberrypi/utils repo.
Code from here is no longer installed on latest RPiOS Bookworm images.
If you are using code from here you should rethink your solution.
Consider this repo closed.
There is no correct return value for bcm_host_get_peripheral_address()
on Pi 5 other than NULL, but updating it would imply that the library still has a life.
from documentation.
@pelwell At that point I'm presuming this section https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#peripheral-addresses needs rewriting?
from documentation.
I think we should just delete it. What do you think, @popcornmix ?
from documentation.
I agree. The repo the code is from has been closed, and I don't think the code is useful enough to resurrect it
(especially as most uses are unlikely to be applicable to Pi5 which uses RP1 for many equivalent peripherals).
from documentation.
Okay, I'll yank that entire section.
from documentation.
Removed entire section in ddfba6d. Will go to the live site next time I push to production.
from documentation.
Related Issues (20)
- /boot/config.txt rotate screen & mouse HOT 1
- Need to mention the Raspberry Pi 4 Case Fan in the thermals section HOT 3
- Anchor links zoOoooOoooom you way back up to the top of the page when the page finishes loading HOT 1
- USB power information for Raspberry Pi 1B is wrong HOT 1
- Add license information around the 43439 chip
- Link from voltage problem lightning indicator is broken? HOT 1
- Linux kernel recompilation instructions are wrong/incomplete HOT 2
- Improve use of "image" jargon
- Add a summary table with SBC models into the documentation
- What must be added to the Lite distro to make Bluetooth work? HOT 2
- Network-boot tweaks for Raspberry Pi 5
- Failure to build: 403 (Forbidden) from sass-embedded gemfile using bundle HOT 1
- DebugProbe version needs updating HOT 3
- Audio configuration docs are incorrect/incomplete HOT 3
- raspi-config documentation needs updating for Pi 5 HOT 1
- Tabs for documentation! HOT 3
- Can't flash eMMC of CM4 using another Pi 4 HOT 5
- Add some details about custom CA Certs HOT 1
- Document cursor hiding and screen turn off methods in Wayland HOT 1
- Adjust the readability HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from documentation.