From 74a36b024f4d20c80e7c686cdc6d829d60a2689d Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Fri, 5 Aug 2022 15:47:55 +0100 Subject: [PATCH] docs: Update FVP_CONSOLES in runfvp documentation The runfvp refactor to enable OEFVPSerialTarget created FVP_CONSOLES which maps the names used for serial ports in test cases to the names used for serial ports in the FVP stdout. Refactor the FVP_CONSOLE section -> FVP_CONSOLES, noting the the 'default' console is still used for the --console runfvp flag. Issue-Id: SCM-4954 Signed-off-by: Peter Hoyes Change-Id: Ieb13d74cfd425900f44b4b2e6d125393e7b456ad Signed-off-by: Jon Mason --- documentation/runfvp.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/documentation/runfvp.md b/documentation/runfvp.md index b9e007b1..c792f4e0 100644 --- a/documentation/runfvp.md +++ b/documentation/runfvp.md @@ -98,13 +98,16 @@ FVP_TERMINALS[bp.terminal_2] = "" FVP_TERMINALS[bp.terminal_3] = "" ``` -### `FVP_CONSOLE` +### `FVP_CONSOLES` -This specifies what serial port is used when `--console` is passed to runfvp. Note that this has to be the FVP identifier but without the board prefix, for example: +This specifies what serial ports can be used in oeqa tests, along with an alias to be used in the test cases. Note that the values have to be the FVP identifier but without the board prefix, for example: ``` -FVP_CONSOLE = "terminal_0" +FVP_CONSOLES[default] = "terminal_0" +FVP_CONSOLES[tf-a] = "s_terminal_0" ``` +The 'default' console is also used when `--console` is passed to runfvp. + ### `FVP_EXTRA_ARGS` Arbitrary extra arguments that are passed directly to the FVP. For example: