Friendly fork of Talos Linux for the Radxa Rock 5 SBCs
6.0K
Currently, the Radxa Rock 5B, like all other Rockchip RK3588-based boards, requires a BSP kernel. Additionally, there's no mature EFI bootloader support.
Due to this situation, until/if mainline Linux RK3588 support improves, it's not practical to support the board in its current state in the main Talos codebase. As a result, this is a "friendly fork": it exists to serve a specific niche and will cease to exist as soon as upstream support is practical. (I have no affiliation with Sidero Labs! But this is way too extensive & hacky to be reasonable to open a PR for.)
Please be respectful of upstream if you run into any problems. If there's any doubt about whether an issue is caused by this fork, err on the side of making an issue here first!
💾 I've only tested this using eMMC, but it should work for an SD card as well
Flashable images are available from the releases.
You can write this to your eMMC/SD card using dd, Balena Etcher, etc.
Use the docker.io/milas/rock5b-talos images instead of the upstream Talos Linux images.
These include a modified version of Talos to support the Rock 5B in addition to the vendor U-Boot & kernel.
machine:
install:
# for SD card, use /dev/mmcblk1
disk: /dev/mmcblk0
image: docker.io/milas/rock5b-talos:v1.3.4-rock5b
bootloader: true
wipe: false
The kernel is built using the config at ./hack/rock5b/rockchip_linux_defconfig.
Builds are done using milas/rock5b-docker-build which provides a Dockerized toolchain to build the BSP kernel.
To build & push:
IMAGE="ghcr.io/milas/rock5b-kernel-talos" docker buildx bake --push --set "rock5b-kernel.tags=$IMAGE" rock5b-kernel
The Makefile has been modified slightly to allow overriding the kernel context easily.
To build & push:
IMAGE="ghcr.io/milas/rock5b-kernel-talos@sha256:..."
make installer PUSH=1 IMAGE_NAME="rock5b-talos" EXTRA_CONTEXT="ghcr.io/milas/rock5b-kernel-talos=docker-image://$IMAGE"
See Makefile for more variables, e.g. IMAGE_REGISTRY and USERNAME.
New installer container images are published on every commit.
.img.xz)You can create a flashable image as well after building & pushing the installer.
See Makefile for more variables, e.g. IMAGE_REGISTRY and USERNAME.
To create in ./_out/:
mkdir -p ./_out/
make sbc-rock_5b IMAGE_NAME="rock5b-talos" IMAGE_TAG="latest"
New flashable images are published for each Talos release.
rk3588-rock-5b.dtb (& rk3588-uart7-m2.dtbo) directly to
Talos root partition (these would normally be in the EFI partition)/extlinux/extlinux.conf directly to Talos
root partition
⚠️ As U-Boot directly boots the kernel (no GRUB),
extlinux.confcontains the kernel args, meaning there's no way to customize them right now since it's not templated/generated by the installer! (#3)
Some software we distribute is under the General Public License family of licenses or other licenses that require we provide you with the source code. If you would like a copy of the source code for this software, please contact us via email: info at SideroLabs.com.
Content type
Image
Digest
sha256:d5a2bd904…
Size
316.8 MB
Last updated
almost 4 years ago
docker pull milas/rock5b-talos:v1.4.0-alpha.1-3-g9feb9c2e3