Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/utils/embedded/conf Switch to GPT w/ hybrid MBR for ...



details:   https://anonhg.NetBSD.org/src/rev/3c04d82a271a
branches:  trunk
changeset: 933361:3c04d82a271a
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Mon May 25 11:06:49 2020 +0000

description:
Switch to GPT w/ hybrid MBR for armv7 images

diffstat:

 distrib/utils/embedded/conf/armv7.conf |  9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r d5639bbbbceb -r 3c04d82a271a distrib/utils/embedded/conf/armv7.conf
--- a/distrib/utils/embedded/conf/armv7.conf    Mon May 25 10:39:48 2020 +0000
+++ b/distrib/utils/embedded/conf/armv7.conf    Mon May 25 11:06:49 2020 +0000
@@ -1,9 +1,14 @@
-# $NetBSD: armv7.conf,v 1.41 2020/05/18 21:19:34 jmcneill Exp $
+# $NetBSD: armv7.conf,v 1.42 2020/05/25 11:06:49 jmcneill Exp $
 # ARMv7 customization script used by mkimage
 #
 board=armv7
 console=fb
 resize=true
+gpt=true
+gpt_hybrid=true
+gpt_create_flags="-p 16"
+gpt_label_efi="EFI"
+gpt_label_ffs="netbsd-root"
 
 . ${DIR}/conf/evbarm.conf
 
@@ -57,7 +62,7 @@
                mv "${mnt}/boot/netbsd-GENERIC.img" "${mnt}/boot/kernel7.img"
 
                cat > "${mnt}/boot/cmdline.txt" << EOF
-root=ld0a console=${console}
+root=NAME=${gpt_label_ffs} console=${console}
 #fb=1280x1024          # to select a mode, otherwise try EDID
 #fb=disable            # to disable fb completely
 EOF



Home | Main Index | Thread Index | Old Index