memtool in /unit_tests not work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

memtool in /unit_tests not work

Jump to solution
2,039 Views
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?

Labels (2)
Tags (2)
1 Solution
963 Views
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... >

View solution in original post

2 Replies
964 Views
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... >

963 Views
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 Kudos