|
Message
From: James Cotton<peabody124@g...>
Date: Fri Feb 22 09:00:48 CET 2008
Subject: [openrisc] debugger doesn't return from stepi
I'm trying to get linux to boot up on my spartan 3e / or1200 system. I can load hello-world through the jtag into SDRAM and receive it just fine. However, when I try and load up my kernel it loads fine, and when I look at the instructions about to be executed they are all correct. However, around when it tries to access the uart (as I said hello world works fine, so I know the address is right and working) gdb never returns after the stepi instruction. Specifically it's a l.sb to that register (when I've caught it). Even more strangely, when I then load hello-world it also locks up in a similar way.
So my question is, what sort of errors will cause the debug interface not to return from a stepi command. Would this be characteristic of something being set wrong with a data/instruction cache? I can simulate the same code (in iverilog and or1ksim) and don't see a problem.
|
 |