驅動程式 - VxWorks - 使用範例 - C/C++ - 開發環境



參考資訊:
https://forums.windriver.com/t/vxworks-software-development-kit-sdk/43
https://d13321s3lxgewa.cloudfront.net/downloads/wrsdk-vxworks7-docs/2309/README_qemu.html

安裝步驟:

$ cd
$ wget https://d13321s3lxgewa.cloudfront.net/wrsdk-vxworks7-qemu-1.13.2.tar.bz2
$ tar xvf wrsdk-vxworks7-qemu-1.13.2.tar.bz2
$ cd wrsdk-vxworks7-qemu
$ qemu-system-x86_64 -m 512M -kernel vxsdk/bsps/itl_generic_3_0_0_3/vxWorks \
    -net nic -net user,hostfwd=tcp::1534-:1534,hostfwd=tcp::2345-:2345 \
    -display none -serial stdio -monitor none \
    -append "bootline:fs(0,0)host:vxWorks h=10.0.2.2 e=10.0.2.15 u=target pw=vxTarget o=gei0"

如果要存取Host檔案,在另一個Terminal視窗下,執行如下指令

$ sudo python3 -m pyftpdlib -p 21 -u target -P vxTarget -i 127.0.0.1 -d $HOME -w

QEMU裏面存取Host檔案

-> cmd
[vxWorks *]# cd /host.host
[vxWorks *]# ls