Comments (3)
Hello there, and sorry for the late reply.
After searching through the source code and git history, it seems to me that barebox does not yet support the Raspberry Pi 4 and its variants.
The most recent hint that I've found concerning the support for the Raspberry Pi 4 is the following commit1 from January 14th.
Its commit message states (among other things):
[...]
The Raspberry Pi 4 support will be ARM64.
[...]
So it seems that support for the Raspberry Pi 4 is still being worked on.
As for your question about where to copy the bootloader files, the official documentation states that the boot process differs from the previous models2 and that there is an extra section about the "Raspberry Pi 4 Boot Flow"3.
That should get you started.
Hope it helps.
Remember to tell us the solution once you've found it.
Footnotes
from meta-barebox.
Raspberry Pi 4 support is included in recent releases like v2022.09.0 provided by meta-barebox. If you know how to build barebox for Raspberry Pi 3, it's exactly the same, but tick Raspberry Pi 4 support as well. The resulting barebox-raspberry-pi.img
can be booted on both. You can build barebox for either 32-bit or 64-bit. Not everything works, but SD/Network do (no USB yet though).
To get barebox console working, you'll need to tell the VideoCore about your UART. See the integration in DistroKit for reference:
- https://git.pengutronix.de/cgit/DistroKit/commit/?h=next&id=ae5b35986593310c419bc33eebd9ae7a06de3ffa
It's called rpi2, because it works for all 32-bit targets from 2 onwards, including Raspberry Pi 4. For 64-bit, you just enable CONFIG_64BIT
. I didn't have a CM4 to test on, but if you are willing to help out, drop by at the barebox channel on Libera.Chat/Matrix.
Cheers,
from meta-barebox.
@Sourabh1107 Have you found a solution by now that you'd like to share with the rest of us?
Is this topic still relevant to you?
If not, I think we can close this help request (after more than 2 years).
from meta-barebox.
Related Issues (3)
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 meta-barebox.