Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active December 6, 2022 10:21
Show Gist options
  • Save lupyuen/b9de190aba4598752d827f1105571a6a to your computer and use it in GitHub Desktop.
Save lupyuen/b9de190aba4598752d827f1105571a6a to your computer and use it in GitHub Desktop.
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
109456 bytes read in 8 ms (13 MiB/s)
Uncompressed size: 299008 = 0x49000
36162 bytes read in 5 ms (6.9 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=0x0x400c9000, heap_size=0x7f37000
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: 0x400ab000 _einit: 0x400ab000
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-pinephone
nsh> uname -a
NuttX 11.0.0-pinephone 9cdbec3-dirty Dec 6 2022 11:42:50 arm64 pinephone
nsh>
nsh> leds
task_spawn: name=leds entry=0x4009e7bc file_actions=0x400cea40 attr=0x400cea48 argv=0x400ceb90
spawn_execattrs: Setting policy=2 priority=100 for pid=3
leds_main: Starting the led_daemon
leds_main: led_daemon started
led_daemon (pid# 4): Running
led_daemon: Opening /dev/userleds
led_daemon: Supported LEDs 0x07
led_daemon: LED set 0x01 (green)
led_daemon: LED set 0x02 (red)
led_daemon: LED set 0x03 (yellow)
led_daemon: LED set 0x04 (blue)
led_daemon: LED set 0x05 (cyan)
led_daemon: LED set 0x06 (magenta)
led_daemon: LED set 0x07 (white)
led_daemon: LED set 0x06 (magenta)
led_daemon: LED set 0x05 (cyan)
led_daemon: LED set 0x04 (blue)
led_daemon: LED set 0x03 (yellow)
led_daemon: LED set 0x02 (red)
led_daemon: LED set 0x01 (green)
led_daemon: LED set 0x00 (black)
led_daemon: LED set 0x01 (green)
For the earlier detailed log, see this:
https://gist.github.com/lupyuen/b9de190aba4598752d827f1105571a6a/5434f3fe4df80675509675eb6141d5018f0f1371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment