I am trouble shoot a clock driver issue on my customized board, which is ported from imx8mp ddr4 EVK board, but i have trouble to enable it , as by following the set up explained here, url https://www.ti.com.cn/content/dam/videos/external-videos/2/3816841626001/5399373110001.mp4/subassets...
CONFIG_DEBUG_FS=y
CONFIG_DEBUG_FS_ALLOW_ALL=y
# CONFIG_DEBUG_FS_DISALLOW_MOUNT is not set
# CONFIG_DEBUG_FS_ALLOW_NONE is not set
I always don't have the dynamic debug folder under my /sys/kernel folder,
and here is the config , please tell me which is missing ? Thanks
of course, you have to mount "debugfs"
mount -t debugfs none /sys/kernel/debug
and then access that directory
Also, if your driver is not probed, check driver compatible field to be the same you have in devicetree node.
Regards
Angelo Dureghello
Thanks Angelo,
Sorry for the confusion, actually my debug FS has been mounted, i have the folder /sys/kernel/debug
but I don't have the subfolder of "dynamic debug" under the folder /sys/kernel/debug , here is the layout of the debug folder
=================================
ls /sys/kernel/debug/
allocators debug_enabled extfrag mmc1 regulator usb
asoc devfreq fault_around_bytes mmc2 remoteproc v4l2-async
audio_pll_monitor device_component gc opp sleep_time wakeup_sources
bdi devices_deferred gpio phy split_huge_pages
block dma_buf hid pinctrl stmmaceth
bluetooth dma_pools ieee80211 pm_genpd suspend_stats
cec dmaengine iio pwm swiotlb
clk dri memblock regmap ufshcd
Hello,
If you build the kernel the folder may be there.
Regards
Hi,
Yes, the file system I provided is on target board file system here is the screen shot of that /sys/kernel/debug/ folder
still I can not see the "dynamic control? subfolder here
Regards