Hummingboard SATA

Russell Haley russ.haley at
Thu Nov 12 05:22:16 UTC 2015

Hello again,

I have started looking at SATA support in FreeBSD by first reading the man
pages and then examining the code. The Joseph Kong book is helping
considerably to understand the structures.

I see that there are three drivers in play: ahci, ada and ata. Man
indicates that ahci takes precedence in driver selection. *Is that the
driver for Arm and the Hummingboard?*

What I can't seem to find is any direction on getting a debugger hooked up
to driver code. Do I use gdb somehow, or do I use the kernel debugger? I'm
going back over the Developers handbook again.

I also don't understand how to boot with the -d option. When is this
entered? I have used the sysctl to enter the debugger and poked around
but it doesn't mean much yet.

sysctl debug.kdb.enter=1



More information about the freebsd-arm mailing list