Difference between revisions of "MIO-5355 Yocto user guide"

From ESS-WIKI
Jump to: navigation, search
(Swtich / Jumper Settings)
 
(9 intermediate revisions by the same user not shown)
Line 21: Line 21:
 
== '''硬件接口說明(Hardware interface introduction)''' ==
 
== '''硬件接口說明(Hardware interface introduction)''' ==
  
=== '''接口布局和尺寸(Layout and Sizes)''' ===
+
=== '''接口布局(Layout)''' ===
  
 
'''[[File:Mio-5355 top.jpg|TOPSIDE]]'''
 
'''[[File:Mio-5355 top.jpg|TOPSIDE]]'''
Line 43: Line 43:
  
 
'''SW2'''
 
'''SW2'''
 +
*LVDS Resolution setting
 +
'''[[File:Mio-5355 LVDS Resolution.jpg|LVDS_Resolution]]'''
 +
 +
'''SW3'''
 +
 +
*SW3 ( 1-on ) : COM1 TERM RX Eable
 +
*SW3 ( 1-off ) : COM1 TERM RX Disable
 +
*SW3 ( 2-on ) : COM2 TERM RX Eable
 +
*SW3 ( 2-off ) : COM2 TERM RX Disable
  
'''[[File:Mio-5355 LVDS Resolution.jpg|LVDS_Resolution]]'''
+
'''VDD1'''
  
=== '''快速入門 (Quick Start)''' ===
+
*VDD1 ( Select 1,3 ): 3.3V
 +
*VDD1 ( Select 3,5 ): 5V
 +
*VDD1 ( Select 3,4 ): 12V
  
 
=== '''系统下载 (OS Download)''' ===
 
=== '''系统下载 (OS Download)''' ===
Line 54: Line 65:
 
