当前位置:网站首页>Kirin System Development Notes (V): making and installing the startup USB flash disk of the Kirin system, installing the Kirin system on the physical machine, and building a Qt development environment

Kirin System Development Notes (V): making and installing the startup USB flash disk of the Kirin system, installing the Kirin system on the physical machine, and building a Qt development environment

2022-06-21 23:23:00 Changsha Red fatty QT

If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/125236326
Red fat man ( Red Imitation ) The complete blog of : Development technology collection ( contain Qt Practical technology 、 Raspberry pie 、 The three dimensional 、OpenCV、OpenGL、ffmpeg、OSG、 Single chip microcomputer 、 The combination of software and hardware and so on ) Ongoing update …( Click on the portal )

Related development of domestic Kirin system

Last one :《 Kirin System Development Notes ( Four ): from Qt Compilation and installation of source code compilation and installation QtCreator4.8.1, And configure the compilation test Demo
Next : Coming soon …


Preface

   Computer from U Disk mounted Kirin system , Build real machine Qt Development and operation environment .


Make Kirin system U disc ( Use LiveUSB)

Step one : Prepare at least one 8GB Of U disc

   A batch of Lenovo purchased before U disc , Here's the picture :
   Insert picture description here
   see U disc :
   Insert picture description here

Step two : Production tools LinuxLiveUSBCreator

  CSDN fans 0 Points download address :https://download.csdn.net/download/qq21497936/85610859
  QQ Group download address :1047134658( Click on “ file ” Search for “LiveUSB”, Update within the group and blog posts simultaneously )
   Insert picture description here
   Insert picture description here
   Insert picture description here

   Insert picture description here
   Insert picture description here
   Insert picture description here

Step three : Prepare the Kirin system

   There are many versions , This time it was x86 Of , Pick one :
   Insert picture description here

Step four : Make U disc

   Insert picture description here
   Insert picture description here
   Insert picture description here
   Confirm the mirrored and written devices .
   Insert picture description here
   wait for :
   Insert picture description here
   Insert picture description here
   Insert picture description here

Conclusion supplement

   In this way , I got stuck syslinux 3.86 The first line doesn't move :
   Insert picture description here
   Because this tool makes the startup U disc , Disk has used size , It can also directly display , There is no internal file after opening the disk ( There is nothing hidden ), So there's nothing I can do .( You can use it directly UltraISO modify syslinux It's OK , No test ).


Make Kirin system U disc ( Use UltraISO)

Step one : Prepare at least one 8GB Of U disc

   A batch of Lenovo purchased before U disc , Here's the picture :
   Insert picture description here
   see U disc :
   Insert picture description here

Step two : Production tools UltraISO

   Insert picture description here

Step three : Prepare the Kirin system

   There are many versions , This time it was x86 Of , Pick one :
   Insert picture description here

Step four : Make U disc

   Insert picture description here
  
   Insert picture description here

   Insert picture description here
  
   Insert picture description here

   Comment out the middle sentence :
   Insert picture description here

   Be accomplished !!!


Lenovo computer can't recognize startup U disc

   Need to be in bios To modify security settings :
   Insert picture description here
   After restart , Enter again bios Modify startup settings :
   Insert picture description here

   Can start successfully U Dish up ( Test with old peaches )
   Insert picture description here


Install Kirin system on the computer

Step one :U Insert the disk into the computer

  F12, choice U Disk start :
   Insert picture description here

Step two : Computer from U Disk start

   You can set the startup sequence or enter the sequence selection , Select the current from U Disk start
   Insert picture description here

Step three : Click to install

   Select the second term :
   Insert picture description here

   Then go to the installation step :
   Insert picture description here

   Insert picture description here

   Insert picture description here

Step four : installation is complete

   Insert picture description here
   After restart , View version :
   Insert picture description here


Qt Installation and deployment

development environment

   This operating system has already come with Qt, Such as arm Or other v4,v7 There may be no , You need to compile from the source code or download from the official website ubuntu Of qt Installation package , Specific how to install notes 2 and 3 in this series contain , If you are interested, please refer to .
   Copy ubuntu The past of the version ,Qt Installation series notes 《 Kirin System Development Notes ( Two ): Construction of domestic Kirin system Qt Development environment installation Qt5.12》, The following error occurred during compilation :
    Insert picture description here

   Because the time is wrong , The modification time of the file is earlier than the current system time , So the problem arises , The easiest way is to uninstall and reinstall .
Gl Library error reference 《 About Kirin system development error “fatal error: GL/gl.h: No such file or directory“ Solutions for 》( This article contains sources obtained from the manufacturer ).
   Then run the development successfully :
   Insert picture description here

Deployment environment

   Kylin's qt After installed , Generated executable file , If there is no dependency Qt Third party open source libraries besides , Copy the execution file directly , Then run it directly , Here's the picture :
   Insert picture description here


Last one :《 Kirin System Development Notes ( Four ): from Qt Compilation and installation of source code compilation and installation QtCreator4.8.1, And configure the compilation test Demo
Next : Coming soon …


If the article is original , Reprint please indicate the source of the original
This article blog address :https://hpzwl.blog.csdn.net/article/details/125236326

原网站

版权声明
本文为[Changsha Red fatty QT]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/172/202206212137598169.html