Difference between revisions of "ROM-5722 user guide"

From ESS-WIKI
Jump to: navigation, search
(ROM-5722 接口布局圖 Board Dimension Layout )
 
(47 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== '''資源特性(Features)''' ==
 
  
*NXP Arm® Cortex®-A53 i.MX8M Plus Quad/Dual up to 1.8 GHz
+
 
*1 x Arm Cortex-M7 core
 
*Onboard LPDDR4 6 GB, 4000MT/s memory
 
*1 x 4 lane MIPI-CSI,1 x Dual channel LVDS or 1 x Display Port
 
*4 x USB2.0, 1 x USB 2.0 OTG, 4 x UART, 5 x I2C, 14 x GPIO, 1 x PCIe3.0, 2 x Gigabit LAN, 2 x CAN-FD
 
*Neural network accelerator up to 2.3 TOPS
 
*Supports Ycoto Linux and Android
 
  
== '''訂購資訊(Ordering Information)''' ==
+
= 產品介紹 =
  
[[File:ROM-5722 ordinfo 2021-10-20 155632.jpg|RTENOTITLE]]
+
== '''產品特性(Features)''' ==
 +
 
 +
*NXP Arm® Cortex®-A53 i.MX8M Plus Quad/Dual up to 1.8 GHz
 +
*1 x Arm Cortex-M7 core
 +
*Onboard LPDDR4 6 GB, 4000MT/s memory
 +
*1 x 4 lane MIPI-CSI,1 x Dual channel LVDS or 1 x Display Port
 +
*4 x USB2.0, 1 x USB 2.0 OTG, 4 x UART, 5 x I2C, 14 x GPIO, 1 x PCIe3.0, 2 x Gigabit LAN, 2 x CAN-FD
 +
*Neural network accelerator up to 2.3 TOPS
 +
*Supports Ycoto Linux and Android
 +
 
 +
== '''產品官網連結(Product information Link)''' ==
 +
 
 +
[https://www.advantech.com/zh-tw/products/77b59009-31a9-4751-bee1-45827a844421/rom-5722/mod_11aa0c77-868e-4014-8151-ac7a7a1c5c1b '''ROM-5722''']
 +
 
 +
= '''接口布局和尺寸(Layout and Sizes)''' =
  
== '''接口布局和尺寸(Layout and Sizes)''' ==
 
  
 
=== '''ROM-5722 接口布局圖 Board Dimension Layout ''' ===
 
=== '''ROM-5722 接口布局圖 Board Dimension Layout ''' ===
Line 19: Line 25:
 
[[File:ROM-5722 module 2021-10-20 155940.jpg|RTENOTITLE]]
 
[[File:ROM-5722 module 2021-10-20 155940.jpg|RTENOTITLE]]
  
 +
[[File:ROM-5722 SW1.png]]
  
 +
=== '''SOM-DB2510 接口布局圖 Board Dimension Layout''' ===
  
=== '''ROM-DB5901 接口布局圖 Board Dimension Layout''' ===
+
[[File:SOM-DB2510.PNG|RTENOTITLE]]
 
 
[[File:DB-ROM-5901 5620 carrierboard.jpg|RTENOTITLE]]
 
 
 
[[File:ROM-DB5901 IO.jpg|RTENOTITLE]]
 
  
 +
 
  
 +
[[File:SOM-DB2510 IO.PNG|RTENOTITLE]]
  
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
Line 33: Line 39:
 
=== '''Internal I/O''' ===
 
=== '''Internal I/O''' ===
  
[[File:ROM-DB5901 IO2.jpg|RTENOTITLE]]
+
[[File:SOM-DB2510 connect1.PNG|RTENOTITLE]]
 +
 
 +
[[File:SOM-DB2510 connect2.PNG|RTENOTITLE]]
  
{| border="1" cellspacing="1" cellpadding="1"
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 763px;"
 +
|-
 +
| '''Label'''
 +
| style="width: 296.422px;" | '''Function'''
 +
| style="width: 64px;" | '''Label'''
 +
| style="width: 301px;" | '''Function'''
 +
|-
 +
| ATX1
 +
| style="width: 296.422px;" | ATX Connector
 +
| style="width: 64px;" | FAN1
 +
| style="width: 301px;" | Smart Fan Connector
 +
|-
 +
| SMARC_IN1
 +
| style="width: 296.422px;" | Wide Range Input Power Connector (3V~5.25V)
 +
| style="width: 64px;" | FAN2
 +
| style="width: 301px;" | System Fan Connector
 
|-
 
|-
| '''Position'''
+
| DCIN1
| '''Description'''
+
| style="width: 296.422px;" | DCIN connector
| '''Connector Type'''
+
| style="width: 64px;" | CAN0_1
 +
| style="width: 301px;" | CAN Bus Connector
 
|-
 
|-
| BAT1
+
| DP0_HDMI
| PIN Header for Battery<br/>
+
| style="width: 296.422px;" | DP & HDMI Connector
| WAFER 8P 2.54mm 180D(M) DIP<br/>A2543WV2-8P<br/>
+
| style="width: 64px;" | USB0
 +
| style="width: 301px;" | USB OTG Connector
 
|-
 
|-
| BH1
+
| USB12
| RTC Battery Holder<br/>
+
| style="width: 296.422px;" | USB 2.0 port1~2 & USB 3.0 port0 Connector
| BATTERY HOLDER 24.9*23.4*8.9<br/>CR2032 BH800.4GG<br/>
+
| style="width: 64px;" | COM1_3
 +
| style="width: 301px;" | COM Port Port1,3 Connector
 
|-
 
|-
| CAN1
+
| TYPEC_DP1
| CANBus Port 1<br/>
+
| style="width: 296.422px;" | Type-C Connector
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
| style="width: 64px;" | COM2_4
 +
| style="width: 301px;" | COM Port Port2,4 Connector
 
|-
 
|-
| CAN2
+
| LAN0_LAN1
| CANBus Port 2<br/>
+
| style="width: 296.422px;" | LAN0 & LAN1 Connector
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
| style="width: 64px;" | CN8
 +
| style="width: 301px;" | I2C connector for I2C_PM
 
|-
 
|-
| COM1
+
| LOUT1
| COM Port 1<br/>
+
| style="width: 296.422px;" | Line Out Connector
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
| style="width: 64px;" | CN7
 +
| style="width: 301px;" | I2C Connector for I2C_GP
 
|-
 
|-
| COM3
+
| MIC1
| COM Port 3 (Debug Port)<br/>
+
| style="width: 296.422px;" | MIC1&nbsp;Connector
| BOX HEADER 5x2P 2.54mm 180D(M)<br/>DIP 23N6960-10S10<br/>
+
| style="width: 64px;" | CN10
 +
| style="width: 301px;" | eSPI Pin Header
 
|-
 
|-
| CN4
+
| CN1_MXM1
| PCIex1 Connector 1<br/>
+
| style="width: 296.422px;" | SMARC Connector
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 64px;" | SATAP1
 +
| style="width: 301px;" | SATA Power Connector
 
|-
 
|-
| CN5
+
| PCIEA-X4
| PCIex1 Connector 2<br/>
+
| style="width: 296.422px;" | PCIe x4 Connector
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 64px;" | CSI0_B2B
 +
| style="width: 301px;" | MIPI B2B Connector for 2M Camera
 
|-
 
|-
| CN6
+
| SATA1
| PCIex1 Connector 3<br/>
+
| style="width: 296.422px;" | SATA Port0 Connector
| PCIEXPRESS 36P 180D(F) DIP<br/>2EG01817-D2D-DF<br/>
+
| style="width: 64px;" | CSI1_B2B
 +
| style="width: 301px;" | MIPI B2B Connector for 8M & 13M Camera
 
|-
 
|-
| CN11
+
| PCIED-X1
| SATA Connector<br/>
+
| style="width: 296.422px;" | PCIe x1 Connector
| Serial ATA 7P 1.27mm 180D(M) DIP<br/>WATM-07DBN4A3B8<br/>
+
| style="width: 64px;" | SPI_BIOS1
 +
| style="width: 301px;" | Carrier Board BIOS Socket (SOIC)
 +
|-
 +
| M2
 +
| style="width: 296.422px;" | M.2 Key-E Connector
 +
| style="width: 64px;" | BAT1
 +
| style="width: 301px;" | Coin battery holder
 +
|-
 +
| MPCIE_C
 +
| style="width: 296.422px;" | Mini PCIe Connector
 +
| style="width: 64px;" | BAT2
 +
| style="width: 301px;" | Smart battery Connector
 +
|-
 +
| SIM
 +
| style="width: 296.422px;" | SIM card Connector
 +
| style="width: 64px;" | LINEOUT_1
 +
| style="width: 301px;" | I2S Headphone Connector
 +
|-
 +
| LVDS1
 +
| style="width: 296.422px;" | LVDS1 Connector
 +
| style="width: 64px;" | MIC_1
 +
| style="width: 301px;" | I2S MIC In Connector
 +
|-
 +
| LVDS0
 +
| style="width: 296.422px;" | LVDS0 Connector
 +
| style="width: 64px;" | CSI1_FPC
 +
| style="width: 301px;" | MIPI FPC Connector for 8M & 13M Camera
 +
|-
 +
| LVDS1_INVERTER
 +
| style="width: 296.422px;" | LVDS1 Invertor Connector
 +
| style="width: 64px;" | CSI0_FPC
 +
| style="width: 301px;" | MIPI FPC Connector for 2M Camera
 +
|-
 +
| LVDS0_INVERTER
 +
| style="width: 296.422px;" | LVDS0 Invertor Connector
 +
| style="width: 64px;" | CN5
 +
| style="width: 301px;" | I2S2 Connector
 +
|-
 +
| SPI_BIOS2
 +
| style="width: 296.422px;" | Carrier Board BIOS Socket (QFN)
 +
| style="width: 64px;" | CN17
 +
| style="width: 301px;" | I2S0 Connector
 +
|-
 +
| SD
 +
| style="width: 296.422px;" | SD Card Connector
 +
| style="width: 64px;" | &nbsp;
 +
| style="width: 301px;" | &nbsp;
 +
|}
 +
 
 +
&nbsp;
 +
 
 +
=== '''Rear I/O&nbsp;''' ===
 +
 
 +
[[File:SOM-DB2510 IO.PNG|RTENOTITLE]]
 +
 
 +
=== '''Jumper 位置( Jumper Locations)&nbsp;''' ===
 +
 
 +
[[File:DB-2510 JumperLocations1.PNG|RTENOTITLE]]
 +
 
 +
[[File:DB-2510 JumperLocations2.PNG|RTENOTITLE]]
 +
 
 +
{| border="1" cellpadding="1" cellspacing="1" style="width: 850px;"
 
|-
 
|-
| CN12
+
| Lable
| SATA Power Connector<br/>
+
| style="width: 330px;" | Function
| WAFER 4P 2.5mm 180D(M) DIP<br/>24W1161-04S10-01T<br/>
+
| style="width: 53px;" | Lable
 +
| style="width: 305px;" | Function
 
|-
 
|-
| CN22
+
| BTN3
| GPIOx8 sets<br/>
+
| style="width: 330px;" | Sleep Button
| PIN HEADER 10x2P 2.0mm 180D(M)<br/>DIP 21N22050<br/>
+
| style="width: 53px;" | J14
 +
| style="width: 305px;" | EDP1/LVDS1 Hot-Plug Detect Selection Header
 
|-
 
|-
| CN25
+
| BTN1
| MXM 3.0 Connector<br/>
+
| style="width: 330px;" | Power Button
| MXM Conn. 314P 90D(F) SMD<br/>AS0B821-S78B-7H<br/>
+
| style="width: 53px;" | J56
 +
| style="width: 305px;" | Standby Voltage Control Header
 
|-
 
|-
| CN26
+
| BTN2
| M.2 Key E Slots<br/>
+
| style="width: 330px;" | Reset Button
| NGFF 75P 0.5mm 90D(F) H=4.2mm<br/>SMD AS0BC21-S40BE<br/>
+
| style="width: 53px;" | J44
 +
| style="width: 305px;" | Module +3.3V/+5V Power Selection Header
 
|-
 
|-
| CN38
+
| SW4
| FAN (Reserved)
+
| style="width: 330px;" | BOOT SELECT Switch
| WTB Con. 3P 2.54mm 180D(M) DIP<br/>A2543WV0-3P-6T-5e<br/>
+
| style="width: 53px;" | PSON1
 +
| style="width: 305px;" | AT/ATX Selection Header
 
|-
 
|-
| CN39
+
| LID1
| MIPI-CSI1 (FPC, 4-Lane<br/>
+
| style="width: 330px;" | LID Switch
| FPC 39P, 0.6mm, H0.9mm<br/>
+
| style="width: 53px;" | SPI_CN1
 +
| style="width: 305px;" | SPI Header
 
|-
 
|-
| CN40
+
| J30
| MIPI-CSI0 (FPC, 2-Lane)<br/>
+
| style="width: 330px;" | Enable Battery Low# Header
| FPC 39P, 0.6mm, H0.9mm<br/>
+
| style="width: 53px;" | CN14
 +
| style="width: 305px;" | For CAN Bus port0 Terminal Resistor
 
|-
 
|-
| CN41
+
| M2E_DISABLE_N1
| MIPI-CSI0 (Mini-SAS, 2-Lane)<br/>
+
| style="width: 330px;" | M.2 Wireless Disable
| Mini SAS 36P/0.8mm/(M)/LCP/VA/G15u/<br/>S/BK/W<br/>
+
| style="width: 53px;" | CN15
 +
| style="width: 305px;" | For CAN Bus port1 Terminal Resistor
 
|-
 
|-
| CN42
+
| J29
| MIPI-CSI1 (Mini-SAS, 4-Lane)<br/>
+
| style="width: 330px;" | SMB Alert Enable Header
| Mini SAS 36P/0.8mm/(M)/LCP/VA/G15u/<br/>S/BK/W<br/>
+
| style="width: 53px;" | J3/J4
 +
| style="width: 305px;" | DP0 EQ0 Selection
 
|-
 
|-
| ESPI_CN1
+
| CN9
| ESPI<br/>
+
| style="width: 330px;" | Header For GPIO Test
| PIN HEADER 6x2P 2.0mm180D(M) SMD<br/>21N22050-12M00B<br/>
+
| style="width: 53px;" | J5/J6
 +
| style="width: 305px;" | DP0 EQ1 Selection
 
|-
 
|-
| I2C_GP_1
+
| J7/J8
| I2C Pin Header<br/>
+
| style="width: 330px;" | LVDS0 Power Selection Header
| WAFER BOX 4P 2.00mm 180D(M) DIP<br/>721-81-04TW00<br/>
+
| style="width: 53px;" | J58
 +
| style="width: 305px;" | PCIE_B_CKREQ# Selection
 
|-
 
|-
| I2C_CN3
+
| J11/J12
| Audio Codec Board<br/>
+
| style="width: 330px;" | LVDS1 Power Selection Header
| PIN HEADER 2x10P 2.54mm 180D(M)<br/>DIP 21N22564<br/>
+
| style="width: 53px;" | J59
 +
| style="width: 305px;" | PCIE_A_CKREQ# Selection
 
|-
 
|-
| LVDS0
+
| J9
| LVDS0<br/>
+
| style="width: 330px;" | LVDS0 Inverter Power Selection Heade
| Wafer 2x20P/1.25mm/(M)/NY9T/VA/GFL/<br/>S/WH/W<br/>
+
| style="width: 53px;" | GPIO_0
 +
| style="width: 305px;" | GPIO0/CAM0_PWR# Selection
 
|-
 
|-
| LVDS_BK_PWR
+
| J10
| LVDS0 Back Light<br/>
+
| style="width: 330px;" | EDP0/LVDS0 Hot-Plug Detect Selection Header
| WAFER BOX 5P 2.0mm 180D(M) DIP<br/>A2001WV2-5P<br/>
+
| style="width: 53px;" | GPIO_1
 +
| style="width: 305px;" | GPIO1/CAM1_PWR# Selection
 
|-
 
|-
| LVDS1
+
| J26
| LVDS1<br/>
+
| style="width: 330px;" | HDA/I2S Selection Header
| Wafer 2x20P/1.25mm/(M)/NY9T/VA/GFL/<br/>S/WH/W<br/>
+
| style="width: 53px;" | GPIO_2
 +
| style="width: 305px;" | GPIO2/CAM0_RST# Selection
 
|-
 
|-
| LVDS1_BK_PWR
+
| J1
| LVDS1 Back Light<br/>
+
| style="width: 330px;" | DP1/HDMI1 Select
| WAFER BOX 5P 2.0mm 180D(M) DIP<br/>A2001WV2-5P<br/>
+
| style="width: 53px;" | GPIO_3
 +
| style="width: 305px;" | GPIO3/CAM1_RST# Selection
 
|-
 
|-
| SD1
+
| J13
| SD Card Slot<br/>
+
| style="width: 330px;" | LVDS1 Inverter Power Selection Header
| SD CARD 9P 90D(F) SMD WK2192CS3D-<br/>7H<br/>
+
| style="width: 53px;" | GPIO_4
 +
| style="width: 305px;" | GPIO4/HDA_RST# Selection
 
|-
 
|-
| SPI_CN1
+
| J31
| SPI Pin Header<br/>
+
| style="width: 330px;" | Clear CMOS Header
| PIN HEADER 4x2P 2.54mm 180D(M)<br/>SMD 21N22564<br/>
+
| style="width: 53px;" | GPIO_5
 +
| style="width: 305px;" | GPIO5/PWM_OUT Selection
 
|-
 
|-
| SW2
+
| J25
| Reset Button<br/>
+
| style="width: 330px;" | SPI Power Header
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 53px;" | GPIO_6
 +
| style="width: 305px;" | GPIO6/TACHIN Selection
 
|-
 
|-
| SW4
+
| SW1
| SLP Button<br/>
+
| style="width: 330px;" | COM1 mode Select
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 53px;" | SATA_ACT_PH1
 +
| style="width: 305px;" | SATA act# Header
 
|-
 
|-
| SW5
+
| SW2
| Power Button<br/>
+
| style="width: 330px;" | COM3 mode Select
| TACT SW STS-091 SMD 4P H=3.8mm<br/>
+
| style="width: 53px;" | PWRBTN_PH1
 +
| style="width: 305px;" | Power button Header
 
|-
 
|-
| USB0_OTG1
+
| J41
| USB OTG<br/>
+
| style="width: 330px;" | Core Power Voltage Control Header
| Micro USB 5P/0.65mm/(F)/NY9T/GFL/<br/>RA/S/BK/B<br/>
+
| style="width: 53px;" | SYS_RESET_PH1
 +
| style="width: 305px;" | Reset button Header
 
|-
 
|-
| USB-4-5
+
| J2
| USB Port 4, Port 5<br/>
+
| style="width: 330px;" | DDI1 AUX/DDC Selection
| PIN HEADER 2x5P 2.0mm 180D(M)<br/>SMD 21N22050<br/>
+
| style="width: 53px;" | &nbsp;
 +
| style="width: 305px;" | &nbsp;
 
|}
 
|}
  
 +
=== '''LED Function List&nbsp;''' ===
  
 
+
{| border="1" cellpadding="1" cellspacing="1" style="width: 500px;"
=== '''Rear I/O&nbsp;''' ===
+
|-
 
+
| Location
'''[[File:ROM-DB5901 RearIO.jpg|RTENOTITLE]]'''
+
| Function
 
+
|-
{| border="1" cellspacing="1" cellpadding="1"
+
| MODULE_VIN_LED1
 +
| WDT_TIME_OUT# Indicate
 +
|-
 +
| MODULE_5V_LED
 +
| Module 5V Indicate
 +
|-
 +
| MODULE_VIN_LED
 +
| Module +V_MOD_IN Indicate
 +
|-
 +
| RESET_OUT_LED
 +
| RESET_OUT Indicate
 
|-
 
|-
| '''Position'''
+
| RESET_OUT_LED
| '''Description'''
+
| CARRIER_STBY Indicate
| '''Name'''
 
 
|-
 
|-
| DCIN
+
| CARRIER_PWR_ON_LED
| DC Jack
+
| CARRIER_PWR_ON Indicate
| A
 
 
|-
 
|-
| CN15A
+
| MODULE_3P3V_LED
| UART Port 0
+
| Module 3.3V Indicate
| B
 
 
|-
 
|-
| CN15B
+
| 3P3V_LED
| UART Port 2
+
| Carrier Board +V3.3 Indicate
| C
 
 
|-
 
|-
| CN1A
+
| 5V_LED
| DP Port
+
| Carrier Board +V5 Indicate
| D
 
 
|-
 
|-
| CN1B
+
| 5V_DUAL_LED
| HDMI Port
+
| Carrier Board +V5SB Indicate
| E
 
 
|-
 
|-
| CN33
+
| 3P3V_DUAL_LED
| Type C Controller Programming Header (Reserved Only)<br/>
+
| Carrier Board +V3.3SB Indicate
| F
 
 
|-
 
|-
| CN34
+
| 5VA_LED
| USB Type C<br/>
+
| Carrier Board +V5D_MOD Indicate
| G
 
 
|-
 
|-
| CN8<br/>
+
| SATA_LED
| GbE Ethernet Connector Port<br/>
+
| SATA Indicate
| H
 
 
|-
 
|-
| CN3
+
| SOM_LED
| USB Port 1/ 2<br/>
+
| SOM BOM Indicate
| I
 
 
|-
 
|-
| Audio1<br/>
+
| RISC_LED
| MIC Input/ Audio Output<br/>
+
| RISC BOM Indicate
| J
 
 
|}
 
|}
  
=== ===
+
=== '''Switch Settings'''&nbsp; ===
  
=== '''接口引脚定義 (Pin definitions)''' ===
+
*[[SW4|SW4]]&nbsp;(Boot Select/Force Recovery/Test Switches)
 +
*[[LID1|LID1]]&nbsp;(LID Button Enable/Disable Switches)
 +
*[[SW5|SW5 ]](LAN CONN LED Pull High Switches)
 +
*[[COM0_Settings|SW1]](COM0 Settings)
 +
*[[SW2|SW2]](COM2 Settings)
 +
*[[I2S_Clock_Settings|SW3&nbsp;]](I2S Clock Settings)
 +
*[[M2E_DISABLE_N1|M2E_DISABLE_N1]](M.2 Wireless Disable Switch)  
  
*[[電池(BAT1)_&_電池扣(BH1)|電池(BAT1)&nbsp;& 電池扣(BH1)]]
+
=== '''接口引脚定義 (Connector Pin definitions)''' ===
*[[CAN(CAN1,CAN2)|CAN(CAN1,CAN2)]]
+
 
*[[串口(COM_DB(COM3)、COM0、COM1_、COM2)|串口(COM_DB(COM3)、COM1、UART0&nbsp;、UART2)]]
+
*[[ATX1_Pin_Connector|&nbsp;ATX1 Pin Connector]]  
*[[显示接口(LVDS、HDMI)_LAN接口_USB接口(USB1-2、USB3-4、USB_OTG)_音频接口_电源及指示灯和开关机复位按钮_GPIO接口_MINI_PCIE接口_M.2接口_SPI、I2C_接口|显示接口(LVDS、LVDS Backlight、HDMI、DP)]]
+
*[[SMARC_IN1_Pin_Connectors|SMARC_IN1 Pin Connectors]]  
*[[LAN接口|LAN接口(LAN)]]
+
*[[BAT1_RTC_Battery_Connectors|BAT1 RTC Battery Connectors]]  
*[[USB接口(USB1-2、USB_Type_C、USB_OTG)|USB接口(USB1-2、USB-4-5、USB Type C、USB OTG)]]
+
*[[DCIN1_DC-IN_Power_Connectors|DCIN1 DC-IN Power Connectors]]
*[[音频接口(Audio)|音频接口(Audio Output &Audio Codec)]]
+
*[[CAN0_1_CAN_Bus_Connectors|CAN0_1 CAN Bus Connectors]]  
*[[电源及指示灯和开关机复位按钮(Power_、LED、Power_Button、Reset_Button、Sleep_Button)|电源及指示灯和开关机复位按钮(Power&nbsp;、LED、Power Button、Reset Button、Sleep Button)&nbsp;]]
+
*[[CN9_GPIO_Headers|CN9 GPIO Headers]]  
*[[GPIO接口|GPIO接口]]
+
*[[COM2_4_COM_Port2&4_Connectors|COM2_4 COM Port2&4 Connectors]]  
*[[MINI_PCIE接口_M.2接口_SPI、I2C_接口|MINI_PCIE接口_M.2接口_SPI、I2C_接口]]
+
*[[COM1_3_COM_Port1&_3_Connectors|COM1_3 COM Port1& 3 Connectors]]
 +
*[[CN10_ESPI_Headers|CN10 ESPI Headers]]
 +
*[[LVDS0_LVDS_Connectors|LVDS0 LVDS Connectors]]
 +
*[[LVDS0_INVERTER_LVDS_INVERTER_Connectors|LVDS0_INVERTER LVDS INVERTER Connectors]]
 +
*[[LVDS1_LVDS_Connectors|LVDS1 LVDS Connectors]]
 +
*[[LVDS1_INVERTER_LVDS_INVERTER_Connectors|LVDS1_INVERTER LVDS INVERTER Connectors]]
 +
*[[CN7_I2C_GP_Connectors|CN7 I2C_GP Connectors]]
 +
*[[SPI_CN1_SPI_Connectors|SPI_CN1 SPI Connectors]]
 +
*[[SATAP1_SATA_PWR_Connectors|SATAP1 SATA PWR Connectors]]
 +
*[[CSI0_FPC_Connectors|CSI0_FPC Connectors]]
 +
*[[CSI1_FPC_Connectors|CSI1_FPC Connectors]]
 +
*[[CN5_I2S2_Connectors|CN5 I2S2 Connectors]]
 +
*[[CN17_I2S0_Connectors|CN17 I2S0 Connectors]]
 +
*[[PWRBTN_PH1_PWRBTN_Pin_Headers|PWRBTN_PH1 PWRBTN Pin Headers]]
 +
*[[SYS_RESET_PH1_SYS_RESET_Pin_Headers|SYS_RESET_PH1 SYS RESET Pin Headers]]
 +
*[[SATA_ACT_PH1_SATA_ACT|SATA_ACT_PH1 SATA ACT# Pin Headers]]
 +
*[[J32_Power_LED_Pin_Headers|J32 Power LED Pin Headers]]
 +
*[[J30_BATLOW_Pin_Headers|J30 BATLOW Pin Headers]]
 +
*[[J29_SMBUS_Alert_Pin_Headers|J29 SMBUS Alert Pin Headers]]
 +
*[[J41_Core_Power_Controls|J41 Core Power Controls]]
 +
*[[PSON1_ATX/AT_Mode_Selection|PSON1 ATX/AT Mode Selection]]
 +
*[[J56_Standby_Power_Controls|J56 Standby Power Controls]]
 +
*[[J44_Module_Power_Settings|J44 Module Power Settings]]
 +
*[[J7,J8_LVDS0_Power_Selection|J7,J8 LVDS0 Power Selection]]
 +
*[[J9_LVDS0_Inverter_Power_Selection|J9 LVDS0 Inverter Power Selection]]
 +
*[[J11,J12_LVDS1_Power_Selection|J11,J12 LVDS1 Power Selection]]  
 +
*[[LVDS1_Inverter_Power_Selection|LVDS1 Inverter Power Selection]]
 +
*[[EDP0_/LVDS0_HPD_Selection|EDP0 /LVDS0 HPD Selection]]
 +
*[[J14_EDP1/LVDS1_HPD_Selection|J14 EDP1/LVDS1 HPD Selection]]
 +
*[[CN14_CAN0_Terminal_Resistor_Selection|CN14 CAN0 Terminal Resistor Selection]]
 +
*[[CN15_CAN1_Terminal_Resistor_Selection|CN15 CAN1 Terminal Resistor Selection]]
 +
*[[J2_DDI1_AUX/DDC_Selection|J2 DDI1 AUX/DDC Selection]]
 +
*[[J1_DP1/HDMI1_Selection|J1 DP1/HDMI1 Selection]]
 +
*[[J58_PCIE_B_CKREQ|J58 PCIE_B_CKREQ# Selection]]
 +
*[[J59_PCIE_A_CKREQ|J59 PCIE_A_CKREQ# Selection]]  
 +
*[[J31_Clear_CMOS|J31 Clear CMOS]]  
 +
*[[J25_+V1.8M_SPI_Power_Jumpers|J25 +V1.8M_SPI Power Jumpers]]
 +
*[[GPIO_0_GPIO0_Settings|GPIO_0 GPIO0 Settings]]
 +
*[[GPIO_1_GPIO1_Settings|GPIO_1 GPIO1 Settings]]
 +
*[[GPIO_2_GPIO2_Settings|GPIO_2 GPIO2 Settings]]
 +
*[[GPIO_3_GPIO3_Settings|GPIO_3 GPIO3 Settings]]
 +
*[[GPIO_4_GPIO4_Settings|GPIO_4 GPIO4 Settings]]
 +
*[[GPIO_5_GPIO5_Settings|GPIO_5 GPIO5 Settings]]
 +
*[[GPIO_6_GPIO6_Settings|GPIO_6 GPIO6 Settings]]
 +
*[[J26_HDA/I2S_Selection|J26 HDA/I2S Selection]]  
 +
 
 +
&nbsp;
  
 
=== '''机械尺寸&nbsp; ('''Mechanical Characteristics) ===
 
=== '''机械尺寸&nbsp; ('''Mechanical Characteristics) ===
  
'''ROM-5620&nbsp;'''
+
'''ROM-5722'''
  
 
'''[[File:ROM-5620 Mechanical Specifications1.jpg|RTENOTITLE]]'''
 
'''[[File:ROM-5620 Mechanical Specifications1.jpg|RTENOTITLE]]'''
Line 250: Line 419:
 
'''[[File:ROM-5620 Mechanical Specifications2.jpg|RTENOTITLE]]'''
 
'''[[File:ROM-5620 Mechanical Specifications2.jpg|RTENOTITLE]]'''
  
 +
&nbsp;
  
 +
&nbsp;
  
 +
&nbsp;
  
 +
----
  
 +
&nbsp;
  
 
+
= '''快速入门 (Quick Start)''' =
----
 
 
 
== '''快速入门 (Quick Start)''' ==
 
  
 
=== '''系统下载 (OS Download)''' ===
 
=== '''系统下载 (OS Download)''' ===
  
*'''Linux系统 (Linux OS)''''''&nbsp; &nbsp;'''
+
*'''Linux系统 (Linux OS)''''''&nbsp; &nbsp;'''  
  
 
'''Yocto 3.0:'''[[IoTGateway/BSP/Linux/iMX8/OS_Support_List_3.0|IoTGateway/BSP/Linux/iMX8/OS Support List 3.0]]
 
'''Yocto 3.0:'''[[IoTGateway/BSP/Linux/iMX8/OS_Support_List_3.0|IoTGateway/BSP/Linux/iMX8/OS Support List 3.0]]
  
 
----
 
----
 +
 +
&nbsp;
  
 
=== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ===
 
=== '''Linux&nbsp;燒錄方法 (Linux Flash eMMC Method)''' ===
Line 277: Line 450:
  
 
Step1: 創造一張可開機的SD 卡&nbsp;(Create&nbsp;a bootable SD card)
 
Step1: 創造一張可開機的SD 卡&nbsp;(Create&nbsp;a bootable SD card)
 +
 +
<span style="font-size:small;">Command&nbsp;:</span>
 +
 +
<span style="font-size:small;">'''sudo dd if=5722A1AIM30LIVA0271_iMX8MP_6G_2021-06-19.img of=/dev/sdf&nbsp; bs=1M conv=fsync status=progre'''ss&nbsp;</span>
  
 
[[File:Z24.jpg|RTENOTITLE]]
 
[[File:Z24.jpg|RTENOTITLE]]
Line 282: Line 459:
 
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
 
Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)
  
&nbsp;[[File:CarrierboardSDsolt.jpg|RTENOTITLE]]
+
&nbsp;[[File:SOM-DB2510 SD Card slot sd boot.PNG|RTENOTITLE]]
  
 
Step4: 確認開機選擇指撥開關&nbsp;
 
Step4: 確認開機選擇指撥開關&nbsp;
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SD 卡開機模式:
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;SD 卡開機模式: (2, 3:on, others off)
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:SDBootupSwitch.jpg|RTENOTITLE]]
+
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;eMMC&nbsp;開機模式: (1: on, others off)
  
 +
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;[[File:SOM-DB2510 SD switch setting.PNG|RTENOTITLE]]
  
 +
&nbsp;
  
 
Step3:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
 
Step3:打開電源 和 終端機&nbsp;(Turn on the Power & Terminal)
Line 298: Line 477:
 
Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk)&nbsp;
 
Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk)&nbsp;
  
 
+
&nbsp;
  
 
&nbsp; &nbsp; 解壓縮(Unzip the file )
 
&nbsp; &nbsp; 解壓縮(Unzip the file )
  
[[File:Z26.jpg]]&nbsp;
+
[[File:Z26.jpg|RTENOTITLE]]&nbsp;
  
 
&nbsp; &nbsp; 複製檔案到U盤中 (Copy the flash file to USB Disk)&nbsp;
 
&nbsp; &nbsp; 複製檔案到U盤中 (Copy the flash file to USB Disk)&nbsp;
Line 310: Line 489:
 
&nbsp; 2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System)&nbsp;
 
