Difference between revisions of "IoTGateway/BSP/Linux"

From ESS-WIKI
Jump to: navigation, search
(Config QtCreator ---- Qt kits)
(FAQ)
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
  
= Preface =
+
{{DISPLAYTITLE:Linux BSP}}
  
Qt has many versions, and may run on defferent OSs.But the toolchain we provide can fit them well.
+
= '''i.MX6''' =
  
It has the following advantages:
+
=== '''RISC Image Naming Rule''' ===
  
*The compilation environment is consistent with runtime environment.
+
*[[RISC_Image_Naming_Rule|<span style="color:#336699">RISC Image Naming Rule</span>]]
*Good compatibility.
 
*Good extensibility.
 
  
So the application compiled by the toolchain can run perfectly on our products. And the toolchain can be used on Debian or Ubuntu Desktop Operating System well.
+
=== '''Technical Specification''' ===
  
If you meet any problems, please do not hesitate to contact Advantech for help.
+
*[[IoTGateway/BSP/Linux/iMX6/Technical_Specification|Technical Specification]]
  
= Prerequisites =
+
=== '''OS support list (Get BSP & image)''' ===
  
<span style="color:#FF0000;">Kylin-Enbeded-V10.</span>
+
*[[IoTGateway/BSP/Linux/iMX6/OS_Support_List|OS Support List(based on Yocto 1.5~Yocto 2.0)]]
 +
*[[IoTGateway/BSP/Linux/iMX6/OS_Support_List_new|OS Support List(based on Yocto 2.1 and later)]]
 +
*[[IoTGateway/BSP/Linux/iMX6/OS_Support_List_Yocto_2.5|OS Support List(based on Yocto 2.5)]]
 +
*[[IoTGateway/BSP/Linux/iMX6/OS_Support_List_Yocto_3.3_release|OS Support List release(based on Yocto 3.3)]]
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NXP/Linux_Yocto_OS_Release_note/Yocto4.0/Internal OS Support List release(based on Yocto 4.0)]
 +
*[[IoTGateway/BSP/Linux/iMX6/DDR_Support_List|DDR Support List]]
  
== Installing required packages ==
+
=== '''User Guide''' ===
  
Please login and perform the following commands:
+
*[[IoTGateway/BSP/Linux/iMX6/Yocto_LBV3_User_Guide|Version 3 (based on Yocto 1.5) User Guide]]
<pre>$ sudo apt-get install -y build-essential
+
**[[IoTGateway/BSP/Linux/iMX6/Eclipse_Plug-in|Eclipse Plug-in]]
$ sudo apt-get install -y qtcreator
+
**[[IoTGateway/BSP/Linux/iMX6/QtCreator|QtCreator]] 
$ sudo apt-get install -y qt5-default
+
*[[IoTGateway/BSP/Linux/iMX6/Yocto_LBV5_User_Guide|Version 5 (based on Yocto 1.7) User Guide]]
$ sudo apt-get install -y qt5-doc
+
*[[IoTGateway/BSP/Linux/iMX6/Yocto_LBV6_User_Guide|Version 6 (based on Yocto 1.8) User Guide]]
$ sudo apt-get install -y qt5-doc-html qtbase5-doc-html
+
**[[IoTGateway/BSP/Linux/iMX6/Bluetooth_Testing_Guide|Bluetooth Testing Guide]] 
$ sudo apt-get install -y qtbase5-examples
+
*[[IoTGateway/BSP/Linux/iMX6/Yocto_LBV7_User_Guide|Version 7 (based on Yocto 2.0) User Guide]]
$ sudo apt-get install -y qt5-qmake
+
*​[[IoTGateway/BSP/Linux/iMX6/Yocto_LBV8_User_Guide|Version 8 (based on Yocto 2.1) User Guide]]
$ sudo apt-get install -y rsync
+
*​[[IoTGateway/BSP/Linux/iMX6/Yocto_LBVB_User_Guide|Version B (based on Yocto 3.3) User Guide]]
$ sudo apt-get install -y gcc-8-arm-linux-gnueabihf g++-8-arm-linux-gnueabihf
+
*​[[IoTGateway/BSP/Linux/iMX6/Yocto_LBVC_User_Guide|Version C (based on Yocto 4.0) User Guide]]
$ sudo apt-get install -y gcc-8-aarch64-linux-gnu g++-8-aarch64-linux-gnu
+
*​[[IoTGateway/BSP/Linux/iMX6/Yocto_LBVD_User_Guide|Version D (based on Yocto 4.2) User Guide]]
</pre>
+
**[[IoTGateway/BSP/Linux/iMX6/InstallDocker|How to install Docker on i.MX6 Debian]] 
 +
