Skip to content

Commit

Permalink
Documentation: admin-guide: add earlycon documentation for RISC-V
Browse files Browse the repository at this point in the history
Kernels booting on RISC-V can specify "earlycon" with no options on
the Linux command line, and the generic DT earlycon support will query
the "chosen/stdout-path" property (if present) to determine which
early console device to use.  Document this appropriately in the
admin-guide.

Signed-off-by: Paul Walmsley <paul.walmsley@sifive.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Andreas Schwab <schwab@suse.de>
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
  • Loading branch information
paul-walmsley-sifive authored and Jonathan Corbet committed Oct 10, 2019
1 parent f11b46f commit 7f70ae5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Documentation/admin-guide/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -988,6 +988,10 @@
chosen node or the ACPI SPCR table if supported by
the platform.

[RISCV] When used with no options, the early
console is determined by the stdout-path
property in the device tree's chosen node.

cdns,<addr>[,options]
Start an early, polled-mode console on a Cadence
(xuartps) serial port at the specified address. Only
Expand Down

0 comments on commit 7f70ae5

Please sign in to comment.