Difference between revisions of "ROM-2860 Yocto user guide"

From ESS-WIKI
Jump to: navigation, search
 
(17 intermediate revisions by the same user not shown)
Line 1: Line 1:
  
{{DISPLAYTITLE:EPC-R2860 Yocto user guide}}
+
== {{DISPLAYTITLE:AOM-2721 Yocto user guide}}'''產品介紹(Product introduction )''' ==
 
 
 
 
 
 
== '''產品介紹(Product introduction )''' ==
 
  
 
=== '''產品特性(Product Features)''' ===
 
=== '''產品特性(Product Features)''' ===
Line 18: Line 14:
 
=== '''產品官網連結(Product official website link)''' ===
 
=== '''產品官網連結(Product official website link)''' ===
  
''' TBD'''
+
''' [https://www.advantech.com/zh-tw/products/8fc6f753-ca1d-49f9-8676-10d53129570f/rom-2860/mod_f875a23e-6bbc-4149-a874-b278384283c9 ROM-2860]'''
  
 
 
 
 
Line 26: Line 22:
 
=== '''接口布局和尺寸(Layout and Sizes)''' ===
 
=== '''接口布局和尺寸(Layout and Sizes)''' ===
  
=== '''EPC-R2860 接口布局圖 Board Dimension Layout''' ===
+
'''[[File:EPC-R2860 cover sizeS.png|RTENOTITLE]]'''
 +
 
 +
'''[[File:ROM-2860 layout functions top s.PNG|RTENOTITLE]]'''
  
  '''SW1'''
+
'''[[File:ROM-2860 layout functions buttom s.PNG|RTENOTITLE]]'''
  
*'''SW1(1-off,2-on) : eMMC boot'''
+
'''[[File:ROM-2860 layout functions switchsetting ss.png|RTENOTITLE]]'''
*'''SW1(1-on,2-on) : UFS boot'''  
 
  
'''SW2'''
+
=== '''EPC-R2860 接口布局圖 Board Dimension Layout''' ===
  
*'''SW2(1-on): Forced Recovery'''
+
 
*'''SW2(1-off): Normal Boot'''
 
*'''SW2(2-on): AT mode'''
 
*'''SW2(2-off):ATx mode'''
 
  
 
'''SW6'''
 
'''SW6'''
Line 63: Line 57:
 
'''Yocto 4.0 :  '''
 
'''Yocto 4.0 :  '''
  
 
+
'''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'''
  
 
== '''Recovery & Rescue 燒錄方法 (Recovery & Rescue method)''' ==
 
== '''Recovery & Rescue 燒錄方法 (Recovery & Rescue method)''' ==
Line 123: Line 127:
 
=== '''<u>Reformat</u>&nbsp;&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>'''
+
'''<span style="background-color:#ffff00;">For confirmation, we will erase the partition before UFS installation.&nbsp;</span>'''
  
 
'''1. Select&nbsp; provision button&nbsp;&nbsp;&nbsp;[[File:ROM-2860 provision file button.PNG|RTENOTITLE]]&nbsp;&nbsp;'''
 
'''1. Select&nbsp; provision button&nbsp;&nbsp;&nbsp;[[File:ROM-2860 provision file button.PNG|RTENOTITLE]]&nbsp;&nbsp;'''
Line 183: Line 187:
 
[[File:ROM-2860 UFS download done yocto.PNG|RTENOTITLE]]
 
[[File:ROM-2860 UFS download done yocto.PNG|RTENOTITLE]]
  
=== <span style="background-color:#ffff00;">12. When you finish the download process , please change the switch.&nbsp;</span> ===
+
'''<span style="background-color:#ffff00;">12. When you finish the download process , please change the switch.</span>'''
  
=== <span style="background-color:#ffff00;">&nbsp;</span>'''<span style="background-color:#ffff00;">Flash UFS:&nbsp; the SW1 switch to 1-off, 2-off&nbsp; &nbsp; &nbsp; Forced Recovery&nbsp;:&nbsp;&nbsp;The SW2 switch to 1-on&nbsp; ,2 - on .&nbsp;</span>''' ===
+
'''&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;
  
=== '''Flash eMMC''' ===
+
=== <u>'''Flash eMMC'''</u> ===
  
 
'''1.&nbsp; Turn off the Power&nbsp;'''
 
'''1.&nbsp; Turn off the Power&nbsp;'''
Line 203: Line 207:
 
'''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 PCAT Tool Connect device.PNG|RTENOTITLE]]
+
[[File:ROM-2860 comport connect 0 yocto.PNG|RTENOTITLE]]
 +
 
 +
&nbsp;
  
 
'''6. Select eMMC Folder.'''
 
'''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 emmc 0 yocto.PNG|RTENOTITLE]]
  
[[File:ROM-2860 PCAT check eMMC setting download1.png|RTENOTITLE]]
+
'''7. Make sure the setting ,then press " Download " button.'''
 +
 
 +
[[File:ROM-2860 emmc 1 download yocto.PNG|RTENOTITLE]]
  
 
'''&nbsp;8. eMMC downlaoad status&nbsp;'''
 
'''&nbsp;8. eMMC downlaoad status&nbsp;'''
  
[[File:ROM-2860 PCAT Select eMMC File Download status.png|RTENOTITLE]]
+
[[File:ROM-2860 emmc 2 download yocto.PNG|RTENOTITLE]]
  
'''&nbsp;9. eMMC D''''''onwload compeleted&nbsp;'''
+
'''9. eMMC Donwload compeleted&nbsp;'''
  
[[File:ROM-2860 PCAT Select eMMC File Download status 100.png|RTENOTITLE]]
+
[[File:ROM-2860 emmc 3 download yocto.PNG|RTENOTITLE]]
  
 
'''10. When the eMMC installation finished . Close the PCAT tool ,'''
 
'''10. When the eMMC installation finished . Close the PCAT tool ,'''
Line 223: Line 231:
 
'''11 pleaes remove the mirco usb cable, turn off the power&nbsp;'''
 
'''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>'''
+
'''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>'''
  
 
'''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;'''
Line 233: Line 241:
 
'''16.&nbsp; After type the long in and password , and you also can chek the image information about date , kernel version etc..&nbsp;'''
 
'''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]]'''
+
[[File:ROM-2860 emmc boot yocto.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
 
 
 
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>
 
 
 
&nbsp;
 
  
 
== '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)&nbsp;''' ==
 
== '''Linux&nbsp;BSP編譯方法(Linux&nbsp;BSP Compile Method)&nbsp;''' ==
  
 
[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Yocto_LE1.1_ROM2860 '''Yocto 4.0''']
 
[https://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/Qualcomm/RISC_QCS_Yocto_LE1.1_ROM2860 '''Yocto 4.0''']

Latest revision as of 04:52, 16 January 2025

產品介紹(Product introduction )

產品特性(Product Features)

  • Qualcomm 8 Kryo cores up to 2.7GHz
  • Onboard LPDDR5 8GB, 8533MT/s memory
  • Onboard 128GB UFS and 128GB eMMC
  • 1x 2ch. LVDS, 1x DP and 1x HDMI for displays
  • 2x USB3.2 Gen1, 2x USB2.0, 2x PCIe Gen3.0 x1, 2x 4wire UART, 1x SPI,16x GPIO, 1x I2C, 2x MIPI-CSI x4
  • 1x Micro SD and 1x Nano SIM
  • Support Windows 11 IoT Enterprise

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

 ROM-2860

 

硬件接口說明(Hardware interface introduction)

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

RTENOTITLE

RTENOTITLE

RTENOTITLE

RTENOTITLE

EPC-R2860 接口布局圖 Board Dimension Layout

 

SW6

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

Internal I/O, Jummper/Switch List:

Position Description
   

 

快速入門 (Quick Start)

系统下载 (OS Download)

Yocto 4.0 :  

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

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 : 

         2860A1AIM38LIV11026_2024-11-17_ufs.tgz

         2860A1AIM38LIV11026_2024-11-17_emmc.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

Reformat  

For confirmation, we will erase the partition before UFS 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 (COM11) 

RTENOTITLE

6. Click " Connect "  device 

RTENOTITLE

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

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 

RTENOTITLE

11. UFS Donwload compeleted 

RTENOTITLE

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

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

 

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.

RTENOTITLE

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

RTENOTITLE

 8. eMMC downlaoad status 

RTENOTITLE

9. eMMC Donwload 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 - off . 

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

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

Yocto 4.0