Home | History | Annotate | Download | only in mkubootimage
History log of /src/usr.bin/mkubootimage/mkubootimage.1
RevisionDateAuthorComments
 1.20  22-May-2024  uwe mkubootimage.1: improve markup
 1.19  21-May-2024  uwe mkubootimage.1: restore .Ed lost in previous
 1.18  21-May-2024  gutteridge mkubootimage(1): adjust example output in man page

Refresh to show current output format (an additional field) and address
a "TODO" comment that's been there for over a decade.
 1.17  21-May-2024  gutteridge mkubootimage(1): adjust usage, etc.

In the tool, reflow and reorder usage() output and also consistently
mark which arguments are optional.

In the man page, add missing -t argument in the synopsis and follow
consistent argument ordering.
 1.16  21-May-2024  gutteridge mkubootimage(1): add riscv
 1.15  09-Feb-2024  christos PR/57914: Jan-Benedict Glaw: Set reproducible timestamp
Cleanup lint.
 1.14  07-Dec-2019  wiz branches: 1.14.8;
Sync usage with man page, merge single letter options.

Limit program usage line length.
 1.13  04-Dec-2019  jmcneill Add -u flag for updating headers in place.
 1.12  04-Feb-2018  jmcneill branches: 1.12.4; 1.12.6;
Add support for writing "AArch64 Linux kernel image" format images.

These images begin with a 64-byte header that includes a load offset,
image size, some flags, and a small (2 word) area at the start for
executable code.

These images are compatible with U-Boot's "booti" command, and can be
used to make U-Boot relocate our kernel to a 2MB aligned base address.
After relocation, U-Boot will jump to the code at the beginning of the
header, where we encode a relative branch forward instruction to branch
to the beginning of the kernel at offset +0x40.
 1.11  29-Sep-2017  jmcneill add sh arch
 1.10  15-Jul-2017  wiz branches: 1.10.2;
Remove unnecessary macros. Use standard headers.
 1.9  15-Jul-2017  jmcneill Add support for "kernel_noload" image types. This type is the same as the
"kernel" type, except it can run from any load address.
 1.8  30-Sep-2014  wiz branches: 1.8.8;
Use An in AUTHORS section.
 1.7  30-Sep-2014  msaitoh Bump date.
 1.6  30-Sep-2014  msaitoh Support arm64, i386 and or1k.
 1.5  29-Dec-2012  jmcneill branches: 1.5.2; 1.5.6;
add support for generating boot.scr scripts with -T script
 1.4  01-Dec-2012  wiz More markup.
 1.3  01-Dec-2012  matt Change ULONG_MAX to UINT32_MAX
 1.2  30-Nov-2012  wiz Sort SYNOPSIS. Remove unnecessary Ns. Punctuation nit.
 1.1  29-Nov-2012  reed Add a manual for mkubootimage(1). It was missing.
