In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about the method of manually deploying QtSylixOS, which may not be well understood by many people. in order to make you understand better, the editor has summarized the following for you. I hope you can get something according to this article.
1. Scope of application
Here is an introduction to the manual deployment of QtSylixOS-related library files and applications.
In the actual development process, some boards have no network function, so it is necessary to deploy the library files and applications of QtSylixOS manually.
The editor introduces the deployment of QtSylixOS to devices with Nand Flash as the root file system through USB drives or SD cards.
2. Files that need to be deployed for QtSylixOS
The files for the QtSylixOS deployment are located in "Qt\ qtcreator-3.4.0\ SylixOS\ sdk" in the Qt installation path, as shown in figure 2.1.
Figure 2.1 sdk folder under the QtSylixOS installation directory
Take the processor of armv7 architecture as an example, the version of sdk used is armv7-sylixos-qt-4.8.7. As shown in figure 2.2, there are files that need to be deployed in the "Qt\ qtcreator-3.4.0\ SylixOS\ sdk\ fs" directory.
Figure 2.2 fs directory to be deployed
The fs directory corresponds to the "/" directory on the target board, so the apps,etc,qt under the fs directory corresponds to the "/ apps", "/ etc" and "/ qt" directories on the target board, respectively.
3. Deployment steps
3.1 copy the fs directory
First, connect the U disk or SD card to the PC and copy the fs directory to the U disk or SD.
3.2 copy the Base library
The application runtime relies on the files in the Base project as shown in Table 3.1.
Table 3.1 Library files to be copied by the Base project
Name path libcextern.soBase/libcextern/Release/strip/libcextern.soenvBase/libsylixos/Release/strip/envlibvpmpdm.soBase/libsylixos/Release/strip/libvpmpdm.soxinput.koBase/libsylixos/Release/strip/xinput.koxsiipc.koBase/libsylixos/Release/strip/xsiipc.ko
Set up a base folder in the same directory as fs, and copy the above files to the base folder.
At the end of the above two steps, there should be two folders under the USB drive or SD card directory as shown in figure 3.1.
Figure 3.1 the directory after the copy is finished
3.3 create an automatic copy script
At the same level of the fs directory, create the copy.sh script file and type in copy.sh as shown in listing 4.1 of the program.
3.4 the target card mounts a U disk or SD card
Connect the U disk or SD card to the target card, and SylixOS will mount it automatically.
3.5 execute copy script
Enter the mounted U disk or SD card directory, usually / media/sdcardX (X is 0 … N) or / media/udiskX (X is 0... N), use the shfile copy.sh command to execute the copy script.
4. Copy script content
Program listing 4.1 copy script
Mkdir / appsmkdir / apps/mousecalibrationcp-rf fs/apps/mousecalibration/mousecalibration / apps/mousecalibration/.mkdir / etccp-rf fs/etc/fs_init.sh / etc/fs_init.shcp-rf fs/etc/fs_no_symlink_init.sh / etc/fs_no_symlink_init.shcp-rf fs/etc/pointercal / etc/pointercalcp-rf fs/etc/qtcp_4.8.7.sh / etc/qtcp_4.8.7.shcp-rf fs/etc/qtenv.sh / etc / qtenv.shcp-rf fs/etc/qtln_4.8.7.sh / etc/qtln_4.8.7.shcp-rf fs/etc/startup.sh / etc/startup.shmkdir / qtmkdir / qt/libmkdir / qt/lib/fontscp-rf fs/qt/lib/fonts/DejaVuSans.ttf / qt/lib/fonts/DejaVuSans.ttfcp-rf fs/qt/lib/libQt3Support.so.4.8.7 / qt/lib/libQt3Support.so.4.8.7cp-rf fs/qt/lib/ LibQtCLucene.so.4.8.7 / qt/lib/libQtCLucene.so.4.8.7cp-rf fs/qt/lib/libQtCore.so.4.8.7 / qt/lib/libQtCore.so.4.8.7cp-rf fs/qt/lib/libQtDeclarative.so.4.8.7 / qt/lib/libQtDeclarative.so.4.8.7cp-rf fs/qt/lib/libQtDesigner.so.4.8.7 / qt/lib/libQtDesigner.so.4.8.7cp-rf fs/ Qt/lib/libQtDesignerComponents.so.4.8.7 / qt/lib/.cp-rf fs/qt/lib/libQtGui.so.4.8.7 / qt/lib/libQtGui.so.4.8.7cp-rf fs/qt/lib/libQtHelp.so.4.8.7 / qt/lib/libQtHelp.so.4.8.7cp-rf fs/qt/lib/libQtMultimedia.so.4.8.7 / qt/lib/libQtMultimedia.so.4.8.7cp-rf fs/qt/lib / libQtNetwork.so.4.8.7 / qt/lib/libQtNetwork.so.4.8.7cp-rf fs/qt/lib/libQtScript.so.4.8.7 / qt/lib/libQtScript.so.4.8.7cp-rf fs/qt/lib/libQtScriptTools.so.4.8.7 / qt/lib/libQtScriptTools.so.4.8.7cp-rf fs/qt/lib/libQtSerialPort.so.1.0.0 / qt/lib/libQtSerialPort.so.1.0.0cp-rf fs / qt/lib/libQtSql.so.4.8.7 / qt/lib/libQtSql.so.4.8.7cp-rf fs/qt/lib/libQtSvg.so.4.8.7 / qt/lib/libQtSvg.so.4.8.7cp-rf fs/qt/lib/libQtTest.so.4.8.7 / qt/lib/libQtTest.so.4.8.7cp-rf fs/qt/lib/libQtWebKit.so.4.9.4 / qt/lib/libQtWebKit.so.4.9. 4cp-rf fs/qt/lib/libQtXml.so.4.8.7 / qt/lib/libQtXml.so.4.8.7cp-rf fs/qt/lib/libQtXmlPatterns.so.4.8.7 / qt/lib/libQtXmlPatterns.so.4.8.7cp-rf fs/qt/lib/libqwt.so.6.1.2 / qt/lib/libqwt.so.6.1.2cp-rf base/libvpmpdm.so / lib/libvpmpdm.somkdir / lib/modules/mkdir / usr/bincp-rf base / xinput.ko / lib/modules/xinput.kocp-rf base/xsiipc.ko / lib/modules/xsiipc.kocp-rf base/env / usr/bin/envcp-rf base/libcextern.so / lib/libcextern.somkdir / qt/plugins/mkdir / qt/plugins/accessiblecp-rf fs/qt/plugins/accessible/libqtaccessiblecompatwidgets.so / qt/plugins/accessible/.cp-rf fs/qt/plugins/accessible/libqtaccessiblewidgets.so / qt/plugins/accessible/.mkdir / qt/plugins/bearercp-rf fs/qt/plugins / accessible/libqgenericbearer.so / qt/plugins/bearer/.mkdir / qt/plugins/designercp-rf fs/qt/plugins/accessible/libcontainerextension.so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libcustomwidgetplugin.so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libqdeclarativeview.so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libqt3supportwidgets.so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libqwebview .so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libtaskmenuextension.so / qt/plugins/designer/.cp-rf fs/qt/plugins/accessible/libworldtimeclockplugin.so / qt/plugins/designer/.mkdir / qt/plugins/iconenginescp-rf fs/qt/plugins/iconengines/libqsvgicon.so / qt/plugins/iconengines/.mkdir / qt/plugins/p_w_picpathformatscp-rf fs/qt/plugins/p_w_picpathformats/libqgif.so / qt/plugins/libqgif/.cp- Rf fs/qt/plugins/p_w_picpathformats/libqico.so / qt/plugins/libqico/.cp-rf fs/qt/plugins/p_w_picpathformats/libqjpeg.so / qt/plugins/libqjpeg/.cp-rf fs/qt/plugins/p_w_picpathformats/libqmng.so / qt/plugins/libqmng/.cp-rf fs/qt/plugins/p_w_picpathformats/libqsvg.so / qt/plugins/libqsvg/.cp-rf fs/qt/plugins/p_w_picpathformats/libqtga.so / qt/plugins/libqtga/.cp-rf fs/qt/plugins/p_w_picpathformats/libqtiff.so / qt/plugins/libqtiff/.mkdir / qt/plugins/qmltoolingcp-rf fs/qt/plugins/qmltooling/libqmldbg_inspector.so / qt/plugins/qmltooling/.cp-rf fs/qt/plugins/qmltooling/libqmldbg_tcp.so / qt/plugins/qmltooling/.mkdir / qt/qml/mkdir / qt/qml/Qt/mkdir / qt/qml/Qt/labs/mkdir / qt/qml/Qt/ Labs/folderlistmodelcp-rf fs/qt/qml/Qt/labs/folderlistmodel/libqmlfolderlistmodelplugin.so / qt/qml/Qt/labs/folderlistmodel/.cp-rf fs/qt/qml/Qt/labs/folderlistmodel/qmldir / qt/qml/Qt/labs/folderlistmodel/.mkdir / qt/qml/Qt/labs/gesturescp-rf fs/qt/qml/Qt/labs/gestures/libqmlgesturesplugin.so / qt/qml/Qt/labs/gestures/.cp-rf fs/qt/qml/Qt/labs/gestures/qmldir / qt/qml / Qt/labs/gestures/.mkdir / qt/qml/Qt/labs/particlescp-rf fs/qt/qml/Qt/labs/particles/libqmlparticlesplugin.so / qt/qml/Qt/labs/particles/.cp-rf fs/qt/qml/Qt/labs/particles/qmldir / qt/qml/Qt/labs/particles/.mkdir / qt/qml/QtWebKit/cp-rf fs/qt/qml/QtWebKit/libqmlwebkitplugin.so / qt/qml/QtWebKit/.cp-rf fs/qt/qml/QtWebKit/qmldir / qt/qml/QtWebKit/. After reading the above, do you have any further understanding of the method of manually deploying QtSylixOS? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.