*[[IoTGateway/BSP/Linux/iMX6/Mfgtool|Mfgtool]]
  
Link arm-linux-gnu*-8 to arm-linux-gnu* and aarch64-linux-gnu*-8 to aarch64-linux-gnu*:
+
=== FAQ ===
<pre>$ sudo su
 
$ cd /usr/bin
 
$ for f in $(ls arm-linux-gnu*-8);do ln -sf $f $(echo $f|sed "s/-8//");done
 
$ for f in $(ls aarch64-linux-gnu*-8);do ln -sf $f $(echo $f|sed "s/-8//");done
 
$ exit
 
  
</pre>
+
*[[IoTGateway/BSP/Linux/iMX6/FAQ|FAQ]]
  
&nbsp;
+
*[[IoTGateway/BSP/Linux/iMX6/2038y|2038y_issue_on_imx6_solution]]
 +
 
 +
= i.MX7 =
 +
 
 +
=== [[IoTGateway/BSP/Linux/iMX7/OS_Support_List_new|OS Support List(based on Yocto 2.1 and later)]] ===
 +
 
 +
=== [[IoTGateway/BSP/Linux/iMX7/Yocto_LBV8_User_Guide|Version 8 (based on Yocto 2.1) User Guide]] ===
 +
 
 +
= '''i.MX8''' =
 +
 
 +
=== '''OS support (get BSP & image)''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/iMX8/OS_Support_List|OS Support List(based on Yocto 2.5 and later)]]
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/iMX8/OS_Support_List_3.0 OS Support List(based on Yocto 3.0)]
 +
*[[IoTGateway/BSP/Linux/iMX8/OS_Support_List_3.3_release|OS Support List release(based on Yocto 3.3)]]
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NXP/Linux_Yocto_OS_Release_note/Yocto2.5/Internal New OS Support List(based on Yocto 2.5)]
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NXP/Linux_Yocto_OS_Release_note/Yocto3.0/Internal New OS Support List(based on Yocto 3.0)]
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NXP/Linux_Yocto_OS_Release_note/Yocto4.0/Internal New OS Support List(based on Yocto 4.0]
 +
*[http://ess-wiki.advantech.com.tw/view/AIM-Linux/BSP/NXP/Linux_Yocto_OS_Release_note/Yocto4.2/Internal New OS Support List(based on Yocto 4.2)]
 +
 
 +
=== '''User Guide''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/iMX8/Yocto_LBV9_User_Guide|Version 9 (based on Yocto 2.5) User Guide]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Qt5Creator|Qt5Creator]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Yocto_LBVA_User_Guide|Version A (based on Yocto 3.0) User Guide]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Yocto_LBVB_User_Guide|Version B (based on Yocto 3.3) User Guide]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Yocto_LBVC_User_Guide|Version C (based on Yocto 4.0) User Guide]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Yocto_LBVD_User_Guide|Version D (based on Yocto 4.2) User Guide]]
 +
*[[IoTGateway/BSP/Linux/iMX8/Build_Instructions|Build Instructions]]
 +
*Debian​
 +
**[[IoTGateway/BSP/Linux/Debian/How_to_Create_Debian10_Rootfs_Base|How to create Debian 10 rootfs base]]
 +
**[[IoTGateway/BSP/Linux/Debian/How_to_create_Debian10_SDcard_image|How to create Debian 10 SD card image]]
 +
 
 +
=== [[IoTGateway/BSP/Linux/iMX8/FAQ|FAQ]] ===
 +
 
 +
= '''NXP i.MX eIQ Machine Learning''' =
 +
 
 +
*[[NXP eIQ|NXP eIQ]]
 +
 
 +
= Quark =
 +
 
 +
=== '''OS support list''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/Quark/OS_Support_List|OS Support List]]
 +
 
 +
=== '''User Guide''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/Quark/Yocto_LBV1_User_Guide|Version 1 User Guide]]
 +
 
 +
:This version is based on Intel Quark BSP v1.0.4 (Yocto 1.4.2).
 +
 
 +
