bpi-r64:kernel
Kernel
kernel (en)
debug
dev_info(gsw->dev,"%s:%d 0x%x",__FUNCTION__,__LINE__,val); printk(KERN_ALERT "DEBUG: Passed %s %d \n",__FUNCTION__,__LINE__);
#define onelinedbg(dev,fmt,...) {if (dev) dev_info(dev,"%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);else printk(KERN_INFO "%s:%d " fmt,__FUNCTION__,__LINE__,##__VA_ARGS__);}
makefile:
$(info $$var is [${var}])
bpi-r64/kernel.txt · Zuletzt geändert: 2023/06/08 17:06 von 127.0.0.1