Skip to content

Instantly share code, notes, and snippets.

@orangecms
Last active March 28, 2022 18:51
Show Gist options
  • Save orangecms/2f3aed31abf176d88ea6afe2092812a5 to your computer and use it in GitHub Desktop.
Save orangecms/2f3aed31abf176d88ea6afe2092812a5 to your computer and use it in GitHub Desktop.
Speedy Distro Porting via the cpu Command

Speedy Distro Porting via the cpu Command

Last year, I ported oreboot to the Allwinner D1 SoC that is found on the Nezha SBC and many other boards now. For a boot loader environment, I chose to embed LinuxBoot, and then partitioned an SD card with two root filesystems for testing: OpenWrt, which is small and just ran right away, and openSUSE, which required some extra effort. I was happy to see a new D1 board advertised with openSUSE support, though the process of getting there was tedious enough that I wanted to find an improvement to the workflow.

In this talk, I will recap how I modified the openSUSE RISC-V root filesystem, moving an SD card back and forth, and showcase a faster approach instead by leveraging the cpu command that lets us do that iteration over the network. Eventually, we will see how that can be leveraged to continuously test Tumbleweed on real hardware through OpenQA and a corresponding setup.

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