It had one review on netbsd-docs@.
I didn't add the manual to the Makefile nor distrib set yet --
waiting for more review or improvements first.
 1.5.6.2  25-Feb-2013  tls resync with head
 1.5.6.1  29-Dec-2012  tls file mkubootimage.1 was added on branch tls-maxphys on 2013-02-25 00:30:37 +0000
 1.5.2.3  23-Jan-2013  yamt sync with head
 1.5.2.2  16-Jan-2013  yamt sync with (a bit old) head
 1.5.2.1  29-Dec-2012  yamt file mkubootimage.1 was added on branch yamt-pagecache on 2013-01-16 05:34:07 +0000
 1.8.8.1  25-Jul-2017  snj Pull up following revision(s) (requested by jmcneill in ticket #142):
usr.bin/mkubootimage/mkubootimage.1: 1.9-1.10
usr.bin/mkubootimage/mkubootimage.c: 1.20
usr.bin/mkubootimage/uboot.h: 1.7
Add support for "kernel_noload" image types. This type is the same as the
"kernel" type, except it can run from any load address.
--
Remove unnecessary macros. Use standard headers.
 1.10.2.2  15-Jul-2017  wiz 3317807
 1.10.2.1  15-Jul-2017  wiz file mkubootimage.1 was added on branch perseant-stdc-iso10646 on 2017-07-15 12:10:32 +0000
 1.12.6.1  09-Dec-2019  martin Pull up following revision(s) (requested by jmcneill in ticket #525):

external/cddl/osnet/dev/dtrace/aarch64/dtrace_isa.c: revision 1.1
distrib/sets/lists/modules/md.i386: revision 1.83
share/mk/bsd.own.mk: revision 1.1168
usr.bin/mkubootimage/mkubootimage.c: revision 1.25
sys/modules/dtrace/Makefile: revision 1.7
usr.bin/mkubootimage/mkubootimage.c: revision 1.26
sys/modules/dtrace/Makefile: revision 1.8
external/cddl/osnet/dist/lib/libdtrace/aarch64/dt_isadep.c: revision 1.2
distrib/sets/lists/modules/mi: revision 1.128
sys/arch/aarch64/include/frame.h: revision 1.3
sys/arch/evbarm/conf/mk.generic64: revision 1.4
external/cddl/osnet/dist/lib/libdtrace/common/dt_link.c: revision 1.12
sys/modules/cyclic/Makefile: revision 1.4
sys/arch/aarch64/conf/Makefile.aarch64: revision 1.16
external/cddl/osnet/dev/dtrace/aarch64/dtrace_subr.c: revision 1.1
sys/arch/aarch64/aarch64/start.S: revision 1.3
sys/arch/aarch64/aarch64/trap.c: revision 1.22
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.c: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/dtrace_asm.S: revision 1.1
external/cddl/osnet/dev/fbt/aarch64/fbt_isa.h: revision 1.1
external/cddl/osnet/dev/dtrace/aarch64/regset.h: revision 1.1
external/cddl/osnet/lib/libdtrace/Makefile: revision 1.26
distrib/sets/lists/modules/md.amd64: revision 1.82
usr.bin/mkubootimage/mkubootimage.1: revision 1.13
distrib/sets/lists/modules/ad.arm: revision 1.14

Add KDTRACE_HOOKS support.

Define lwp_trapframe() macro

dtrace: add support for aarch64

Add syscall_linux back for other arm architectures (accidently removed
in previous)

Add -u flag for updating headers in place.

Fix alignment of .text section by changing load address to
0xffffffc000000000 and adding 64 bytes of padding before the entry point.

Update arm64 image header in place

Move dtrace_syscall_linux out of mi set list

Enable DTrace on aarch64

Fix signed/unsigned comparison
 1.12.4.1  08-Apr-2020  martin Merge changes from current as of 20200406
 1.14.8.1  15-Dec-2024  martin Pull up following revision(s) (requested by gutteridge in ticket #1023):

usr.bin/mkubootimage/mkubootimage.1: revision 1.15
usr.bin/mkubootimage/crc32.c: revision 1.5
usr.bin/mkubootimage/mkubootimage.c: revision 1.31
usr.bin/mkubootimage/mkubootimage.c: revision 1.34
usr.bin/mkubootimage/crc32.h: revision 1.1

PR/57914: Jan-Benedict Glaw: Set reproducible timestamp
Cleanup lint.

mkubootimage.c: consistently use endian.h origin functions

Since this already uses bswap32(3), le64toh(3), etc., switch to also
use htobe32(3) and be32toh(3) instead of htonl(3) and ntohl(3). This
seems the best way to fix build breakages under recent Linux distros
where GCC objects to missing prototypes (since otherwise we'd need to
include arpa/inet.h, which wasn't declared). Another issue related to
PR lib/58674.

Confirmed this fixes builds on Fedora 40 (since all these functions are
provided by NetBSD compat). No changes noted to resulting installation
images generated for armv7hf on a NetBSD build.

RSS XML Feed