linux
1. Install nfs server
sudo apt-get install nfs-kernel-server
2. Modify the configuration file /etc/exports
vim /etc/exports
Add in the last line
/home/stu/nfs *(rw,sync,no_root_squash,no_subtree_check)
Where /home/stu/nfs is the directory you want to mount
3. Port Mapping
sudo service rpcbind restart
4. Restart
sudo service nfs-kernel-server restart
5. Testing
showmount -e
mini2440
mount -t nfs -o nolock 192.168.0.102:/home/stu/nfs /mnt
Use this command when you want to transfer larger files
mount -t nfs -o intr,nolock,rsize=1024,wsize=1024 192.168.0.102:/home/stu/nfs /mnt
/mnt is the directory on mini2440
192.168.0.102 is the IP address of the Linux host
Before mounting, make sure the mini2440 development board can ping the Linux host
Linux's /home/stu/nfs will be mounted on mini2440's /mnt
2440 boots through the kernel in nfs
1. Reboot to enter the u-boot interface first
2. Set ipaddr and serverip
OpenJTAG> set ipaddr 192.168.1.17
OpenJTAG> set serverip 192.168.1.103
OpenJTAG> save
3. Ping the host to see if it works
OpenJTAG> ping 192.168.1.103
ERROR: resetting DM9000 -> not responding
dm9000 i/o: 0x20000000, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:00:3e:26:0a:5b
could not establish link
host 192.168.1.103 is alive
See alive is available
4. Start the kernel through nfs
nfs 32000000 192.168.1.103:/home/book/nfs/uImage_4_3;bootm 32000000
Previous article:mini2440 downloads the Linux virtual machine program through dnw
Next article:JZ2440 driver compilation, installation and testing
- Popular Resources
- Popular amplifiers
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- 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)
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
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- 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?
- Application of Torque Sensors in the Automotive Industry
- Vayo-CAM365 Function Detailed Explanation (I)
- Apply for DCM evaluation samples for free!
- ESP32 Arduino 2.0.3 has been released
- What is your understanding of Article 82 of the Labor Contract Law of the People’s Republic of China?
- [Synopsys IP Resources] Automotive SoCs will be reshaped, and IP will usher in new changes
- Technical Article: What is Switch Mode Power Supply Current Sensing?
- 1. When it comes to the conduction condition of NMOS, VGS>0 is sufficient. But after conduction, won't VS be greater than VG? 2. We...
- How to measure intermittent current?
- "Practice together in 2021" - Last year's difficulties remain this year