locore.S and debugging initial stages of kernel
Tim Kientzle
tim at kientzle.com
Fri Jun 20 02:04:21 UTC 2014
On Jun 19, 2014, at 3:18 PM, Stepan Dyatkovskiy <stpworld at narod.ru> wrote:
> Hi all,
> I would like to check several things in locore.S. But I don't have JTAG debugger, so I have to use printf-like functions. Are there any known ways to do it?
Depending on the particular board you’re using, and what
part of the boot process you’re testing:
* A few lines of assembly can blink an LED
* A few more lines of assembly can bring up a UART
* Allocate a static buffer and write events into it, then dump the buffer after the kernel sets up the console
Tim
More information about the freebsd-arm
mailing list