Logo

RK Development Manual

  • Common Commands
  • Product Design Process
  • Interface Category
  • Buildroot System
    • 3399
    • 3506
    • 3562
    • 3568
      • OK3568 4.19.206 Buildroot Installing Bridge Tool (bridge-utils) in Buildroot
      • OK3568 4.19.206 Buildroot Controlling GPIO Pins via Sysfs in C Language
      • OK3568 4.19.206 Buildroot Debugging with GDB and GDB Server
      • OK3568 4.19.206 Buildroot JDK_Support
      • OK3568 4.19.206 Buildroot Not Effective After Menuconfig Configuration
      • OK3568 4.19.206 Buildroot PCIe to SATA Function Modification Method
      • OK3568 4.19.206 Buildroot PWM PWM Multiplexing Method and Test
      • OK3568 4.19.206 Buildroot Qt-creator Remote Debug
      • OK3568 4.19.206 Buildroot UART8 Multiplexed as CAN2
      • OK3568 4.19.206 Buildroot Multiplexing UART8 Bluetooth Serial Port as a General Serial Port
      • OK3568 4.19.206 Buildroot Disabling the Watchdog in Uboot
      • OK3568 4.19.206 Buildroot USB Host-to-Slave Switching
      • OK3568 4.19.206 Buildroot USB-to-Ethernet Adapter Renaming Method
      • OK3568 4.19.206 Buildroot Weston Desktop Reference Link
      • OK3568 4.19.206 Buildroot WIFI Renaming Operation Method
      • OK3568 4.19.206 Buildroot Configuring Static IP for Wi-Fi and Enabling Automatic Connection on Startup
      • OK3568 4.19.206 Buildroot WiFi Auto-Start Script
      • OK3588 4.19.206 Buildroot Nginx Installation
      • OK3568 4.19.206 Buildroot Package Recompilation
      • OK3568 4.19.206 Memory View and Capacity Storage
      • OK3568 4.19.206 Buildroot Kernel Configuration View
      • OK3568 4.19.206 Buildroot Issue of Incorrect MAC Address Reply When PC Pings Device
      • OK3568 4.19.206 Buildroot Fixed Resolution Output
      • OK3568 4.19.206 Buildroot Fixed USB to Network Port or Serial Port Name
      • OK3568 4.19.206 Compatibility Method for 32-bit Applications
      • OK3568 4.19.206 Python3 Installation
      • OK3568 4.19.206 Tool Command Line for Recording Mouse Actions
      • OK3568 4.19.206 Buildroot Command Line Control of GPIO Pins
      • OK3568 4.19.206 Buildroot Auto-start Applications on Boot
      • OK3568 4.19.206 Add an Auto-start Script
      • OK3568 4.19.206 Buildroot Command Line Control of GPIO Pins
      • OK3568 4.19.206 Non-effective Configuration Packages
      • OK3568 4.19.206 Buildroot Serial Port Automatic Login Cancellation
      • OK3568 4.19.206 Buildroot Removing Desktop Forlinx App Launcher String
      • OK3568 4.19.206 Buildroot Removing Desktop Forlinx Icon
      • OK3568 4.19.206 Buildroot Delayline Parameter Scanning and Modification
      • OK3568 4.19.206 Implementing Support for NFS Services
      • OK3568 4.19.206 Buildroot Adding HP Printer
      • OK3568 4.19.206 Implementing Logo Animation Effects
      • OK3568 4.19.206 Adding mysql8.0.32
      • OK3568 4.19.206 Buildroot Adding PCIe-to-NIC Driver 81111H
      • OK3568 4.19.206 Buildroot Adding the Python3 - pip Installation Package
      • OK3568 4.19.206 Buildroot Adding User Programs
      • OK3568 4.19.206 Buildroot Webcam Stream: Pull then Push to Virtual Machine
      • OK3568 4.19.206 Buildroot Tailoring and Removal of QT-Related Elements in File System
      • OK3568 4.19.206 Display Color Temperature Adjustment
      • OK3568 4.19.206 Buildroot Modification of BusyBox Configuration
      • OK3568 4.19.206 Modifying the EMMC Partition Size
      • OK3568 4.19.206 Buildroot Modifying the Screen Display Configuration
      • OK3568 4.19.206 Buildroot Modifying User Name and Password
      • OK3568 4.19.206 Buildroot Lvgl8.2 Porting
      • OK3568 4.19.206 Library Porting
      • OK3568 4.19.206 Browser Porting
      • OK3568 4.19.206 User Layer Logo Replacement
      • OK3568 4.19.206 Self-Reception Scheme in the Native CAN Driver
      • OK3568 4.19.206 Adding Fortran Compilers
      • OK3568 4.19.206 Automatic Detection of USB Drive Upgrade Packages
      • OK3568 4.19.206 Buildroot Rapid Deployment of CODESYS Runtime
      • OK3568 4.19.232 LinuxRT Buildroot Porting for EtherCAT
      • OK3568 5.10.160 Buildroot New Partition Addition
    • 3576
    • 3588
  • Forlinx Desktop System
  • Android OS
  • Debian OS
  • General Platform Skills Knowledge
Forlinx Embedded RK Development Manual
  • Buildroot System
  • 3568
  • OK3568 4.19.206 Buildroot Tailoring and Removal of QT-Related Elements in File System

OK3568 4.19.206 Buildroot Tailoring and Removal of QT-Related Elements in File System

Note: After the full compilation of the source code is complete, take a virtual machine snapshot to prevent subsequent operations from causing compilation failures.

1. Delete the following content from the filesystem configuration file Ok3568_defconfig:

BR2_PACKAGE_FORLINX_QT=y       // Forlinx Qt test demo  
BR2_PACKAGE_FORLINX_CMD=y      // Forlinx command-line test demo  
BR2_PACKAGE_QT5*=y             // Qt-related library support  
#include "qt.config"            // Qt-related library support

Operation command:

forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source$ cd buildroot/configs/
forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/configs$ vi OK3568_defconfig

Delete the following content.

Image

Image

Image

2. Delete the stamp file, otherwise modifications to OK3568_defconfig will not take effect.

forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/output/OK3568/build$ rm -rf ./*/.stamp_target_installed

3. Delete the existing filesystem.

forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/output/OK3568/build$ cd ..
forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/output/OK3568$ rm -rf target/

4. Regenerate the filesystem.

forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source$ ./build.sh  buildroot

The newly generated filesystem will be located in the path:

OK3568-linux-source/buildroot/output/OK3568/images/

forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/output/OK3568/images$ pwd
/home/forlinx/3568.4.19/OK3568-linux-source/buildroot/output/OK3568/images		//The location is
forlinx@DESKTOP-ARR08M4:~/3568.4.19/OK3568-linux-source/buildroot/output/OK3568/images$ ls
rootfs.cpio  rootfs.cpio.gz  rootfs.ext2  rootfs.ext4  rootfs.squashfs  rootfs.tar

Flash the newly generated rootfs.ext2 using the single-step flashing method.

If you need to generate a new firmware update.img, execute the following command in the OK3568-linux-source/ directory: build.sh. is OK. The update.img file will be generated in the OK3568-linux-source/rockdev/ directory.

Tip: For other unnecessary features, follow this operation method to cancel the compilation configuration.

© Forlinx Embedded