3 ms·
>First, we need to compile U-boot from source. This is necessary because the binary package available for OpenBSD 7.0 does not include the boot code for the Pin
by 1MachineElf 5y ago
>First, we need to compile U-boot from source. This is necessary because the binary package available for OpenBSD 7.0 does not include the boot code for the Pinephone. We first modify /usr/ports/sysutils/u-boot/Makefile and add 'pinephone' to the list of aarch64 targets. Since we are modifying the makefile, we should bump the REVISION to 1 as well. Next, we modify /usr/ports/sysutils/u-boot/pkg/PFRAG.aarch64 and add seven lines indicating the files to be installed, namely those that will end up in /usr/local/share/u-boot/pinephone/.
Interesting to see how this is done for a new ARM platform.
>The initial kernel re-linking takes about 90 seconds, and then we are able to reboot into the newly installed system.
I haven't kept up with it so it's news to me that OpenBSD kernel re-linking occurs on non-x86 platforms too.