How To Build Mainline U-Boot for Orangepi Zero3

The Orange Pi Zero3 is not officially supported by the mainline U-Boot project yet. Luckily a patch has been released by github.com/Doct2O. I am able to build u-boot v2023.10 with ATF v2.9.0 and boot Fedora 39 Beta on my 4GiB variant. The upstream project has a prebuilt binary already, and the instruction is very easy follow, but unfortunately uses cross-compilers which I don’t use anymore. This post will show you how to build your own u-boot binary for the Orange Pi Zero3 with buildah....

November 6, 2023

Replace Cross-compilers with Buildah and Qemu User Emulation

Decades ago, cross-compilers were the only way to build software for a different architecture. Today, we have qemu-user-static and Buildah to build software for a different architecture on the same machine. This article will show you how to use Buildah and qemu-user-static to build software for a different architecture on Fedora. If you are not farmiliar with buildah and qemu-user-static, please have a look at the project pages: Buildah and Qemu User space emulator....

November 6, 2023

Automatically Unlocking NBDE (Network-Bound Disk Encryption) Disk with HTTPS on Reboot

When utilizing LUKS as the encryption method for NBDE, Clevis and Tang are employed to automatically unlock the disk during the reboot process. It’s important to note that the communication between Clevis and Tang is not inherently encrypted by design. However, this may potentially conflict with your organization’s security policy. I have detailed my proposed solution in this GitHub issue, and now, I believe it’s time to provide a more comprehensive explanation....

October 31, 2023

Manage QNAP NAS with Ansible

Automating maintenance tasks with tools like Ansible can be a more efficient alternative to the potentially frustrating user interface of QNAP QTS. In this post, I’ll show you how to use Ansible to manage your QNAP NAS. Note: This guide apply to QNAP NAS running QTS 5.1 or later. The QTS before 5.1 does not support ED25519 SSH key. Prerequisite To allow Ansible to communicate with the QNAP NAS, you need to enable SSH access....

July 6, 2023