OpenBSD Journal

ARMv7 now has a bootloader

Contributed by tj on from the call-to-arms dept.

Progress on the armv7 platform continues, and Jonathan Gray writes in to the arm@ mailing list with some promising news:

There is now a bootloader for armv7 thanks to kettenis@ Recent armv7 snapshots will configure disks to use efiboot and install device tree dtb files on a fat partition at the start of the disk.

u-boot kernel images are no longer part of the release but can still be built for the time being. We are going to start assuming the kernel has been loaded with a dtb file to describe the hardware sometime soon. Those doing new installs can ignore the details but here they are.

Support for EFI payloads was introduced in u-boot 2016.05, a port was recently imported for u-boot along with a patch to prevent it from allocating memory from non-populated regions (required for non imx platforms). A dtb port with prebuilt dtb files was also added.

If BOOTARM.EFI is placed on fat or ext2 as /efi/boot/bootarm.efi and dtb files placed in /, /dtb/ or /dtb/current u-boot will automatically load and run it without any boot.scr or uenv.txt needed. efiboot will then load kernel images off ffs filesystems it finds. The u-boot binaries themselves on the same partition or raw offset remain largely board specific.

Thanks kettenis, jsg and the whole ARM crew for your work in getting OpenBSD to run on these devices.

(Comments are closed)


Copyright © - Daniel Hartmeier. All rights reserved. Articles and comments are copyright their respective authors, submission implies license to publish on this web site. Contents of the archive prior to as well as images and HTML templates were copied from the fabulous original with Jose's and Jim's kind permission. This journal runs as CGI with httpd(8) on OpenBSD, the source code is BSD licensed. undeadly \Un*dead"ly\, a. Not subject to death; immortal. [Obs.]