Connect to the ARM Development Board in a virtual machine Linux

Source: Internet
Author: User
Connect to the ARM Development Board-general Linux technology-Linux programming and kernel information under the Virtual Machine Linux. The following is a detailed description. Virtual machines, Linux, and ARM are all new beginners, and many detours have taken place during Environment configuration, wasting a lot of time. The steps for correct environment matching are recorded below.

Basic Environment:
Host OS: Windows XP
Virtual Machine: VMware Workstation 6.0
Virtual OS: fedora 7.0
ARM model: HHARM2410

Steps:

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"

Mount/dev/cdrom/mnt

Cd/mnt

./Arminst

Then start the experiment according to the experiment steps of Hua Heng.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.