[https://www.dropbox.com/scl/fo/tptbp080ohgckjdbr3vrq/AFLPSjOpHbpN6_IfFaoksO0/officialbuild/risc_qcs_linux_yocto_00041.0/2025-10-14?rlkey=647rksjn60zyqj4i134tflsuj&e=2&subfolder_nav_tracking=1&st=kixrspiq&dl=0 2025-10-14]
 
[https://www.dropbox.com/scl/fo/tptbp080ohgckjdbr3vrq/AFLPSjOpHbpN6_IfFaoksO0/officialbuild/risc_qcs_linux_yocto_00041.0/2025-10-14?rlkey=647rksjn60zyqj4i134tflsuj&e=2&subfolder_nav_tracking=1&st=kixrspiq&dl=0 2025-10-14]
  
== '''Recovery & Rescue 燒錄方法 (Recovery & Rescue method)''' ==
+
== '''燒錄方法 (Recovery & Rescue method)''' ==
  
 
'''1. Download the Qualcomm Software Center '''
 
'''1. Download the Qualcomm Software Center '''
Line 95: Line 106:
  
 
'''12. Unzip the UFS File and eMMC File '''
 
'''12. Unzip the UFS File and eMMC File '''
 
'''[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/Linux_Yocto_OS_Release_note/LE_aeversion https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/Linux_Yocto_OS_Release_note/LE_aeversion] '''
 
  
 
'''For example : '''
 
'''For example : '''
  
'''         2860A1AIM38LIV11026_2024-11-17_ufs.tgz'''
+
'''         mio5355a1_yocto4.0.18-le1.1_v2.0.0_kernel-6.6.28_qcs6490_8g_emmc_2025-10-14.tgz '''
  
'''         2860A1AIM38LIV11026_2024-11-17_emmc.tgz '''
+
'''         mio5355a1_yocto4.0.18-le1.1_v2.0.0_kernel-6.6.28_qcs6490_8g_ufs_2025-10-14.tgz '''
  
 
'''13 Connect your device via Micro USB.'''
 
'''13 Connect your device via Micro USB.'''
  
'''<span style="background-color:#ffff00;">14. if your pc can not identify the USB , please download the "</span>'<span style="background-color:#ffff00;">Qualcomm USB Driver"&nbsp;</span>'''
+
'''14. if your pc can not identify the USB , please download the "'Qualcomm USB Driver"&nbsp;'''
  
'''<span style="background-color:#ffff00;">15. Search "&nbsp;Qualcomm USB Driver "&nbsp;</span>''<span style="background-color:#ffff00;">in the search bar , then install the driver.&nbsp;</span>'''''
+
'''15. Search "&nbsp;Qualcomm USB Driver "&nbsp;''in the search bar , then install the driver.&nbsp;'''''
  
 
[[File:ROM-2860 search bar usb driver.PNG|RTENOTITLE]]
 
[[File:ROM-2860 search bar usb driver.PNG|RTENOTITLE]]
  
=== '''<u>Reformat</u>&nbsp;&nbsp;''' ===
+
=== '''<u>Flash UFS</u>''' ===
  
'''<span style="background-color:#ffff00;">For confirmation, we will erase the partition before UFS installation.&nbsp;</span>'''
+
'''For confirmation, we will erase the partition before UFS installation.&nbsp;'''
  
'''1. Select&nbsp; provision button&nbsp;&nbsp;&nbsp;[[File:ROM-2860 provision file button.PNG|RTENOTITLE]]&nbsp;&nbsp;'''
+
'''&nbsp;1. Change the SW1'''
  
[[File:ROM-2860 provision file icon yocto.PNG|RTENOTITLE]]
+
'''<span style="background-color:#ffff00;">&nbsp;Flash UFS:&nbsp; the SW1 switch to 1-on, 3-on</span>'''
  
'''2. Add the&nbsp;prog_firehose_ddr.elf and&nbsp;provision_ufs31.xml in UFS&nbsp;&nbsp;folder.&nbsp;'''
+
'''&nbsp;2. Turn on the power&nbsp;'''
  
[[File:ROM-2860 provision clean.PNG|RTENOTITLE]]
+
'''&nbsp;3. Open " PCATApp" Tool&nbsp;'''
  
'''3. Then press "OK" , it will start to do USF Provision.&nbsp;'''
+
'''&nbsp;4. Select&nbsp; "Qualcomm HS-USB QDLoader 9008"&nbsp; and click connect'''
  
[[File:ROM-2860 provision file running.PNG|RTENOTITLE]]
+
[[File:MIO-5355 Connect.jpg|Connect]]
  
'''4. When the Provision finished , you can see the result in message window.&nbsp;'''
+
'''5. When you connected successfully , it will show&nbsp; "green word" - Qualcomm HS-USB QDLoader 9008 (COM 11)&nbsp;'''
  
[[File:ROM-2860 provision log yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355 Connected.png|Connected]]
  
=== '''<u>Flash UFS</u>''' ===
+
'''6. Select UFS Folder in PCAT Tool , the Tool will help load Files automatically and Select "MEMORY_TYPE_UFS"&nbsp;'''
  
'''&nbsp;<span style="background-color:#ffff00;">1. Change the SW1 and SW2&nbsp;</span>'''
+
[[File:MIO-5355 Select.PNG|Select]]
  
'''<span style="background-color:#ffff00;">&nbsp;Flash UFS:&nbsp; the SW1 switch to 1-on, 2-on&nbsp;&nbsp; &nbsp; &nbsp;Forced Recovery&nbsp;:&nbsp;&nbsp;The SW2 switch to 1-on&nbsp; ,2 - on .&nbsp;</span>'''
+
'''7. Select&nbsp; provision button&nbsp;&nbsp;&nbsp;[[File:ROM-2860 provision file button.PNG|RTENOTITLE]]&nbsp;&nbsp;'''
  
'''&nbsp;2. Turn on the power&nbsp;'''
+
[[File:ROM-2860 provision file icon yocto.PNG|RTENOTITLE]]
  
'''&nbsp;3. Open " PCATApp" Tool&nbsp;'''
+
'''8. Add the&nbsp;prog_firehose_ddr.elf and&nbsp;provision_ufs31.xml in UFS&nbsp;&nbsp;folder.&nbsp;'''
  
'''&nbsp;4. Click " Connect A Device"&nbsp;'''
+
[[File:MIO-5355 UFSPROVISION.jpg|UFSPROVISION]]
  
[[File:ROM-2860 PCAT UFS .PNG|RTENOTITLE]]
+
'''9. Then press "OK" , it will start to do USF Provision.&nbsp;'''
  
'''5. Select&nbsp; "Qualcomm HS-USB QDLoader 9008 (COM11)&nbsp;'''
+
[[File:ROM-2860 provision file running.PNG|RTENOTITLE]]
  
[[File:ROM-2860 comport connect 0 yocto.PNG|RTENOTITLE]]
+
'''10. When the Provision finished , you can see the result in message window.&nbsp;'''
  
'''6. Click " Connect "&nbsp; device&nbsp;'''
+
[[File:ROM-2860 provision log yocto.PNG|RTENOTITLE]]
 
 
[[File:ROM-2860 comport connect 1 yocto.PNG|RTENOTITLE]]
 
 
 
'''7. When you connected successfully , it will show&nbsp; "qreen word" - Qualcomm HS-USB QDLoader 9008 (COM 11)&nbsp;'''
 
 
 
[[File:ROM-2860 comport connect 2 yocto.PNG|RTENOTITLE]]
 
 
 
'''8. Select UFS Folder in PCAT Tool , the Tool will help load Files automatically and Select "MEMORY_TYPE_UFS"&nbsp;'''
 
 
 
[[File:ROM-2860 UFS 0 yocto.PNG|RTENOTITLE]]
 
 
 
'''9. Click " Download"&nbsp;'''
 
 
 
[[File:ROM-2860 UFS download yocto.PNG|RTENOTITLE]]
 
  
'''10. UFS Download Status&nbsp;'''
+
'''11. Click " Download"&nbsp;'''
  
'''[[File:ROM-2860 UFS download 1 yocto.PNG|RTENOTITLE]]'''
+
[[File:MIO-5355 ufs download.png|UFS_DOWNLOAD]]
  
'''11. UFS Donwload ''''''completed'''
+
'''12. UFS Donwload ''''''completed'''
  
[[File:ROM-2860 UFS download done yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355 ufs finished.png|ufs_finished]]
  
'''<span style="background-color:#ffff00;">12. When you finish the download process , please change the switch.</span>'''
+
'''12. When you finish the download process , please change the switch.'''
  
'''&nbsp; &nbsp; &nbsp; &nbsp; <span style="background-color:#ffff00;">Flash UFS:&nbsp; the SW1 switch to 1-off, 2-off&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Forced Recovery&nbsp;:&nbsp; The SW2 switch to 1-on&nbsp; ,2 - on.</span>'''
+
'''&nbsp; &nbsp; &nbsp; &nbsp; Flash UFS:&nbsp; the SW1 <span style="background-color:#ffff00;">switch to 1-off</span>'''
  
 
&nbsp;
 
&nbsp;
Line 184: Line 179:
 
'''1.&nbsp; Turn off the Power&nbsp;'''
 
'''1.&nbsp; Turn off the Power&nbsp;'''
  
'''<span style="background-color:#ffff00;">2.&nbsp;Change the SW1 and SW2&nbsp;</span>'''
+
'''2.&nbsp;Change the SW1&nbsp;'''
  
'''<span style="background-color:#ffff00;">&nbsp;Flash eMMC:&nbsp; the SW1 switch to 1-off, 2-on&nbsp;&nbsp; &nbsp; &nbsp;Forced Recovery&nbsp;:&nbsp;&nbsp;The SW2 switch to 1-on&nbsp; ,2 - on .&nbsp;</span>'''
+
'''<span style="background-color:#ffff00;">&nbsp;Flash eMMC:&nbsp; the SW1 switch to 1-on, 3-off&nbsp;</span>'''
  
 
'''3. Turn on the power&nbsp;'''
 
'''3. Turn on the power&nbsp;'''
Line 194: Line 189:
 
'''5.&nbsp;If the device disconnect with PCAT Tool , please connect it again.&nbsp;'''
 
'''5.&nbsp;If the device disconnect with PCAT Tool , please connect it again.&nbsp;'''
  
[[File:ROM-2860 comport connect 0 yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355 Connect.jpg|Connect]]
  
 
&nbsp;
 
&nbsp;
  
'''6. Select eMMC Folder.'''
+
'''6. Select EMMC Folder in PCAT Tool, the Tool will help load Files automatically and Select "MEMORY_TYPE_EMMC"'''
  
[[File:ROM-2860 emmc 0 yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355 EMMC Select.png|EMMC_Select]]
  
 
'''7. Make sure the setting ,then press " Download " button.'''
 
'''7. Make sure the setting ,then press " Download " button.'''
  
[[File:ROM-2860 emmc 1 download yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355 EMMC Flash.png|EMMC_Flash]]
 
 
'''&nbsp;8. eMMC download status&nbsp;'''
 
 
 
[[File:ROM-2860 emmc 2 download yocto.PNG|RTENOTITLE]]
 
  
'''9. eMMC Donwload ''''''completed'''
+
'''8. eMMC Donwload ''''''completed'''
  
[[File:ROM-2860 emmc 3 download yocto.PNG|RTENOTITLE]]
+
[[File:MIO-5355_EMMC_Finished.png|EMMC_Finished]]
  
 
'''10. When the eMMC installation finished . Close the PCAT tool ,'''
 
'''10. When the eMMC installation finished . Close the PCAT tool ,'''
Line 218: Line 209:
 
'''11 ''''''Please'''&nbsp;'''remove the mirco usb cable, turn off the power&nbsp;'''
 
'''11 ''''''Please'''&nbsp;'''remove the mirco usb cable, turn off the power&nbsp;'''
  
'''12.'''&nbsp;'''eMMC boot up&nbsp;:&nbsp; SW1 switch to 1-off, 2-on&nbsp;&nbsp; &nbsp; &nbsp;Forced Recovery&nbsp;:&nbsp;<span style="background-color:#ffff00;">&nbsp;The SW2 switch to 1-off&nbsp; ,2 - off&nbsp;.&nbsp;</span>'''
+
'''12.'''&nbsp;'''eMMC boot up&nbsp;:&nbsp; SW1 switch to 1-off&nbsp;'''
  
 
'''13. Connect debug cable and open the terminal ,&nbsp;&nbsp;turn on the power .&nbsp;'''
 
'''13. Connect debug cable and open the terminal ,&nbsp;&nbsp;turn on the power .&nbsp;'''
 
'''14.&nbsp; If you have done "&nbsp;<u>Reformat</u> " <u>,</u> the message will show " DDR: Start of DDR Training Init "&nbsp;&nbsp;&nbsp;'''
 
 
'''15.&nbsp; When the systm&nbsp;boot up , you need to type &nbsp;" qcs6490-rom2860a1 login: <span style="background-color:#ffff33;">root </span>"&nbsp; , " Password: <span style="background-color:#ffff00;">oelinux123</span>"'''
 
 
'''16.&nbsp; After type the login and password , and you also can chek the image information about date , kernel version etc..&nbsp;'''
 
 
[[File:ROM-2860 emmc boot yocto.PNG|RTENOTITLE]]
 
  
 
&nbsp;
 
&nbsp;
  
== '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)&nbsp;''' ==
+
== '''Linux BSP編譯方法(Linux BSP Compile Method)&nbsp;''' ==
 
 
[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Yocto_LE1.3_AOM2721 '''Yocto 4.0(LE 1.3)''']
 
  
[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Yocto_LE1.1_AOM2721 '''Yocto 4.0(LE 1.1)''']
+
[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Yocto_LE1.1_MIO-5355 '''Yocto 4.0(LE 1.1)''']
  
 
&nbsp;
 
&nbsp;
  
Modify&nbsp;scripts/env.sh file:
+
== '''基本功能測試(Basic Function test)&nbsp;''' ==
 
 
'''#!/bin/bash'''
 
  
'''#TOPDIR=$(dirname $(dirname $(readlink -fm $0)))<br/> TOPDIR=$(dirname $(dirname $(readlink -fm ${BASH_SOURCE[0]})))'''<br/> [[File:AOM-2721 build env.png|RTENOTITLE]]
+
[https://ess-kms.edgecenter.io/en/aimlinux/public/ECG/MIO-5355_LE_SW_User_Manual Test SOP]

Latest revision as of 08:47, 28 November 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 and Ubuntu

 

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

MIO-5355

 

硬件接口說明(Hardware interface introduction)

接口布局(Layout)

TOPSIDE

BOTTOMSIDE

Swtich / Jumper Settings

 

SW1

  • SW1 ( 1-on ) : USB EDL Mode (Forced Recovery)
  • SW1 ( 1-off ) : Normal Boot
  • SW1 ( 2-on ) : AT Mode
  • SW1 ( 2-off ) : ATX Mode
  • SW1 ( 3-on ) : UFS
  • SW1 ( 3-off ) : EMMC
  • SW1 ( 4-on ) : LVDS (DVT Support)
  • SW1 ( 4-off ) : eDP (DVT Support)

SW2

  • LVDS Resolution setting

LVDS_Resolution

SW3

  • SW3 ( 1-on ) : COM1 TERM RX Eable
  • SW3 ( 1-off ) : COM1 TERM RX Disable
  • SW3 ( 2-on ) : COM2 TERM RX Eable
  • SW3 ( 2-off ) : COM2 TERM RX Disable

VDD1

  • VDD1 ( Select 1,3 ): 3.3V
  • VDD1 ( Select 3,5 ): 5V
  • VDD1 ( Select 3,4 ): 12V

系统下载 (OS Download)

Yocto 4.0 :  

2025-10-14

燒錄方法 (Recovery & Rescue method)

1. Download the Qualcomm Software Center 

      Qualcomm® Software Center 

2. Open the Qualcomm Software Center 

3. Search "PCAT" in the search bar 

RTENOTITLE

4. Click Qualcomm® Product Configuration Assistant Tool 

5. Select Qualcomm® Product Configuration Assistant Tool version 

    Version: 2.33.2.119

RTENOTITLE

6. Install Qualcomm® Product Configuration Assistant Tool 2.33.2.119 

7. Search "QUTS" in the search bar  

RTENOTITLE

8. Click the  Qualcomm® Unified Tools Services 

9. Select Qualcomm® Unified Tools Services version 

     Version : 1.75.2.9

10. Install Qualcomm® Unified Tools Services  1.75.2.9 

RTENOTITLE

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

RTENOTITLE

12. Unzip the UFS File and eMMC File 

For example : 

         mio5355a1_yocto4.0.18-le1.1_v2.0.0_kernel-6.6.28_qcs6490_8g_emmc_2025-10-14.tgz 

         mio5355a1_yocto4.0.18-le1.1_v2.0.0_kernel-6.6.28_qcs6490_8g_ufs_2025-10-14.tgz 

13 Connect your device via Micro USB.

14. if your pc can not identify the USB , please download the "'Qualcomm USB Driver" 

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

RTENOTITLE

Flash UFS

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

 1. Change the SW1

 Flash UFS:  the SW1 switch to 1-on, 3-on

 2. Turn on the power 

 3. Open " PCATApp" Tool 

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

Connect

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

Connected

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

Select

7. Select  provision button   RTENOTITLE  

RTENOTITLE

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

UFSPROVISION

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

RTENOTITLE

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

RTENOTITLE

11. Click " Download" 

UFS_DOWNLOAD

'12. UFS Donwload 'completed

ufs_finished

12. When you finish the download process , please change the switch.

        Flash UFS:  the SW1 switch to 1-off

 

Flash eMMC

1.  Turn off the Power 

2. Change the SW1 

 Flash eMMC:  the SW1 switch to 1-on, 3-off 

3. Turn on the power 

4. Make sure the device connection status. 

5. If the device disconnect with PCAT Tool , please connect it again. 

Connect

 

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

EMMC_Select

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

EMMC_Flash

'8. eMMC Donwload 'completed

EMMC_Finished

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

'11 'Please remove the mirco usb cable, turn off the power 

12. eMMC boot up :  SW1 switch to 1-off 

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

 

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

Yocto 4.0(LE 1.1)

 

基本功能測試(Basic Function test) 

Test SOP