Difference between revisions of "AOM-5721 Yocto user guide"

From ESS-WIKI
Jump to: navigation, search
Line 1,385: Line 1,385:
  
 
'''Login information: root/oelinux123'''
 
'''Login information: root/oelinux123'''
 +
  
 
== '''燒錄方法 (Recovery & Rescue method)''' ==
 
== '''燒錄方法 (Recovery & Rescue method)''' ==
  
'''Install the flash tool: The version below has been tested without problems'''
+
'''Install flash tool: The version below has been tested.'''
  
 
{|
 
{|
Line 1,588: Line 1,589:
  
 
 
 
 
 
  
 
= '''基本功能測試(Basic Function test) ''' =
 
= '''基本功能測試(Basic Function test) ''' =

Revision as of 06:49, 23 December 2025

產品介紹(Product introduction )

產品特性(Product Features)

  • Qualcomm® QCS6490/QCS5430 on 3.5" SBC, support extend operating temperature -20~70°C
  • Powerful but Low Power with 8x Kryo 670 CPU from 1.9 up to 2.7 GHz + Adreno GPU 643 + up to 12.3 TOPs iNPU
  • Rugged Design with On-board 8GB LPDDR5 and 128GB UFS or eMMC
  • Flexible Displays with HDMI and LVDS or eDP & Rich I/Os: 2x GbE, 6x USB, 4x COM, 2x MIPI-CSI, 1x Audio
  • 3x M.2 Expansions: M.2 E-Key 2230 for WiFi/BT, M.2 B-Key 3052 for 4G/LTE, M.2 B-Key 2280 for NVMe Storage
  • Various OS Support: Yocto, Windows on Arm

產品官網連結(Product official website link)

AOM-5721

 

 

硬件接口說明(Hardware interface introduction)

接口布局(Layout)

 

Connector Pin Definitions

DCIN_2 Connector

DCIN connector Pin Definition

Pin

Pin Name

1

PGND

2

DC_IN

3

DC_IN

4

PGND

 

 

Switch / Jumper Settings

AOM-5721:

SW1 ON OFF
1 eMMC boot UFS boot
2 Enter Download/Recovery Normal boot

AOM-DB6700:

SW1

Switch

1

2

3

4

5

6

Function

SW1

ON

---

---

---

---

---

Enable: GBE0_LINK_MID# pull high [Default]

OFF

---

---

---

---

---

Disable: GBE0_LINK_MID# pull high

---

ON

---

---

---

---

Enable: GBE0_LINK_MAX# pull high [Default]

---

OFF

---

---

---

---

Disable: GBE0_LINK_MAX# pull high

---

---

ON

---

---

---

Enable: GBE1_LINK_MID# pull high [Default]

---

---

OFF

---

---

---

Disable: GBE1_LINK_MID# pull high

---

---

---

ON

---

---

Enable: GBE1_LINK_MAX# pull high [Default]

---

---

---

OFF

---

---

Disable: GBE1_LINK_MAX# pull high

---

---

---

---

ON

---

Enable: GBE1_LINK_ACT# pull high

---

---

---

---

OFF

---

Disable: GBE1_LINK_ACT# pull high [Default]

---

---

---

---

---

ON

Enable: GBE0_LINK_ACT# pull high

---

---

---

---

---

OFF

Disable: GBE0_LINK_ACT# pull high [Default]

SW2

Switch

1

BOOT_SEL0#

2

BOOT_SEL1#

3

BOOT_SEL2#

4

FORCE_RECOV#

5

TEST#

6

NC

'Function '[Baseon Module specific]

SW2

ON

ON

ON

---

---

NC

Carrier SATA

OFF

ON

ON

---

---

NC

Carrier SD Card

ON

OFF

ON

---

---

NC

Carrier eSPI(CS0#)

OFF

OFF

ON

---

---

NC

Carrier SPI(CS0#)

ON

ON

OFF

---

---

NC

Module Device (NAND, NOR)

OFF

ON

OFF

---

---

NC

Remote Boot (GBE, Serial)

ON

OFF

OFF

---

---

NC

Module eMMC Flash [Default]

OFF

OFF

OFF

---

---

NC

Module SPI

---

---

---

ON

---

NC

Force Recovery Enable

---

---

---

OFF

---

NC

Force Recovery Disable [Default]

---

---

---

---

ON

NC

Specific Test Function Enable

---

---

---

---

OFF

NC

Specific Test Function Disable [Default]

SW3

Switch

1

COM0_MODE0

2

COM0_MODE1

3

COM0_MODE2

4

COM0_TERM_TX

5

COM0_TERM_RX

6

COM0_SLEW

Function

SW3

OFF

OFF

OFF

---

---

---

RS232 Loopback Mode

ON

OFF

OFF

---

---

---

RS232 Mode [Default]

OFF

ON

OFF

---

---

---

RS485 Half-Duplex Mode

ON

ON

OFF

---

---

---

RS485 Full-Duplex (RS422) Mode

OFF

OFF

ON

---

---

---

Reserved (Do Not Use)

ON

OFF

ON

---

---

---

Reserved (Do Not Use)

OFF

ON

ON

---

---

---

Reserved (Do Not Use)

ON

ON

ON

---

---

---

Reserved (Do Not Use)

---

---

---

ON

ON

---

Termination Enable

---

---

---

OFF

OFF

---

Termination Disable [Default]

---

---

---

---

---

ON

Specific Test Function Enable

---

---

---

---

---

OFF

Specific Test Function Disable [Default]

SW4

Switch

1

COM2_MODE0

2

COM2_MODE1

3

COM2_MODE2

4

COM2_TERM_TX

5

COM2_TERM_RX

6

COM2_SLEW

Function

SW4

OFF

OFF

OFF

---

---

---

RS232 Loopback Mode

ON

OFF

OFF

---

---

---

RS232 Mode [Default]

OFF

ON

OFF

---

---

---

RS485 Half-Duplex Mode

ON

ON

OFF

---

---

---

RS485 Full-Duplex (RS422) Mode

OFF

OFF

ON

---

---

---

Reserved(Do Not Use)

ON

OFF

ON

---

---

---

Reserved (Do Not Use)

OFF

ON

ON

---

---

---

Reserved (Do Not Use)

ON

ON

ON

---

---

---

Reserved (Do Not Use)

---

---

---

ON

ON

---

Termination Enable

---

---

---

OFF

OFF

---

Termination Disable [Default]

---

---

---

---

---

ON

Specific Test Function Enable

---

---

---

---

---

OFF

Specific Test Function Disable [Default]

SW5

Switch SW5

Function

1-2

I2S2_MCK from module [Default]

2-3

I2S2_MCK from 24MHz_Oscillator

SD_WP

Switch

1-2

Function

SD_WP

ON

WriteProtection Enable

OFF

Write Protection Disable[Default]

J1 HDMI DP1 Function Select

J1  HDMI DP1 Function Select

Pin

Function

1-2

HDMI0 [Default]

2-3

DP1

J5 LVDS0 VDD Power Select

J5  LVDS0 VDD Power Select

Pin

Function

3-5

+3V3 [Default]

1-3

+5V

3-4

+12V

Other

No Function (Do Not Use)

J6 eDP0 & LVDS0 Hot-Plug Detect Select

J6 eDP & LVDS0 Hot-Plug Detect Select

Pin

Function

1-2

LVDS0 & DSI0

2-3

eDP0_HPD [Default]

J7 LVDS0 Backlight Power Select

J7  LVDS0 Backlight Power Select

Pin

Function

1-2

+5V [Default]

2-3

+12V

J8 LVDS1 VDD Power Select

J8  LVDS1 VDD Power Select

Pin

Function

3-5

+3V3 [Default]

1-3

+5V

3-4

+12V

Other

No Function (Do Not Use)

J9 eDP1 & LVDS1 Hot-Plug Detect Select

J9  eDP1 & LVDS1 Hot-Plug Detect Select

Pin

Function

1-2

LVDS1 & DSI1 [Default]

2-3

eDP1_HPD

J10 LVDS1 Backlight Power Select

'J10 'LVDS1 Backlight Power Select

Pin

Function

1-2

+5V [Default]

2-3

+12V

J12 CAN BUS Port0 Terminal Resistor

'J12 'CAN BUS Port0 Terminal Resistor

Pin

Function

1-2

Mount CAN0 Terminal Resistor [Default]

1-X

NC for CAN0 Terminal Resistor

J13 CAN BUS Port1 Terminal Resistor

Table'3.1.'11.9: J13  CAN BUS Port1 Terminal Resistor

Pin

Function

1-2

Mount CAN1 Terminal Resistor [Default]

1-X

NC for CAN1 Terminal Resistor

J30 SD Card Connector Power Source Select

J30  SD Card Connector Power Source Select

Pin

Function

1-2

+3V3_SB

2-3

+3V3 [Default]

J31 SDIO to M2_E or SD Card Connector Select

J31  SDIO to M2_E or SD Card Connector Select

Pin

Function

1-2

To SDConnector [Default]

2-3

To M.2

J32 PCIE_A_CKREQ# Select for PCIEX1_A

J32  PCIE_A_CKREQ# Select for PCIEX1_A

Pin

Function

1-2

PCIE_A_CKREQ#

1-X

NC for PCIE_A_CKREQ# [Default]

J33 UART0 to M2_E or COM0/2 Connector Select

J33  UART0 to M2_E or COM0/2 Connector Select

Pin

Function

1-2

UART0 to M.2 E-Key

2-3

UART0 to COM Connector[Default]

J34 PCIE_A_CKREQ# Select for M2_E

J34  PCIE_A_CKREQ# Select for M2_E

Pin

Function

1-2

PCIE_A_CKREQ# [Default]

1-X

NC for PCIE_A_CKREQ#

J35 Clear CMOS Header

Table'3.1.'11.15: J35  Clear CMOS Header

Pin

Function

1-2

Normal Operation[Default]

2-3

Clear CMOS

PJ3 AT & ATX Select

PJ3  AT & ATX Select

Pin

Function

1-2

ATX Mode 

2-3

AT Mode[Default]

SPI0_Jumper SPI0_Jumper_Group

SPI0_Jumper  SPI0_Jumper_Group

Pin

Function

J15-J19:1-2, J14:1-2

FLASH CS0 SPI[Default]

J15-J19:1-2, J14:2-3

FLASH CS1 SPI

J15-J19:2-3

PIN HEADER

SPI1/ESPI/QSPI_Jumper SPI1/ESPI/QSPI_Jumper_Group

SPI1/ESPI/QSPI_Jumper  SPI1/ESPI/QSPI_Jumper_Group

Pin

Function

J23-J29:1-2, J21-J22:1-2, J20:1-2

FLASH,CS0 SPI [Default]

J23-J29:1-2, J21-J22:1-2, J20:2-3

FLASH,CS1 SPI

J23-J29:1-2, J21-J22:2-3, J20:1-2

FLASH,CS0 QSPI

J23-J29:1-2, J21-J22:2-3, J20:2-3

FLASH,CS1 QSPI

J23-J29:2-3

PIN HEADER

GPIO5 function Select

GPIO5  GPIO5 PWM_OUT Function Select

Pin

Function

1-2

GPIO5[Default]

2-3

PWM_OUT (For FAN function)

GPIO6 function Select

GPIO6  GPIO6 TACHIN Function Select

Pin

Function

1-2

GPIO6[Default]

2-3

TACHIN (For FAN function)

 

 

快速入門 (Quick Start)

系统下载 (OS Download)

Yocto 4.0 :

2025-10-31 - Dropbox

Login information: root/oelinux123


燒錄方法 (Recovery & Rescue method)

Install flash tool: The version below has been tested.

Qualcomm USB Driver v1.00.91.6

Qualcomm Product Configuration Assistant Tool v2.42.2.165

Qualcomm Unified Tools Services v1.85.2.5

Qualcomm Software Center v1.22.1

1. Download the Qualcomm Software Center 

      Qualcomm® Software Center 

2. Open the Qualcomm Software Center 

3. Search "PCAT" in the search bar 

4. Install Qualcomm® Product Configuration Assistant Tool

5. Install Qualcomm® Unified Tools Services

6. You will find the new application in your Windows system. 

RTENOTITLE

7. Unzip the UFS File and eMMC File 

For example : 

    aom5721a1_yocto4.0.18-le1.1_v1.0.0_kernel-6.6.28_qcs6490_8g_emmc_2025-10-31.tgz

    aom5721a1_yocto4.0.18-le1.1_v1.0.0_kernel-6.6.28_qcs6490_8g_ufs_2025-10-31.tgz

8. Connect your device via Micro USB.

9. Set up to Download/Recovery mode and power on the system. If your PC can not identify the USB, please download the "Qualcomm USB Driver." 

10. Search " Qualcomm USB Driver " in the search bar, then install the driver. 

 

Flash UFS provision:

For confirmation, we will erase the partition before UFS installation. 

 1. Change the SW1 of the AOM-5721 and SW2 of the AOM-DB6700:

Flash UFS Switch cconfig
AOM-5721 SW1 1-off, 2-on
AOM-DB6700 SW2 4-on

 2. Turn on the power 

 3. Open " PCATApp" Tool 

 4. Select  "Qualcomm HS-USB QDLoader 9008"  and click connect

5. When you connect successfully, it will show  "green word" - Qualcomm HS-USB QDLoader 9008 (COM $X) 

6. Select the UFS Folder in the PCAT Tool. The Tool will help load Files automatically and select "MEMORY_TYPE_UFS." 

7. Select the provision button   RTENOTITLE  

RTENOTITLE

8. Add the prog_firehose_ddr.elf and provision_ufs31.xml in UFS  folder. 

9. Then press "OK", it will start to do the USF Provision. 

RTENOTITLE

10. When the Provision is finished, you can see the result in the message window. 

RTENOTITLE

11. Click " Download." 

12. When you finish the download process, please power off and power on to flash UFS.

 

Flash UFS

1. Change the SW1 

Flash UFS Switch cconfig
AOM-5721 SW1 1-off, 2-on
AOM-DB6700 SW2 4-on

2. Turn on the power 

3. Make sure the device connection status. 

4. If the device disconnects from the PCAT Tool, please connect it again. 

6. Select the UFS Folder in the PCAT Tool. The Tool will help load Files automatically and select "MEMORY_TYPE_UFS."

7. Make sure the setting, then press the " Download " button.

8. UFS Download 'completed

10. When the UFS installation is finished. Close the PCAT tool,

11. 'Please remove the micro USB cable, turn off the power 

12. UFS boot-up setting: 

UFS boot Switch cconfig
AOM-5721 SW1 1-off, 2-off
AOM-DB6700 SW2 1-on

13. Connect the ebug cable and open the terminal,  turn on the power. 

 

Flash eMMC

1. Change the SW1 

Flash eMMC Switch cconfig
AOM-5721 SW1 1-on, 2-on
AOM-DB6700 SW2 4-on

2. Turn on the power 

3. Make sure the device connection status. 

4. If the device disconnects from the PCAT Tool, please connect it again. 

6. Select the EMMC Folder in the PCAT Tool. The Tool will help load Files automatically and select "MEMORY_TYPE_EMMC."

7. Make sure the setting, then press the " Download " button.

8. eMMC Download 'completed

10. When the eMMC installation is finished. Close the PCAT tool,

11. 'Please remove the micro USB cable, turn off the power 

12. eMMC boot-up setting:

eMMC boot Switch cconfig
AOM-5721 SW1 1-on, 2-off
AOM-DB6700 SW2 1-on

13. Connect the ebug cable and open the terminal,  turn on the power. 

 

基本功能測試(Basic Function test) 

Test SOP

 


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

AIM-Linux/BSP/Qualcomm/LE1.1 BSP User Guide - ESS-WIKI