openSUSE Conference 2022 - Speedy Distro Porting via the cpu Command
Channel: openSUSE
Date: 2023-06-16

https://media.ccc.de/v/3802-speedy-distro-porting-via-the-cpu-command



Last year, I ported [oreboot](https://github.com/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](https://linuxboot.org), 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`](https://github.com/u-root/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, which can also be applied to other hardware, such as ARM. 

Last year, I ported [oreboot](https://github.com/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](https://linuxboot.org), 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`](https://github.com/u-root/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, which can also be applied to other hardware, such as ARM. 

Daniel Maslowski



#osc22 #NewTechnologies