freebsd-skq/usr.bin/mkimg
Emmanuel Vadot 3b6268bb9e mkimg: We always want the last block of the last inserted partition
Even with an absolute offset we want to know the last block the partition
otherwise we endup with an image the size of the metadata.
This allow to create image with the ESP placed at a specific position which
is useful on arm/arm64 where u-boot have always a hard time to read the ESP
if it's not aligned on 512k.
mkimg -v -o sdcard -s gpt -p efi::54M:1M -p freebsd-ufs::1G
now works.

MFC after:	3 days
2021-02-25 16:34:28 +01:00
..
tests Significantly speed up mkimg_test 2020-10-18 18:35:23 +00:00
apm.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
bsd.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
ebr.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
endian.h Remove unneeded headers. 2019-01-06 20:39:23 +00:00
format.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
format.h
gpt.c Add GPT PREP-boot type to mkimg(1) from geom_gpt. 2021-02-24 10:31:44 -05:00
image.c
image.h Allow bootstrapping mkimg on macOS/Linux 2020-01-16 14:14:55 +00:00
Makefile Do a sweep and remove most WARNS=6 settings 2020-10-01 01:10:51 +00:00
Makefile.depend
mbr.c Revert r362466 2020-06-22 07:46:24 +00:00
mkimg.1 Fix a few mandoc issues 2020-10-09 19:12:44 +00:00
mkimg.c mkimg: We always want the last block of the last inserted partition 2021-02-25 16:34:28 +01:00
mkimg.h
qcow.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
raw.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
scheme.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
scheme.h
uuid.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
vhd.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
vhdx.c Fix invalid VHDX generation for image larger than 4Gb 2020-07-13 02:24:31 +00:00
vmdk.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00
vtoc8.c Remove unneeded headers. 2019-01-06 20:39:23 +00:00