Hi,
I have an am-1808 (evm zoom kit). and i am developing a driver for am-1808. I need to view the log messages of the kernel source,
My code calls a method davinci_cfg_reg(const unsigned long index) defined in linux/arch/arm/plat-omap/mux.c, now in the end of this method there are few messages
if (warn) {
#ifdef CONFIG_DAVINCI_MUX_WARNINGS
printk(KERN_WARNING "MUX: initialized %s\n", cfg->name);
#endif
}
#ifdef CONFIG_DAVINCI_MUX_DEBUG
if (cfg->debug || warn) {
printk(KERN_WARNING "MUX: Setting register %s\n", cfg->name);
printk(KERN_WARNING " %s (0x%08x) = 0x%08x -> 0x%08x\n",
cfg->mux_reg_name, cfg->mux_reg, reg_orig, reg);
}
#endif
i want to view the values of cfg->mux_reg_name and other parameters, how can i do that ?
do i need to enable CONFIG_DAVINCI_MUX_DEBUG=y, CONFIG_DAVINCI_MUX_WARNINGS=y in the .config file ?
and if i do so, would need to replace the kernel of my board ?
and is there any other way i can see these log messages without changing the kernel ?
And these messages will be viewable by "dmesg" command ?
Thanks in advance
regards
usama