Skip to content

Instantly share code, notes, and snippets.

@lupyuen
Last active December 27, 2022 05:06
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/7d85fbe55417538b70816aa21dfa7e32 to your computer and use it in GitHub Desktop.
Save lupyuen/7d85fbe55417538b70816aa21dfa7e32 to your computer and use it in GitHub Desktop.
Apache NuttX RTOS for PinePhone: Frame Buffer Driver Test Log (Fullscreen). See https://lupyuen.github.io/articles/lcd
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
126527 bytes read in 10 ms (12.1 MiB/s)
Uncompressed size: 10043392 = 0x994000
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
buf (0x400b0f32):
0000 b9 f1 12 83 ....
pkt (0x40a19ae0):
0000 39 04 00 2c b9 f1 12 83 84 5d 9..,.....]
buf (0x400b0f16):
0000 ba 33 81 05 f9 0e 0e 20 00 00 00 00 00 00 00 44 .3..... .......D
0010 25 00 91 0a 00 00 02 4f 11 00 00 37 %......O...7
pkt (0x40a19ae0):
0000 39 1c 00 2f ba 33 81 05 f9 0e 0e 20 00 00 00 00 9../.3..... ....
0010 00 00 00 44 25 00 91 0a 00 00 02 4f 11 00 00 37 ...D%......O...7
0020 2c e2 ,.
buf (0x400b0f11):
0000 b8 25 22 20 03 .%" .
pkt (0x40a19ae0):
0000 39 05 00 36 b8 25 22 20 03 03 72 9..6.%" ..r
buf (0x400b0f06):
0000 b3 10 10 05 05 03 ff 00 00 00 00 ...........
pkt (0x40a19ae0):
0000 39 0b 00 2c b3 10 10 05 05 03 ff 00 00 00 00 6f 9..,...........o
0010 bc .
buf (0x400b0efc):
0000 c0 73 73 50 50 00 c0 08 70 00 .ssPP...p.
pkt (0x40a19ae0):
0000 39 0a 00 36 c0 73 73 50 50 00 c0 08 70 00 1b 6a 9..6.ssPP...p..j
buf (0x400b0efa):
0000 bc 4e .N
pkt (0x40a19ae0):
0000 15 bc 4e 35 ..N5
buf (0x400b0ef8):
0000 cc 0b ..
pkt (0x40a19ae0):
0000 15 cc 0b 22 ..."
buf (0x400b0ef6):
0000 b4 80 ..
pkt (0x40a19ae0):
0000 15 b4 80 22 ..."
buf (0x400b0ef2):
0000 b2 f0 12 f0 ....
pkt (0x40a19ae0):
0000 39 04 00 2c b2 f0 12 f0 51 86 9..,....Q.
buf (0x400b0ee3):
0000 e3 00 00 0b 0b 10 10 00 00 00 00 ff 00 c0 10 ...............
pkt (0x40a19ae0):
0000 39 0f 00 0f e3 00 00 0b 0b 10 10 00 00 00 00 ff 9...............
0010 00 c0 10 36 0f ...6.
buf (0x400b0edd):
0000 c6 01 00 ff ff 00 ......
pkt (0x40a19ae0):
0000 39 06 00 30 c6 01 00 ff ff 00 8e 25 9..0.......%
buf (0x400b0ed0):
0000 c1 74 00 32 32 77 f1 ff ff cc cc 77 77 .t.22w.....ww
pkt (0x40a19ae0):
0000 39 0d 00 13 c1 74 00 32 32 77 f1 ff ff cc cc 77 9....t.22w.....w
0010 77 69 e4 wi.
buf (0x400b0ecd):
0000 b5 07 07 ...
pkt (0x40a19ae0):
0000 39 03 00 09 b5 07 07 7b b3 9......{.
buf (0x400b0eca):
0000 b6 2c 2c .,,
pkt (0x40a19ae0):
0000 39 03 00 09 b6 2c 2c 55 04 9....,,U.
buf (0x400b0ec6):
0000 bf 02 11 00 ....
pkt (0x40a19ae0):
0000 39 04 00 2c bf 02 11 00 b5 e9 9..,......
buf (0x400b0e86):
0000 e9 82 10 06 05 a2 0a a5 12 31 23 37 83 04 bc 27 .........1#7...'
0010 38 0c 00 03 00 00 00 0c 00 03 00 00 00 75 75 31 8............uu1
0020 88 88 88 88 88 88 13 88 64 64 20 88 88 88 88 88 ........dd .....
0030 88 02 88 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
pkt (0x40a19ae0):
0000 39 40 00 25 e9 82 10 06 05 a2 0a a5 12 31 23 37 9@.%.........1#7
0010 83 04 bc 27 38 0c 00 03 00 00 00 0c 00 03 00 00 ...'8...........
0020 00 75 75 31 88 88 88 88 88 88 13 88 64 64 20 88 .uu1........dd .
0030 88 88 88 88 88 02 88 00 00 00 00 00 00 00 00 00 ................
0040 00 00 00 00 65 03 ....e.
buf (0x400b0e48):
0000 ea 02 21 00 00 00 00 00 00 00 00 00 00 02 46 02 ..!...........F.
0010 88 88 88 88 88 88 64 88 13 57 13 88 88 88 88 88 ......d..W......
0020 88 75 88 23 14 00 00 02 00 00 00 00 00 00 00 00 .u.#............
0030 00 00 00 00 00 00 00 03 0a a5 00 00 00 00 ..............
pkt (0x40a19ae0):
0000 39 3e 00 1a ea 02 21 00 00 00 00 00 00 00 00 00 9>....!.........
0010 00 02 46 02 88 88 88 88 88 88 64 88 13 57 13 88 ..F.......d..W..
0020 88 88 88 88 88 75 88 23 14 00 00 02 00 00 00 00 .....u.#........
0030 00 00 00 00 00 00 00 00 00 00 00 03 0a a5 00 00 ................
0040 00 00 24 1b ..$.
buf (0x400b0e25):
0000 e0 00 09 0d 23 27 3c 41 35 07 0d 0e 12 13 10 12 ....#'<A5.......
0010 12 18 00 09 0d 23 27 3c 41 35 07 0d 0e 12 13 10 .....#'<A5......
0020 12 12 18 ...
pkt (0x40a19ae0):
0000 39 23 00 20 e0 00 09 0d 23 27 3c 41 35 07 0d 0e 9#. ....#'<A5...
0010 12 13 10 12 12 18 00 09 0d 23 27 3c 41 35 07 0d .........#'<A5..
0020 0e 12 13 10 12 12 18 93 bf .........
buf (0x400b0e24):
0000 11 .
pkt (0x40a19ae0):
0000 05 11 00 36 ...6
buf (0x400b0e23):
0000 29 )
pkt (0x40a19ae0):
0000 05 29 00 1c .)..
nsh: sysinit: fopen failed: 2
nsh: mkfatfs: command not found
NuttShell (NSH) NuttX-11.0.0-pinephone
nsh>
nsh>
nsh> uname -a
NuttX 11.0.0-pinephone 17639af-dirty Dec 27 2022 12:11:19 arm64 pinephone
nsh>
nsh> fb
VideoInfo:
fmt: 21
xres: 720
yres: 1440
nplanes: 1
PlaneInfo (plane 0):
fbmem: 0x4061bd84
fblen: 4147200
stride: 2880
display: 0
bpp: 32
Mapped FB: 0x4061bd84
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment