This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

调试dm368的av_server.out内部的csl驱动,加printk终端也没有打印信息?



大家好:

     近期,调试dm368里的av_server.out程序,想调试“av_capture/framework/csl/kermod/rsz/csl_rszHwControl.c”里的CSL驱动,在里面加printk里,竟然终端控制台,没有输出,控制台的输出级,如下情况如下:

cat /proc/sys/kernel/printk
8 4 1 7

调试的代码段如下:

CSL_Status CSL_rszHwControl(CSL_RszHandle hndl, Uint32 cmd, void *prm)
{
CSL_Status status = CSL_SOK;

static CSL_RszBufInitPrm bufInitPrm;
static CSL_BufInit bufInit;
static CSL_RszBufSwitchEnablePrm bufSwitchEnablePrm;
static CSL_RszBufGetFullPrm bufGetFullPrm;
static CSL_RszBufPutEmptyPrm bufPutEmptyPrm;
static CSL_BufInfo buf;
static CSL_RszBufConfig bufConfig;
static CSL_RszSetFlipPrm flipPrm;
static CSL_RszSetRtPrm runtimePrm;
static CSL_RszRuntimeConfig runtimeCfg;

printk("bob: CSL_rszHwControl.c: CSL_rszHwControl: ->!\n");

switch (cmd) {

case CSL_RSZ_CMD_BUF_INIT:

。。。

非常疑惑,不知道为什么?自己也看了一下CSL里面的驱动代码,几乎看不到有打印调试信息相关的代码?写得好干净,哈哈。