Basic Environment: Host OS: Windows XP Virtual Machine: VMwareWorkstation60 virtual OS: fedora70ARM model: Hua Heng HHARM2410 step: 1. add the serial port to the virtual machine:
Basic Environment:
Host OS: Windows XP
Virtual Machine: VMware Workstation 6.0
Virtual OS: fedora 7.0
ARM model: HHARM2410
Procedure:
1. add a serial port to the VM:
Click Edit UE machine settings, and click add to add a serial port (com1 );
2. modify the network connection:
Right-click the Nic icon of the VM and select "Edit" to change the "system" network connection to a bridging network (the first option ).
3. set the Ethernet card:
Click "system"-"management"-"network", select eth0 in the pop-up box, click edit, and set the ip address statically, write the ip address (ensure that the host ip address is in the same CIDR block as the development board ip address. run the ifconfig command on the minicom terminal to view the ip address of the Development Board. my ip address is 192.168.2.222, set the host IP address to 192.168.2.111 ). After confirmation, the activation is complete.
4. set NFS and TFTP services:
Enter setup on the terminal, select System service, select nfs, select tftp, and remove the asterisks before [] iptables and [] ipchains (if any. (Here I cannot find tftp. I chose to use YUM to download and install the xinetd service, and then we can see options such as telent and tftp ). After you select disable firewall, exit the setup interface and return to the command line prompt.
# Vi/etc/exports
Add the following line to the default empty file:
/* (Rw) save and exit
# Service nfs restart // restart the NFS service
Shutting down NFS mountd: [OK] Shutting down NFS daemon: [OK] Shutting down NFS quotas: [OK] Shutting down NFS services: [OK] Starting NFS services: [OK] Starting NFS quotas: [OK] Starting NFS daemon: [OK] Starting NFS mountd: [OK]
After the NFS is started, you can test whether NFS is configured successfully by yourself on the PC. For example, run the following command in the root directory of the PC:
Mount 192.168.2.111:/usr // mnt/
/* Select a relatively small directory for mounting, otherwise it will take a long time */
Then run the ls command in the/mnt/directory to check whether all files and directories under the usr directory can be listed. if the directory can be listed, the mount is successful and NFS is configured successfully.
# Service xinetd restart // start the TFTP service:
After the configuration is complete, test whether the TFTP server is available.
Cd/
Cp/etc/inittab/tftpboot/
/* Copy a file to the/tftpboot Directory for the following tftp command to download. The etc/inittab file is used as an example. */
Tftp 192.168.2.111
Tftp> get inittab
If no files are downloaded in the/tftpboot directory, you will be prompted not to find the relevant files. the downloaded inittab file will exist in the root directory, indicating that the configuration of the TFTP server is successful; if the pop-up message says: Timed out, it indicates that it is not successful
5. mount the Huaheng CD and perform the final installation:
Virtual Drive Plus device-> CD-ROM-> connection select use physical drive ".