diff options
author | 2017-05-07 12:00:12 +0000 | |
---|---|---|
committer | 2017-05-07 12:00:12 +0000 | |
commit | d455fb3698c7b53548c0f27e764d62edfa628df9 (patch) | |
tree | aa6a53e3f22dc3c7a51dbab3b95e0de443a82fcf | |
parent | Sync FDT code with arm64. (diff) | |
download | wireguard-openbsd-d455fb3698c7b53548c0f27e764d62edfa628df9.tar.xz wireguard-openbsd-d455fb3698c7b53548c0f27e764d62edfa628df9.zip |
Increase the offset from the start of the disk to the FAT filesystem
from sector 2048/1MB to sector 8192/4MB.
This gives enough space for a combined U-Boot and ATF FIT image for the
Firefly-RK3399.
Requested by and ok kettenis@
-rw-r--r-- | distrib/arm64/miniroot/Makefile | 4 | ||||
-rw-r--r-- | distrib/arm64/ramdisk/install.md | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/distrib/arm64/miniroot/Makefile b/distrib/arm64/miniroot/Makefile index 8af672e0f62..b0fa3b12094 100644 --- a/distrib/arm64/miniroot/Makefile +++ b/distrib/arm64/miniroot/Makefile @@ -15,8 +15,8 @@ VND_RIDEV= /dev/r${VND}i PID!= echo $$$$ DISKTYPE= miniroot -NBLKS= 36864 -MSDOSSTART= 2048 +NBLKS= 43008 +MSDOSSTART= 8192 MSDOSSIZE= 8192 FFSSTART!= expr ${MSDOSSTART} + ${MSDOSSIZE} diff --git a/distrib/arm64/ramdisk/install.md b/distrib/arm64/ramdisk/install.md index 640d012d6c9..fdf911fd455 100644 --- a/distrib/arm64/ramdisk/install.md +++ b/distrib/arm64/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.4 2017/03/10 05:49:08 jsg Exp $ +# $OpenBSD: install.md,v 1.5 2017/05/07 12:00:12 jsg Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -64,7 +64,7 @@ md_prep_fdisk() { local _disk=$1 _d local bootparttype="C" - local bootsectorstart="2048" + local bootsectorstart="8192" local bootsectorsize="32768" local bootsectorend=$(($bootsectorstart + $bootsectorsize)) local bootfstype="msdos" |