MY-IMX6 Linux-3.14.52 Module Support(TW6865)
来自明远智睿的wiki
Support for MY-MODULES-PCIE-TW6865 was added in Linux-3.14.52 released by MYZR.
- Development board supported:MY-IMX6-EK200,MY-IMX6-EK314,MY-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 .
- Update image-linux-31452/zImage-myimx6 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.
- Refer to 《MY-IMX6 MfgTool burning manual》 to re-program system.
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.
- Correctly connect PCIE connector in back of development board and MY-MODULES-PCIE-TW6865 wiht FFC which is accessory of 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
- EXEC_FILE=myimx6_tw68.out
- /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 2 -ot 0 -ol 0 -ow 512 -oh 300 -m 2 &
- /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 3 -ot 0 -ol 512 -ow 512 -oh 300 -m 2 &
- /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 4 -ot 300 -ol 0 -ow 512 -oh 300 -m 2 &
- /home/root/my-demo/linux-3.14.52/${EXEC_FILE} -x 5 -ot 300 -ol 512 -ow 512 -oh 300 -m 2 &
- EXEC_FILE=myimx6_tw68.out
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.