IPUv3 Dump Reg

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,063件の閲覧回数
cagrisma
Contributor I

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);

0 件の賞賛
返信
1 解決策
1,840件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

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.


元の投稿で解決策を見る

0 件の賞賛
返信
3 返答(返信)
1,841件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

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.


0 件の賞賛
返信
1,840件の閲覧回数
cagrisma
Contributor I

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.

0 件の賞賛
返信
1,840件の閲覧回数
fabio_estevam
NXP Employee
NXP Employee

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.

0 件の賞賛
返信