Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Sep 2018 13:47:20 +0530
From:      shreyank amartya <shreyankfbsd@gmail.com>
To:        freebsd-drivers@freebsd.org
Subject:   Device Driver Debugging
Message-ID:  <CAD9jf8CfcGdxt9k2koB8y_rsLGV%2Bzh4WbVSp_=mxBO5C6qsaJw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi,

I have modified a driver source for eMMC controller (added a new device in
the table) and I want to debug an issue (HS400 mode not working) with the
device. I compiled and loaded the sdhci_acpi module, now I'm new to FreeBSD
and device driver development, so I was wondering what are the ways I can
debug this issue, any resources, and utilities that would make it easier to
debug this problem.

I see there is a debug flag (hw.sdhci_acpi.debug), which I enabled using
sysctl, but I'm not sure how to utilize it.

Any help is appreciated :)

Thanks
Shreyank



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAD9jf8CfcGdxt9k2koB8y_rsLGV%2Bzh4WbVSp_=mxBO5C6qsaJw>