根据https://docs.rt-thread.org/#/rt-thread-version/rt-thread-standard/application-note/setup/qemu/ubuntu/an0005-qemu-ubuntu
安装都很正常
最后启动提示not found
UV:~/rt-thread/bsp/qemu-vexpress-a9$ ./qemu.sh
65536+0 records in
65536+0 records out
67108864 bytes (67 MB, 64 MiB) copied, 0.229009 s, 293 MB/s
./qemu.sh: line 5: qemu-system-arm: command not found
查找qemu.sh 查看
if [ ! -f "sd.bin" ]; then
dd if=/dev/zero of=sd.bin bs=1024 count=65536
fi
qemu-system-arm -M vexpress-a9 -smp cpus=2 -kernel rtthread.bin -serial stdio -sd sd.bin -show-curse
请大家帮助看看问题在哪里?如何修正,谢谢
根据https://docs.rt-thread.org/#/rt-thread-version/rt-thread-standard/application-note/setup/qemu/ubuntu/an0005-qemu-ubuntu
从sudo apt-get install qemu
开始重新配制scons --menuconfig
阶段没有任何改动,直接保存.config
.config - RT-Thread Project Configuration
──────────────────────────────────────────────────────────────────────────────
┌──────────────────── RT-Thread Project Configuration ────────────────────┐
│ Arrow keys navigate the menu. <Enter> selects submenus ---> (or empty │
│ submenus ----). Highlighted letters are hotkeys. Pressing <Y> │
│ includes, <N> excludes, <M> modularizes features. Press <Esc><Esc> to │
│ exit, <?> for Help, </> for Search. Legend: [*] built-in [ ] │
│ ┌─────────────────────────────────────────────────────────────────────┐ │
│ │ RT-Thread Kernel ---> │ │
│ │ RT-Thread Components ---> │ │
│ │ RT-Thread Utestcases ---> │ │
│ │ RT-Thread online packages ---> │ │
│ │ Hardware Drivers Config ---> │
UV:~/rt-thread/bsp/qemu-vexpress-a9$ pkgs --update
.../.env/tools/scripts/pkgs: line 1: python: command not found
UV:~/rt-thread/bsp/qemu-vexpress-a9$ ./qemu.sh
qemu-system-arm: -show-curse: invalid option
已经尝试
reinstall sudo apt-get install qemu-system-arm
再次尝试启动如下:
有敲过scons编译可执行文件吗?