Giter Site home page Giter Site logo

Comments (3)

menschel-d avatar menschel-d commented on August 22, 2024

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

  1. https://git.pengutronix.de/cgit/barebox/commit/?id=b267578d0567d26b1bd05d44901f983e0cd167a6

  2. https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#boot-sequence

  3. https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-4-boot-flow

from meta-barebox.

a3f avatar a3f commented on August 22, 2024

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:

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.

menschel-d avatar menschel-d commented on August 22, 2024

@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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.