Skip to content

Instantly share code, notes, and snippets.

@ssvb
Created June 11, 2016 18:42
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 ssvb/84bf3b34d0906fbd43b3261837546f24 to your computer and use it in GitHub Desktop.
Save ssvb/84bf3b34d0906fbd43b3261837546f24 to your computer and use it in GitHub Desktop.
Allwinner A64 BROM, initialization of the boot media identifier
-----------------------------------------------------------------------
49f0: e3a00001 mov r0, #1
49f4: e5cb0028 strb r0, [fp, #40] ; 0x28
-----------------------------------------------------------------------
4e5c: e3a00801 mov r0, #65536 ; 0x10000
4e60: e58d0000 str r0, [sp]
[...]
4f90: e3a00001 mov r0, #1
4f94: e59d1000 ldr r1, [sp]
4f98: e5c10028 strb r0, [r1, #40] ; 0x28
-----------------------------------------------------------------------
52a0: e3a00000 mov r0, #0
52a4: e5c50028 strb r0, [r5, #40] ; 0x28
-----------------------------------------------------------------------
52b4: e3a00002 mov r0, #2
52b8: e5c50028 strb r0, [r5, #40] ; 0x28
52bc: e5d50028 ldrb r0, [r5, #40] ; 0x28
52c0: e1800206 orr r0, r0, r6, lsl #4
52c4: e5c50028 strb r0, [r5, #40] ; 0x28
-----------------------------------------------------------------------
547c: e3a00000 mov r0, #0
5480: e5c50028 strb r0, [r5, #40] ; 0x28
-----------------------------------------------------------------------
5490: e3a00002 mov r0, #2
5494: e5c50028 strb r0, [r5, #40] ; 0x28
-----------------------------------------------------------------------
7850: e3a00003 mov r0, #3
7854: e5c70028 strb r0, [r7, #40] ; 0x28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment