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);
Solved! Go to Solution.
Maybe you could share exactly what you are trying to achieve.
There are lots of debug printk's throught the IPU driver that you can use for reference.
Maybe you could share exactly what you are trying to achieve.
There are lots of debug printk's throught the IPU driver that you can use for reference.
On tv that we connect via tv encoder, the video's color confused.
So, i just wanna see the IPU Registers to see how its configured. To understand its configure RGB or YUV, or anything else.
Are you using the HDMI output of mx6qsabrelite? Please look carefully at the BSP Release Notes where you can find the correct kernel command line.