1. Unzip, compile and install busybox-1.20.0.tar.bz2
(1) Unzip: tar xjf busybox-1.20.0.tar.bz2
Enter the directory: cd busybox-1.20.0
cd busybox-1.20.0
Configuration: make menuconfig
(2) Then specify the cross-compiler.
The process of specifying a cross compiler is as follows:
Configure the cross-compiler, save and exit after completion.
(3) Compilation and installation
Compile command: make
After compiling, install:
Create a fs_mini_mdev_new in the /work/nfs_root/ directory.
Command: cd /work/nfs_root/
mkdir fs_mini_mdev_new
Installation: make install CONFIG_PREFIX=/work/nfs-root/fs_mini_mdev_new
The result after installation is as follows:
2. Install the library
(1) Check the directory where the cross-compilation tool is located: echo $PATH
The location is: /usr/local/arm/4.3.2/bin/
(2) Enter the directory where the cross-tool is located, /usr/local/arm/4.3.2/, and view the library.
Among them, only two armv4t related libraries will be used
(3) Create a lib directory in /work/nfs-root/fs_mini_mdev_new
Command: mkdir /work/nfs-root/fs_mini_mdev_new/lib
File copy:
Command: cp /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/lib/*.so* /work/nfs-root/fs_mini_mdev_new/lib -d
Create a directory: mkdir /work/nfs-root/fs_mini_mdev_new/usr/lib -p
cp /usr/local/arm/4.3.2/arm-none-linux-gnueabi/libc/armv4t/usr/lib/*.so* /work/nfs-root/fs_mini_mdev_new/usr/lib -d
(4) Construct etc directory
Here we copy the etc directory in the /work/nfs_root/second_fs/ directory to /work/nfs-root/fs_mini_mdev_new/.
Copy command: cp /work/nfs_root/second_fs/etc /work/nfs-root/fs_mini_mdev_new/ -rf
The /etc/inittab file and /etc/init.d/rcS file are no longer modified here.
(5) Create dev and create file nodes
Command: mkdir /work/nfs_root/second_fs/dev
sudo mknod dev/console c 5 1
sudo mknod dev/null c 1 3
(6) Create other proc, tmp, mnt, sys, and root directories
Command: mkdir proc tmp mnt sys root
3. Make jffs2 image file
Command: mkfs.jffs2 -n -s 2048 -e 128KiB -d fs_mini_mdev_new/ -o fs_mini_mdev_new.jffs2
The results are as follows:
Then you can perform the file system burning experiment using fs_mini_mdev_new.jffs2.
Secondly, you need to configure the kernel to support EABI.
Previous article:New version U-boot2012.04.01 transplantation (Part 2) (JZ2440-S3C2440)
Next article:Qt2.2.0 ported to ARM9 (IV) (JZ2440----S3c2440)
- 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
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- From probes to power supplies, Tektronix is leading the way in comprehensive innovation in power electronics testing
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Data acquisition technology based on SDI-12 bus (communication protocol)
- 04. WS2812B driver implementation of SPI
- In-depth disassembly | The magical use of Qorvo chips in handheld vacuum cleaners
- Please ask a MicroPython question
- 315Mhz wireless module microcontroller soft decoding receiving program
- Learning experience of MSP430F5529 clock module
- Noise suppression solution example in automotive power circuits
- How can wireless monitoring systems minimize latency?
- Power amplifier circuit composed of operational amplifier and NMOS
- [N32L43X Review] 9. Review Summary