Skip to content
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

Add Radxa Rock 4 (old name Rock Pi 4) #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

msgilligan
Copy link

@msgilligan msgilligan commented Oct 9, 2024

The Raxa family of 3399-based boards are now called "Rock 4", but the two boards that I have are labelled "Rock Pi 4" xxx.

At present, there is no distinguishing between the various models in any of the Nix files. I don't know if there needs to be. I have tested on a Rock Pi 4 SE, and when U-Boot starts it outputs: Model: Radxa ROCK Pi 4A.

At this point, I have only verified that the build image boots successfully. I will do additional testing and also test on a Rock Pi 4B+.

Update: I also booted the Rock Pi 4B+ and verified that Ethernet can ping the router on both boards.

This PR addresses one of the two boards requested in Issue #25

There is no distinguishing between the various models (I don't know if
there needs to be) but I have tested on a Rock Pi 4 SE, but when I query
U-Boot for board info it lists a 4a.
@msgilligan
Copy link
Author

According to U-Boot (see https://docs.u-boot.org/en/latest/board/rockchip/rockchip.html) there are 4 supported variants:

  • Radxa ROCK 4C+ (rock-4c-plus-rk3399)
  • Radxa ROCK 4SE (rock-4se-rk3399)
  • Radxa ROCK Pi 4A/B/A+/B+ (rock-pi-4-rk3399)
  • Radxa ROCK Pi 4C (rock-pi-4c-rk3399)

This PR currently only includes rock-pi-4-rk3399 which according to my testing will boot both the "ROCK Pi 4B+" and "ROCK 4SE" variants.

@msgilligan msgilligan changed the title Add RadxaRock4 (old name Rock Pi 4) Add Radxa Rock 4 (old name Rock Pi 4) Oct 9, 2024
@msgilligan
Copy link
Author

msgilligan commented Oct 10, 2024

I created a Wiki Page NixOS on ARM/Radxa ROCK 4. I would like to see this board better supported. Whether it is through nixos-rockchip with this PR or via another mechanism (I discovered the U-Boot for Rock 4 is already in nixpkgs) doesn't matter to me, but I think there should be a wiki page that shows the best known ways of installing on the ROCK 4.

@msgilligan msgilligan marked this pull request as ready for review October 11, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant