This series of patches will stop the FVP from opening terminal windows and add detailed instructions on how to run the model to the README.md
Pawel Zalewski (2): README.md: update fvp: do not try to start the terminal
README.md | 54 ++++++++++++++++++++++++----------- conf/machine/morello-fvp.conf | 12 +++++++- 2 files changed, 49 insertions(+), 17 deletions(-)
Explain how to run the FVP model in more detail. Fix README.md bugs and make it look better.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- README.md | 54 ++++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 38 insertions(+), 16 deletions(-)
diff --git a/README.md b/README.md index 717c83e..f3f35a4 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,11 @@ meta-morello -============== +============
Meta-morello provides the layer required to build the firmware that lives on the SD card and a `Morello` enabled `Linux` kernel for the Morello System Development Platform.
-- Use the provided `kas` scripts to get all of the dependencies. -- Read on how to get and use `kas` here [1] +- Use the provided `kas` scripts to get all of the dependencies. +- Read on how to get and use `kas` here [1]
Booting the hardware -------------------- @@ -20,28 +20,50 @@ The machines have been split into: - morello-fvp for running a `FVP` image using `runfvp` script @ `meta-arm`
Building images --------------------- - -kas build ./kas/morello-soc.yml +---------------
+``` +$ kas build ./kas/morello-soc.yml +``` or - -kas build ./kas/morello-fvp.yml - +``` +$ kas build ./kas/morello-fvp.yml +``` FVP ---
-For instructions on how to run the image with `FVP` go here [4] +To run the FVP model: +``` +$ cd poky +$ . oe-init-build-env ../build +$ ./../meta-arm/scripts/runfvp --console tmp-fvp/deploy/images/morello-fvp/rootfs-morello-fvp.fvpconf +``` +or +``` +$ cd poky +$ . oe-init-build-env ../build +$ ./../meta-arm/scripts/runfvp tmp-fvp/deploy/images/morello-fvp/rootfs-morello-fvp.fvpconf +``` +Then inspect the FVP console output for information on your uart_ap port: +``` +$ terminal_uart_ap: Listening for serial connection on port 5003 +``` +With that knowledge you can now run: +``` +$ telnet localhost 5003 +``` +For further instructions on how to run the image with `FVP` go here [4]
Images ------
The outputs can be found under build/temp/deploy/images: -- board-firmware-sd-image.img goes on the SD card via DD -- morello-linux-image..img goes on the USB via DD +- board-firmware-sd-image.img goes on the SD card via DD +- morello-linux-image..img goes on the USB via DD
Linux and musl-libc ------------------- + The linux kernel and musl-libc are locked in sync so that the release tags from upstream always match.
@@ -70,7 +92,7 @@ https://op-lists.linaro.org/mailman3/lists/linux-morello-distros.op-lists.li... References ----------
-[1] https://kas.readthedocs.io/en/latest/ \ -[2] https://developer.arm.com/documentation/den0132/0100/Setting-up-the-Morello-... \ -[3] https://developer.arm.com/documentation/102278/0001/?lang=en -[4] https://github.com/jonmason/meta-arm/blob/master/documentation/runfvp.md \ No newline at end of file +[1] https://kas.readthedocs.io/en/latest/ +[2] https://developer.arm.com/documentation/den0132/0100/Setting-up-the-Morello-... +[3] https://developer.arm.com/documentation/102278/0001/?lang=en +[4] https://github.com/jonmason/meta-arm/blob/master/documentation/runfvp.md \ No newline at end of file
The display is disabled and the terminal windows will fail to open. Lets not confuse the user and disable this functionality within the machine config.
Signed-off-by: Pawel Zalewski pzalewski@thegoodpenguin.co.uk --- conf/machine/morello-fvp.conf | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/conf/machine/morello-fvp.conf b/conf/machine/morello-fvp.conf index 94e9437..2ec03d3 100644 --- a/conf/machine/morello-fvp.conf +++ b/conf/machine/morello-fvp.conf @@ -60,5 +60,15 @@ FVP_CONFIG[num_clusters] ?= "2" FVP_CONFIG[num_cores] ?= "2"
FVP_CONFIG[disable_visualisation] ?= "true" +FVP_CONFIG[board.terminal_uart0_board.start_telnet] ?= "0" +FVP_CONFIG[board.terminal_uart1_board.start_telnet] ?= "0" +FVP_CONFIG[css.mcp.terminal_uart0.start_telnet] ?= "0" +FVP_CONFIG[css.mcp.terminal_uart1.start_telnet] ?= "0" +FVP_CONFIG[css.scp.terminal_uart_aon.start_telnet] ?= "0" +FVP_CONFIG[css.terminal_sec_uart_ap.start_telnet] ?= "0" +FVP_CONFIG[css.terminal_uart1_ap.start_telnet] ?= "0" +FVP_CONFIG[css.terminal_uart_ap.start_telnet] ?= "0" + +FVP_TERMINALs[terminal_uart_ap] ?= "AP" +
-FVP_TERMINALs[terminal_uart_ap] ?= "AP" \ No newline at end of file
linux-morello-distros@op-lists.linaro.org