Purpose:
Install and configure the cross-development environment, kernel, filesystem, and bootloder of ARM linux, so that it can compile bootloder and kernel, and update the file system with nfs;
Resources:
matrix5-kernel-v5.5.tgz
vivi.tar.gz
Jflash.tgz
root-for-nfs-v5.5.tgz
Planning:
The cross compiler is installed in: /usr/local/
kernel, the bootloder is placed in: /home/volans/arm/, and
the nfs file system for booting is placed in: /home/armnfs/.
Preparation:
sudo chmod /home/armnfs
mkdir ~/arm
The purpose of the first two sentences is to create an armnfs directory under /home. For the convenience of development, this directory is set to rwx for all users.
Then copy all the resources mentioned above to ~/arm/.
Installation Configuration:
sudo apt-get install gcc g++ libgcc1 libg++ make gdb
cd /
sudo tar zxvf /home/volans/arm/arm-linux-toolchains.tgz
Please check whether the /usr/local/arm folder exists after the execution.
Add the path of the cross compiler to PATH for easy use:
sudo vi /etc/bash_bashrc
Add the following code at the end:
if [ -d /usr/local/arm ] ; then
PATH=/usr/local/arm/2.95.3/bin:"${PATH}"
fi
cd ~/arm
tar zxvf matrix5-kernel-v5.5.tgz
tar zxvf vivi.tar.gz
tar zxvf Jflash.tgz
cd /home/armnfs
tar zxvf /home/volans/root-for-nfs-v5.5.tgz
Please refer to my previous articles for information about starting NFS server.
Add the following content to /etc/exports:
/home/armnfs/root 192.168.0.69(rw)
Basically, the above configuration can basically meet the development needs, but now when you compile the kernel or vivi, running make menuconfig will prompt that ncurses cannot be found. This is because menuconfig uses the ncurses library. The solution is as follows:
sudo apt-get install ncurses-dev
sudo atp-get install minicom
and then configure:
sudo minicom -s
The configuration is the same as the friendly documentation, so I won’t say more.
There is basically nothing else. There are two points to note. The nfs shared directory is /home/armnfs/root, so change the shared directory to this when the target version uses NFS to start.
Previous article:ARM Linux cross-compilation environment crosstool tool under Linux system
Next article:Establishing ARM Linux cross-compilation environment
- Popular Resources
- Popular amplifiers
- 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
- Detailed explanation of intelligent car body perception system
- How to solve the problem that the servo drive is not enabled
- Why does the servo drive not power on?
- What point should I connect to when the servo is turned on?
- How to turn on the internal enable of Panasonic servo drive?
- What is the rigidity setting of Panasonic servo drive?
- How to change the inertia ratio of Panasonic servo drive
- What is the inertia ratio of the servo motor?
- Is it better for the motor to have a large or small moment of inertia?
- What is the difference between low inertia and high inertia of servo motors?
- [ESK32-360 Review] + Button control LED number running lights flash, and there is a prompt sound when pressing the button
- [TI star products limited time purchase] +TI store is fast, reliable and worry-free!
- [RVB2601 Creative Application Development] User Experience 01 -- Avoiding the printf pitfall
- MMWCAS-DSP-EVM implements QSPI-4 boot
- EEWORLD University ---- Near Field Communication (NFC) Training Series Part 3: NFC Applications
- Questions about the actual overcurrent capability of NMOS and its impact current resistance after conduction
- What is the difference between the Code Area and Data Area in GD32's Flash?
- MicroPython adds littlefs
- Problems with synchronization delay between ePWM modules in C2000
- How to solve the current noise of audio amplifier?