&nbsp; 2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System)&nbsp;
  
[[File:Z27.jpg]]
+
[[File:Z27.jpg|RTENOTITLE]]
  
 
&nbsp;3. 掛載U盤在Ubuntu 系統中 (Mount the USB Disk's in US)
 
&nbsp;3. 掛載U盤在Ubuntu 系統中 (Mount the USB Disk's in US)
  
[[File:Z28.jpg]]
+
[[File:Z28.jpg|RTENOTITLE]]
  
 
4. 複製檔案到U盤(Copy the file to USB disk)
 
4. 複製檔案到U盤(Copy the file to USB disk)
  
[[File:Z29.jpg]]
+
[[File:Z29.jpg|RTENOTITLE]]
  
 
5. 將U盤連接到ROM-5722系統, 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk2燒錄image到eMMC(Connect USB Disk to ROM-5722 system, browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk2"
 
5. 將U盤連接到ROM-5722系統, 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk2燒錄image到eMMC(Connect USB Disk to ROM-5722 system, browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk2"
  
{| border="1" cellspacing="1" cellpadding="1" style="width:500px;"
+
{| border="1" cellpadding="1" cellspacing="1" style="width:500px;"
 
|-
 
|-
 
| ROM-5722
 
| ROM-5722
| <br/>
+
| &nbsp;
 
|-
 
|-
 
| SD card
 
| SD card
Line 334: Line 513:
 
|}
 
|}
  
[[File:Z30.jpg|1024px]]
+
[[File:Z30.jpg|1024px|Z30.jpg]]
  
 
6. 切換開機switch 1:on 2,3,4,5,6:off來設定成從eMMC開機(Change boot switch to "1:on 2,3,4,5,6:off" to boot from eMMC. Reboot system).
 
6. 切換開機switch 1:on 2,3,4,5,6:off來設定成從eMMC開機(Change boot switch to "1:on 2,3,4,5,6:off" to boot from eMMC. Reboot system).
Line 349: Line 528:
 
   Flow Control流控:无</pre>
 
   Flow Control流控:无</pre>
  
:
+
:&nbsp;
  
 
Tera Term Tool&nbsp;
 
Tera Term Tool&nbsp;
Line 365: Line 544:
 
Debug port connection (串口連接)&nbsp;
 
Debug port connection (串口連接)&nbsp;
  
[[File:Debugcom3nn 2021-09-10 140320.jpg|RTENOTITLE]]
+
[[File:SOM-DB2510 Debug port.PNG|RTENOTITLE]]
  
 +
&nbsp;
  
 +
Log into Terminal&nbsp; Tool (进入串口调试终端):
  
Log into Terminal&nbsp; Tool (进入串口调试终端):
+
[[File:Z31.jpg|RTENOTITLE]]
  
[[File:Z31.jpg]]
+
&nbsp;
  
== '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' ==
+
= '''Linux系统的基本使用(Linux&nbsp;System Basic Operating Method)''' =
  
=== '''&nbsp; &nbsp; &nbsp; UUU 使用方法(USB Connection (OTG port))''' ===
+
=== '''UUU 使用方法(USB Connection (OTG port))''' ===
  
 
Download uuu tool from (Release [[https://github.com/ADVANTECH-Corp/uuu/releases/tag/v20200619 ADV]v20210429 · ADVANTECH-Corp/uuu · GitHub]) or in the folder.
 
Download uuu tool from (Release [[https://github.com/ADVANTECH-Corp/uuu/releases/tag/v20200619 ADV]v20210429 · ADVANTECH-Corp/uuu · GitHub]) or in the folder.
Line 389: Line 570:
 
'''Change boot switch to "4:on 1,2,3,5,6:off" to boot from force recovery mode.'''
 
'''Change boot switch to "4:on 1,2,3,5,6:off" to boot from force recovery mode.'''
  
'''[[File:Z32.jpg]]'''Type command below to flash eMMC:
+
'''[[File:Z32.jpg|RTENOTITLE]]'''Type command below to flash eMMC:
  
[[File:Z34.jpg]]
+
[[File:Z34.jpg|RTENOTITLE]]
  
=== '''&nbsp; &nbsp; &nbsp; Display Setting (ROM-5722)''' ===
+
=== '''Display Setting (ROM-5722)''' ===
  
 
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
 
'''&nbsp; &nbsp; &nbsp; U-boot&nbsp;Command&nbsp;:'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
  
*Display
+
*Display  
**HDMI (default)
+
**HDMI (default)  
***imx8mp-rom5722-a1.dtb
+
***imx8mp-rom5722-a1.dtb  
**LVDS
+
**LVDS  
***g070vw01(LVDS0) + HDMI
+
***g070vw01(LVDS0) + HDMI  
****imx8mp-rom5722-a1-lvds0-auo.dtb
+
****imx8mp-rom5722-a1-lvds0-auo.dtb  
***g070vw01(LVDS1) + HDMI
+
***g070vw01(LVDS1) + HDMI  
****imx8mp-rom5722-a1-lvds1-auo.dtb
+
****imx8mp-rom5722-a1-lvds1-auo.dtb  
***g215hvn01(DUAL LVDS) + HDMI
+
***g215hvn01(DUAL LVDS) + HDMI  
****imx8mp-rom5722-a1-lvds-dual.dtb
+
****imx8mp-rom5722-a1-lvds-dual.dtb    
**DSI
+
**DSI  
***adv7535(DSI to HDMI)&nbsp;+ HDMI
+
***adv7535(DSI to HDMI)&nbsp;+ HDMI  
****imx8mp-rom5722-a1-adv7535.dtb
+
****imx8mp-rom5722-a1-adv7535.dtb  
***auog101uan02(DSI) +&nbsp;HDMI
+
***auog101uan02(DSI) +&nbsp;HDMI  
****imx8mp-rom5722-a1-auog101uan02.dtb
+
****imx8mp-rom5722-a1-auog101uan02.dtb      
*Camera
+
*Camera  
**OV5640 (default)
+
**OV5640 (default)  
***imx8mp-rom5722-a1.dtb
+
***imx8mp-rom5722-a1.dtb  
**Basler camrea
+
**Basler camrea  
***imx8mp-rom5722-a1-basler.dtb
+
***imx8mp-rom5722-a1-basler.dtb    
  
 
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
 
=== '''乙太網路使用方法(Ethernent Testing Method)''' ===
Line 422: Line 603:
 
'''Command&nbsp;: ifconfig&nbsp;'''
 
'''Command&nbsp;: ifconfig&nbsp;'''
  
[[File:Z35.jpg]]
+
[[File:Z35.jpg|RTENOTITLE]]
  
 
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
 
'''Command: Ping - I eth1 8.8.8.8&nbsp; or Ping - I eth0 8.8.8.8&nbsp;&nbsp;'''
  
[[File:Z36.jpg]]
+
[[File:Z36.jpg|RTENOTITLE]]
  
 
=== '''WiFi使用方法(WIFI Testing Method)''' ===
 
=== '''WiFi使用方法(WIFI Testing Method)''' ===
Line 450: Line 631:
 
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
 
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
  
[[File:Z37.jpg]]
+
[[File:Z37.jpg|RTENOTITLE]]
  
 
=== '''4G使用方法(4G Testing Method)''' ===
 
=== '''4G使用方法(4G Testing Method)''' ===
Line 473: Line 654:
 
'''GPIO pin:'''
 
'''GPIO pin:'''
  
[[File:Z39.jpg]]
+
[[File:Z39.jpg|RTENOTITLE]]
 
 
  
 +
&nbsp;
 
<pre>Loop-back Test (Take GPIO0 and GPIO2 as examples)   
 
<pre>Loop-back Test (Take GPIO0 and GPIO2 as examples)   
  
Line 513: Line 694:
 
[[File:SW6&7settingn.jpeg|RTENOTITLE]]
 
[[File:SW6&7settingn.jpeg|RTENOTITLE]]
  
MODE1&nbsp; MODE0<br/>&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOOPBACK<br/>&nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS232<br/>&nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS485<br/>&nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS422
+
MODE1&nbsp; MODE0<br/> &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; LOOPBACK<br/> &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS232<br/> &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS485<br/> &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; RS422
  
Loopback test (eg. ttymxc0)<br/>Connect loopback test tool
+
Loopback test (eg. ttymxc0)<br/> Connect loopback test tool
  
# stty ‐F /dev/ttymxc0 115200<br/># stty ‐F /dev/ttymxc0 ‐echo<br/># cat /dev/ttymxc0 &<br/># echo test > /dev/ttymxc0
+
#stty ‐F /dev/ttymxc0 115200<br/> # stty ‐F /dev/ttymxc0 ‐echo<br/> # cat /dev/ttymxc0 &<br/> # echo test > /dev/ttymxc0  
  
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
 
=== '''蓝牙使用方法(BlueTooth Operating&nbsp;Method)''' ===
Line 539: Line 720:
 
<pre>        Command&nbsp;: ifconfig</pre>
 
<pre>        Command&nbsp;: ifconfig</pre>
  
[[File:Z40.jpg]]
+
[[File:Z40.jpg|RTENOTITLE]]
  
 
==== Windows下SSH访问及文件传输 ====
 
==== Windows下SSH访问及文件传输 ====
Line 545: Line 726:
 
SSH Remote Log into Device&nbsp;
 
SSH Remote Log into Device&nbsp;
  
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
+
*SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)  
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码
+
*需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码  
 
 
  
 +
&nbsp;
  
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
 
[[File:SSHsettingdetail.png|RTENOTITLE]]
Line 554: Line 735:
 
[[File:Z42.jpg|RTENOTITLE]]
 
[[File:Z42.jpg|RTENOTITLE]]
  
 
+
&nbsp;
  
 
[[File:Z43.jpg|RTENOTITLE]]
 
[[File:Z43.jpg|RTENOTITLE]]
Line 560: Line 741:
 
[[File:Z44.jpg|RTENOTITLE]]
 
[[File:Z44.jpg|RTENOTITLE]]
  
== '''通用方法(General Method)''' ==
+
&nbsp;
 +
 
 +
= '''通用方法(General Method)''' =
  
=== &nbsp; '''&nbsp; &nbsp; 查看CPU温度(Check CPU Temperature)''' ===
+
=== '''查看CPU温度(Check CPU Temperature)''' ===
 
<pre>    root@imx8mprom5722a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
 
<pre>    root@imx8mprom5722a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600
  
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
 
     # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看CPU频率(Check CPU Frequency)''' ===
+
=== '''查看CPU频率(Check CPU Frequency)''' ===
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
<pre>          cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq  
 
           >> 900000
 
           >> 900000
Line 573: Line 756:
 
           >> 1200000</pre>
 
           >> 1200000</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看内存容量(Check Memory&nbsp;Capacity)''' ===
+
=== '''查看内存容量(Check Memory&nbsp;Capacity)''' ===
 
<pre>root@imx8mprom5722a1:~# busybox free -m
 
<pre>root@imx8mprom5722a1:~# busybox free -m
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available
 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; total &nbsp; &nbsp; &nbsp; &nbsp;used &nbsp; &nbsp; &nbsp; &nbsp;free &nbsp; &nbsp; &nbsp;shared &nbsp;buff/cache &nbsp; available
Line 580: Line 763:
 
</pre>
 
</pre>
  
=== '''&nbsp; &nbsp; &nbsp;&nbsp;查看存储容量(Check Storage Capacity)''' ===
+
=== '''查看存储容量(Check Storage Capacity)''' ===
 
<pre>root@imx8mprom5722a1:~# busybox df -h
 
<pre>root@imx8mprom5722a1:~# busybox df -h
 
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on
 
Filesystem &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Size &nbsp; &nbsp; &nbsp;Used Available Use% Mounted on
Line 596: Line 779:
 
root@imx8mprom5722a1:~#</pre>
 
root@imx8mprom5722a1:~#</pre>
  
=== '''&nbsp; &nbsp; &nbsp; 網路Ping測試(Ping Network Testing)''' ===
+
=== '''網路Ping測試(Ping Network Testing)''' ===
 
<pre>    ping 8.8.8.8
 
<pre>    ping 8.8.8.8
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
 
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
Line 602: Line 785:
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
 
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms</pre>
  
=== '''&nbsp; &nbsp; &nbsp; 設置RTC (RTC Setting)&nbsp;''' ===
+
=== '''設置RTC (RTC Setting)&nbsp;''' ===
<pre>     root@imx8qxprom5620a1:/# systemctl stop ntpdate.service
+
<pre>root@imx8mprom5722a1:~# systemctl stop ntpdate.service
    root@imx8qxprom5620a1:/# date 090816072021 && hwclock -w && date
+
root@imx8mprom5722a1:~# date 090816072021 && hwclock -w && date
            Wed Sep 8 16:07:00 UTC 2021
+
Wed Sep &nbsp;8 16:07:00 UTC 2021
            Wed Sep  8 16:07:00 UTC 2021
+
Tue Nov 23 07:38:50 UTC 2021
    root@imx8qxprom5620a1:/# date
+
root@imx8mprom5722a1:~# date
            Wed Sep  8 16:07:06 UTC 2021
+
Tue Nov 23 07:38:56 UTC 2021
    root@imx8qxprom5620a1:/#'''</pre>
+
root@imx8mprom5722a1:~#</pre>
  
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
 
'''&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;'''
  
== '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' ==
+
&nbsp;
 +
 
 +
= '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)''' =
 +
 
 +
=== [https://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVD_User_Guide '''Yocto 4.2'''] ===
 +
 
 +
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVC_User_Guide '''Yocto 4.0'''] ===
  
 
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
 
=== [http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide '''Yocto 3.0'''] ===
 +
 +
'''如果有驗證上的錯誤 請使用以下的方法'''
 +
 +
<u>'''### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none'''</u>&nbsp;ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/hom e/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/py thon3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-l inux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/adv/adv-release-bsp/build_x11/tm p/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/buil d_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp /build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-release-bsp/ build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/bin:/home/adv/adv-release-bsp/so urces/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/home/adv"; git -c core.fsyncob jectfiles=0 submodule update --init --recursive failed with exit code 1, output:
 +
 +
Submodule 'common' (
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git) https://anongit.freedesktop.org/git/gstreamer/common.git)]&nbsp;registered for path 'common'
 +
 +
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...
 +
 +
fatal: unable to access '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
 +
 +
fatal: clone of '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed
 +
 +
Failed to clone 'common'. Retry scheduled
 +
 +
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...
 +
 +
fatal: unable to access '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
 +
 +
fatal: clone of '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed
 +
 +
Failed to clone 'common' a second time, aborting
 +
 +
ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack
 +
 +
ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14. 4.imx-r0/temp/log.do_unpack.42631
 +
 +
ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0_1.14.imx.bb:do_unpack) failed with exit code '1'
 +
 +
ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; expo rt PATH="/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/ recipe-sysroot-native/usr/bin/python3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch6 4-poky-linux:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx -r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer 1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8m m-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp/build_x11/ tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-rele ase-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/bin:/ home/adv/adv-release-bsp/sources/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/hom e/adv"; git -c core.fsyncobjectfiles=0 submodule update --init --recursive failed with exit code 1, output:
 +
 +
Submodule 'common' (
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git) https://anongit.freedesktop.org/git/gstreamer/common.git)]&nbsp;registered for path 'common'
 +
 +
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...
 +
 +
fatal: unable to access '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
 +
 +
fatal: clone of '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed
 +
 +
Failed to clone 'common'. Retry scheduled
 +
 +
Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...
 +
 +
fatal: unable to access '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git/': https://anongit.freedesktop.org/git/gstreamer/common.git/':]&nbsp;server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none
 +
 +
fatal: clone of '
 +
 +
[https://anongit.freedesktop.org/git/gstreamer/common.git' https://anongit.freedesktop.org/git/gstreamer/common.git']&nbsp;into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed
 +
 +
Failed to clone 'common' a second time, aborting
 +
 +
ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack
 +
 +
ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0 -plugins-base/1.14.4.imx-r0/temp/log.do_unpack.51633
 +
 +
ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0-plugins-base_1.14.imx.bb:do_unpack) failed with exit code '1'
 +
 +
<u>'''============================================================<br/> export GIT_SSL_NO_VERIFY=1<br/> #or<br/> git config --global http.sslverify false<br/> ============================================================'''</u>
 +
 +
&nbsp;
 +
 +
{| border="0" cellpadding="10" cellspacing="0" style="width:100%;"
 +
|-
 +
| <iframe height="230" key="advonline" level="campaign" path="en/aim-linux_community/" width="100%"></iframe>
 +
|}

Latest revision as of 06:15, 8 August 2024

 

Contents

產品介紹

產品特性(Features)

  • NXP Arm® Cortex®-A53 i.MX8M Plus Quad/Dual up to 1.8 GHz
  • 1 x Arm Cortex-M7 core
  • Onboard LPDDR4 6 GB, 4000MT/s memory
  • 1 x 4 lane MIPI-CSI,1 x Dual channel LVDS or 1 x Display Port
  • 4 x USB2.0, 1 x USB 2.0 OTG, 4 x UART, 5 x I2C, 14 x GPIO, 1 x PCIe3.0, 2 x Gigabit LAN, 2 x CAN-FD
  • Neural network accelerator up to 2.3 TOPS
  • Supports Ycoto Linux and Android

產品官網連結(Product information Link)

ROM-5722

接口布局和尺寸(Layout and Sizes)

ROM-5722 接口布局圖 Board Dimension Layout 

RTENOTITLE

ROM-5722 SW1.png

SOM-DB2510 接口布局圖 Board Dimension Layout

RTENOTITLE

 

RTENOTITLE

主板内置插针式引脚排序方式 (Pin Header defination) 

Internal I/O

RTENOTITLE

RTENOTITLE

Label Function Label Function
ATX1 ATX Connector FAN1 Smart Fan Connector
SMARC_IN1 Wide Range Input Power Connector (3V~5.25V) FAN2 System Fan Connector
DCIN1 DCIN connector CAN0_1 CAN Bus Connector
DP0_HDMI DP & HDMI Connector USB0 USB OTG Connector
USB12 USB 2.0 port1~2 & USB 3.0 port0 Connector COM1_3 COM Port Port1,3 Connector
TYPEC_DP1 Type-C Connector COM2_4 COM Port Port2,4 Connector
LAN0_LAN1 LAN0 & LAN1 Connector CN8 I2C connector for I2C_PM
LOUT1 Line Out Connector CN7 I2C Connector for I2C_GP
MIC1 MIC1 Connector CN10 eSPI Pin Header
CN1_MXM1 SMARC Connector SATAP1 SATA Power Connector
PCIEA-X4 PCIe x4 Connector CSI0_B2B MIPI B2B Connector for 2M Camera
SATA1 SATA Port0 Connector CSI1_B2B MIPI B2B Connector for 8M & 13M Camera
PCIED-X1 PCIe x1 Connector SPI_BIOS1 Carrier Board BIOS Socket (SOIC)
M2 M.2 Key-E Connector BAT1 Coin battery holder
MPCIE_C Mini PCIe Connector BAT2 Smart battery Connector
SIM SIM card Connector LINEOUT_1 I2S Headphone Connector
LVDS1 LVDS1 Connector MIC_1 I2S MIC In Connector
LVDS0 LVDS0 Connector CSI1_FPC MIPI FPC Connector for 8M & 13M Camera
LVDS1_INVERTER LVDS1 Invertor Connector CSI0_FPC MIPI FPC Connector for 2M Camera
LVDS0_INVERTER LVDS0 Invertor Connector CN5 I2S2 Connector
SPI_BIOS2 Carrier Board BIOS Socket (QFN) CN17 I2S0 Connector
SD SD Card Connector    

 

Rear I/O 

RTENOTITLE

Jumper 位置( Jumper Locations) 

RTENOTITLE

RTENOTITLE

Lable Function Lable Function
BTN3 Sleep Button J14 EDP1/LVDS1 Hot-Plug Detect Selection Header
BTN1 Power Button J56 Standby Voltage Control Header
BTN2 Reset Button J44 Module +3.3V/+5V Power Selection Header
SW4 BOOT SELECT Switch PSON1 AT/ATX Selection Header
LID1 LID Switch SPI_CN1 SPI Header
J30 Enable Battery Low# Header CN14 For CAN Bus port0 Terminal Resistor
M2E_DISABLE_N1 M.2 Wireless Disable CN15 For CAN Bus port1 Terminal Resistor
J29 SMB Alert Enable Header J3/J4 DP0 EQ0 Selection
CN9 Header For GPIO Test J5/J6 DP0 EQ1 Selection
J7/J8 LVDS0 Power Selection Header J58 PCIE_B_CKREQ# Selection
J11/J12 LVDS1 Power Selection Header J59 PCIE_A_CKREQ# Selection
J9 LVDS0 Inverter Power Selection Heade GPIO_0 GPIO0/CAM0_PWR# Selection
J10 EDP0/LVDS0 Hot-Plug Detect Selection Header GPIO_1 GPIO1/CAM1_PWR# Selection
J26 HDA/I2S Selection Header GPIO_2 GPIO2/CAM0_RST# Selection
J1 DP1/HDMI1 Select GPIO_3 GPIO3/CAM1_RST# Selection
J13 LVDS1 Inverter Power Selection Header GPIO_4 GPIO4/HDA_RST# Selection
J31 Clear CMOS Header GPIO_5 GPIO5/PWM_OUT Selection
J25 SPI Power Header GPIO_6 GPIO6/TACHIN Selection
SW1 COM1 mode Select SATA_ACT_PH1 SATA act# Header
SW2 COM3 mode Select PWRBTN_PH1 Power button Header
J41 Core Power Voltage Control Header SYS_RESET_PH1 Reset button Header
J2 DDI1 AUX/DDC Selection    

LED Function List 

Location Function
MODULE_VIN_LED1 WDT_TIME_OUT# Indicate
MODULE_5V_LED Module 5V Indicate
MODULE_VIN_LED Module +V_MOD_IN Indicate
RESET_OUT_LED RESET_OUT Indicate
RESET_OUT_LED CARRIER_STBY Indicate
CARRIER_PWR_ON_LED CARRIER_PWR_ON Indicate
MODULE_3P3V_LED Module 3.3V Indicate
3P3V_LED Carrier Board +V3.3 Indicate
5V_LED Carrier Board +V5 Indicate
5V_DUAL_LED Carrier Board +V5SB Indicate
3P3V_DUAL_LED Carrier Board +V3.3SB Indicate
5VA_LED Carrier Board +V5D_MOD Indicate
SATA_LED SATA Indicate
SOM_LED SOM BOM Indicate
RISC_LED RISC BOM Indicate

Switch Settings 

  • SW4 (Boot Select/Force Recovery/Test Switches)
  • LID1 (LID Button Enable/Disable Switches)
  • SW5 (LAN CONN LED Pull High Switches)
  • SW1(COM0 Settings)
  • SW2(COM2 Settings)
  • SW3 (I2S Clock Settings)
  • M2E_DISABLE_N1(M.2 Wireless Disable Switch)

接口引脚定義 (Connector Pin definitions)

 

机械尺寸  (Mechanical Characteristics)

ROM-5722

RTENOTITLE

RTENOTITLE

 

 

 


 

快速入门 (Quick Start)

系统下载 (OS Download)

  • 'Linux系统 (Linux OS)'   

Yocto 3.0:IoTGateway/BSP/Linux/iMX8/OS Support List 3.0


 

Linux 燒錄方法 (Linux Flash eMMC Method)

使用Flash tool 燒錄鏡像到eMMC (Flash image into eMMC by Flash Tools) 

Step0: 檢查SD卡在Linux 環境的代號 (check SD card symbol in Linux system) 

RTENOTITLE

Step1: 創造一張可開機的SD 卡 (Create a bootable SD card)

Command :

sudo dd if=5722A1AIM30LIVA0271_iMX8MP_6G_2021-06-19.img of=/dev/sdf  bs=1M conv=fsync status=progress 

RTENOTITLE

Step2: 將可開機的SD 卡插入底板SD卡卡槽(Plug the SD card into Carrier board 's SD card slot)

 RTENOTITLE

Step4: 確認開機選擇指撥開關 

           SD 卡開機模式: (2, 3:on, others off)

           eMMC 開機模式: (1: on, others off)

           RTENOTITLE

 

Step3:打開電源 和 終端機 (Turn on the Power & Terminal)

Z25.jpg

Step4: 解壓縮flash tools 檔案,並複製到U盤中(Unzip the flash tools file , then copy to USB Disk) 

 

    解壓縮(Unzip the file )

RTENOTITLE 

    複製檔案到U盤中 (Copy the flash file to USB Disk) 

  1. 插入U盤到你的Ubuntu 電腦上 (Plug the USB Disk into you Linux PC

  2. 檢視U盤在Ubuntu 系統代號 (Check the USB Disk's symbol in Ubuntu System) 

RTENOTITLE

 3. 掛載U盤在Ubuntu 系統中 (Mount the USB Disk's in US)

RTENOTITLE

4. 複製檔案到U盤(Copy the file to USB disk)

RTENOTITLE

5. 將U盤連接到ROM-5722系統, 進入flsah tool下的mk_inand資歷夾, 執行指令./mksd-linux.sh /dev/mmcblk2燒錄image到eMMC(Connect USB Disk to ROM-5722 system, browser to mk_inand folder and execute flash shell script "./mksd-linux.sh /dev/mmcblk2"

ROM-5722  
SD card /dev/mmcblk1
eMMC /dev/mmcblk2

Z30.jpg

6. 切換開機switch 1:on 2,3,4,5,6:off來設定成從eMMC開機(Change boot switch to "1:on 2,3,4,5,6:off" to boot from eMMC. Reboot system).

     

Debug 串口調試 (Debug port Setting)

以 Tera Term  为例介绍如何使用串口调试功能

   Baud Rate波特率:115200
   Data 数据位:8
   Parity 奇偶校验:无
   Stop 停止位:1
   Flow Control流控:无
 

Tera Term Tool 

RTENOTITLE

RTENOTITLE

Check the Sriel port in Device Manager (查看PC端的串口号):

if you can not identify the Serial device , please check your serial driver. 

RTENOTITLE

Debug port connection (串口連接) 

RTENOTITLE

 

Log into Terminal  Tool (进入串口调试终端):

RTENOTITLE

 

Linux系统的基本使用(Linux System Basic Operating Method)

UUU 使用方法(USB Connection (OTG port))

Download uuu tool from (Release [ADVv20210429 · ADVANTECH-Corp/uuu · GitHub]) or in the folder.

uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.3.191-67-ga9523ec

RTENOTITLE

The “imx-boot-imx8mprom5722a1-6G.bin-flash_evk” file be included in 5722A1AIM30LIVA0XXX_iMX8MP_6G_misc.tgz. XXX is the version.

Connect USB cable to USB OTG port.

Change boot switch to "4:on 1,2,3,5,6:off" to boot from force recovery mode.

RTENOTITLEType command below to flash eMMC:

RTENOTITLE

Display Setting (ROM-5722)

      U-boot Command :             

  • Display
    • HDMI (default)
      • imx8mp-rom5722-a1.dtb
    • LVDS
      • g070vw01(LVDS0) + HDMI
        • imx8mp-rom5722-a1-lvds0-auo.dtb
      • g070vw01(LVDS1) + HDMI
        • imx8mp-rom5722-a1-lvds1-auo.dtb
      • g215hvn01(DUAL LVDS) + HDMI
        • imx8mp-rom5722-a1-lvds-dual.dtb
    • DSI
      • adv7535(DSI to HDMI) + HDMI
        • imx8mp-rom5722-a1-adv7535.dtb
      • auog101uan02(DSI) + HDMI
        • imx8mp-rom5722-a1-auog101uan02.dtb
  • Camera
    • OV5640 (default)
      • imx8mp-rom5722-a1.dtb
    • Basler camrea
      • imx8mp-rom5722-a1-basler.dtb

乙太網路使用方法(Ethernent Testing Method)

Command : ifconfig 

RTENOTITLE

Command: Ping - I eth1 8.8.8.8  or Ping - I eth0 8.8.8.8  

RTENOTITLE

WiFi使用方法(WIFI Testing Method)

Command : 

# killall wpa_supplicant
# ifconfig wlan0 up
# iwlist mlan0 scan
WEP:
# iwconfig mlan0 txpower auto essid "SSID" channel 4
# udhcpc -i mlan0

WPA/WPA2:
# wpa_passphrase "SSID" > wpa.conf
Type password
# wpa_supplicant -B -Dwext -imlan0 -c/home/root/wpa.conf
# udhcpc -i mlan0

ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms

RTENOTITLE

4G使用方法(4G Testing Method)

Command:
Test 4G: (EWM-C117FL06E - USB)
Step 1: Connect EWM-C117FL06E to Mini PCIE slot on 9680015491 and connect
the card to CN6 PCIe_D slot on ROM-DB5901.
Step 2: Connect the antenna 1750007990-01 to the SMA (F) connector on
9680015491
and connect the IPEX connector to MT1 on EWM-C117FL06E module.
Step 3: Connect the Mini USB cable from 9680015491 to USB 2.0 Type A port on
ROM-DB5901.
Step 4: Power on and execute the pppd command to connect to the network.

RTENOTITLE

RTENOTITLE

GPIO使用方法(GPIO Operating Method)

GPIO pin:

RTENOTITLE

 

Loop-back Test (Take GPIO0 and GPIO2 as examples)  

Step 1: Connect GPIO0 and GPIO2
Step 2: Export GPIO interface

root@imx8mprom5722a1: ~# echo 114 > /sys/class/gpio/export
root@imx8mprom5722a1: ~# echo 124 > /sys/class/gpio/export

Step 3: Set direction

root@imx8mprom5722a1: ~# echo out > /sys/class/gpio/gpio1/direction
root@imx8mprom5722a1: ~# echo in > /sys/class/gpio/gpio2/direction

Step 4: Read value and set output value then check

root@imx8mprom5722a1: ~# cat /sys/class/gpio/gpio2/value
0
root@imx8mprom5722a1: ~# echo 1 > /sys/class/gpio/gpio1/value
root@imx8mprom5722a1: ~# cat /sys/class/gpio/gpio2/value
1

串口使用方法(Serial Port Operating Method)

RS-232 Test

CN15上(SER0/UART3): /dev/ttymxc2

CN15 下(SER2/UART1): /dev/ttymxc0

COM 3 (A53 debug/SER3/UART2): /dev/ttymxc1

COM 1 (M7 debug/SER1/UART4): /dev/ttymxc3

SW7 Setting (SW7設置) 

RTENOTITLE

MODE1  MODE0
    0            0            LOOPBACK
    0            1            RS232
    1            0            RS485
    1            1            RS422

Loopback test (eg. ttymxc0)
Connect loopback test tool

  1. stty ‐F /dev/ttymxc0 115200
    # stty ‐F /dev/ttymxc0 ‐echo
    # cat /dev/ttymxc0 &
    # echo test > /dev/ttymxc0

蓝牙使用方法(BlueTooth Operating Method)

Command : 

$ hciconfig hci0 up
$ bluetoothctl
$ discoverable on
$ pairable on
$ scan on
[NEW] FC:18:3C:8D:75:F4 myphone
$ scan off
$ pair FC:18:3C:8D:75:F4
$ connect FC:18:3C:8D:75:F4

RTENOTITLE

  遠程訪問及文件傳輸(Remote Access and File Transimmion)

              查看主板IP位址 ( Chech IP Address ):

        Command : ifconfig

RTENOTITLE

Windows下SSH访问及文件传输

SSH Remote Log into Device 

  • SSH远程登录,以putty选择putty.exe(或者使用Xshell、SecureCRT等类似软件)
  • 需要设置远程设备的IP、通讯端口(默认22)、通讯方式,登录后验证用户名密码

 

RTENOTITLE

RTENOTITLE

 

RTENOTITLE

RTENOTITLE

 

通用方法(General Method)

查看CPU温度(Check CPU Temperature)

    root@imx8mprom5722a1:/# cat /sys/devices/virtual/thermal/thermal_zone0/temp 44600

    # 或者直接以度爲單位顯示 echo $[$(cat /sys/class/thermal/thermal_zone0/temp)/1000]° >>> 45°

查看CPU频率(Check CPU Frequency)

           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_cur_freq 
           >> 900000
           cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq    
           >> 1200000

查看内存容量(Check Memory Capacity)

root@imx8mprom5722a1:~# busybox free -m
              total        used        free      shared  buff/cache   available
Mem:        6002516      402812     5505276       26668       94428     5493888
Swap:             0           0           0

查看存储容量(Check Storage Capacity)

root@imx8mprom5722a1:~# busybox df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                14.1G      3.6G      9.8G  27% /
devtmpfs                  2.4G      4.0K      2.4G   0% /dev
tmpfs                     2.9G         0      2.9G   0% /dev/shm
tmpfs                     2.9G     25.1M      2.8G   1% /run
tmpfs                     2.9G         0      2.9G   0% /sys/fs/cgroup
tmpfs                     2.9G         0      2.9G   0% /tmp
tmpfs                     2.9G    268.0K      2.9G   0% /var/volatile
/dev/mmcblk2p1           83.0M     29.6M     53.5M  36% /run/media/mmcblk2p1
tmpfs                   586.2M      4.0K    586.2M   0% /run/user/0
/dev/mmcblk1p1           83.0M     29.6M     53.5M  36% /run/media/mmcblk1p1
/dev/mmcblk1p2           14.2G      3.6G     10.0G  26% /run/media/mmcblk1p2
root@imx8mprom5722a1:~#

網路Ping測試(Ping Network Testing)

     ping 8.8.8.8
     PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
     64 bytes from 8.8.8.8: icmp_seq=1 ttl=54 time=2.10 ms
     64 bytes from 8.8.8.8: icmp_seq=2 ttl=54 time=2.10 ms

設置RTC (RTC Setting) 

root@imx8mprom5722a1:~# systemctl stop ntpdate.service
root@imx8mprom5722a1:~# date 090816072021 && hwclock -w && date
Wed Sep  8 16:07:00 UTC 2021
Tue Nov 23 07:38:50 UTC 2021
root@imx8mprom5722a1:~# date
Tue Nov 23 07:38:56 UTC 2021
root@imx8mprom5722a1:~#

         

 

Linux BSP編譯方法(Linux BSP Compile Method)

Yocto 4.2

Yocto 4.0

Yocto 3.0

如果有驗證上的錯誤 請使用以下的方法

### repo sync failed with Server certificate verification failed. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; export PATH="/hom e/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/py thon3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-l inux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch64-poky-linux:/home/adv/adv-release-bsp/build_x11/tm p/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/buil d_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp /build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-release-bsp/ build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/recipe-sysroot-native/bin:/home/adv/adv-release-bsp/so urces/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/home/adv"; git -c core.fsyncob jectfiles=0 submodule update --init --recursive failed with exit code 1, output:

Submodule 'common' (

https://anongit.freedesktop.org/git/gstreamer/common.git) registered for path 'common'

Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...

fatal: unable to access '

https://anongit.freedesktop.org/git/gstreamer/common.git/': server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

fatal: clone of '

https://anongit.freedesktop.org/git/gstreamer/common.git' into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed

Failed to clone 'common'. Retry scheduled

Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common'...

fatal: unable to access '

https://anongit.freedesktop.org/git/gstreamer/common.git/': server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

fatal: clone of '

https://anongit.freedesktop.org/git/gstreamer/common.git' into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14.4.imx-r0/git/common' failed

Failed to clone 'common' a second time, aborting

ERROR: gstreamer1.0-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack

ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-poky-linux/gstreamer1.0/1.14. 4.imx-r0/temp/log.do_unpack.42631

ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0_1.14.imx.bb:do_unpack) failed with exit code '1'

ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Fetcher failure: Fetch command export PSEUDO_DISABLED=1; expo rt PATH="/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/ recipe-sysroot-native/usr/bin/python3-native:/home/adv/adv-release-bsp/sources/poky/scripts:/home/adv/adv-release-bsp/b uild_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin/aarch6 4-poky-linux:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx -r0/recipe-sysroot/usr/bin/crossscripts:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer 1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/sbin:/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8m m-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/usr/bin:/home/adv/adv-release-bsp/build_x11/ tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/sbin:/home/adv/adv-rele ase-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/recipe-sysroot-native/bin:/ home/adv/adv-release-bsp/sources/poky/bitbake/bin:/home/adv/adv-release-bsp/build_x11/tmp/hosttools"; export HOME="/hom e/adv"; git -c core.fsyncobjectfiles=0 submodule update --init --recursive failed with exit code 1, output:

Submodule 'common' (

https://anongit.freedesktop.org/git/gstreamer/common.git) registered for path 'common'

Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...

fatal: unable to access '

https://anongit.freedesktop.org/git/gstreamer/common.git/': server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

fatal: clone of '

https://anongit.freedesktop.org/git/gstreamer/common.git' into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed

Failed to clone 'common'. Retry scheduled

Cloning into '/home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.im x-r0/git/common'...

fatal: unable to access '

https://anongit.freedesktop.org/git/gstreamer/common.git/': server certificate verification fa iled. CAfile: /etc/ssl/certs/ca-certificates.crt CRLfile: none

fatal: clone of '

https://anongit.freedesktop.org/git/gstreamer/common.git' into submodule path '/home/adv/adv-release-b sp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0-plugins-base/1.14.4.imx-r0/git/common' failed

Failed to clone 'common' a second time, aborting

ERROR: gstreamer1.0-plugins-base-1.14.4.imx-r0 do_unpack: Function failed: base_do_unpack

ERROR: Logfile of failure stored in: /home/adv/adv-release-bsp/build_x11/tmp/work/aarch64-mx8mm-poky-linux/gstreamer1.0 -plugins-base/1.14.4.imx-r0/temp/log.do_unpack.51633

ERROR: Task (/home/adv/adv-release-bsp/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-multimedia/gstreamer/gstreamer 1.0-plugins-base_1.14.imx.bb:do_unpack) failed with exit code '1'

============================================================
export GIT_SSL_NO_VERIFY=1
#or
git config --global http.sslverify false
============================================================