-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Building yocto image for RPi CM4 #6
Comments
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.
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. Remember to tell us the solution once you've found it. Footnotes |
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 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 Cheers, |
@Sourabh1107 Have you found a solution by now that you'd like to share with the rest of us? |
Hello All,
This is help request and not a bug/issue reporting.
I recently got my hands on a RPi CM4 Lite and now I want to build Yocto image with barebox as bootloader. I have few doubts before I get started.
conf/local.conf
as:BAREBOX_CONFIG_raspberrypi3 = "rpi_defconfig"
BAREBOX_IMAGE_SRC_raspberrypi3 = "images/barebox-raspberry-pi-3.img"
COMPATIBLE_MACHINE_pn-barebox_raspberrypi3 = "raspberrypi3"
For RPi CM4, I am using MACHINE="raspberrypi4-64". How should this be used for barebox config?
My goal is to build an update with RAUC and Barebox.
Your help will be much appreciated.
Thanks in advance.
The text was updated successfully, but these errors were encountered: