Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Created January 28, 2023 14:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lupyuen/832a1bae98720ce0841791176812dbd9 to your computer and use it in GitHub Desktop.
Save lupyuen/832a1bae98720ce0841791176812dbd9 to your computer and use it in GitHub Desktop.
→ qemu-system-aarch64 -cpu cortex-a53 -nographic \
-machine virt,virtualization=on,gic-version=3 \
-net none -chardev stdio,id=con,mux=on -serial chardev:con \
-mon chardev=con,mode=readline -kernel ./nuttx
- Ready to Boot CPU
- Boot from EL2
- Boot from EL1
- Boot to C runtime for OS Initialize
nx_start: Entry
up_allocate_heap: heap_start=0x0x402d9000, heap_size=0x7d27000
gic_validate_dist_version: GICv3 version detect
gic_validate_dist_version: GICD_TYPER = 0x37a0007
gic_validate_dist_version: 224 SPIs implemented
gic_validate_dist_version: 0 Extended SPIs implemented
gic_validate_dist_version: Distributor has no Range Selector support
gic_validate_redist_version: GICD_TYPER = 0x1000011
gic_validate_redist_version: 16 PPIs implemented
gic_validate_redist_version: no VLPI support, no direct LPI support
up_timer_initialize: up_timer_initialize: cp15 timer(s) running at 62.50MHz, cycle 62500
uart_register: Registering /dev/console
uart_register: Registering /dev/ttyS0
work_start_highpri: Starting high-priority kernel worker thread(s)
nx_start_application: Starting init thread
task_spawn: name=nsh_main entry=0x4028ad08 file_actions=0 attr=0x402d8f98 argv=0x402d8f90
lib_cxx_initialize: _sinit: 0x402ac000 _einit: 0x402ac000
nsh: mkfatfs: command not found
NuttShell (NSH) NuttX-12.0.0-RC1
nsh>
nx_start: CPU0: Beginning Idle Loop
nsh>
nsh> uname -a
NuttX 12.0.0-RC1 8c52633 Jan 28 2023 20:15:28 arm64 qemu-armv8a
nsh>
nsh> nshtask
task_spawn: name=nshtask entry=0x4029f4d4 file_actions=0x402decc0 attr=0x402decc8 argv=0x402dedb0
spawn_execattrs: Setting policy=2 priority=100 for pid=3
ERROR: Failed to mount procfs at /proc: -20
NuttShell (NSH) NuttX-12.0.0-RC1
nsh: nsh: fopen failed: 2
nsh>
nsh>
qemu-system-aarch64: terminating on signal 2 from pid 97053 (<unknown process>)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment