Required original documents:
a. arm-linux-gcc-3.4.1.tar.bz2
c. Qt-4.6.3-x86.tar.bz2
d. Qt-4.7.0.tar.bz2
e. Qt-sdk-linux-x86-opensource_2010.02.bin
f. tslib-1.4.tar.gz
Steps:
1. Check if there is g++ on the computer: g++ --version,
If not, install it using the following command: sudo apt-get install g++
2. Check if there is arm-linux-gcc: arm-linux-gcc –version,
If not, please use step 4 to install it. If yes, skip step 4.
4. Unzip arm-linux-gcc-3.4.1.tar.bz2
sudo tar jxvf arm-linux-gcc-3.4.1.tar.bz2 -C / Automatically decompress to usr/local
Enter /usr/local/arm/3.4.1/bin/ and enter pwd
Set to environment variables: sudo gedit /etc/environment
Add it in the format: /usr/local/arm/3.4.1/bin (arm-linux-gcc path)
After saving, source /etc/environment (to make the environment variables take effect)
arm-linux-gcc Checks if the command exists
5http://www.appfreeapp.com/, unzip and install the touch screen driver
1 # sudo apt-get install libtool 2 # sudo apt-get install autoconf 3 #sudo apt-get install automake 4 #tar xzvf tslib-1.4.tar.gz 5 #cd tslib 6 # ./autogen.sh 7 # CC= arm-linux-gcc 8 # echo "ac_cv_func_malloc_0_nonnull=yes" > arm-linux.cache 9 # ./configure --prefix=/opt/ts/ --host=arm-linux --cache-file=arm-linux. cache10 # make11 # sudo make install
There may be a parameter error. Add 0 after the parameter in lines 227 and 229 of the file /tests/calibrate.c and try again.
make
6. Add the compiled touch screen driver to the board
6.1、cp the cross-compiled ts file to the corresponding directory in the development board, where include in warez-bb
The pkgconfig directory under the directory and lib does not need to be copied.
cp -rf /opt/ts /home/zrx/s3c2440_recover/opt/ts
Previous article:What are the differences and connections between ARM, DSP, FPGA, CPLD, SOPC, and SOC?
Next article:The expansion design of S3C2410 processor
- Popular Resources
- Popular amplifiers
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- New real-time microcontroller system from Texas Instruments enables smarter processing in automotive and industrial applications
- About Phase Modulation
- I am confused about K60, hope for your advice
- Coding and decoding of MSP430 infrared remote control
- Graduation project help
- It is found that domestic manufacturers like to polish the logo and model outside the chip.
- [Qinheng Trial] CH559EVT Trial 2: Development Environment
- Application design using the FRAM-based MCU MSP430FR57xx series
- EEWORLD University Hall----Live Replay: AVNET uses MPLAB? Ecosystem and Curiosity Nano Development Board to create an innovative development workflow
- BleuNRG-1 one master and multiple slaves master module search interval setting
- How to use iic to make LCD screen display