RISC-V root device question

From: Michael Dexter <editor_at_callfortesting.org>
Date: Mon, 7 Dec 2020 12:54:00 -0800
All,

The FreeBSD wiki page on RISC-V reads:

If you get mountroot prompt, then indicate to the kernel the location of 
rootfs:

mountroot> ufs:/dev/vtbd0

This indeed appears to be remain the case on CURRENT as of last week.

Specifying a device and partition, or disklabel at the mountroot> prompt 
works every time but none of these do not help in loader.conf (tested 
individually):

cam.boot_delay="100000"
vfs.root.mountfrom="ufs:/dev/vtbd0p3"
vfs.root.mountfrom="ufs:/dev/gpt/rootfs"
rootdev="/dev/vtbd0p3"
rootdev="vtbd0p3"
currdev="vtbd0p3"

Or these in the fstab:

/dev/gpt/rootfs /       ufs     rw,noatime      1       1
/dev/vtbd0p3   /       ufs     rw,noatime      1       1

Are there any other options? Perhaps building the device name into the 
kernel?

Thank you!

Michael
Received on Mon Dec 07 2020 - 19:54:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:26 UTC