Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jun 2025 05:24:17 GMT
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 905541dd6ba4 - main - boot: Update the test generation script for serial and rootfs
Message-ID:  <202506260524.55Q5OHao035038@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=905541dd6ba4e94b4aa67d8a0eae6a5eb07f20a0

commit 905541dd6ba4e94b4aa67d8a0eae6a5eb07f20a0
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2025-06-26 05:21:48 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2025-06-26 05:23:44 +0000

    boot: Update the test generation script for serial and rootfs
    
    Update the script to include serial port config, serial console and the
    proper root filesystem. This works for amd64 + ufs, but might need a
    slight refactor for aarch64 and/or zfs.
    
    Sponsored by:           Netflix
---
 tools/boot/full-test.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/tools/boot/full-test.sh b/tools/boot/full-test.sh
index 0a1a6fad4ef3..1160861316dc 100644
--- a/tools/boot/full-test.sh
+++ b/tools/boot/full-test.sh
@@ -208,6 +208,10 @@ autoboot_delay=2
 zfs_load="YES"
 boot_verbose=yes
 kern.cfg.order="acpi,fdt"
+boot_serial="YES"
+hw.uart.console="io:1016,br:115200"
+vfs.root.mountfrom="ufs:/dev/ufs/root"
+vfs.root.mountfrom.options="rw"
 EOF
 }
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202506260524.55Q5OHao035038>