HomeFreeBSD

Allow us to set the console device tree node. This is needed as not all

Description

Allow us to set the console device tree node. This is needed as not all
vendor supplied device trees contain the needed properties for us to select
the correct uart to use as the kernel console.

An example of this would be to add the following to loader.conf.
hw.fdt.console="/smb/uart@f7113000"

The intention of this is slightly different than the existing
hw.uart.console option. The new option will mean the boot serial
configuration will be derived from the device node, while the existing
option expects the user to configure all this themselves.

Further work is planned to allow the uart configuration to be set based on
the stdout-path property devicetree bindings.

Sponsored by: ABT Systems Ltd
Differential Revision: https://reviews.freebsd.org/D3559

Details

Committed
andrewSep 8 2015, 4:06 PM
Differential Revision
D3559: Allow the FDT uart driver to select witch device node to use
Parents
rS287564: isci: check return value of pci_alloc_msix()
Branches
Unknown
Tags
Unknown