Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active August 3, 2023 00:33
Show Gist options
  • Save lupyuen/e5df2a1a9a274c87e6280260b732a71d to your computer and use it in GitHub Desktop.
Save lupyuen/e5df2a1a9a274c87e6280260b732a71d to your computer and use it in GitHub Desktop.
NuttX QEMU Log: UART Wait LCR Disabled
→ tools/configure.sh rv-virt:knsh64
→ grep WAIT_LCR .config
# CONFIG_16550_WAIT_LCR is not set
Script started on Thu Aug 3 08:21:14 2023
command: qemu-system-riscv64 -semihosting -M virt,aclint=on -cpu rv64 -smp 8 -bios none -kernel nuttx -initrd initrd -nographic
ABC
NuttShell (NSH) NuttX-12.0.3
nsh> uname -a
NuttX 12.0.3 1c3a4f2 Aug 3 2023 08:20:27 risc-v rv-virt
nsh> free
total used free largest nused nfree
Kmem: 2069496 13704 2055792 2054128 41 3
Page: 4194304 606208 3588096 3588096
nsh> ls -l
/:
dr--r--r-- 0 dev/
dr--r--r-- 0 proc/
-rwxrwxrwx 1600 system/
nsh>
Script done on Thu Aug 3 08:22:06 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment