Skip to content

Commit 0a6baaf

Browse files
lyan3Eddie Dong
authored andcommitted
dm: samples: use stdio as vxworks console by default
Current launch script leaves stdio to OVMF console and, vxworks console to pty, so users need to use additional tool like minicom to connect to pty device to use vxWorks. To be more convinient, this commit changes the vxWorks to use the stdio by default, and OVMF is not availabe by default. Tracked-On: #3069 Signed-off-by: Yan, Like <like.yan@intel.com>
1 parent e3ee9cf commit 0a6baaf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

devicemodel/samples/nuc/launch_vxworks.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,10 @@ mem_size=2048M
1919
# For RTVM with lapic_pt, we only support virtio devices with polling mode enabled for both
2020
# front-end and back-end. The virtio devices with polling mode are not supported by VxWorks
2121
# offically now and we are working on upstream the front-end drivers.
22+
# OVMF console is not available with default parameters.
2223

23-
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
24-
-s 5,virtio-console,@pty:pty_port \
24+
acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge \
25+
-s 5,virtio-console,@stdio:stdio_port \
2526
-s 3,virtio-blk,./VxWorks.img \
2627
--virtio_poll 1000000 \
2728
--ovmf ./OVMF.fd \

0 commit comments

Comments
 (0)