MY-IMX6 Linux-3.14.52 Module Support(TW6865)

来自明远智睿的wiki
Admin讨论 | 贡献2018年7月24日 (二) 11:26的版本 (创建页面,内容为“<div>   <b>Support for MY-MODULES-PCIE-TW6865 was added in Linux-3.14.52 released by MYZR.</b><br> :Development board supported:<b>MY-IMX6-EK200</b>,<b>MY-IMX...”)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

  Support for MY-MODULES-PCIE-TW6865 was added in Linux-3.14.52 released by MYZR.

Development board supported:MY-IMX6-EK200MY-IMX6-EK314MY-IMX6-EK336.
TW6865 module can be tested by image file released by MYZR,refer to section of“module test”in this charpter.

  

In addition,if you need to compile kernel image file by yourself please refer to section of “kernel compilation”in this charpter.

 

Module test


Update image file in programming tool

  • Update image-linux-31452/zImage-myimx6 to the ones released after 2016-11-03.
  • Update image-linux-31452/my-demo.tar.bz2 to the ones released after 2016-11-03 .

Re-program system

  • Refer to 《MY-IMX6 MfgTool burning manual》 to re-program system.
  • Tips:Suggest programming distro-fsl-image.tar.bz2 file system.
Power off after the system programming.


Connect development board and module

  • Correctly connect PCIE connector in back of development board and MY-MODULES-PCIE-TW6865 wiht FFC which is accessory of module.
  • Tips:when insert FFC to the connector,blue side of FFC should be in contact with the black bolt face of connector .
  • Tips:if connect correctly,the metal contacts of FFC won't come out of the connector.if not be sure whether the connection is correct or not,please don't power on,ask your hardware engineers or our technical supporter for help.
  • Then connect camera with module.

Module test procedures

Power up and boot

After correct connection of development board and module,power up camera and development board.wait untill system booting is over.

Load driving module

  # insmod /home/root/my-demo/linux-3.14.52/myimx6-tw68.ko

Run test program

  1. EXEC_FILE=myimx6_tw68.out
  2. /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 2 -ot 0 -ol 0 -ow 512 -oh 300 -m 2 &
  3. /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 3 -ot 0 -ol 512 -ow 512 -oh 300 -m 2 &
  4. /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 4 -ot 300 -ol 0 -ow 512 -oh 300 -m 2 &
  5. /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 5 -ot 300 -ol 512 -ow 512 -oh 300 -m 2 &


Test result instruction

After running test commands,picture frame in grid shape will be shown on displayed screen,each picture frame display images collected by corresponding camera.

Kernel compilation


Prepare source code

  In network disk download the new kernel source code package of which can be linux-3.14.52-svn88.tar.xz or svn88 above.

Kernel compilation procedure

Refer to 《MY-IMX6 Linux-3.14.52 compilation manual》

Other instructions


  MY-MODULES-PCIE-TW6865 as expansion module of development board,a compifed driving module file and executable file will be offered,source code for module and program is not included in the offer, please consult with our technical supporter if there is a request for these orignal documents.