1. 把U盘插入开发板,开发板命令行提示如下

# usb 1-2: new high-speed USB device number 2 using atmel-ehci
usb 1-2: New USB device found, idVendor=090c, idProduct=1000, bcdDevice=11.00
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-2: Product: USB Flash Disk
usb 1-2: Manufacturer: General
usb 1-2: SerialNumber: 0333416030047957
usb-storage 1-2:1.0: USB Mass Storage device detected
usb-storage 1-2:1.0: Quirks match for vid 090c pid 1000: 400
scsi host0: usb-storage 1-2:1.0
scsi 0:0:0:0: Direct-Access     General  USB Flash Disk   1100 PQ: 0 ANSI: 6
sd 0:0:0:0: [sda] 31481856 512-byte logical blocks: (16.1 GB/15.0 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] Attached SCSI removable disk

2.确认U盘文件系统

# fdisk -l
Disk /dev/ram0: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram1: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram2: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram3: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xaad64a9bDevice         Boot Start     End Sectors  Size Id Type
/dev/mmcblk0p1 *     2048   34815   32768   16M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      34816 1083391 1048576  512M 83 LinuxDisk /dev/sda: 15.01 GiB, 16118710272 bytes, 31481856 sectors
Disk model: USB Flash Disk
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x73736572Device     Boot      Start        End    Sectors   Size Id Type
/dev/sda1       1920221984 3736432267 1816210284   866G 72 unknown
/dev/sda2       1936028192 3889681299 1953653108 931.6G 6c unknown
/dev/sda3                0          0          0     0B  0 Empty
/dev/sda4         27722122   27722568        447 223.5K  0 EmptyPartition table entries are not in disk order.

3. 查看当前开发板支持的文件系统

# cat /proc/filesystems
nodev   sysfs
nodev   tmpfs
nodev   bdev
nodev   proc
nodev   cgroup
nodev   cgroup2
nodev   devtmpfs
nodev   configfs
nodev   debugfs
nodev   sockfs
nodev   pipefs
nodev   ramfs
nodev   rpc_pipefs
nodev   devptsext3ext2ext4vfat
nodev   nfs
nodev   ubifs

4. U盘格式化为fat32

5. make linux-menuconfig设置支持fat格式,编译内核,然后烧写sdcard.img到sd卡

6. 重新插入U盘到开发板,查看当前挂载

# fdisk -l
Disk /dev/ram0: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram1: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram2: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/ram3: 8 MiB, 8388608 bytes, 16384 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytesDisk /dev/mmcblk0: 14.84 GiB, 15931539456 bytes, 31116288 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x8cdc9d96Device         Boot Start     End Sectors  Size Id Type
/dev/mmcblk0p1 *     2048   34815   32768   16M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      34816 1083391 1048576  512M 83 LinuxDisk /dev/sda: 7.47 GiB, 8021606400 bytes, 15667200 sectors
Disk model:
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xae856d9dDevice     Boot    Start      End  Sectors  Size Id Type
/dev/sda1  *      614400 15052799 14438400  6.9G  c W95 FAT32 (LBA)
/dev/sda2       15052800 15663102   610303  298M 16 Hidden FAT16
# ls /dev/
block            mtd3ro           tty14            tty49
bus              mtd4             tty15            tty5
char             mtd4ro           tty16            tty50
console          mtd5             tty17            tty51
cpu_dma_latency  mtd5ro           tty18            tty52
disk             mtd6             tty19            tty53
fd               mtd6ro           tty2             tty54
full             null             tty20            tty55
gpiochip0        ptmx             tty21            tty56
gpiochip1        pts              tty22            tty57
gpiochip2        ptyp0            tty23            tty58
gpiochip3        ptyp1            tty24            tty59
hwrng            ptyp2            tty25            tty6
i2c-0            ptyp3            tty26            tty60
iio:device0      ram0             tty27            tty61
input            ram1             tty28            tty62
kmsg             ram2             tty29            tty63
log              ram3             tty3             tty7
loop-control     random           tty30            tty8
loop0            rfkill           tty31            tty9
loop1            rtc              tty32            ttyS0
loop2            rtc0             tty33            ttyS2
loop3            rtc1             tty34            ttyp0
loop4            sda              tty35            ttyp1
loop5            sda1             tty36            ttyp2
loop6            sda2             tty37            ttyp3
loop7            shm              tty38            ubi_ctrl
mem              snd              tty39            urandom
mmcblk0          stderr           tty4             vcs
mmcblk0p1        stdin            tty40            vcs1
mmcblk0p2        stdout           tty41            vcsa
mtd0             tty              tty42            vcsa1
mtd0ro           tty0             tty43            vcsu
mtd1             tty1             tty44            vcsu1
mtd1ro           tty10            tty45            vhci
mtd2             tty11            tty46            watchdog
mtd2ro           tty12            tty47            watchdog0
mtd3             tty13            tty48            zero

7. 挂载U盘,可以查看到U盘里的文件

# mount /dev/sda1 /mnt
# ls /mnt
System Volume Information  rgb-led

SAM9X60 curiosity开发板,U盘拷贝文件到开发板相关推荐

  1. Linux学习笔记五:arm-2009q3交叉编译环境安装、U盘拷贝文件到开发板

    目录 一.概述 二.arm-2009q3安装 三.编译测试 四.开发板运行 一.概述 现在已经完成PC端的虚拟机环境安装.完成了开发板镜像烧写.以测试的hello为例,PC端使用gcc hello.c ...

  2. 服务器一拷贝文件就死机,u盘拷贝文件时导致电脑死机怎么办【解决方法】

    使用u盘存储.拷贝文件在我们的日常工作生活中已是很常用的移动存储设备,而随着技术的发展,大容量u盘也随之而来,而使用 u盘拷贝文件导致死机 也是我们会遇到的问题,那么遇到这种 u盘导致电脑死机 的问题 ...

  3. excel文件无法打印提示内存不足_U盘拷贝文件提示目标文件过大无法复制怎么解决...

    关注奕奇科技,学习更多小妙招 U盘作为用户日常使用的闪存工具之一,在不需要任何物理驱动的情况,都能够做到即插即用的操作,这就是其与硬盘的最大不同之处,因此有些用户也会将一些大文件复制粘贴到U盘中,可是 ...

  4. Ubuntu20.04服务器版本如何使用命令从U盘拷贝文件到服务器

    (一)linux系统如何把u盘中的文件复制过来? linux系统如何把u盘中的文件复制过来?_百度知道 linux系统要把u盘中的文件复制过来需要先把U盘挂载到系统中的某一个位置,然后再使用cp命令完 ...

  5. 如何设置u盘写保护防止u盘拷贝文件

    在网上搜索 u盘写保护是我们经常需要的解决办法,而今天我们为大家带来的却是 如何设置u盘写保护,设置u盘写保护主要是为了保护计算机中的文件不被窃取,那么接下来我们就进入u盘写保护怎么设置的正文中. 1 ...

  6. win10计算机无法复制文件,Win10系统禁止U盘拷贝文件的方法【图文】

    U盘已经成为大家生活和办公中不可缺少的一部分了,拷贝或储存文件都会用到.大部分用户会把重要文件存放在ghost win10系统电脑中,只要任何U盘插入电脑都可以拷贝文件,不利于保护机密文件.所以一些在 ...

  7. linux mount 远程目录文件拷贝,linux mount挂载u盘,从U盘拷贝文件到linux中

    背景: 由于工作需要,需要把u盘中的信息拷贝到linux系统中 准备工作 一个fat32格式的u盘,文件支持类型,tar,whl等压缩包形式,不支持rar,zip等文件,因为linux涉及到权限问题, ...

  8. mac u盘文件过大 拷贝不进去_U盘拷贝文件提示目标文件过大无法复制到U盘的解决方法...

    我们经常需要使用U盘来存储文件,但是在拷贝文件的时候却提示目标文件过大无法复制到U盘,但是查看U盘的存储空间肯定是足够的,那么问题有可能出在U盘的格式上.一般来说,fat32格式的U盘只允许拷贝或者创 ...

  9. 锁定计算机不让u盘导出,怎样防止别人用U盘拷贝我的文件 禁止u盘拷贝文件设置方法图文详细教程...

    现在对于每一个从事IT行业的人来说,自己的电脑上一定会存在许多重要文件和个人隐私文件,为了保证文件的安全,我们可以通过对文件加密的方法防止别人任意使用,但是这一方法也无法保证别人通过u盘来窃取自己电脑 ...

最新文章

  1. Chain of Responsibility 责任链模式 MD
  2. laravel auth(api)-attempt 返回false_3分钟短文:Laravel命令行参数和可选项分不清?怎么可能...
  3. 独木舟上的旅行http://acm.nyist.net/JudgeOnline/problem.php?pid=71
  4. 20165212第九周学习总结
  5. 【C#】详解使用Enumerable.Distinct方法去重
  6. XnSay临时网盘程序v1.0全开源
  7. 深度学习(五十二)变分贝叶斯自编码器(下)
  8. Mysql数据库更新操作导致死锁问题
  9. 函数名的使用-闭包-迭代器
  10. 关系传递闭包Warshall算法之思想的一种解说
  11. 解决联想笔记本电源选项 电源管理无效
  12. 数学分析教程(科大)——1-(1~10)小节
  13. [luoguP3627][APIO2009]抢掠计划
  14. 程序员内部培训与个人发展杂谈
  15. 2022爱分析· 工业互联网厂商全景报告
  16. 使用Contect.Handler显示提交过来的“编辑成功”的信息
  17. 一次软件测试的电话面试分享
  18. 练习打字速度效果很好的网站(本人亲测)
  19. 使用MySQL的聊天室_聊天室phpmysql(一)
  20. 单总线协议-以DS18B20举例

热门文章

  1. 算法题之计算哪一桶是红酒
  2. OpenCvSharp人脸检测(一) HaarCascade与LbpCascade人脸检测
  3. 学术-物理:莫比乌斯带
  4. oracle裁员原因_甲骨文中国裁员是什么情况? 甲骨文中国裁员的原因是什么?...
  5. Android:三种Adapter的使用方法
  6. 骨龄测试软件app_【测试工具】这些APP实用测试工具,不知道你就out了!
  7. 2003年高考数学试题赏析
  8. 华为优招面经(已拿offer)
  9. 关于电脑电流滋滋声解决方法
  10. mysql中间件研究(Atlas,cobar,TDDL) | 日志 | 果壳网 科技有意思