It was Sunday, and I was just resting at home. It was a good time to learn ARM. I got up
very early in the morning because I was always anxious about how to set up the ARM development environment. I couldn't sleep well. I immediately turned on the computer. In order to speed up, I turned on both computers at home and installed LINUX on the faster computer. At present, because both computers have installed WINDOWS system and many software. In order to have no risks, I installed VMWARE software, which is virtual machine software. The virtual speed of this software is indeed much faster, and it is not slow to run the graphics operating system. If BOCHS runs a graphics operating system, it will be very slow, so I gave up this free software. If my computer is also very fast, such as using the latest AMD64-bit CPU, maybe BOCHS will not be slow. Haha...
After installing VMWARE software, I will install LINUX in it. So which LINUX is better? At present, I use the most popular REDHAT. And I use version 9.0, which is really good. All the way down, you can install it almost without doing anything.
I learned from the experience of the previous times, so this time I chose to install all the software. There is still 10G of hard disk space, so I
allocated 10G hard disk space to the virtual machine hard disk. After installing all LINUX, the size is only about 3G. This LINUX has installed the graphics, network, development source programs and all tools. Users like me who rarely use LINUX will definitely not go back to an environment like DOS. Maybe I haven't used DOS for a long time, so it is always difficult to type commands and I can't remember the commands under LINUX, so I chose the graphical method. At present, using the graphical method under LINUX is already very convenient. The level is comparable to that of WIN95. If WINDOWS really wants to charge me, I will switch to LINUX. REDHAT9.0 is already very convenient to use. If you only use LINUX for office work, it is already very useful. Before this, I didn't choose the graphical method when installing LINUX, which was really painful. I started installing LINUX in 1997. At that time, I used floppy disks to install it, which was too difficult and damaged my hard disk. By 2005, LINUX had indeed made great progress. REDHAT9.0 was already very practical, and LINUX could definitely become a standard configuration for office PCs.
After installing LINUX, you need to configure its network part. I failed to configure it several times before because I didn't understand LINUX, or maybe it didn't help much, and I thought everyone was an expert. Now I use the Chinese version of REDHAT9.0, and I finally understand it better. Set the IP address of the network card to 192.168.0.2, mask: 255.255.255.0, and gateway to 192.168.0.1. This is how the LINUX network is configured.
Next, you need to set up the network part of VMWARE. I choose NAT. So I found the virtual network card of VNET8, and set its IP address to 192.168.0.8, mask: 255.255.255.0, and gateway to 192.168.0.1. This is configured in the WINDOWS network. After setting up like this, in WINDOWS, you can ping the 192.168.0.2 of LINUX in the virtual machine.
What is the IP address of WINDOWS in LINUX? I didn't know this problem at the beginning. Later, I tried it and could only ping the address 192.168.0.8 of WINDOWS. However, as long as you can ping this address, it proves that the network of LINUX and WINDOWS has been set up.
Next, it is to solve the problem of sharing files between WINDOWS and LINUX. There are many solutions for this. My choice is to use FTP.
Because I don't know LINUX, I always try to configure VSFTPD of LINUX and it doesn't meet my requirements. My requirement is simple, any file can be uploaded and downloaded, but the default method of LINUX is very safe, so sometimes I can upload but not download, and sometimes I can upload but can't delete files, because the permissions are too complicated. Finally, I understand why WINDOWS is easy to use, because WINDOWS does not have so many permission controls.
Since the configuration of LINUX failed, I chose the FTP server of WINDOWS. Take out the WINDOWS CD, and then add the WINDOWS FTP server. After WINDOWS, just select two settings, and you can set anyone to log in, and any file can be uploaded and downloaded. This is too fast, and WINDOWS is still convenient, all interface. Because security is not considered at present, it is difficult to set up the LINUX one to change it to unsafe.
After setting up the WINDOWS FTP server, you can use the graphical GFTP tool after LINUX to connect to WINDOWS. As long as you put any file in the WINDOWS FTP directory, you can use GFTP to copy it in the virtual machine LINUX, and you can also copy files out of LINUX.
After installing such an operating system, you can install the ARM development environment. This is to download the arm-elf cross compiler. This will be discussed later.
At this point, the installation of LINUX and the file sharing problem are completed. The advantage of this is that you can compile programs under LINUX, and you can use VC and other tools on WINDOWS to write and modify source programs. The speed is fast, and it is also very convenient to write Chinese comments. And you can
run the uClinux target file in WINDOWS with SKYEYE, etc. If you still use SKYEYE in the virtual machine's LINUX, it will
become very slow.
I will continue to learn ARM next time.
Previous article:Learn ARM development (4)
Next article:Learn ARM development (1)
- 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
- 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
- There is a reason why the price of ceramic circuit board PCB substrate is high.
- ASML claims Chinese companies may infringe copyright, Chinese companies respond: key technologies are completely self-developed
- Xunwei iTOP-i.MX6ULL development board-network communication-socket UDP
- Power supply "core" trend, low power consumption
- Award-winning live broadcast: Infineon MERUS Class D audio amplifier's multi-level technology and its advantages live broadcast material collection
- Who has used the LM26LV-Q1 temperature chip?
- Question about programmable frequency divider based on shift register
- AD20 Select PCB Components cannot be used?
- Newly purchased MicroPython development board
- STM32F 7508DK I2C BH1570 driver development and I2C usage