Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Core Lingsi Sinlinx A64 Linux&qt Compiler

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Development platform core Lingsi Sinlinx A64 memory: 1GB storage: 4GB detailed parameters https://m.tb.cn/h.3wMaSKm development board AC group 641395230 prerequisites to build a CentOS environment

# CD catalog: core Lingsi SIN-A64 CD material\ Linux & QT\ source

Copy these CD materials to the virtual machine and decompress them.

Tar-xvf SINLINX-A64_lichee-src.tar.gztar-xvf SINLINX_qt-4.8.7_src.tar.gztar-xvf SINLINX_qt-compile-tools.tar.gz

Install the cross-compilation environment

Extract tools/toolchain/arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2 to the / opt directory

Tar-jxvf / root/work/sinlinx/a64/tools/toolchain/arm-2014.05-29-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2-C / opt/

Add environment variables: modify the / etc/profile file and add export PATH=$PATH:/opt/arm-2014.05/bin at the end

Install the dependent library yum install xulrunner.i686yum install libXtst.i686yum install texinfoyum install zlib-devel.x86_64yum install fakerootcd / root/work/sinlinx/a64/tools/pkgsrpm-ivh uboot-tools-2011.03-1.el6.x86_64.rpmrpm-ivh busybox-1.15.1-21.el6_6.x86_64.rpm to restart the virtual machine

/ * / compile QT4.8.7

Cd / root/work/sinlinx/a64/qt-4.8.7

You can install qt simply by running. / build.sh

. / build.sh

Compile Linux

Cd / root/work/sinlinx/a64/lichee

. / sinlinx_config.sh

All available QT: select the qt library

Qt-4.8.7

All available LCD: select LCD size lcd1024x600 7 inch screen lcd800x480 5 inch screen hdmi720p hdmi to compile linux

. / build.sh

Package the image file

. / build.sh pack (Note: rootfs path: `lichee/buildroot/target/sinlinx_board/ rootfs` can copy the program to be installed to this directory before creating the image file. In addition, you can modify the "`sinlinx/ autorun.sh`" file under this path to change the automatically loaded driver, configuration and self-starting application. File system creation script: `lichee/buildroot/target/sinlinx_board/rootfs/opt/qt- build.sh`QT configuration file path: `lichee/buildroot/target/sinlinx_board/rootfs/etc/ profile`QT library installation path: `lichee/buildroot/target/sinlinx_board/rootfs/opt/qt- x.x.x`)

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.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report