History log of /openbsd/usr.sbin/mkuboot/mkuboot.c (Results 1 – 11 of 11)
Revision Date Author Comments
# 9dcef5f6 22-Jun-2021 jmc <jmc@openbsd.org>

reduce verbosity of usage(), making it match SYNOPSIS;
ok kettenis


# 84bafafb 01-Jun-2021 jsg <jsg@openbsd.org>

amd64 U-Boot arch code should be ARCH_X86_64 not ARCH_IA64


# df69c215 28-Jun-2019 deraadt <deraadt@openbsd.org>

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if

When system calls indicate an error they return -1, not some arbitrary
value < 0. errno is only updated in this case. Change all (most?)
callers of syscalls to follow this better, and let's see if this strictness
helps us in the future.

show more ...


# 9f79a698 29-Oct-2017 mpi <mpi@openbsd.org>

Prefer <elf.h> to the non portable <sys/exec_elf.h>.

ok jca@, deraadt@


# a516609f 20-Dec-2016 jsg <jsg@openbsd.org>

Add the u-boot arm64 architecture number and map it to "aarch64" to
match OpenBSD/arm64 MACHINE_ARCH.

ok patrick@


# 43df60e4 12-Oct-2015 deraadt <deraadt@openbsd.org>

pledge "stdio" after opening up the input & output files.
ok jsg


# b154e2c0 12-Oct-2015 deraadt <deraadt@openbsd.org>

fstat() of opened fd, rather than stat(), to avoid TOCTOU
ok jsg


# 2756da3c 18-May-2014 miod <miod@openbsd.org>

Correctly handle files smaller than an ELF header; reported by drahn@bitrig


# 87c5fb21 28-Oct-2013 patrick <patrick@openbsd.org>

Improve mkuboot's ELF handling. This fixes the problem where mkuboot
running on 64-bit systems does not create valid images.
While there, append kernel symbols at the end of the kernel.

ok syl@


# 0764bb54 28-Jul-2013 miod <miod@openbsd.org>

Let mkuboot recognize native ELF binaries and only output the program headers
area in this case, to save the need for `objcopy -O binary'; this will make
beagle install/upgrade processes easier until

Let mkuboot recognize native ELF binaries and only output the program headers
area in this case, to save the need for `objcopy -O binary'; this will make
beagle install/upgrade processes easier until they get a native bootloader.
Tested by florian@ on panda ES and rapha@ on BeagleBone

show more ...


# e315a2c2 30-May-2013 bmercer <bmercer@openbsd.org>

Move mkuboot to the proper location.
OK jasper@ get it in deraadt@