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

feat: add ROCK 5B support #45

Merged
merged 1 commit into from
Jan 10, 2025
Merged

feat: add ROCK 5B support #45

merged 1 commit into from
Jan 10, 2025

Conversation

choopm
Copy link
Contributor

@choopm choopm commented Jan 10, 2025

This adds support for RADXA ROCK 5B SBC.
It reuses rkbin-rk3588 and also builds the more recent u-boot-2024.10 as Turing RK1.

I'm currently updating a six node cluster for testing. Will inform you on the results.

You can test it using my installer image: ghcr.io/choopm/talos-rock5b:v1.9.1
The installer image was built using:

# build installer image
docker run --rm -t -v ./_out:/out -v /dev:/dev --privileged \
  ghcr.io/siderolabs/imager:v1.9.1 \
  installer --arch arm64 \
    --base-installer-image="ghcr.io/siderolabs/installer:v1.9.1" \
    --overlay-image=ghcr.io/choopm/sbc-rockchip:v1.9.1 \
    --overlay-name=rock5b \
    --system-extension-image="ghcr.io/siderolabs/iscsi-tools:v0.1.6@sha256:5adbd9bd67ffa39f65d0e5e534edadc904dd58e7e405ff7509889fd3d006ad18" \
    --system-extension-image="ghcr.io/siderolabs/realtek-firmware:20241210@sha256:45931337d8199240b9afb4518872d4e493339854c2d85200f53313dad769e627"

# push installer image
crane push _out/installer-arm64.tar ghcr.io/choopm/talos-rock5b:v1.9.1

Let me know what you think.

Copy link
Member

@frezbo frezbo left a comment

Choose a reason for hiding this comment

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

would you also mind updating MAINTAINERS.md

Add Rock 5B support.

Signed-off-by: Christoph Hoopmann <[email protected]>
Signed-off-by: Noel Georgi <[email protected]>
@frezbo
Copy link
Member

frezbo commented Jan 10, 2025

/m

@talos-bot talos-bot merged commit 26309f7 into siderolabs:main Jan 10, 2025
13 checks passed
@choopm
Copy link
Contributor Author

choopm commented Jan 10, 2025

Thanks for responding so fast and merging 🚀

My upgrades and tests are successful, six nodes running my image:

choopm ~ ❯ kubectl get nodes -o wide
NAME           STATUS   ROLES           AGE     VERSION   INTERNAL-IP     EXTERNAL-IP   OS-IMAGE         KERNEL-VERSION   CONTAINER-RUNTIME
rocky-cp-a     Ready    control-plane   75m     v1.32.0   192.168.12.5    <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-cp-b     Ready    control-plane   63m     v1.32.0   192.168.12.6    <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-cp-c     Ready    control-plane   54m     v1.32.0   192.168.12.7    <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-w-1      Ready    <none>          3h31m   v1.32.0   192.168.12.21   <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-w-2      Ready    <none>          109m    v1.32.0   192.168.12.22   <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-w-3      Ready    <none>          90m     v1.32.0   192.168.12.23   <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1
rocky-w-do-1   Ready    <none>          139d    v1.32.0   10.114.0.2      <none>        Talos (v1.9.1)   6.12.6-talos     containerd://2.0.1

choopm ~ ❯ talosctl -n 192.168.12.5 dmesg | head -n4
192.168.12.5: kern:    info: [2025-01-10T18:50:24.377770815Z]: Booting Linux on physical CPU 0x0000000000 [0x412fd050]
192.168.12.5: kern:  notice: [2025-01-10T18:50:24.377770815Z]: Linux version 6.12.6-talos (@buildkitsandbox) (gcc (GCC) 14.2.0, GNU ld (GNU Binutils) 2.43.1) #1 SMP Thu Dec 26 11:00:08 UTC 2024
192.168.12.5: kern:    info: [2025-01-10T18:50:24.377770815Z]: KASLR enabled
192.168.12.5: kern:    info: [2025-01-10T18:50:24.377770815Z]: Machine model: Radxa ROCK 5B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants