Difference between revisions of "ROM-2860 user guide"

From ESS-WIKI
Jump to: navigation, search
 
(40 intermediate revisions by the same user not shown)
Line 23: Line 23:
  
 
=== ''' ROM-ED 接口布局圖 Board Dimension Layout''' ===
 
=== ''' ROM-ED 接口布局圖 Board Dimension Layout''' ===
 +
 +
[[File:ROM-2860 layout functions top s.PNG|RTENOTITLE]]
 +
 +
[[File:ROM-2860 layout functions buttom s.PNG|RTENOTITLE]]
 +
 +
[[File:ROM-2860 layout functions switchsetting ss.png|RTENOTITLE]]
  
 
 
 
 
 +
 +
 
 +
 +
'''SW1'''
 +
 +
*'''SW1(1-off,2-on) : eMMC boot'''
 +
*'''SW1(1-on,2-on) : UFS boot'''
 +
 +
'''SW2'''
 +
 +
*'''SW2(1-on): Forced Recovery'''
 +
*'''SW2(1-off): Normal Boot'''
 +
*'''SW2(2-on): AT mode'''
 +
*'''SW2(2-off):ATx mode'''
 +
 +
'''SW6'''
  
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
 
=== '''主板内置插针式引脚排序方式 (Pin Header defination) ''' ===
Line 51: Line 73:
 
 
 
 
  
=== '''Linux 燒錄方法 (Linux Flash Imgage Method)''' ===
+
== '''Recovery & Rescue 燒錄方法 (Recovery & Rescue method)''' ==
  
 
'''1. Download the Qualcomm Software Center '''
 
'''1. Download the Qualcomm Software Center '''
  
'''&nbsp; &nbsp; &nbsp; <span lang="EN-US" style="font-family:Aptos">[https://apc01.safelinks.protection.outlook.com/?url=https://softwarecenter.qualcomm.com/#/catalog/search?term=quts&data=05|02|Phill.Liu@advantech.com.tw|a5708774d38c4b74ff7f08dcc24cc826|a77d40d9dcba4ddab5715f18e6da853f|0|0|638598882253721158|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0=|0|||&sdata=etgOjqER1Qn/wNJ7DMMWS4IfKxwdUk3NZ19XmduPTRU=&reserved=0 Qualcomm® Software Center]</span>&nbsp;'''
+
'''&nbsp; &nbsp; &nbsp; [https://softwarecenter.qualcomm.com/#/ <span lang="EN-US" style="font-family:Aptos">Qualcomm® Software Center</span>]&nbsp;'''
  
 
'''2. Open the&nbsp;Qualcomm Software Center&nbsp;'''
 
'''2. Open the&nbsp;Qualcomm Software Center&nbsp;'''
Line 101: Line 123:
 
'''13&nbsp;Connect your device via Micro USB.'''
 
'''13&nbsp;Connect your device via Micro USB.'''
  
'''14. Change the SW1 and SW2&nbsp;'''
+
=== '''<u>Reformat</u>&nbsp;&nbsp;''' ===
 +
 
 +
'''<span style="background-color:#ffff00;">For confirmation, we will erase the partition before UFS and eMMC installation.&nbsp;</span>'''
 +
 
 +
'''1. Select&nbsp; provision button&nbsp;&nbsp;&nbsp;[[File:ROM-2860 provision file button.PNG|RTENOTITLE]]&nbsp;&nbsp;'''
 +
 
 +
[[File:ROM-2860 provision file icon.PNG|RTENOTITLE]]
 +
 
 +
'''2. Add the&nbsp;prog_firehose_ddr.elf and&nbsp;provision_ufs31.xml in UFS&nbsp;&nbsp;folder.&nbsp;'''
 +
 
 +
[[File:ROM-2860 provision file.PNG|RTENOTITLE]]
 +
 
 +
'''3. Then press "OK" , it will start to do USF Provision.&nbsp;'''
  
'''&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;'''
+
[[File:ROM-2860 provision file running.PNG|RTENOTITLE]]
  
'''15. Turn on the power&nbsp;'''
+
'''4. When the Provision finished , you can see the result in message window.&nbsp;'''
  
'''16. Open " PCATApp" Tool&nbsp;'''
+
[[File:ROM-2860 provision file result.PNG|RTENOTITLE]]
  
'''17. Click " Connect A Device"&nbsp;'''
+
=== '''<u>Flash UFS</u>''' ===
 +
 
 +
'''&nbsp;<span style="background-color:#ffff00;">1. Change the SW1 and SW2&nbsp;</span>'''
 +
 
 +
'''<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>'''
 +
 
 +
'''&nbsp;2. Turn on the power&nbsp;'''
 +
 
 +
'''&nbsp;3. Open " PCATApp" Tool&nbsp;'''
 +
 
 +
'''&nbsp;4. Click " Connect A Device"&nbsp;'''
  
 
[[File:ROM-2860 PCAT UFS .PNG|RTENOTITLE]]
 
[[File:ROM-2860 PCAT UFS .PNG|RTENOTITLE]]
  
'''18. Select&nbsp; "Qualcomm HS-USB QDLoader 9008 (COM6)&nbsp;'''
+
'''5. Select&nbsp; "Qualcomm HS-USB QDLoader 9008 (COM6)&nbsp;'''
  
 
[[File:ROM-2860 PCAT Tool Select device.PNG|RTENOTITLE]]
 
[[File:ROM-2860 PCAT Tool Select device.PNG|RTENOTITLE]]
  
'''19. Click " Connect "&nbsp; device&nbsp;'''
+
'''6. Click " Connect "&nbsp; device&nbsp;'''
  
 
[[File:ROM-2860 PCAT Tool Connect device.PNG|RTENOTITLE]]
 
[[File:ROM-2860 PCAT Tool Connect device.PNG|RTENOTITLE]]
  
'''20. When you connected successfully , it will show&nbsp; "qreen word" - Qualcomm HS-USB QDLoader 9008 (COM 6)&nbsp;'''
+
'''7. When you connected successfully , it will show&nbsp; "qreen word" - Qualcomm HS-USB QDLoader 9008 (COM 6)&nbsp;'''
  
 
[[File:ROM-2860 PCAT UFS connectiondevice.PNG|RTENOTITLE]]
 
[[File:ROM-2860 PCAT UFS connectiondevice.PNG|RTENOTITLE]]
  
'''21. Select UFS Folder in PCAT Tool , the Tool will help load Files automatically and Select "MEMORY_TYPE_UFS"&nbsp;'''
+
'''8. Select UFS Folder in PCAT Tool , the Tool will help load Files automatically and Select "MEMORY_TYPE_UFS"&nbsp;'''
  
 
[[File:ROM-2860 PCAT Select UFS File .PNG|RTENOTITLE]]
 
[[File:ROM-2860 PCAT Select UFS File .PNG|RTENOTITLE]]
  
'''22. Click " Download"&nbsp;'''
+
'''9. Click " Download"&nbsp;'''
 +
 
 +
[[File:ROM-2860 PCAT Select UFS File Download.png|RTENOTITLE]]
 +
 
 +
'''10. UFS Download Status&nbsp;'''
 +
 
 +
'''[[File:ROM-2860 PCAT Select UFS File Download status.png|RTENOTITLE]]11. UFS Donwload compeleted&nbsp;'''
 +
 
 +
'''[[File:ROM-2860 PCAT Select UFS File Download status 100.png|RTENOTITLE]]'''
 +
 
 +
=== '''Flash eMMC''' ===
 +
 
 +
'''1.&nbsp; Turn off the Power&nbsp;'''
 +
 
 +
'''<span style="background-color:#ffff00;">2.&nbsp;Change the SW1 and SW2&nbsp;</span>'''
 +
 
 +
'''<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>'''
 +
 
 +
'''3. Turn on the power&nbsp;'''
 +
 
 +
'''4. Make sure the device connection status.&nbsp;'''
 +
 
 +
'''5.&nbsp;If the device disconnect with PCAT Tool , please connect it again.&nbsp;'''
 +
 
 +
[[File:ROM-2860 PCAT Tool Connect device.PNG|RTENOTITLE]]
 +
 
 +
'''6. Select eMMC Folder.'''
 +
 
 +
'''[[File:ROM-2860 PCAT Select eMMC File.png|RTENOTITLE]]7. Make sure the setting ,then press " Download " button.'''
 +
 
 +
[[File:ROM-2860 PCAT check eMMC setting download1.png|RTENOTITLE]]
 +
 
 +
'''&nbsp;8. eMMC downlaoad status&nbsp;'''
 +
 
 +
[[File:ROM-2860 PCAT Select eMMC File Download status.png|RTENOTITLE]]
 +
 
 +
'''&nbsp;9. eMMC D''''''onwload compeleted&nbsp;'''
 +
 
 +
[[File:ROM-2860 PCAT Select eMMC File Download status 100.png|RTENOTITLE]]
 +
 
 +
'''10. When the eMMC installation finished . Close the PCAT tool ,'''
 +
 
 +
'''11 pleaes 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 - on .&nbsp;</span>'''
 +
 
 +
'''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 systme 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 long in and password , and you also can chek the image information about date , kernel version etc..&nbsp;'''
 +
 
 +
'''[[File:ROM-2860 login system.PNG|RTENOTITLE]]'''
 +
 
 +
== '''Fastboot''' ==
 +
 
 +
*Micro USB: ROM-ED92 USB0
 +
 
 +
Connect&nbsp;the ROM-ED92 USB0 to host computer and set the Micro USB to&nbsp;'''peripheral'''&nbsp;mode.
 +
<pre># echo "peripheral" > /sys/devices/platform/soc/a600000.ssusb/mode</pre>
 +
 
 +
&nbsp;
 +
 
 +
=== '''Enter the fastboot mode''' ===
 +
<pre>adv@adv-desktop:~$ adb devices
 +
List of devices attached
 +
2e8c656e        device
 +
 
 +
adv@adv-desktop:~$ adb root
 +
restarting adbd as root
 +
 
 +
adv@adv-desktop:~$ adb reboot bootloader
 +
 
 +
adv@adv-desktop:~$ fastboot devices
 +
2e8c656e        fastboot</pre>
 +
 
 +
&nbsp;
 +
 
 +
=== '''Use the fastboot to flash the kernel boot image''' ===
 +
<pre>adv@adv-desktop:~$ fastboot flash boot_a qti-ubuntu-robotics-image-qcs6490-odk-boot.img
 +
target reported max download size of 805306368 bytes
 +
sending 'boot_a' (24420 KB)...
 +
OKAY [  0.790s]
 +
writing 'boot_a'...
 +
OKAY [  0.144s]
 +
finished. total time: 0.935s
 +
 
 +
adv@adv-desktop:~$ fastboot flash boot_b qti-ubuntu-robotics-image-qcs6490-odk-boot.img
 +
target reported max download size of 805306368 bytes
 +
sending 'boot_b' (24420 KB)...
 +
OKAY [  0.827s]
 +
writing 'boot_b'...
 +
OKAY [  0.133s]
 +
finished. total time: 0.960s</pre>
 +
 
 +
&nbsp;
 +
 
 +
=== '''Use the fastboot to flash the kernel dtbo image''' ===
 +
<pre>adv@adv-desktop4:~$ fastboot flash dtbo_a dtbo.img
 +
target reported max download size of 805306368 bytes
 +
sending 'dtbo_a' (12330 KB)...
 +
OKAY [  0.427s]
 +
writing 'dtbo_a'...
 +
OKAY [  0.070s]
 +
finished. total time: 0.497s
  
[[File:ROM-2860 PCAT Select UFS File Download.png]]
+
adv@adv-desktop4:~$ fastboot flash dtbo_b dtbo.img
 +
target reported max download size of 805306368 bytes
 +
sending 'dtbo_b' (12330 KB)...
 +
OKAY [ 0.422s]
 +
writing 'dtbo_b'...
 +
OKAY [ 0.061s]
 +
finished. total time: 0.483s</pre>
  
 
= '''通用方法(General Method)''' =
 
= '''通用方法(General Method)''' =
Line 148: Line 304:
  
 
=== [https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Linux_00011.1_qualcomm_series '''Ubuntu 20.04'''] ===
 
=== [https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Linux_00011.1_qualcomm_series '''Ubuntu 20.04'''] ===
 +
<div id="gtx-trans" style="position: absolute; left: 187px; top: 2388.6px;"><div class="gtx-trans-icon">&nbsp;</div> </div>

Latest revision as of 07:34, 5 September 2024

產品介紹

產品特性(Features)

  • Qualcomm Arm® v8 Cortex® Gold plus up to 2.7 GHz
  • 3x Arm v8 Cortex® Up to 2.4GHz
  • Onboard LPDDR5 8GB, 8533MT/s memory
  • 1x MIPI-DSI x4, 1x DP and 1x eDP1.4 for Displays
  • 1x USB3.2 Gen1, 1x USB2.0, 2x PCIe Gen3.0 x1, 2x I2S, 2x 4wire UART, 1x SPI,16x GPIO, 2x I2C, 6x PWM, 2x MIPI-CSI x4
  • 1x UFS, 1x eMMC and 1x 4-bit SDIO for storages
  • Support Windows 11 and Ubuntu

 

 

產品官網連結(Product information Link)

 ROM-2860

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

 ROM-ED 接口布局圖 Board Dimension Layout

RTENOTITLE

RTENOTITLE

RTENOTITLE

 

 

SW1

  • SW1(1-off,2-on) : eMMC boot
  • SW1(1-on,2-on) : UFS boot

SW2

  • SW2(1-on): Forced Recovery
  • SW2(1-off): Normal Boot
  • SW2(2-on): AT mode
  • SW2(2-off):ATx mode

SW6

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

Internal I/O, Jummper/Switch List:

Position Description
   

 

快速入門 (Quick Start)

系统下载 (OS Download)

  • 'Linux系统 (Linux OS)'   

Ubuntu 20.04 :  

 

Recovery & Rescue 燒錄方法 (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 : 

         2860A1AIM37UIV10084_2024-08-08_ufs_debug.tgz

         2860A1AIM37UIV10084_2024-08-08_emmc_debug.tgz 

13 Connect your device via Micro USB.

Reformat  

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

1. Select  provision button   RTENOTITLE  

RTENOTITLE

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

RTENOTITLE

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

RTENOTITLE

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

RTENOTITLE

Flash UFS

 1. Change the SW1 and SW2 

 Flash UFS:  the SW1 switch to 1-on, 2-on      Forced Recovery :  The SW2 switch to 1-on  ,2 - on . 

 2. Turn on the power 

 3. Open " PCATApp" Tool 

 4. Click " Connect A Device" 

RTENOTITLE

5. Select  "Qualcomm HS-USB QDLoader 9008 (COM6) 

RTENOTITLE

6. Click " Connect "  device 

RTENOTITLE

7. When you connected successfully , it will show  "qreen word" - Qualcomm HS-USB QDLoader 9008 (COM 6) 

RTENOTITLE

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

RTENOTITLE

9. Click " Download" 

RTENOTITLE

10. UFS Download Status 

RTENOTITLE11. UFS Donwload compeleted 

RTENOTITLE

Flash eMMC

1.  Turn off the Power 

2. Change the SW1 and SW2 

 Flash eMMC:  the SW1 switch to 1-off, 2-on      Forced Recovery :  The SW2 switch to 1-on  ,2 - on . 

3. Turn on the power 

4. Make sure the device connection status. 

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

RTENOTITLE

6. Select eMMC Folder.

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

RTENOTITLE

 8. eMMC downlaoad status 

RTENOTITLE

' 9. eMMC D'onwload compeleted 

RTENOTITLE

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

11 pleaes remove the mirco usb cable, turn off the power 

12. eMMC boot up :  SW1 switch to 1-off, 2-on      Forced Recovery :  The SW2 switch to 1-off  ,2 - on . 

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

14.  If you have done " Reformat " , the message will show " DDR: Start of DDR Training Init "   

15.  When the systme boot up , you need to type  " qcs6490-rom2860a1 login: root "  , " Password: oelinux123"

16.  After type the long in and password , and you also can chek the image information about date , kernel version etc.. 

RTENOTITLE

Fastboot

  • Micro USB: ROM-ED92 USB0

Connect the ROM-ED92 USB0 to host computer and set the Micro USB to peripheral mode.

# echo "peripheral" > /sys/devices/platform/soc/a600000.ssusb/mode

 

Enter the fastboot mode

adv@adv-desktop:~$ adb devices
List of devices attached
2e8c656e        device

adv@adv-desktop:~$ adb root
restarting adbd as root

adv@adv-desktop:~$ adb reboot bootloader

adv@adv-desktop:~$ fastboot devices
2e8c656e        fastboot

 

Use the fastboot to flash the kernel boot image

adv@adv-desktop:~$ fastboot flash boot_a qti-ubuntu-robotics-image-qcs6490-odk-boot.img
target reported max download size of 805306368 bytes
sending 'boot_a' (24420 KB)...
OKAY [  0.790s]
writing 'boot_a'...
OKAY [  0.144s]
finished. total time: 0.935s

adv@adv-desktop:~$ fastboot flash boot_b qti-ubuntu-robotics-image-qcs6490-odk-boot.img
target reported max download size of 805306368 bytes
sending 'boot_b' (24420 KB)...
OKAY [  0.827s]
writing 'boot_b'...
OKAY [  0.133s]
finished. total time: 0.960s

 

Use the fastboot to flash the kernel dtbo image

adv@adv-desktop4:~$ fastboot flash dtbo_a dtbo.img
target reported max download size of 805306368 bytes
sending 'dtbo_a' (12330 KB)...
OKAY [  0.427s]
writing 'dtbo_a'...
OKAY [  0.070s]
finished. total time: 0.497s

adv@adv-desktop4:~$ fastboot flash dtbo_b dtbo.img
target reported max download size of 805306368 bytes
sending 'dtbo_b' (12330 KB)...
OKAY [  0.422s]
writing 'dtbo_b'...
OKAY [  0.061s]
finished. total time: 0.483s

通用方法(General Method)

查看CPU温度(Check CPU Temperature)

 

查看内存容量(Check Memory Capacity)

 

查看存储容量(Check Storage Capacity)

 

設置RTC (RTC Setting) 

查看系統時間 (Check the system) 

 
 

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

Ubuntu 20.04