Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active January 1, 2023 14:05
Show Gist options
  • Save lupyuen/5029b5d1195c4ee6a7c74f24897ceecd to your computer and use it in GitHub Desktop.
Save lupyuen/5029b5d1195c4ee6a7c74f24897ceecd to your computer and use it in GitHub Desktop.
Apache NuttX RTOS for PinePhone: Boot Log. See https://lupyuen.github.io/articles/what
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
349776 bytes read in 19 ms (17.6 MiB/s)
Uncompressed size: 10518528 = 0xA08000
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 ...
- Ready to Boot CPU
- Boot from EL2
- Boot from EL1
- Boot to C runtime for OS Initialize
nsh: mkfatfs: command not found
NuttShell (NSH) NuttX-11.0.0-pinephone
nsh>
nsh>
nsh> uname -a
NuttX 11.0.0-pinephone 1c62181 Jan 1 2023 21:50:10 arm64 pinephone
nsh>
nsh> help
help usage: help [-v] [<cmd>]
. cd dmesg free mkrd reboot test unset
[ cp echo help mount rm time uptime
? cmp env hexdump mv rmdir true usleep
basename dirname exec kill printf set truncate xd
break dd exit ls ps sleep uname
cat df false mkdir pwd source umount
Builtin Apps:
fb getprime hello leds lvgldemo nsh ostest sh
nsh>
nsh> ls /dev
/dev:
console
fb0
null
ram0
ram2
ttyS0
userleds
zero
nsh>
nsh> fb
VideoInfo:
fmt: 21
xres: 720
yres: 1440
nplanes: 1
PlaneInfo (plane 0):
fbmem: 0x4069057c
fblen: 4147200
stride: 2880
display: 0
bpp: 32
Mapped FB: 0x4069057c
0: ( 0, 0) (720,1440)
1: ( 65,130) (590,1180)
2: (130,260) (460,920)
3: (195,390) (330,660)
4: (260,520) (200,400)
5: (325,650) ( 70,140)
Test finished
nsh>
nsh> lvgldemo widgets
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment