“MYZR-IMX6-EK140 Linux-4.1.15 Test Manual”的版本间的差异

来自明远智睿的wiki
跳转至: 导航搜索
(创建页面,内容为“<div> ='''Test Item'''= ------- ===Test description:=== :The login password of the development board is:root.<br> == '''Network port test''' == ===Test method===...”)
 
第1行: 第1行:
<div>
+
 
 +
[^_^]: 
 +
MY-IMX6-EK140 Linux-4.1.15 Test Manual 
 +
 
 +
<br />
 +
 
 +
### Test Environment 
 +
* Development board model:MY-IMX6-EK140-6Y
 +
* Kernel version:Linux-4.1.15 
 +
* File system:L4115-core-image-base-myimx6a7.tar.bz2
 +
 +
### Preparation before test
 +
1)Please connect following the path of 《Linux fast boot manual》->“Linux fast boot” -> “device connection”. 
  
='''Test Item'''=
+
2)Please boot following the path of 《[[MY-IMX6-EK140 Quick Start|Linux fast boot manual]]》->“Linux fast boot” -> “device booting”.     
-------
+
===Test description:===
+
##Test item 
:The login password of the development board is:root.<br>
 
  
== '''Network port test''' ==
+
### Network inferface test  
===Test method===
+
MY-IMX6-EK140 support one 100 Mbps ethernet interfaces. 
1)Connect the network cable, connect the board to the computer network interface with the network cable.<br>
+
####Interface property 
2)Set IP of cable network interface card for computer as 192.168.18.18<br>
+
ENET Interface position:P2 
<br>
+
#####Test method  
[[File:MY-IMX6-ek140 L41115 1.2.1.0 .jpg|520px]]<br>
+
1)Configure computer IP     
3)Set up the evaluation board IP: ifconfig eth0 192.168.18.100<br>
+
Set wired network card IP of computer as 192.168.18.18  
4)Execute test command:ping 192.168.18.18 -c 4 <br>
+
2)ENET connect test   
5)Test reuslt:“0% packet loss” represent passing of test<br>
+
Connect lan line: connect “eth0”on evaluation board with corresponding wired network card interface on computer with lan line.  
The following information will appear after passing the test:<br>
+
*Set evaluation board IP: 
Figures:<br>
+
<pre>
<br>
+
# ifconfig eth0 192.168.18.100
[[File:MY-IMX6-ek140 L41115_1.2.1.1.jpg|642px]]
+
</pre>
 +
*Execute test command:
 +
<pre>
 +
# ping 192.168.18.18 -c 4  
 +
</pre>
  
== '''USB test''' ==
+
*Observe test result:system will output message like following: 
 +
<pre>
 +
PING 192.168.18.18 (192.168.18.18): 56 data bytes
 +
64 bytes from 192.168.18.18: seq=0 ttl=64 time=2.848 ms
 +
64 bytes from 192.168.18.18: seq=1 ttl=64 time=0.496 ms
 +
64 bytes from 192.168.18.18: seq=2 ttl=64 time=0.478 ms
 +
64 bytes from 192.168.18.18: seq=3 ttl=64 time=0.518 ms
  
===Test method===
+
--- 192.168.18.18 ping statistics ---
1)Insert the usb drive into the development board,system will output information like below.<br>
+
4 packets transmitted, 4 packets received, 0% packet loss
[[File:MY-IMX6-ek140 L41115_1.3.1.0.jpg|642px]] <br>
+
round-trip min/avg/max = 0.478/1.085/2.848 ms 
2)Can identify the size of the usb disk, and the test is passed.<br>
+
</pre>
 +
*Test result:“0% packet loss”represent test passing.  
  
== '''SD card test''' ==
+
###USB Test 
 +
#### Interface attributes 
 +
Interface location: P3
 +
##### Test Method
 +
1)Start test
 +
Insert USB device into USB port on base board,system will output message like following: 
 +
<pre>
 +
usb 1-1: new high-speed USB device number 2 using ci_hdrc
 +
usb-storage 1-1:1.0: USB Mass Storage device detected
 +
scsi host0: usb-storage 1-1:1.0
 +
scsi 0:0:0:0: Direct-Access    SMI      USB DISK        1100 PQ: 0 ANSI: 0 CCS
 +
sd 0:0:0:0: Attached scsi generic sg0 type 0
 +
sd 0:0:0:0: [sda] 15730688 512-byte logical blocks: (8.05 GB/7.50 GiB)
 +
sd 0:0:0:0: [sda] Write Protect is off
 +
sd 0:0:0:0: [sda] No Caching mode page found
 +
sd 0:0:0:0: [sda] Assuming drive cache: write through
 +
sda:
 +
sd 0:0:0:0: [sda] Attached SCSI removable disk
 +
</pre>
 +
2)Test over
 +
Take out USB device from base board,system will output message like following:
 +
<pre>
 +
usb 1-1: USB disconnect, device number 2 
 +
</pre>   
 +
*Test results: as above "(8.05 GB/7.50 GiB)" can identify the size of U disk, indicating that the test passed.   
  
===Test method===
+
### TF Card Test  
1)Power off, insert SD card and power up<br>
+
#### Interface properties 
2)After entering the system, query with the command: dmesg | grep mmc0, and the following output will be: <br>
+
Interface location: P5 
[[File:MY-IMX6-140_L41115_1.4.1.0.jpg|840px]]
+
Interface type :MicroSD     
 +
##### Test Method
 +
1)Start test 
 +
When the power is off, insert the TF card into the interface of the TF card on the back of the baseplate before starting the system
 +
Enter the following command:  
 +
<pre>
 +
# dmesg | grep mmc0
 +
</pre>
 +
The system output is similar to the following information, which means the TF interface is normal:
 +
<pre>
 +
mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
 +
mmc0: host does not support reading read-only switch, assuming write-enable
 +
mmc0: new high speed SDHC card at address 1234
 +
mmcblk0: mmc0:1234 SA32G 28.9 GiB 
 +
</pre>
 +
 
 +
2)View the system's TF card equipment
 +
Enter the following command:
 +
<pre>
 +
# ls /dev/mmcblk0* 
 +
</pre>
 +
The system will output the following information:
 +
<pre>
 +
/dev/mmcblk0    /dev/mmcblk0p1
 +
</pre>
 +
 
 +
### RGB Screen Test
 +
Test instructions;Show that the connection of module can not be connected with wrong, avoid burning board;
 +
* Refer to the attached picture in the screen module connection in 《[[MY-IMX6-EK140 Quick Start|Linux fast boot manual]]》 for the specific connection
 +
* After starting up the development board and entering the system, the following lines of text are displayed on the screen:
 +
<pre>
 +
Freescale i.MX Release Distro 4.1.15-2.1.0 myimxlek140/dev/tty1
 +
imx6ek140 login:
 +
</pre>
 +
The above display on the screen indicates that the screen is normal.  
  
== '''RGB screen test''' ==
+
<br />
===Test instruction===
 
1)After the development board is booted into the system, there are several lines of text on the screen, as shown in the figure:<br>
 
[[File:MY-IMX6-ek140 L41115_1.5.1.0.jpg|642px]]<br>
 
2)If the above display appears, the screen is normal<br>
 
  
== '''Serial port test''' ==
+
-------------------------------------------------------------------------------- 
===Test instruction===<br>
+
<pre>
1)There are a total of 8 serial ports for the assessment board, where UART1 is used as a debugging serial port, UART 6, UART 7, and uart8 are used as LCDs, so there are 4 serial ports for testing.<br>
+
-------------------------------------------------------------------------------- 
2)The operating file corresponding to UART1 is / dev / ttymx0, uart2 corresponds to / dev / ttymxc1, and so on.<br>
+
* Looking forward to communicating with you for more functions and field applications.
3)Take uart2 as an example, which is tested by spontaneous self-collection.<br>
+
* ZhuHai MYZR Technology CO.,LTD.
 
+
* Latest Update: 2018/10/08   
===Test method ===
+
--------------------------------------------------------------------------------
1)Short uart2_rxd and uart2_txd to see how it works, corresponding to the 11 and 12 legs of P7 respectively, short them.<br>
+
</pre>
2)Execute test command:/home/root/my-demo/linux-4.1.15/uart_test.out /dev/ttymxc1<br>
 
3)Test results are shown below to indicate that the test passed<br>
 
[[File:MY-IMX6-ek140-L41115_1.6.1.0.jpg|840px]]<br>
 
4)Other serial port tests are the same as the uart2 method.<br>
 
 
 
== '''SPI Test''' ==
 
===Test instruction===
 
1)There are 2 SPI channels in the evaluation board, and the corresponding device file of SPI1 is /dev/spidev0.0.The file for SPI2 is /dev/spidev1.0.<br>
 
2)Taking SPI1 as an example <br>
 
 
 
===Test method===
 
1)Shorten the 24 and 26 feet of P8.<br>
 
2)Execute test command:/home/root/my-demo/linux-4.1.15/spidev_test.out -D /dev/spidev0.0<br>
 
3)Test results are shown below to indicate that the test passed<br>
 
[[File:MY-IMX6-ek140-L41115_1.7.2.0.jpg|520px]]<br>
 
Note: The SPI2 test method is the same as SPI1(ie, the same above).<br>
 
 
 
== '''CAN Test''' ==
 
===Test instruction===
 
There are two ways of CAN in the evaluation board, because the test of CAN requires the welding of CAN's transceiver chip. This assessment board does not have the welding of CAN's transceiver chip. If testing is needed, please refer to the test manual of MY-IMX6-EK140P.<br>
 
 
 
== '''Standard GPIO test''' ==
 
===Test instruction:===
 
1)Interface property <br>
 
{| class="wikitable"
 
|Evaluation board model
 
|CPU interface
 
|System device
 
|Signal name
 
|Interface position
 
|-
 
|rowspan=2|MY-IMX6-EK140
 
|SNVS_TAMPER2
 
|gpio130
 
|SNVS_TAMPER2
 
|P8:32
 
|-
 
|SNVS_TAMPER3
 
|gpio131
 
|SNVS_TAMPER3
 
|P8:34
 
|}
 
2)GPIO serial number calculation method. For example, SN VS_TAMPER 2, look at the arch/arm/boot / dts/imx6ul-pinfunc. H file and you can see that it belongs to the second IO of GPIO Group 5, IO serial number =(GPIO Group -1) * 32 + IO. So SN VS _ TAMPER 2 =(5-1) * 32 +2 = 130.<br>
 
 
 
===Test method===
 
1)Set the IO number of the GPIO to test:OUT_IO_NUMBER=130<br>
 
2)Lead out GPIO:echo ${OUT_IO_NUMBER} > /sys/class/gpio/export<br>
 
3)Set the GPIO direction:echo out > /sys/class/gpio/gpio130/direction。<br>
 
4)Control output electrical level:echo 0 > /sys/class/gpio/gpio130/value<br>
 
:After executing the command, the 32 pin of P8 can be measured with multimeter as low level.<br>
 
:After executing the command, the 32 pin of P8 can be measured with multimeter as high level.<br>
 
:Other GPIO testing methods are similar to the above example.<br>
 
 
 
</div>
 

2018年10月26日 (五) 10:05的版本


Test Environment

  • Development board model:MY-IMX6-EK140-6Y
  • Kernel version:Linux-4.1.15
  • File system:L4115-core-image-base-myimx6a7.tar.bz2

Preparation before test

1)Please connect following the path of 《Linux fast boot manual》->“Linux fast boot” -> “device connection”.

2)Please boot following the path of 《Linux fast boot manual》->“Linux fast boot” -> “device booting”.

Test item

Network inferface test

MY-IMX6-EK140 support one 100 Mbps ethernet interfaces.

Interface property

ENET Interface position:P2

Test method

1)Configure computer IP
Set wired network card IP of computer as 192.168.18.18
2)ENET connect test
Connect lan line: connect “eth0”on evaluation board with corresponding wired network card interface on computer with lan line.

  • Set evaluation board IP:
# ifconfig eth0 192.168.18.100
  • Execute test command:
# ping 192.168.18.18 -c 4 
  • Observe test result:system will output message like following:
PING 192.168.18.18 (192.168.18.18): 56 data bytes
64 bytes from 192.168.18.18: seq=0 ttl=64 time=2.848 ms
64 bytes from 192.168.18.18: seq=1 ttl=64 time=0.496 ms
64 bytes from 192.168.18.18: seq=2 ttl=64 time=0.478 ms
64 bytes from 192.168.18.18: seq=3 ttl=64 time=0.518 ms

--- 192.168.18.18 ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 0.478/1.085/2.848 ms   
  • Test result:“0% packet loss”represent test passing.

USB Test

Interface attributes

Interface location: P3

Test Method

1)Start test
Insert USB device into USB port on base board,system will output message like following:

usb 1-1: new high-speed USB device number 2 using ci_hdrc
usb-storage 1-1:1.0: USB Mass Storage device detected
scsi host0: usb-storage 1-1:1.0
scsi 0:0:0:0: Direct-Access     SMI      USB DISK         1100 PQ: 0 ANSI: 0 CCS
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] 15730688 512-byte logical blocks: (8.05 GB/7.50 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] No Caching mode page found
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda:
sd 0:0:0:0: [sda] Attached SCSI removable disk 

2)Test over Take out USB device from base board,system will output message like following:

usb 1-1: USB disconnect, device number 2  
  • Test results: as above "(8.05 GB/7.50 GiB)" can identify the size of U disk, indicating that the test passed.

TF Card Test

Interface properties

Interface location: P5
Interface type :MicroSD

Test Method

1)Start test
When the power is off, insert the TF card into the interface of the TF card on the back of the baseplate before starting the system Enter the following command:

# dmesg | grep mmc0  

The system output is similar to the following information, which means the TF interface is normal:

mmc0: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
mmc0: host does not support reading read-only switch, assuming write-enable
mmc0: new high speed SDHC card at address 1234
mmcblk0: mmc0:1234 SA32G 28.9 GiB  

2)View the system's TF card equipment Enter the following command:

# ls /dev/mmcblk0*   

The system will output the following information:

/dev/mmcblk0    /dev/mmcblk0p1 

RGB Screen Test

Test instructions;Show that the connection of module can not be connected with wrong, avoid burning board;

  • Refer to the attached picture in the screen module connection in 《Linux fast boot manual》 for the specific connection
  • After starting up the development board and entering the system, the following lines of text are displayed on the screen:
Freescale i.MX Release Distro 4.1.15-2.1.0 myimxlek140/dev/tty1
imx6ek140 login:

The above display on the screen indicates that the screen is normal.



--------------------------------------------------------------------------------  
* Looking forward to communicating with you for more functions and field applications.  
* ZhuHai MYZR Technology CO.,LTD.  
* Latest Update: 2018/10/08    
--------------------------------------------------------------------------------