Skip to content

Instantly share code, notes, and snippets.

@adukot
Created November 26, 2016 10:09
Show Gist options
  • Save adukot/b4e8b0b37b92a6017518bd76e850cfd3 to your computer and use it in GitHub Desktop.
Save adukot/b4e8b0b37b92a6017518bd76e850cfd3 to your computer and use it in GitHub Desktop.
C.H.I.P. UART
Allwinner R8 memory map
UART0 : 0x01C2 8000
UART1 : 0x01C2 8400 <- bingo!
---
u-boot challenge
---
=> md.l 01c28000
01c28000: 00000000 00000000 00000000 00000000 ................
01c28010: 00000000 00000000 00000000 00000000 ................
01c28020: 00000000 00000000 00000000 00000000 ................
01c28030: 00000000 00000000 00000000 00000000 ................
01c28040: 00000000 00000000 00000000 00000000 ................
01c28050: 00000000 00000000 00000000 00000000 ................
01c28060: 00000000 00000000 00000000 00000000 ................
01c28070: 00000000 00000000 00000000 00000000 ................
01c28080: 00000000 00000000 00000000 00000000 ................
01c28090: 00000000 00000000 00000000 00000000 ................
01c280a0: 00000000 00000000 00000000 00000000 ................
01c280b0: 00000000 00000000 00000000 00000000 ................
01c280c0: 00000000 00000000 00000000 00000000 ................
01c280d0: 00000000 00000000 00000000 00000000 ................
01c280e0: 00000000 00000000 00000000 00000000 ................
01c280f0: 00000000 00000000 00000000 00000000 ................
=> md.l 01c28400
01c28400: 0000006d 00000000 000000c1 00000003 m...............
01c28410: 00000003 00000000 000000f0 00000000 ................
01c28420: 00000000 00000000 00000000 00000000 ................
01c28430: 00000000 00000000 00000000 00000000 ................
01c28440: 00000000 00000000 00000000 00000000 ................
01c28450: 00000000 00000000 00000000 00000000 ................
01c28460: 00000000 00000000 00000000 00000000 ................
01c28470: 00000000 00000000 00000000 00000003 ................
01c28480: 00000001 00000000 00000000 00000000 ................
01c28490: 00000000 00000000 00000000 00000000 ................
01c284a0: 00000000 00000000 00000000 00000000 ................
01c284b0: 00000000 00000000 00000000 00000000 ................
01c284c0: 00000000 00000000 00000000 00000000 ................
01c284d0: 00000000 00000000 00000000 00000000 ................
01c284e0: 00000000 00000000 00000000 00000000 ................
01c284f0: 00000000 00000000 00000000 00000000 ................
=> mm.l 01c28400
01c28400: 00000008 ? 40
@01c28404: 00000000 ?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment