Ubuntu 64-bit direct installation of arm-linux-gcc-4.4.3 will cause an error
~$ sudo apt-get install ia32-libs install some 32-bit libraries```
Development environment: Fedora9 32-bit
Note: When vmbox bridges the network, you need to set a static IP, otherwise you will not be able to connect to the Internet
Step 1: Install arm-linux-gcc-4.4.3
Copy arm-linux-gcc-4.4.3.tgz in the linux directory of the CD to a directory such as tmp, and then
Enter the directory and execute the decompression command:
#cd /tmp
tar -xzvf arm-linux-gcc-4.4.3.tar.gz -C /
Note: There is a space after C, and C is capitalized. It is the first letter of the English word "Change".
Here it means changing the directory.
Execute this command to install arm-linux-gcc to the specified directory, as shown in the following figure (here is the opt/FriendlyARM/toolchain/4.4.3 directory):
Step 2: Add the compiler path to the system environment variable
Edit the /root/.bashrc file and add the following line to the last line:
export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
refresh
source /root/.bashrc
Or add in the /etc/profile file to set the global environment variables
sudo vim /etc/profile
source /etc/profile
Note: Under the 64-bit operating system, you also need to install a 32-bit support library (because the arm-linux-gcc tool is 32-bit). The installation command is apt install lib32ncurses5 lib32z1
Execute `arm-linux-gcc -v, the following indicates that the installation is successful:
Step 3: Unzip and install the source code
Create working directory /opt/FriendlyARM/mini2440
Execute mkdir –p /opt/FriendlyARM/mini2440 in the command line
cd /opt/FriendlyARM/mini2440
Create a temporary directory /tmp/linux in the /tmp directory of the Fedora9 system
#mkdir /tmp/linux
Copy all the files in the linux directory on the CD to the /tmp/linux directory
Unzip each compressed package.
example:
Unzip and install the Linux kernel source code
Execute in the working directory /opt/FriendlyARM/mini2440:
#cd /opt/FriendlyARM/mini2440
#tar xvzf /tmp/linux/linux-2.6.32.2-mini2440*gz
The linux-2.6.32.2 directory will be created, which contains the complete Linux-2.6.32.2 kernel source code
20100106 is our release update date mark. Please refer to the actual date suffix on the CD for accuracy.
Previous article:#Embedded Linux Minimum System Transplantation# mini2440 kernel 4.0.8 transplantation record
Next article:2. About the issue of MINI2440 download
Recommended ReadingLatest update time:2024-11-15 07:56
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- CAN communication based on c5051f040
- SPI Communication of DSP28335
- [Creative Collection] MPS Exploration Camp "Serious Technology Play" | Unlock the infinite ways to play with lithium battery charging!
- [CH579M-R1] Problems encountered in ADC
- To solve the problem of impedance continuity in PCB design, just read this article!
- [Gizwits Gokit3 Review] Part 1: Some problems encountered during unboxing test
- Why is there so little information about MPU chips?
- [Review of Arteli Development Board AT32F421] + Raising a Watchdog
- Let's talk about five cents and share your experience in voltage regulation circuit design
- Share: A brief analysis of the access control system using RFID technology