summaryrefslogtreecommitdiff
path: root/distrib/armv7
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-10-12 16:39:23 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-10-12 16:39:23 +0000
commitc5b81f0c1acee501cd3aa265432cf0314d0edf62 (patch)
tree4a31e59f531a3413ec64abf16dc18a9ff15b92c9 /distrib/armv7
parent3e1f6c5842983d4a641e36cfab98cb0db6a39b8a (diff)
make armv7 fit again after bootblock growth; discussed with jsg
Diffstat (limited to 'distrib/armv7')
-rw-r--r--distrib/armv7/miniroot/Makefile.inc7
1 files changed, 4 insertions, 3 deletions
diff --git a/distrib/armv7/miniroot/Makefile.inc b/distrib/armv7/miniroot/Makefile.inc
index 84d75484f0d..bb00f4360a8 100644
--- a/distrib/armv7/miniroot/Makefile.inc
+++ b/distrib/armv7/miniroot/Makefile.inc
@@ -1,14 +1,14 @@
-# $OpenBSD: Makefile.inc,v 1.27 2020/05/18 06:20:43 otto Exp $
+# $OpenBSD: Makefile.inc,v 1.28 2021/10/12 16:39:22 deraadt Exp $
FS= miniroot-${BOARD}-${OSrev}.img
-FSSIZE= 67584 # ffs+msdos, actually
+FSSIZE= 71424 # ffs+msdos, actually
MOUNT_POINT= /mnt
MKUBOOT?= mkuboot
DISKTYPE= miniroot
MSDOSSTART= 32768
-MSDOSSIZE= 4096
+MSDOSSIZE= 8192
FFSSTART!= expr ${MSDOSSTART} + ${MSDOSSIZE}
PDTB= /usr/local/share/dtb/arm
@@ -47,6 +47,7 @@ ${FS}: bsd.rd
mkdir -p ${MOUNT_POINT}/efi/boot
cp /usr/mdec/BOOTARM.EFI ${MOUNT_POINT}/efi/boot/bootarm.efi
+ df ${MOUNT_POINT}
umount ${MOUNT_POINT}
newfs -O 1 -m 0 -o space -i 524288 -c ${FSSIZE} /dev/r`cat vnd`a