HomeFreeBSD

riscv: look for bootargs in FDT

Description

riscv: look for bootargs in FDT

The FDT may contain a short /chosen/bootargs string which we should pass
to boot_parse_cmdline. Notably, this allows the use of qemu's -append
option to pass things like -s to boot to single user mode.

Submitted by: Nathaniel Filardo <nwf20@cl.cam.ac.uk>
Reviewed by: mhorne
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D25544

Details

Provenance
mhorneAuthored on
Reviewer
mhorne
Differential Revision
D25544: riscv: look for bootargs in FDT
Parents
rS363344: MFC r362755 bhyve: implement NVMe Format NVM command
Branches
Unknown
Tags
Unknown