*[[IoTGateway/BSP/Linux/Quark/Yocto_LBV2_User_Guide|Version 2 User Guide]]
 +
 
 +
:This version is based on Intel Quark BSP v1.2.0 (Yocto 1.7.2).
 +
<ul style="margin-left: 40px;">
 +
<li>[[IoTGateway/BSP/Linux/Quark/Bluetooth_Testing_Guide|Bluetooth Testing Guide]]</li>
 +
<li>[[IoTGateway/BSP/Linux/Quark/Getting_BSP_from_GitHub|Getting the BSP from GitHub]]</li>
 +
</ul>
 +
 
 +
:
 +
::There is a [[IoTGateway/BSP/Linux/Quark/Getting_BSP_from_GitHub#Supported_version|newer version]] which is based on Intel Quark BSP v1.2.1.1 (Yocto 1.7.2). 
 +
 
 +
*[[IoTGateway/BSP/Linux/Quark/BuildingDebianJessieRootfs|Building Debian (Jessie) Rootfs for Quark]]
 +
 
 +
=== '''FAQ''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/Quark/FAQ|FAQ]]
 +
 
 +
= APQ8016 =
 +
 
 +
=== [[IoTGateway/BSP/Linux/APQ8016/OS_Support_List|OS Support List]] ===
 +
 
 +
=== Linux BSP User Guide ===
 +
 
 +
*[[IoTGateway/BSP/Linux/APQ8016/BSP_User_Guide_V1|Version 1 (Yocto 2.1 & Debian 9)]]
 +
 
 +
=== [[IoTGateway/BSP/Linux/APQ8016/FAQ|FAQ]] ===
 +
 
 +
= '''AM335x''' =
 +
 
 +
=== '''Support List (Get BSP & image)''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/AM335x/OS_Support_List|<font color="#0066cc">OS Support List(base on ti-skd-am335x-evm-06.00.00.00 and ti-sdk-am335x-evm-02.00.00.00.00)</font>]]
 +
*[[OS_Support_List(based_on_Yocto_2.1)_am335x|<font color="#0066cc">OS Support List(based on Yocto 2.1)</font>]]
 +
 
 +
