Looking for FreeBSD u-boot/kernel debugging help (BeagleBone Black)

Bakul Shah bakul at bitblocks.com
Sat Apr 26 23:34:45 UTC 2014


On Sat, 26 Apr 2014 18:29:35 EDT Winston Smith <smith.winston.101 at gmail.com> wrote:
>                              I also discovered that if I disconnect my
> serial terminal and reconnect it, it seems to bring the FreeBSD kernel
> to a debug prompt of sorts -- is there any documentation on this?

I suspect disconnecting/reconnecting the serial cable looks like
a break to the kernel and that drops it into the debugger "ddb".
[Though I can't seem to send a real break to it using kermit!]

Type c and hit return to continue. 

To disable this behavior I think you can do
	sysctl debug.kbd.break_to_debugger=0
or add
	debug.kbd.break_to_debugger=0
to /etc/sysctl.conf

man 1 ddb -- for debugger commands
man 4 ddb -- for kernel config options to control ddb behavior


More information about the freebsd-arm mailing list