AnsweredAssumed Answered

IPUv3 Dump Reg

Question asked by Cagri Cicekdemir on Jan 21, 2013
Latest reply on Feb 6, 2013 by Fabio Estevam
Branched to a new discussion

Hi everybody,

 

i have a sabre-lite board which has imx6q. i am using ipu to play video on tv (via tv encoder)

but something problem on video about colors, vibration etc.

 

So, i decided to dump ipu registers with kernel module programing, shuch as dp or di.

when i write that code, on prink, its hanging

 

#include <asm/io.h>

#include <linux/module.h>

#include <mach/hardware.h>

MODULE_LICENSE("GPL v2");

 

static int __init g_init(void)

{

    volatile u32 *ipu_base = ioremap(MX6Q_IPU1_ARB_BASE_ADDR , 32);

    printk(KERN_ERR "IPU_BASE= %08x\n", *ipu_base);

    iounmap(ipu_base);

    return 0;

}

// #define MX6Q_IPU1_ARB_BASE_ADDR 0x02400000 declerated in  "\arch\arm\plat-mxc\include\mach|mx6.h"

static void __exit g_exit(void)

{

    printk(KERN_ERR "exit from module...\n");

}

 

module_init(g_init);

module_exit(g_exit);

 

Outcomes