Speedy Distro Porting via the cpu Command (osc22)

Published: June 3, 2022, 10:30 a.m.

Last year, I ported [oreboot](https://github.com/oreboot) to the Allwinner D1\nSoC that is found on the Nezha SBC and many other boards now. For a boot loader\nenvironment, I chose to embed [LinuxBoot](https://linuxboot.org), and then\npartitioned an SD card with two root filesystems for testing: OpenWrt, which is\nsmall and just ran right away, and openSUSE, which required some extra effort.\nI was happy to see a new D1 board advertised with openSUSE support, though the\nprocess of getting there was tedious enough that I wanted to find an improvement\nto the workflow.\n\nIn this talk, I will recap how I modified the openSUSE RISC-V root filesystem,\nmoving an SD card back and forth, and showcase a faster approach instead by\nleveraging the [`cpu`](https://github.com/u-root/cpu) command that lets us do\nthat iteration over the network. Eventually, we will see how that can be\nleveraged to continuously test Tumbleweed on real hardware through OpenQA and a\ncorresponding setup, which can also be applied to other hardware, such as ARM. \n\nLast year, I ported [oreboot](https://github.com/oreboot) to the Allwinner D1\nSoC that is found on the Nezha SBC and many other boards now. For a boot loader\nenvironment, I chose to embed [LinuxBoot](https://linuxboot.org), and then\npartitioned an SD card with two root filesystems for testing: OpenWrt, which is\nsmall and just ran right away, and openSUSE, which required some extra effort.\nI was happy to see a new D1 board advertised with openSUSE support, though the\nprocess of getting there was tedious enough that I wanted to find an improvement\nto the workflow.\n\nIn this talk, I will recap how I modified the openSUSE RISC-V root filesystem,\nmoving an SD card back and forth, and showcase a faster approach instead by\nleveraging the [`cpu`](https://github.com/u-root/cpu) command that lets us do\nthat iteration over the network. Eventually, we will see how that can be\nleveraged to continuously test Tumbleweed on real hardware through OpenQA and a\ncorresponding setup, which can also be applied to other hardware, such as ARM. \nabout this event: https://c3voc.de