
IAC-IMX6-Kit Linux Function and Test Manual
Any question, please send E-mail
Page 26 of 66
Sales E-mail
Website
:http://www.qiytech.com
©2014 Qiyangtech
Copyright
(3)Whether serial port’s hardware and testing program node are
corresponded or not.
(4)Whether the node of [ttymxc1,ttymxc2,ttymxc3,ttymxc4] in [/dev]
directory is existed or not.
(5)Whether the kernel configuration options are selected or not.
2.6. SPI Test
Test Principle:
There is 1-ch SPI on IAC-I.MX6-KIT mainboard, connect to nor flash
N25Q032 chipset and ADS7846 chipset which can be exchanged to AD
signal to connect 4-wire resistive touch panel. Here, we will test the nor
flash, system splits norflash into 2 partitions. (Character device: mtd0
、
mtd1, block device: mtdblock0
、
mtdblock1), size is 1MB and 3MB. It
achieves write date and read date operations through mounting method.
Test Process & Result:
1.
Mount partition 0 block device
mount -t jffs2 /dev/mtdblock0 /mnt
2.
Write date
echo "test0" > /mnt/temp.txt
3.
Read date