Date: Thu, 19 Jun 2014 18:56:57 -0700 From: Tim Kientzle <tim@kientzle.com> To: Stepan Dyatkovskiy <stpworld@narod.ru> Cc: freebsd-arm@freebsd.org Subject: Re: locore.S and debugging initial stages of kernel Message-ID: <1F054368-CAD3-4811-B03C-78C0B45D3C64@kientzle.com> In-Reply-To: <53A3619C.3020505@narod.ru> References: <53A3619C.3020505@narod.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 19, 2014, at 3:18 PM, Stepan Dyatkovskiy <stpworld@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=92re using, and what part of the boot process you=92re 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F054368-CAD3-4811-B03C-78C0B45D3C64>