代码拉取完成,页面将自动刷新
Ubuntu上安装qemu
$ sudo apt-get install qemu-system-arm
编译
$ cd embox
$ make confload-arm/qemu
$ make
运行
$ qemu-system-arm -M integratorcp -kernel ./build/base/bin/embox -m 256 -nographic
Ubuntu上安装qemu 和工具链
$ sudo apt-get install qemu-system-arm binutils-arm-none-eabi gcc-arm-none-eabi
编译
$ cd FreeRTOS/FreeRTOS/Demo/CORTEX_LM3S811_GCC/
运行
$ qemu-system-arm -machine lm3s811evb -kernel gcc/RTOSDemo.axf -m 256 -nographic
源码位置
https://github.com/apache/incubator-nuttx
https://github.com/apache/incubator-nuttx-apps
https://bitbucket.org/nuttx/tools/src/master/
$ sudo apt install flex bison gperf libtool
$ cd nuttx/
$ cd tools/kconfig-frontends/
$ ./configure
$ autoreconf -ivf
$ make
$ sudo make install
$ sudo ldconfig
$ cd ../..
$ cd nuttx
$ make distclean
$ cd tools/
$ ./configure.sh lm3s6965-ek/nsh
$ cd ..
$ make menuconfig
打开如下配置
System Type --->
Stellaris Ethernet Configuration --->
[*] Workaround for tiva with qemu
把工具链改为linux本地的
System Type --->
Toolchain Selection (Generic GNU EABI toolchain under Linux (or other POSIX environment)) --->
(X) Generic GNU EABI toolchain under Linux (or other POSIX
$ make
$ ls nuttx.bin -lh
-rwxrwxr-x 1 lambda lambda 43K 9月 27 14:02 nuttx.bin
$ qemu-system-arm -M lm3s6965evb -kernel nuttx -m 256 -nographic
NuttShell (NSH)
nsh>
nsh> ?
help usage: help [-v] [<cmd>]
. cat echo hexdump mkrd put source umount
[ cd exec kill mh pwd test unset
? cp exit ls mount rm telnetd usleep
arp cmp false mb mv rmdir time wget
basename dirname get mkdir mw set true xd
break dd help mkfatfs nslookup sleep uname
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。