Skip to content

Add support for Raspberry Pi 4B#1053

Merged
mattiaswal merged 9 commits intomainfrom
rpi4
May 26, 2025
Merged

Add support for Raspberry Pi 4B#1053
mattiaswal merged 9 commits intomainfrom
rpi4

Conversation

@troglobit
Copy link
Contributor

Description

This PR adds support for the popular Raspberry Pi 4B.

Checklist

Tick relevant boxes, this PR is-a or has-a:

  • Bugfix
    • Regression tests
    • ChangeLog updates (for next release)
  • Feature
    • YANG model change => revision updated?
    • Regression tests added?
    • ChangeLog updates (for next release)
    • Documentation added?
  • Test changes
    • Checked in changed Readme.adoc (make test-spec)
    • Added new test to group Readme.adoc and yaml file
  • Code style update (formatting, renaming)
  • Refactoring (please detail in commit messages)
  • Build related changes
  • Documentation content changes
    • ChangeLog updated (for major changes)
  • Other (please describe):

troglobit added 3 commits May 25, 2025 20:37
Update description to match new option name: subnet -> netmask.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
@troglobit troglobit added this to the Infix v25.05 milestone May 25, 2025
@troglobit troglobit requested review from Copilot and mattiaswal May 25, 2025 21:05
@troglobit troglobit added the ci:main Build default defconfig, not minimal label May 25, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Add support for Raspberry Pi 4B by introducing a new BoardBuild configuration, U-Boot overlays and scripts, and updating documentation.

  • New aarch64 Buildroot defconfig and post-build scripts for RPi4B
  • Extended U-Boot pre-build to bundle device-tree overlays
  • Documentation updates: ChangeLog and README

Reviewed Changes

Copilot reviewed 18 out of 18 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
configs/rpi4_defconfig Add Buildroot defconfig for Raspberry Pi 4B
board/common/uboot/uboot.mk Extend U-Boot pre-build to generate and include overlays
board/aarch64/rpi/uboot/rpi-env.dtso New U-Boot environment overlay for RPi4B
doc/ChangeLog.md Document addition of Raspberry Pi 4B support
README.md List Raspberry Pi 4B in supported boards
Comments suppressed due to low confidence (1)

configs/rpi4_defconfig:1

  • Consider adding regression or integration tests to validate the Raspberry Pi 4B build configuration and ensure continued CI coverage for this new board.
BR2_aarch64=y

@troglobit troglobit requested a review from wkz May 25, 2025 21:08
troglobit added 6 commits May 25, 2025 23:15
 - switch to 6.12 LTS, same as other Infix boards
 - trim down kernel config a bit
 - sync defconfig with r2s to switch to Finit

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Apparently the BCM2835 watchdog driver does not hook into /dev/watchdog
but creates its own /dev/watchdog0, and is very picky about interval and
timeout as well it seems.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Also, fix placement of the VisionFive2, it's not an Aarch64 boartd.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
Copy link
Contributor

@mattiaswal mattiaswal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work 👍

@mattiaswal mattiaswal merged commit a6889fa into main May 26, 2025
6 checks passed
@mattiaswal mattiaswal deleted the rpi4 branch May 26, 2025 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci:main Build default defconfig, not minimal

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants