Skip to content

Instantly share code, notes, and snippets.

@apritzel
Created February 12, 2017 11:43
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 apritzel/a52a06a6e8db99b5904fd31dc0de1316 to your computer and use it in GitHub Desktop.
Save apritzel/a52a06a6e8db99b5904fd31dc0de1316 to your computer and use it in GitHub Desktop.
sunxi bootmon example
sunxi boot monitor v0.1
Allwinner A64 SoC detected.
Booted from FEL
128Mbit SPI flash detected.
(No SD card detection yet.)
(No eMMC detection yet).
Use "help" for a list of commands.
# help
help
fel
reset|reboot
temp
volt
spi
cpuinfo
gpio
smc
sid
dump
# smc
# sid
SID: 0 0 0 0
SID (reg): 92c000ba 24004620 51900808 141709cb
# sid 0xf4
SID +0xf4: 800
# temp
temperature sensor 0: 0x6f4
temperature: 45
# spi
Manufacturer: 0xef (Winbond)
Model: 0x40
Capacity: 16777216 Bytes
Has eGON signature
0e 00 00 ea 65 47 4f 4e 2e 42 54 30 d4 9e bb da
# dump 0x10000
10000 0e 00 00 ea 65 47 4f 4e 2e 46 45 4c c5 18 a6 8d
10010 00 20 00 00 53 50 4c 01 00 00 00 00 00 00 00 00
10020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
10040
# cpuinfo
Running in high SRAM
MIDR: 0x410fd034, ARM Cortex-A53 r0p4
REVIDR: 0x80
ID_ISAR5: 0x11121 => ARMv8
CPSR: 600001d3
SCR: 30
NSACR: 0
VBAR: 0x0
MVBAR: 0x450c0
# gpio PC6
PC6: 1
# fel
Returning to FEL ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment