Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active May 17, 2023 06:11
Show Gist options
  • Save lupyuen/a823283f3adae9f23de02a65cff56940 to your computer and use it in GitHub Desktop.
Save lupyuen/a823283f3adae9f23de02a65cff56940 to your computer and use it in GitHub Desktop.
UART Test Log for PinePhone NSH Build Config. See hhttps://github.com/apache/nuttx/pull/9304
Script started on Tue May 16 11:24:23 2023
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
348390 bytes read in 19 ms (17.5 MiB/s)
Uncompressed size: 10510336 = 0xA06000
36162 bytes read in 4 ms (8.6 MiB/s)
1078500 bytes read in 51 ms (20.2 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 ...
nsh: mkfatfs: command not found
NuttShell (NSH) NuttX-12.0.3
nsh> uname -a
NuttX 12.0.3 a3c1585 May 16 2023 11:23:21 arm64 pinephone
nsh> ls /dev
/dev:
console
fb0
input0
null
ram0
ram2
ttyS0
userleds
zero
nsh> hello
Hello, World!!
nsh>
Script done on Tue May 16 11:25:12 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment