memtool in /unit_tests not work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

memtool in /unit_tests not work

ソリューションへジャンプ
2,054件の閲覧回数
wallyyeh
Contributor V

hi,all:

    I use i.MX6Q sabresd board, and  trying to get HDMI eye pattern passed, so want to setting registers like this post:

https://community.freescale.com/message/314601#314601

    I want to use /unit_tests/memtool to setting registers in doucument "i.MX 6 Series HDMI Test Method for Eye Pattern and Electrical Characteristics"

(download form http://www.google.com.tw/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&ved=0CDkQFjAA&url=http%3A%2F%2Fcac...)

   but whatever I write into register 22 and 23, register 24, 25 always be 0x00 0x00 when I read. Is there any one have succeed writing registers by memtool?

ラベル(2)
タグ(2)
1 解決策
978件の閲覧回数
Yuri
NXP Employee
NXP Employee

Accesses to HDMI_PHY registers are povided through I2C registers

of the HDMI module. Please look at "hdmi_tx_phy.c" of the SDK for more details

how it should be done (C-functions hdmi_phy_i2c_write, hdmi_phy_i2c_read,

hdmi_phy_i2c_write_verify).

< https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null >

< http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeId=018rH3ZrDRB24A&fpsp=1&t... >

元の投稿で解決策を見る

2 返答(返信)
979件の閲覧回数
Yuri
NXP Employee
NXP Employee

Accesses to HDMI_PHY registers are povided through I2C registers

of the HDMI module. Please look at "hdmi_tx_phy.c" of the SDK for more details

how it should be done (C-functions hdmi_phy_i2c_write, hdmi_phy_i2c_read,

hdmi_phy_i2c_write_verify).

< https://www.freescale.com/webapp/Download?colCode=i.MX6_PLATFORM_SDK&location=null >

< http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=i.MX6Q&nodeId=018rH3ZrDRB24A&fpsp=1&t... >

978件の閲覧回数
wallyyeh
Contributor V

Thankyou! I will try this and post the result later.

this function also use in HDMI driver which location is kernel/driver/video/mxc_hdmi.c

Now I just open sysfs node to modified these registers in user space program.

0 件の賞賛