=== '''User Guide''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/AM335x/AM335x_LBV6_User_Guide|<font color="#0066cc">Version 1 (based on ti-sdk-am335x-evm-06.00.00.00 ) User Guide</font>]]
 +
*[[IoTGateway/BSP/Linux/AM335x/AM335x_LBV2_User_Guide|<span class="mw-headline" id="version_1_.28based_on_ti-sdk-am335x-evm-06.00.00.00_.29"><font color="#0066cc">Version 2 (based on ti-sdk-am335x-evm-02.00.00.00.00 ) User Guide</font></span>]]
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/AM57xx/AM57xx_User_Guide <span class="mw-headline" id="version_1_.28based_on_ti-sdk-am335x-evm-06.00.00.00_.29"><font color="#0066cc">Version&nbsp;3 (based on Yocto 2.1) User Guide</font></span>]
 +
**[[Function_Test|Function Test]] 
 +
*[[Yocto_Linux_BSP_Ver.4_User_Guide_for_AM57xx/AM335x_series|<span class="mw-headline" id="version_1_.28based_on_ti-sdk-am335x-evm-06.00.00.00_.29"><font color="#0066cc">Version&nbsp;4 (based on Yocto 2.4) User Guide</font></span>]]
 +
**<font color="#0066cc">Function Test</font> 
 +
 
 +
=== '''FAQ''' ===
 +
 
 +
*[[IoTGateway/BSP/Linux/AM335x/FAQ|FAQ]]
 +
 
 +
= '''AM57xx''' =
 +
 
 +
=== '''OS Support list (Get BSP & Image)''' ===
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/AM57xx/OS_Support_List <font color="#0066cc">OS Support List(base on Yocto 2.1)</font>]
 +
 
 +
=== '''User Guide''' ===
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/AM57xx/AM57xx_User_Guide <font color="#0066cc">Version 1 (based on Yocto 2.1) User Guide</font>]
 +
*[[Getting_Started|Function Test]]
 +
 
 +
= '''AM62xx''' =
 +
 
 +
=== '''OS Support list (Get Image)''' ===
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/AM62xx/OS_Support_List <font color="#0066cc">OS Support List(base on Yocto 3.1)</font>]
 +
 
 +
=== '''User Guide(Get SDK )''' ===
 +
 
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/AM62xx/AM62xx_User_Guide <font color="#0066cc">Version 1 (based on Yocto 3.1) User Guide</font>]
 +
 
 +
= '''RK3288''' =
 +
 
 +
=== '''OS Support list''' ===
 +
 
 +
*[[RK3288_OS_Support_List_(Base_On_Debian9)|OS Support List Debian9]]
 +
*[[OS_Support_List_Debian10|OS_Support_List_Debian10]]
 +
 
 +
=== '''User Guide''' ===
 +
 
 +
*[[Linux_BSP_User_Guide_for_rk3288_series_Debian9|Linux BSP build and update images.&nbsp;]]
 +
*[[Environment_set_up.|Environment_set_up.]]
 +
*[[How_to_do.|How_to_do.]]
 +
*[http://ess-wiki.advantech.com.tw/view/RK3288_qt5Creator RK3288_qt5Creator]
 +
*[[Qt5Creator_toolchain_Qt_5.11.3|qt5Creator_toolchain_Qt_5.11.3]]
 +
*[[How_to_flash_the_Debian_image_into_RSB-4680|How_to_flash_the_Debian_image_into_RSB-4680]]
 +
 
 +
=== '''FQA''' ===
 +
 
 +
= '''RK3399''' =
 +
 
 +
=== '''OS Support List''' ===
 +
 
 +
*[[RISC_series_(RSB-3710/RSB-4710/ROM-5780)_Debian9|RISC_series_(RSB-3710/RSB-4710/ROM-5780)_Debian9]]&nbsp;
 +
*[[RISC_series_(RSB-3710/RSB-4710/ROM-5780)_Debian10|RISC_series_(RSB-3710/RSB-4710/ROM-5780)_Debian10]]&nbsp;  
 +
*[http://ess-wiki.advantech.com.tw/view/IoTGateway/BSP/Linux/RK3399/OS_Support_List DS series (DS-100/DS-100Lite/EIS-D620) Debian9]
  
== Installing cross toolchain ==
+
=== '''User Guide''' ===
  
Please download cross compiler toolchain first.
+
RISC&nbsp;series(RSB-3710/RSB-4710/ROM-5780)
  
[https://pan.baidu.com/s/1JnXJ_X_HRDWoB14VBIq9fA RK3288](Password: gm9i)
+
*[http://ess-wiki.advantech.com.tw/view/Debian_BSP_User_Guide_for_rk3399_series_risc(RSB4710). Linux BSP User Guide for rk3399 series Debian9/Debian10]  
 +
*[http://ess-wiki.advantech.com.tw/view/Getting_Start_(RSB4710). Getting Start]
 +
*[http://ess-wiki.advantech.com.tw/view/MAC_Address MAC_Address]
 +
*[http://ess-wiki.advantech.com.tw/view/Qt5Creator <font color="#0066cc">Qt5Creator</font>]
 +
*[[Qt5Creator_toolchain_Qt_5.11.3|<font color="#0066cc">Qt5Creator_toolchain_Qt_5.11.3</font>]]
  
Then execute the following command to unzip the cross compiler tool to the /opt directory
+
DS-100&nbsp;
  
For RK3399
+
*[[IoTGateway/BSP/Linux/Linux_BSP_User_Guide_Debian9_for_rk|Linux BSP User Guide for rk3399 series Debian9]]
<pre>$ sudo rm -rf /opt/toolchain_Qt_V5.12.12/itb202/  
+
*[[IoTGateway/BSP/Linux/Linux_BSP_User_Guide_DeviceOn|Linux BSP User Guide for rk3399 series DeviceOn]]
$ sudo mkdir -p /opt/toolchain_Qt_V5.12.12/itb202/  
+
*[[IoTGateway/BSP/Linux/Linux_BSP_User_Guide_SGI|Linux BSP User Guide for SGI [DMS-SA53]]]
$ sudo tar -xvf itb202_toolchain_Qt_V5.12.12_*.tar.gz -C /opt/toolchain_Qt_V5.12.12/itb202/
 
</pre>
 
  
= Working within QtCreator =
+
=== '''FQA''' ===
  
The following example is test on QT5.12.12(qmake version) of Ubuntu18.04.There may be a few differences on other operating system,but the main steps are the same.
+
= '''RK3568''' =
  
Use qtcreator to configure a complete build kit.
+
=== '''OS Support List''' ===
  
== Config QtCreator ---- Qt Versions ==
+
[[RISC_series_RK3568_Linux|RISC_series (RSB-4810) Debian10]]
  
1. Select Tools --> options -->&nbsp;
+
=== '''User Guide''' ===
  
[[File:QtDNK5.png|RTENOTITLE]]
+
RISC&nbsp;series(RSB-4810 ROM-5880 AFE-E630)
  
2. Select Qt versions --> Manual -->Add -->
+
*[[Linux_BSP_User_Guide_for_rk3568_series_Debian10|Linux_BSP_User_Guide_for_rk3568_series_Debian10]]
 +
*[[Linux_BSP_User_Guide_for_rk3568_series_Debian11|Linux_BSP_User_Guide_for_rk3568_series_Debian11]]
 +
*[[Getting_Start_RK3568|Getting Start]]
 +
*MAC_Address
 +
*Qt5Creator
 +
*Qt5Creator_toolchain_Qt_5.11.3
  
&nbsp; &nbsp; Path:/opt/toolchain_Qt_V5.12.12/<span style="color:#FF0000;">'''itb202'''</span><span style="color:#000000;">/sysroot/qmake</span>
+
&nbsp;
  
 +
= '''RK3588''' =
  
[[File:qt_version1.png|800px]]
+
=== '''OS Support List''' ===
[[File:qt_version2.png|800px]]
 
  
== Config QtCreator ---- Qt Complers ==
+
[[RISC_series_RK3588_Linux|RISC_series (ROM-6881) Debian11]]
  
1. Select compilers -->
 
  
2. Because Gcc and G++ has been installed earlier, the compiler will generally detect it automatically.
+
=== '''User Guide''' ===
  
&nbsp; &nbsp; If no Auto-detected, just Add it.
+
RISC&nbsp;series(ROM-6881)
  
<span style="color:#000000;">'''Path for'''</span><span style="color:#ff0000;">'''RK3588 (64)'''</span><span style="color:#000000;">:/usr/bin/arrch64-linux-gnu-gcc&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span>
+
*[[Linux_BSP_User_Guide_for_rk3588_series_Debian11|Linux_BSP_User_Guide_for_rk3588_series_Debian11]]
 +
*[[Getting_Start_RK3588|Getting Start]]
 +
*[[RK3588/Linux/Main_Manual|Manual (Building...)]]
 +
*MAC_Address
 +
*Qt5Creator
 +
*Qt5Creator_toolchain_Qt_5.11.3
  
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;/usr/bin/aarch64-linux-gnu-g++
+
&nbsp;
  
 +
= '''RK_ALL''' =
  
The following figure uses ITB202&nbsp; as an example :
+
=== '''User Guide''' ===
  
[[File:QtIXDKY6.png|RTENOTITLE]]
+
All rockchip platforms (RK3288、RK3399、RK3568、RK3588 etc) have similar funtions.
  
== Config QtCreator ---- Qt Debuggers ==
+
Here are the summary FAQs&nbsp;:&nbsp;
  
1. Select Debuggers -->
+
*[[RK_PLatform_Quick_Start|Quick Start]]
 +
*[[RK_ALL_Qt_Toolchain|QT ToolChain]]
 +
*[[RK_ALL_NPU|NPU]]
 +
*[[RK_ALL_RF_Test|RF Test]]
  
2. The Debuggers selection system buildin,If no Auto-detected , just Add it:
+
= '''nVidia''' =
  
&nbsp; &nbsp; Path: /usr/bin/gdb
+
=== '''OS Support List''' ===
  
[[File:QtGZ6D5.png|RTENOTITLE]]
+
*[[IoTGateway/BSP/Linux/nVidia_Jetson_OS_Support_List|nVidia Jetson OS Support List]]  
  
== Config QtCreator ---- Qt Cmakes ==
+
=== '''User Guide''' ===
  
1. Select Cmake -->
+
*[[Linux_BSP_User_Guide_for_jetson_series|Linux BSP build for jetson series]]
  
2. Similarly,Cmake also uses the system Cmake , if no Auto-detected , just Add it&nbsp;:
+
=== '''Jetbot''' ===
  
&nbsp; &nbsp; Path: /usr/bin/Cmake
+
*[[Jetbot_ROS|Jetbot ROS]]
  
[[File:Qt8D.png|RTENOTITLE]]
+
=== '''Jetson AI''' ===
  
== Config QtCreator ---- Qt kits ==
+
*[[Deploying_Deep_Learning|Deploying Deep Learning]]
  
1. Select Kits&nbsp;
+
=== '''DevcieOn''' ===
  
2. Configure "Qt version"、"Compilers"、"Debuggers"&nbsp;and "Cmake"&nbsp;configurations in Kits.
+
*[[DeviceOn|DevinOn]]
  
&nbsp; &nbsp; &nbsp;The picture below uses ITB202&nbsp;as an example:
+
=== '''FQA''' ===
  
[[File:qt_kit_1.png|800px]]
+
= '''LS1046''' =
[[File:qt_kit2.png|800px]]
 
  
== Creating the Project ==
+
=== '''OS Support List''' ===
  
#Bring up "New" dailog using "File" -> "New File or Project..."
+
*[[OS_Support_List_(based_on_Ubutu_18.04)|OS Support List (based on Ubuntu 18.04)]]  
#Select "Applications" -> 'Qt Widgets Application"
 
#Click "Choose..."
 
#;[[File:RK3399 Project 001.png|RTENOTITLE]] 
 
#Use "Hello" as name
 
#Create in "/mnt/sda1/work/qt/qt_PJ"
 
#Click "Next"
 
#;[[File:RK3399 Qt Project local.png|RTENOTITLE]] 
 
#Check "RK toolchain"
 
#Click "Next".
 
#;[[File:RK3399 Qt Project toolchain.png|RTENOTITLE]] 
 
#Use default settings for "Class Information"
 
#Click "Next"
 
#;[[File:RK3399 QT Project last.png|RTENOTITLE]] 
 
#Use default settings for "Project Management"
 
#Click "Finish"
 
#;[[File:RK3399 Qt Project last2.png|RTENOTITLE]] 
 
#Double click "Hello.pro" to switch to editor window
 
#In new project it is necessary to add following two lines into qt project file.
 
#:<code>target.path = .<br/> INSTALLS += target</code>
 
#;[[File:RK3399 Qt Project code002.png|RTENOTITLE]] 
 
#Press "Ctrl+S" to save file.
 
#Double click "mainwindow.ui" to switch to Design mode
 
#Drag & drop one Label widget on main form, use property editor on the right side to change text and font size
 
#;[[File:2015-01-30 174418.png|RTENOTITLE]]
 
#;[[File:RK3399 Qt Project code003.png|RTENOTITLE]]  
 
#Save all project files using "File" -> "Save All"
 
  
== Building the Project ==
+
=== '''User Guide''' ===
  
#Switch to "Projects" mode
+
*[[Linux_BSP_build_User_Guide_(LSDK20.12)|Linux BSP build User Guide (LSDK20.12)]]  
#Check if "build configuration" is set to "Debug".
+
*[[Security_fuse_processor_(SFP)|Security fuse processor (SFP)]]  
#;[[File:RK3399 Qt debug setting.png|RTENOTITLE]] 
+
*[[LS1046A_-_Data_Path_Acceleration_Architecture_(DPAA)|Data Path Acceleration Architecture (DPAA)]]  
#Check if "Files to deploy" is correct
 
#;[[File:RK3399 Qt run setting.png|RTENOTITLE]] 
 
#Set environment variable DISPLAY in QtCreator -> Projects -> Run -> Run Environment. The value of DISPLAY is obtained from the rk3399. For example, execute instruction '''''echo $DISPLAY''''' on RK3399.
 
#;[[File:RK3399 Qt ENV Display.png|RTENOTITLE]] 
 
#Switch to "Edit" mode
 
#Click "Build" using context menu of project "Hello"
 
#;[[File:RK3399 Qt build start.png|RTENOTITLE]]  
 
#The green "Build" bar means no error occured.
 
#;[[File:RK3399 Qt build status.png|RTENOTITLE]]  
 
#Press "Alt+4" to show "Compile Output".&nbsp;[[File:RK3399 Qt build output.png|RTENOTITLE]]  
 
  
== Deploying the Application ==
+
=== '''Product&nbsp;''' ===
  
#Click "Deploy" using context menu of project Hello[[File:RK3399 Qt deploy start.PNG|RTENOTITLE]]
+
'''NXP LS1046A Cortex®-A72 COM Express Type 7 Computer-on-Module&nbsp;'''
#The green "Deploy" bar indicates no error occured.[[File:RK3399 Qt deploy output.png|RTENOTITLE]]
 
  
== Debugging the Application ==
+
*[http://ess-wiki.advantech.com.tw/view/ROM-8720_user_guide ROM-8720 user guide]
  
#Click debug icon to start debugging.
+
=== '''FAQ''' ===
#;[[File:RK3399 Qt debug start.png|RTENOTITLE]] 
 
#Press "Alt+3" to show "Application Output"[[File:RK3399 Qt debug output.png|RTENOTITLE]]
 
#The "Hello" shows up on primary display.
 
#;[[File:RK3399 Qt result show.png|RTENOTITLE]] 
 
#Click "stop" to stop debugging.
 
#;[[File:RK3399 Qt debug stop.png|RTENOTITLE]] 
 
#The default desktop returns back.[[File:RK3399 Qt default Desktop.png|RTENOTITLE]]
 
  
= FAQ =
+
= '''Phytium''' =
  
== Cannot find Libraries ==
+
=== '''Kylin OS''' ===
 +
*[[Phytium_Kylin_Qt_Toolchain|QT ToolChain]]
  
When build, you may get the error like "cannot find -l<span style="color:#d35400;">'''xxxx'''</span>".
 
  
"xxxx" is just an example of the library linked to your application.
+
= '''ELAA''' =
  
For example: "cannot find -lsqlite3"
+
*[[IoTGateway/BSP/Linux/ELAA/Document|Document]]
 +
*[http://forum.elaa-platform.org/ ELAA Developer Forum]
  
First find the library in toolchain path.
+
== Add on value ==
  
The following commands are taking "RK3568 libsqlite3" as example, other platforms are very similar.
+
*[[SW_Service/API|SUSI 4.0]]
<pre>cd /opt/toolchain_Qt_V5.11.3/rk3568/
+
*[[SW_Service/SUSI_IoT|SUSI IoT]]
find ./ -name libsqlite3.so*
+
*[[WISE-PaaS/RMM_Agent|RMM-Agent]]
cd ./sysroot/usr/lib/aarch64-linux-gpu
 
or
 
cd ./sysroot/lib/aarch64-linux-gpu
 
ln -s libsqlite3.so.0 libsqlite3.so
 
</pre>
 
  
If you cannot find the library you need in toolchain path, please do not hesitate to contact Advantech for help.
+
[[Category:BSP]]

Latest revision as of 13:54, 2 October 2024


i.MX6

RISC Image Naming Rule

Technical Specification

OS support list (Get BSP & image)

User Guide

FAQ

i.MX7

OS Support List(based on Yocto 2.1 and later)

Version 8 (based on Yocto 2.1) User Guide

i.MX8

OS support (get BSP & image)

User Guide

FAQ

NXP i.MX eIQ Machine Learning

Quark

OS support list

User Guide

This version is based on Intel Quark BSP v1.0.4 (Yocto 1.4.2).
This version is based on Intel Quark BSP v1.2.0 (Yocto 1.7.2).
There is a newer version which is based on Intel Quark BSP v1.2.1.1 (Yocto 1.7.2).

FAQ

APQ8016

OS Support List

Linux BSP User Guide

FAQ

AM335x

Support List (Get BSP & image)

User Guide

FAQ

AM57xx

OS Support list (Get BSP & Image)

User Guide

AM62xx

OS Support list (Get Image)

User Guide(Get SDK )

RK3288

OS Support list

User Guide

FQA

RK3399

OS Support List

User Guide

RISC series(RSB-3710/RSB-4710/ROM-5780)

DS-100 

FQA

RK3568

OS Support List

RISC_series (RSB-4810) Debian10

User Guide

RISC series(RSB-4810 ROM-5880 AFE-E630)

 

RK3588

OS Support List

RISC_series (ROM-6881) Debian11


User Guide

RISC series(ROM-6881)

 

RK_ALL

User Guide

All rockchip platforms (RK3288、RK3399、RK3568、RK3588 etc) have similar funtions.

Here are the summary FAQs : 

nVidia

OS Support List

User Guide

Jetbot

Jetson AI

DevcieOn

FQA

LS1046

OS Support List

User Guide

Product 

NXP LS1046A Cortex®-A72 COM Express Type 7 Computer-on-Module 

FAQ

Phytium

Kylin OS


ELAA

Add on value