Download the material to the Development Board

Source: Internet
Author: User

Learn Linux drivers, then how to download data to the Development Board. My main use is two kinds:

1.Mount

It is convenient to mount the board to an NFS file on the Ubuntu host (provided that Ubuntu installs the NFS service), as I mount the/work/nfs_root directory to Ubuntu, as in the following command

  Mount-t Nfs-o nolock 192.168.1.20:/work/nfs_root/mnt

So in the Ubuntu host, put the compiled files into the/work/nfs_root directory, in the MNT directory of the Development Board can be seen, and can be run.

However, recently encountered a problem, the Development Board Mount is not on the host, prompting the following error:

[Email protected]:~/test# mount-t nfs-o nolock 192.168.1.20:/work/nfs_root/mnt
Mount:wrong fs type, bad option, bad superblock on 192.168.1.20:/work/nfs_root,
Missing codepage or helper program, or other error
(for several filesystems (e.g. NFS, CIFS) might
Need a/sbin/mount.<type> Helper Program)
In some cases useful info are found in Syslog-try
DMESG | Tail or so

Temporarily unable to solve.

2. Download via TFTP

First also need Ubuntu install TFTP service and set TFTP directory, as I set directory to/work/nfs_root

Put the compiled files into the/work/nfs_root, the following command can be used to upload data to the Development Board

[Email protected]:~/test# tftp-g-R firstdrvtest 192.168.0.75

Download the material to the Development Board

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.