Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active November 25, 2022 07:33
Show Gist options
  • Save lupyuen/e49a22a9e39b7c024b984bea40377712 to your computer and use it in GitHub Desktop.
Save lupyuen/e49a22a9e39b7c024b984bea40377712 to your computer and use it in GitHub Desktop.
Log of Apache NuttX RTOS on PinePhone. See https://github.com/apache/incubator-nuttx/pull/7692
DRAM: 2048 MiB
Trying to boot from MMC1
NOTICE: BL31: v2.2(release):v2.2-904-gf9ea3a629
NOTICE: BL31: Built : 15:32:12, Apr 9 2020
NOTICE: BL31: Detected Allwinner A64/H64/R18 SoC (1689)
NOTICE: BL31: Found U-Boot DTB at 0x4064410, model: PinePhone
NOTICE: PSCI: System suspend is unavailable
U-Boot 2020.07 (Nov 08 2020 - 00:15:12 +0100)
DRAM: 2 GiB
MMC: Device 'mmc@1c11000': seq 1 is in use by 'mmc@1c10000'
mmc@1c0f000: 0, mmc@1c10000: 2, mmc@1c11000: 1
Loading Environment from FAT... *** Warning - bad CRC, using default environment
starting USB...
No working controllers found
Hit any key to stop autoboot: 0
switch to partitions #0, OK
mmc0 is current device
Scanning mmc 0:1...
Found U-Boot script /boot.scr
653 bytes read in 3 ms (211.9 KiB/s)
## Executing script at 4fc00000
gpio: pin 114 (gpio 114) value is 1
106465 bytes read in 8 ms (12.7 MiB/s)
Uncompressed size: 290816 = 0x47000
36162 bytes read in 4 ms (8.6 MiB/s)
1078500 bytes read in 50 ms (20.6 MiB/s)
## Flattened Device Tree blob at 4fa00000
Booting using the fdt blob at 0x4fa00000
Loading Ramdisk to 49ef8000, end 49fff4e4 ... OK
Loading Device Tree to 0000000049eec000, end 0000000049ef7d41 ... OK
Starting kernel ...
- 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=0x0x400c7000, heap_size=0x7f39000
gic_validate_dist_version: GICv2 detected
up_timer_initialize: up_timer_initialize: cp15 timer(s) running at 24.00MHz, cycle 24000
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
lib_cxx_initialize: _sinit: 0x400aa000 _einit: 0x400aa000
nsh: sysinit: fopen failed: 2
nshn:x _msktfaarttf:s :C PcUo0m:m aBnedg innonti nfgo uInddl
e
L
oNoupt
t
Shell (NSH) NuttX-11.0.0-RC2
nsh>
nsh>
nsh> uname -a
NuttX 11.0.0-RC2 150701b Nov 23 2022 18:52:59 arm64 pinephone
nsh>
nsh>
nsh>
nsh> hello
task_spawn: name=hello entry=0x4009dcd8 file_actions=0x400cca40 attr=0x400cca48 argv=0x400ccb90
spawn_execattrs: Setting policy=2 priority=100 for pid=3
Hello, World!!
nsh>
nsh>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment