Created
June 22, 2023 05:56
-
-
Save lupyuen/93ad51d49e5f02ad79bb40b0a57e3ac8 to your computer and use it in GitHub Desktop.
Apache NuttX RTOS for RISC-V QEMU (64-bit): Run Log. See https://lupyuen.github.io/articles/riscv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
→ qemu-system-riscv64 \ | |
-semihosting \ | |
-M virt,aclint=on \ | |
-cpu rv64 \ | |
-smp 8 \ | |
-bios none \ | |
-kernel nuttx \ | |
-nographic | |
ABCnx_start: Entry | |
uart_register: Registering /dev/console | |
uart_register: Registering /dev/ttyS0 | |
nx_start_application: Starting init thread | |
task_spawn: name=nsh_main entry=0x800078bc file_actions=0 attr=0x8003c1b8 argv=0x8003c1b0 | |
NuttShell (NSH) NuttX-12.1.0-RC0 | |
nsh> nx_start: CPU0: Beginning Idle Loop | |
nsh> help | |
help usage: help [-v] [<cmd>] | |
. break dd exit ls ps source umount | |
[ cat df false mkdir pwd test unset | |
? cd dmesg free mkrd rm time uptime | |
alias cp echo help mount rmdir true usleep | |
unalias cmp env hexdump mv set truncate xd | |
basename dirname exec kill printf sleep uname | |
Builtin Apps: | |
nsh ostest sh | |
nsh> | |
nsh> uname -a | |
NuttX 12.1.0-RC0 275db39 Jun 16 2023 20:22:08 risc-v rv-virt | |
nsh> | |
nsh> ls /dev | |
/dev: | |
console | |
null | |
ttyS0 | |
zero | |
nsh> | |
nsh> ps | |
PID GROUP PRI POLICY TYPE NPX STATE EVENT SIGMASK STACK USED FILLED COMMAND | |
0 0 0 FIFO Kthread N-- Ready 0000000000000000 002000 001224 61.2% Idle Task | |
1 1 100 RR Task --- Running 0000000000000000 002992 002024 67.6% nsh_main | |
nsh> | |
nsh> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment