TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Putting a BSD system in your pocket

4 pointsby damirover 3 years ago

1 comment

1MachineElfover 3 years ago
&gt;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 &#x2F;usr&#x2F;ports&#x2F;sysutils&#x2F;u-boot&#x2F;Makefile and add &#x27;pinephone&#x27; to the list of aarch64 targets. Since we are modifying the makefile, we should bump the REVISION to 1 as well. Next, we modify &#x2F;usr&#x2F;ports&#x2F;sysutils&#x2F;u-boot&#x2F;pkg&#x2F;PFRAG.aarch64 and add seven lines indicating the files to be installed, namely those that will end up in &#x2F;usr&#x2F;local&#x2F;share&#x2F;u-boot&#x2F;pinephone&#x2F;.<p>Interesting to see how this is done for a new ARM platform.<p>&gt;The initial kernel re-linking takes about 90 seconds, and then we are able to reboot into the newly installed system.<p>I haven&#x27;t kept up with it so it&#x27;s news to me that OpenBSD kernel re-linking occurs on non-x86 platforms too.