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