Created
November 14, 2016 22:45
-
-
Save stffrdhrn/cb03accf0ad3f3ba198fb670b2cf5c74 to your computer and use it in GitHub Desktop.
Openrisc openADK debug
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running openADK | |
http://debug.openadk.org/or1k/ | |
[ ] or1k-sim-initramfspiggyback-kernel 2016-11-14 19:58 4.9M | |
[ ] or1ksim.cfg 2016-11-14 19:58 19K | |
## System Booting | |
[ 21.012000] NET: Registered protocol family 17 | |
[ 21.748000] devtmpfs: mounted | |
[ 21.764000] Freeing unused kernel memory: 1752K (c0296000 - c044c000) | |
System initialization ... | |
## This is what I see in sim tracer | |
S c0007a74: 86920118 l.lwz r20,0x118(r18) r20 = c1527140 flag: 0 | |
S c0007a78: e060a002 l.sub r3,r0,r20 r3 = 3ead8ec0 flag: 0 | |
S c0007a7c: e0741804 l.or r3,r20,r3 r3 = ffffffc0 flag: 0 | |
S c0007a80: bd630000 l.sfgesir3,0x0 flag: 0 | |
S c0007a84: 10000098 l.bf 0x98 flag: 0 | |
S c0007a88: 9ca22000 l.addi r5,r2,0x2000 r5 = 000a2b84 flag: 0 | |
S c0007a8c: 9f940034 l.addi r28,r20,0x34 r28 = c1527174 flag: 0 | |
S c0007a90: d4012808 l.sw 0x8(r1),r5 [c14b7e40] = 000a2b84 flag: 0 | |
S c0007a94: aad60002 l.ori r22,r22,0x2 r22 = 00030002 flag: 0 | |
S c0007a98: 0407f9a7 l.jal 0x7f9a7 flag: 0 < This jump goes to... | |
S c0007a9c: a87c0000 l.ori r3,r28,0 r3 = c1527174 flag: 0 | |
S c0206134: 00000000 l.j 0x0 flag: 0 < Here where we have 0x00 ixn | |
S 00000a00: 000005d8 l.j 0x5d8 flag: 0 < This triggers 0xa00 Ixn TLB miss | |
S 00000a04: 15000000 l.nop 0 flag: 0 that seems like there is missing | |
S 00002160: d4001064 l.sw 0x64(r0),r2 [00000064] = 000a0b84 flag: 0 code at c0206134 | |
S 00002164: d4001868 l.sw 0x68(r0),r3 [00000068] = c1527174 flag: 0 | |
S 00002168: d400206c l.sw 0x6c(r0),r4 [0000006c] = 001fff00 flag: 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment