20240408在全志H3平台的Nano Pi NEO CORE上跑Ubuntu Core 22.04时使用mount来挂载TF卡

20240408在全志H3平台的Nano Pi NEO CORE上跑Ubuntu Core 22.04时使用mount来挂载TF卡

2024/4/8 20:05

mount /dev/mmcblk1 /mnt

mount -t vfat /dev/mmcblk0p1 /mnt/mmc/

mount /dev/mmcblk0p2 /mnt

缘起,在全志H3平台

开发板:Nano Pi NEO CORE

操作系统:Ubuntu Core 22.04

h3-eflasher-friendlycore-jammy-4.14-armhf-20231107.img

百度:linux mount FT卡

https://blog.csdn.net/qq_37858386/article/details/128283445

2022-12-12 Linux 挂载TF卡 mount -t vfat /dev/mmcblk0p1 /mnt/mmc/,fdisk -l 查看。

Donald Linux

于 2022-12-12 10:37:51 发布

一、接上TF卡会有下面的log,有EXT4-fs (mmcblk0p1) 字样。

二、执行 fdisk -l 查看

三、执行 mount /dev/mmcblk0p1 /mnt/mmc 挂载

四、参考文章

linux 挂载tf卡_dxmcu的博客-CSDN博客_linux 挂载tf卡

Linux环境下挂载SD卡的教程 - 编程路上的小飞龙 - 博客园

文章知识点与官方知识档案匹配,可进一步学习相关知识

云原生入门技能树首页概览17967 人正在系统学习中

最近需要再全志H3平台,NanoPi NEO Core开发板上适配移远的4G模块: EC200A-CN。
使用h3-eflasher-friendlycore-jammy-4.14-armhf-20231107.img,现阶段发现:

1、刷TF之后,直接启动,没有常用指令fdisk,还好有busybox,在busybox里面找到了fdisk。
但是还有略有遗憾,busybox中没有udhpc,请问如何加入udhpc工具,有STEP-BY-STEP的教程吗?

步骤二:准备 busybox udhcpc 工具。

quectel-CM 调 用 busybox udhpc 获 取 IP 和 DNS , busybox udhpc 调 用 脚 本 文 件
/usr/share/udhcpc/default.script 为 Linux 开发板设置 IP、DNS 和路由表。

用户可以从 https://busybox.net 下载 busybox udhpc 工具的源代码,然后使用以下命令启用
CONFIG_UDHCPC 并将脚本文件[BUSYBOX]/examples/udhcp/simple.script 复制到 Linux 开发板(重命
名为/usr/share/udhcpc/default.script)。

busybox menuconfig

P30
Quectel_UMTS_LTE_5G_Linux_USB_Driver_用户指导_V1.0-已解锁.pdf

2、将TF卡中的IMG刷入EMMC之后,发现连busybox都找不到了,更谈不上fdisk。
挂载TF卡的时候非常不方便。我把可能得扇区/分区都尝试了一遍!
请核实一下!
并提供一下加入busybox的【STEP-BY-STEP】步骤/方法!
多谢了!

root@NanoPi-NEO-Core:/mnt# cd /dev
root@NanoPi-NEO-Core:/dev# ll

total 4

drwxr-xr-x 15 root root 3900 Sep 19 16:57 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

crw-rw---- 1 root audio 14, 28 Sep 19 16:57 adsp1

crw-rw---- 1 root audio 14, 4 Sep 19 16:57 audio

crw-rw---- 1 root audio 14, 20 Sep 19 16:57 audio1

crw-rw---- 1 root audio 14, 36 Sep 19 16:57 audio2

crw-rw---- 1 root audio 14, 52 Sep 19 16:57 audio3

crw-r--r-- 1 root root 10, 235 Sep 19 16:57 autofs

drwxr-xr-x 2 root root 660 Sep 19 16:57 block/

crw------- 1 root root 10, 234 Sep 19 16:57 btrfs-control

drwxr-xr-x 3 root root 60 Jan 1 1970 bus/

crw-rw---- 1 root video 250, 0 Sep 19 16:57 cec0

drwxr-xr-x 2 root root 3460 Sep 19 16:57 char/

crw------- 1 root root 5, 1 Sep 19 16:57 console

crw------- 1 root root 10, 62 Sep 19 16:57 cpu_dma_latency

crw------- 1 root root 10, 203 Sep 19 16:57 cuse

drwxr-xr-x 7 root root 140 Jan 1 1970 disk/

drwxr-xr-x 3 root root 80 Sep 19 16:57 dri/

crw-rw---- 1 root audio 14, 3 Sep 19 16:57 dsp

crw-rw---- 1 root audio 14, 19 Sep 19 16:57 dsp1

crw-rw---- 1 root audio 14, 35 Sep 19 16:57 dsp2

crw-rw---- 1 root audio 14, 51 Sep 19 16:57 dsp3

crw-rw---- 1 root video 29, 0 Sep 19 16:57 fb0

lrwxrwxrwx 1 root root 13 Jan 1 1970 fd -> /proc/self/fd/

crw-rw-rw- 1 root root 1, 7 Sep 19 16:57 full

crw-rw-rw- 1 root root 10, 229 Sep 19 16:57 fuse

crw------- 1 root root 254, 0 Sep 19 16:57 gpiochip0

crw------- 1 root root 254, 1 Sep 19 16:57 gpiochip1

crw-rw---- 1 root i2c 89, 0 Sep 19 16:57 i2c-0

crw-rw---- 1 root i2c 89, 1 Sep 19 16:57 i2c-1

crw-rw---- 1 root i2c 89, 2 Sep 19 16:57 i2c-2

crw-rw---- 1 root i2c 89, 3 Sep 19 16:57 i2c-3

lrwxrwxrwx 1 root root 12 Sep 19 16:57 initctl -> /run/initctl|

drwxr-xr-x 3 root root 100 Sep 19 16:57 input/

crw-r----- 1 root kmem 1, 2 Sep 19 16:57 kmem

crw-r--r-- 1 root root 1, 11 Sep 19 16:57 kmsg

crw-rw---- 1 root kvm 10, 232 Sep 19 16:57 kvm

lrwxrwxrwx 1 root root 28 Sep 19 16:57 log -> /run/systemd/journal/dev-log=

crw-rw---- 1 root disk 10, 237 Sep 19 16:57 loop-control

brw-rw---- 1 root disk 7, 0 Sep 19 16:57 loop0

brw-rw---- 1 root disk 7, 1 Sep 19 16:57 loop1

brw-rw---- 1 root disk 7, 2 Sep 19 16:57 loop2

brw-rw---- 1 root disk 7, 3 Sep 19 16:57 loop3

brw-rw---- 1 root disk 7, 4 Sep 19 16:57 loop4

brw-rw---- 1 root disk 7, 5 Sep 19 16:57 loop5

brw-rw---- 1 root disk 7, 6 Sep 19 16:57 loop6

brw-rw---- 1 root disk 7, 7 Sep 19 16:57 loop7

drwxr-xr-x 2 root root 60 Jan 1 1970 mapper/

crw-r----- 1 root kmem 1, 1 Sep 19 16:57 mem

crw------- 1 root root 10, 59 Sep 19 16:57 memory_bandwidth

crw-rw---- 1 root audio 14, 0 Sep 19 16:57 mixer

crw-rw---- 1 root audio 14, 16 Sep 19 16:57 mixer1

crw-rw---- 1 root audio 14, 32 Sep 19 16:57 mixer2

crw-rw---- 1 root audio 14, 48 Sep 19 16:57 mixer3
brw-rw---- 1 root disk 179, 8 Sep 19 16:57 mmcblk0
brw-rw---- 1 root disk 179, 16 Sep 19 16:57 mmcblk0boot0
brw-rw---- 1 root disk 179, 24 Sep 19 16:57 mmcblk0boot1
brw-rw---- 1 root disk 179, 9 Sep 19 16:57 mmcblk0p1
brw-rw---- 1 root disk 179, 10 Sep 19 16:57 mmcblk0p2
brw-rw---- 1 root disk 179, 11 Sep 19 16:57 mmcblk0p3
brw-rw---- 1 root disk 179, 0 Sep 19 16:57 mmcblk1

drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue/

brw-rw---- 1 root disk 43, 0 Sep 19 16:57 nbd0

brw-rw---- 1 root disk 43, 32 Sep 19 16:57 nbd1

brw-rw---- 1 root disk 43, 320 Sep 19 16:57 nbd10

brw-rw---- 1 root disk 43, 352 Sep 19 16:57 nbd11

brw-rw---- 1 root disk 43, 384 Sep 19 16:57 nbd12

brw-rw---- 1 root disk 43, 416 Sep 19 16:57 nbd13

brw-rw---- 1 root disk 43, 448 Sep 19 16:57 nbd14

brw-rw---- 1 root disk 43, 480 Sep 19 16:57 nbd15

brw-rw---- 1 root disk 43, 64 Sep 19 16:57 nbd2

brw-rw---- 1 root disk 43, 96 Sep 19 16:57 nbd3

brw-rw---- 1 root disk 43, 128 Sep 19 16:57 nbd4

brw-rw---- 1 root disk 43, 160 Sep 19 16:57 nbd5

brw-rw---- 1 root disk 43, 192 Sep 19 16:57 nbd6

brw-rw---- 1 root disk 43, 224 Sep 19 16:57 nbd7

brw-rw---- 1 root disk 43, 256 Sep 19 16:57 nbd8

brw-rw---- 1 root disk 43, 288 Sep 19 16:57 nbd9

drwxr-xr-x 2 root root 60 Jan 1 1970 net/

crw------- 1 root root 10, 61 Sep 19 16:57 network_latency

crw------- 1 root root 10, 60 Sep 19 16:57 network_throughput

crw-rw-rw- 1 root root 1, 3 Sep 19 16:57 null

crw------- 1 root root 108, 0 Sep 19 16:57 ppp

crw------- 1 root root 10, 1 Sep 19 16:57 psaux

crw-rw-rw- 1 root tty 5, 2 Sep 19 16:57 ptmx

drwxr-xr-x 2 root root 0 Jan 1 1970 pts/

crw-rw-rw- 1 root root 1, 8 Sep 19 16:57 random

crw-rw-r-- 1 root netdev 10, 63 Sep 19 16:57 rfkill

lrwxrwxrwx 1 root root 4 Sep 19 16:57 rtc -> rtc0

crw------- 1 root root 252, 0 Sep 19 16:57 rtc0

crw-rw---- 1 root audio 14, 1 Sep 19 16:57 sequencer

crw-rw---- 1 root audio 14, 8 Sep 19 16:57 sequencer2

drwxr-xr-x 4 root root 80 Sep 19 16:57 serial/

drwxrwxrwt 2 root root 40 Sep 19 16:57 shm/

drwxr-xr-x 3 root root 360 Sep 19 16:57 snd/

crw------- 1 root root 153, 0 Sep 19 16:57 spidev0.0

lrwxrwxrwx 1 root root 15 Jan 1 1970 stderr -> /proc/self/fd/2

lrwxrwxrwx 1 root root 15 Jan 1 1970 stdin -> /proc/self/fd/0

lrwxrwxrwx 1 root root 15 Jan 1 1970 stdout -> /proc/self/fd/1

crw-rw-rw- 1 root tty 5, 0 Sep 19 16:57 tty

crw--w---- 1 root tty 4, 0 Sep 19 16:57 tty0

crw--w---- 1 root tty 4, 1 Sep 19 16:57 tty1

crw--w---- 1 root tty 4, 10 Sep 19 16:57 tty10

crw--w---- 1 root tty 4, 11 Sep 19 16:57 tty11

crw--w---- 1 root tty 4, 12 Sep 19 16:57 tty12

crw--w---- 1 root tty 4, 13 Sep 19 16:57 tty13

crw--w---- 1 root tty 4, 14 Sep 19 16:57 tty14

crw--w---- 1 root tty 4, 15 Sep 19 16:57 tty15

crw--w---- 1 root tty 4, 16 Sep 19 16:57 tty16

crw--w---- 1 root tty 4, 17 Sep 19 16:57 tty17

crw--w---- 1 root tty 4, 18 Sep 19 16:57 tty18

crw--w---- 1 root tty 4, 19 Sep 19 16:57 tty19

crw--w---- 1 root tty 4, 2 Sep 19 16:57 tty2

crw--w---- 1 root tty 4, 20 Sep 19 16:57 tty20

crw--w---- 1 root tty 4, 21 Sep 19 16:57 tty21

crw--w---- 1 root tty 4, 22 Sep 19 16:57 tty22

crw--w---- 1 root tty 4, 23 Sep 19 16:57 tty23

crw--w---- 1 root tty 4, 24 Sep 19 16:57 tty24

crw--w---- 1 root tty 4, 25 Sep 19 16:57 tty25

crw--w---- 1 root tty 4, 26 Sep 19 16:57 tty26

crw--w---- 1 root tty 4, 27 Sep 19 16:57 tty27

crw--w---- 1 root tty 4, 28 Sep 19 16:57 tty28

crw--w---- 1 root tty 4, 29 Sep 19 16:57 tty29

crw--w---- 1 root tty 4, 3 Sep 19 16:57 tty3

crw--w---- 1 root tty 4, 30 Sep 19 16:57 tty30

crw--w---- 1 root tty 4, 31 Sep 19 16:57 tty31

crw--w---- 1 root tty 4, 32 Sep 19 16:57 tty32

crw--w---- 1 root tty 4, 33 Sep 19 16:57 tty33

crw--w---- 1 root tty 4, 34 Sep 19 16:57 tty34

crw--w---- 1 root tty 4, 35 Sep 19 16:57 tty35

crw--w---- 1 root tty 4, 36 Sep 19 16:57 tty36

crw--w---- 1 root tty 4, 37 Sep 19 16:57 tty37

crw--w---- 1 root tty 4, 38 Sep 19 16:57 tty38

crw--w---- 1 root tty 4, 39 Sep 19 16:57 tty39

crw--w---- 1 root tty 4, 4 Sep 19 16:57 tty4

crw--w---- 1 root tty 4, 40 Sep 19 16:57 tty40

crw--w---- 1 root tty 4, 41 Sep 19 16:57 tty41

crw--w---- 1 root tty 4, 42 Sep 19 16:57 tty42

crw--w---- 1 root tty 4, 43 Sep 19 16:57 tty43

crw--w---- 1 root tty 4, 44 Sep 19 16:57 tty44

crw--w---- 1 root tty 4, 45 Sep 19 16:57 tty45

crw--w---- 1 root tty 4, 46 Sep 19 16:57 tty46

crw--w---- 1 root tty 4, 47 Sep 19 16:57 tty47

crw--w---- 1 root tty 4, 48 Sep 19 16:57 tty48

crw--w---- 1 root tty 4, 49 Sep 19 16:57 tty49

crw--w---- 1 root tty 4, 5 Sep 19 16:57 tty5

crw--w---- 1 root tty 4, 50 Sep 19 16:57 tty50

crw--w---- 1 root tty 4, 51 Sep 19 16:57 tty51

crw--w---- 1 root tty 4, 52 Sep 19 16:57 tty52

crw--w---- 1 root tty 4, 53 Sep 19 16:57 tty53

crw--w---- 1 root tty 4, 54 Sep 19 16:57 tty54

crw--w---- 1 root tty 4, 55 Sep 19 16:57 tty55

crw--w---- 1 root tty 4, 56 Sep 19 16:57 tty56

crw--w---- 1 root tty 4, 57 Sep 19 16:57 tty57

crw--w---- 1 root tty 4, 58 Sep 19 16:57 tty58

crw--w---- 1 root tty 4, 59 Sep 19 16:57 tty59

crw--w---- 1 root tty 4, 6 Sep 19 16:57 tty6

crw--w---- 1 root tty 4, 60 Sep 19 16:57 tty60

crw--w---- 1 root tty 4, 61 Sep 19 16:57 tty61

crw--w---- 1 root tty 4, 62 Sep 19 16:57 tty62

crw--w---- 1 root tty 4, 63 Sep 19 16:57 tty63

crw--w---- 1 root tty 4, 7 Sep 19 16:57 tty7

crw--w---- 1 root tty 4, 8 Sep 19 16:57 tty8

crw--w---- 1 root tty 4, 9 Sep 19 16:57 tty9

crw------- 1 root tty 4, 64 Sep 19 17:06 ttyS0

crw-rw---- 1 root dialout 4, 65 Sep 19 16:57 ttyS1

crw-rw---- 1 root dialout 4, 66 Sep 19 16:57 ttyS2

crw-rw---- 1 root dialout 4, 67 Sep 19 16:57 ttyS3

crw-rw---- 1 root dialout 4, 68 Sep 19 16:57 ttyS4

crw-rw---- 1 root dialout 4, 69 Sep 19 16:57 ttyS5

crw-rw---- 1 root dialout 4, 70 Sep 19 16:57 ttyS6

crw-rw---- 1 root dialout 4, 71 Sep 19 16:57 ttyS7

crw-rw---- 1 root dialout 188, 0 Sep 19 16:57 ttyUSB0

crw-rw---- 1 root dialout 188, 1 Sep 19 16:57 ttyUSB1

crw-rw---- 1 root dialout 188, 2 Sep 19 17:06 ttyUSB2

crw-rw---- 1 root dialout 188, 3 Sep 19 16:57 ttyUSB3

crw-rw-rw- 1 root root 1, 9 Sep 19 16:57 urandom

crw-rw---- 1 root tty 7, 0 Sep 19 16:57 vcs

crw-rw---- 1 root tty 7, 1 Sep 19 16:57 vcs1

crw-rw---- 1 root tty 7, 2 Sep 19 16:57 vcs2

crw-rw---- 1 root tty 7, 3 Sep 19 16:57 vcs3

crw-rw---- 1 root tty 7, 4 Sep 19 16:57 vcs4

crw-rw---- 1 root tty 7, 5 Sep 19 16:57 vcs5

crw-rw---- 1 root tty 7, 6 Sep 19 16:57 vcs6

crw-rw---- 1 root tty 7, 128 Sep 19 16:57 vcsa

crw-rw---- 1 root tty 7, 129 Sep 19 16:57 vcsa1

crw-rw---- 1 root tty 7, 130 Sep 19 16:57 vcsa2

crw-rw---- 1 root tty 7, 131 Sep 19 16:57 vcsa3

crw-rw---- 1 root tty 7, 132 Sep 19 16:57 vcsa4

crw-rw---- 1 root tty 7, 133 Sep 19 16:57 vcsa5

crw-rw---- 1 root tty 7, 134 Sep 19 16:57 vcsa6

crw------- 1 root root 10, 137 Sep 19 16:57 vhci

crw------- 1 root root 10, 130 Sep 19 16:57 watchdog

crw------- 1 root root 247, 0 Sep 19 16:57 watchdog0

crw-rw-rw- 1 root root 1, 5 Sep 19 16:57 zero

root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev# mount /dev/mmcblk0p2 /mnt

mount: /mnt: /dev/mmcblk0p2 already mounted or mount point busy.

root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev# umount /mnt

root@NanoPi-NEO-Core:/dev# mount /dev/mmcblk0p2 /mnt

mount: /mnt: /dev/mmcblk0p2 already mounted or mount point busy.

root@NanoPi-NEO-Core:/dev# cd /mnt

root@NanoPi-NEO-Core:/mnt# ll

total 8

drwxr-xr-x 2 root root 4096 Nov 7 2023 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

root@NanoPi-NEO-Core:/mnt# cd ..

root@NanoPi-NEO-Core:/#

root@NanoPi-NEO-Core:/#

root@NanoPi-NEO-Core:/# ll

total 2097248

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

lrwxrwxrwx 1 root root 7 Nov 7 2023 bin -> usr/bin/

drwxr-xr-x 4 root root 16384 Jan 1 1970 boot/

drwxr-xr-x 15 root root 3900 Sep 19 16:57 dev/

drwxr-xr-x 1 root root 4096 Sep 19 16:57 etc/

drwxr-xr-x 3 root root 4096 Nov 7 2023 home/

lrwxrwxrwx 1 root root 7 Nov 7 2023 lib -> usr/lib/

drwx------ 2 root root 16384 Nov 8 2023 lost+found/

drwxr-xr-x 2 root root 4096 Nov 7 2023 media/

drwxr-xr-x 2 root root 4096 Nov 7 2023 mnt/

drwxr-xr-x 3 root root 4096 Nov 7 2023 opt/

dr-xr-xr-x 109 root root 0 Jan 1 1970 proc/

drwx------ 1 root root 4096 Sep 19 2023 root/

drwxr-xr-x 19 root root 560 Sep 19 16:58 run/

lrwxrwxrwx 1 root root 8 Nov 7 2023 sbin -> usr/sbin/

drwxr-xr-x 2 root root 4096 Nov 7 2023 srv/

-rw------- 1 root root 2147483648 Sep 19 16:57 swapfile

dr-xr-xr-x 12 root root 0 Sep 19 16:59 sys/

drwxrwxrwt 1 root root 4096 Sep 19 16:57 tmp/

drwxr-xr-x 1 root root 4096 Jan 9 2023 usr/

drwxr-xr-x 1 root root 4096 Nov 7 2023 var/

root@NanoPi-NEO-Core:/# mount /dev/mmcblk0p2 /mnt

mount: /mnt: /dev/mmcblk0p2 already mounted or mount point busy.

root@NanoPi-NEO-Core:/# mount /dev/mmcblk0p3 /mnt

root@NanoPi-NEO-Core:/# cd /mnt/

root@NanoPi-NEO-Core:/mnt# ll

total 32

drwxr-xr-x 5 root root 4096 Jan 1 1970 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

-rw-r--r-- 1 root root 0 Jan 1 1970 .ext4.resized

drwx------ 2 root root 16384 Nov 8 2023 lost+found/

drwxr-xr-x 7 root root 4096 Sep 19 16:57 root/

drwxr-xr-x 3 root root 4096 Jan 1 1970 work/

root@NanoPi-NEO-Core:/mnt#

root@NanoPi-NEO-Core:/mnt# ll

total 32

drwxr-xr-x 5 root root 4096 Jan 1 1970 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

-rw-r--r-- 1 root root 0 Jan 1 1970 .ext4.resized

drwx------ 2 root root 16384 Nov 8 2023 lost+found/

drwxr-xr-x 7 root root 4096 Sep 19 16:57 root/

drwxr-xr-x 3 root root 4096 Jan 1 1970 work/

root@NanoPi-NEO-Core:/mnt# cd ..

root@NanoPi-NEO-Core:/#

root@NanoPi-NEO-Core:/# umount /mnt

root@NanoPi-NEO-Core:/# ll

total 2097248

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

lrwxrwxrwx 1 root root 7 Nov 7 2023 bin -> usr/bin/

drwxr-xr-x 4 root root 16384 Jan 1 1970 boot/

drwxr-xr-x 15 root root 3900 Sep 19 16:57 dev/

drwxr-xr-x 1 root root 4096 Sep 19 16:57 etc/

drwxr-xr-x 3 root root 4096 Nov 7 2023 home/

lrwxrwxrwx 1 root root 7 Nov 7 2023 lib -> usr/lib/

drwx------ 2 root root 16384 Nov 8 2023 lost+found/

drwxr-xr-x 2 root root 4096 Nov 7 2023 media/

drwxr-xr-x 2 root root 4096 Nov 7 2023 mnt/

drwxr-xr-x 3 root root 4096 Nov 7 2023 opt/

dr-xr-xr-x 109 root root 0 Jan 1 1970 proc/

drwx------ 1 root root 4096 Sep 19 2023 root/

drwxr-xr-x 19 root root 560 Sep 19 16:58 run/

lrwxrwxrwx 1 root root 8 Nov 7 2023 sbin -> usr/sbin/

drwxr-xr-x 2 root root 4096 Nov 7 2023 srv/

-rw------- 1 root root 2147483648 Sep 19 16:57 swapfile

dr-xr-xr-x 12 root root 0 Sep 19 16:59 sys/

drwxrwxrwt 1 root root 4096 Sep 19 16:57 tmp/

drwxr-xr-x 1 root root 4096 Jan 9 2023 usr/

drwxr-xr-x 1 root root 4096 Nov 7 2023 var/

root@NanoPi-NEO-Core:/# mount /dev/mmcblk1 /mnt

[ 768.402379] sunxi-mmc 1c0f000.mmc: data error, sending stop command

[ 768.408751] sunxi-mmc 1c0f000.mmc: send stop command failed

[ 768.414523] mmcblk1: error -110 sending status command, retrying

[ 768.420679] mmcblk1: error -110 sending status command, retrying

[ 768.426801] mmcblk1: error -110 sending status command, aborting

root@NanoPi-NEO-Core:/#

root@NanoPi-NEO-Core:/#
root@NanoPi-NEO-Core:/# cd /dev
root@NanoPi-NEO-Core:/dev#
root@NanoPi-NEO-Core:/dev# ll mmc*
brw-rw---- 1 root disk 179, 8 Sep 19 16:57 mmcblk0
brw-rw---- 1 root disk 179, 16 Sep 19 16:57 mmcblk0boot0
brw-rw---- 1 root disk 179, 24 Sep 19 16:57 mmcblk0boot1
brw-rw---- 1 root disk 179, 9 Sep 19 16:57 mmcblk0p1
brw-rw---- 1 root disk 179, 10 Sep 19 16:57 mmcblk0p2
brw-rw---- 1 root disk 179, 11 Sep 19 16:57 mmcblk0p3
brw-rw---- 1 root disk 179, 0 Sep 19 16:57 mmcblk1
root@NanoPi-NEO-Core:/dev#

root@NanoPi-NEO-Core:/dev#
root@NanoPi-NEO-Core:/dev# mount /dev/mmcblk1 /mnt

root@NanoPi-NEO-Core:/dev# ll

total 4

drwxr-xr-x 15 root root 3900 Sep 19 16:57 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

crw-rw---- 1 root audio 14, 28 Sep 19 16:57 adsp1

crw-rw---- 1 root audio 14, 4 Sep 19 16:57 audio

crw-rw---- 1 root audio 14, 20 Sep 19 16:57 audio1

crw-rw---- 1 root audio 14, 36 Sep 19 16:57 audio2

crw-rw---- 1 root audio 14, 52 Sep 19 16:57 audio3

crw-r--r-- 1 root root 10, 235 Sep 19 16:57 autofs

drwxr-xr-x 2 root root 660 Sep 19 16:57 block/

crw------- 1 root root 10, 234 Sep 19 16:57 btrfs-control

drwxr-xr-x 3 root root 60 Jan 1 1970 bus/

crw-rw---- 1 root video 250, 0 Sep 19 16:57 cec0

drwxr-xr-x 2 root root 3460 Sep 19 16:57 char/

crw------- 1 root root 5, 1 Sep 19 16:57 console

crw------- 1 root root 10, 62 Sep 19 16:57 cpu_dma_latency

crw------- 1 root root 10, 203 Sep 19 16:57 cuse

drwxr-xr-x 7 root root 140 Jan 1 1970 disk/

drwxr-xr-x 3 root root 80 Sep 19 16:57 dri/

crw-rw---- 1 root audio 14, 3 Sep 19 16:57 dsp

crw-rw---- 1 root audio 14, 19 Sep 19 16:57 dsp1

crw-rw---- 1 root audio 14, 35 Sep 19 16:57 dsp2

crw-rw---- 1 root audio 14, 51 Sep 19 16:57 dsp3

crw-rw---- 1 root video 29, 0 Sep 19 16:57 fb0

lrwxrwxrwx 1 root root 13 Jan 1 1970 fd -> /proc/self/fd/

crw-rw-rw- 1 root root 1, 7 Sep 19 16:57 full

crw-rw-rw- 1 root root 10, 229 Sep 19 16:57 fuse

crw------- 1 root root 254, 0 Sep 19 16:57 gpiochip0

crw------- 1 root root 254, 1 Sep 19 16:57 gpiochip1

crw-rw---- 1 root i2c 89, 0 Sep 19 16:57 i2c-0

crw-rw---- 1 root i2c 89, 1 Sep 19 16:57 i2c-1

crw-rw---- 1 root i2c 89, 2 Sep 19 16:57 i2c-2

crw-rw---- 1 root i2c 89, 3 Sep 19 16:57 i2c-3

lrwxrwxrwx 1 root root 12 Sep 19 16:57 initctl -> /run/initctl|

drwxr-xr-x 3 root root 100 Sep 19 16:57 input/

crw-r----- 1 root kmem 1, 2 Sep 19 16:57 kmem

crw-r--r-- 1 root root 1, 11 Sep 19 16:57 kmsg

crw-rw---- 1 root kvm 10, 232 Sep 19 16:57 kvm

lrwxrwxrwx 1 root root 28 Sep 19 16:57 log -> /run/systemd/journal/dev-log=

crw-rw---- 1 root disk 10, 237 Sep 19 16:57 loop-control

brw-rw---- 1 root disk 7, 0 Sep 19 16:57 loop0

brw-rw---- 1 root disk 7, 1 Sep 19 16:57 loop1

brw-rw---- 1 root disk 7, 2 Sep 19 16:57 loop2

brw-rw---- 1 root disk 7, 3 Sep 19 16:57 loop3

brw-rw---- 1 root disk 7, 4 Sep 19 16:57 loop4

brw-rw---- 1 root disk 7, 5 Sep 19 16:57 loop5

brw-rw---- 1 root disk 7, 6 Sep 19 16:57 loop6

brw-rw---- 1 root disk 7, 7 Sep 19 16:57 loop7

drwxr-xr-x 2 root root 60 Jan 1 1970 mapper/

crw-r----- 1 root kmem 1, 1 Sep 19 16:57 mem

crw------- 1 root root 10, 59 Sep 19 16:57 memory_bandwidth

crw-rw---- 1 root audio 14, 0 Sep 19 16:57 mixer

crw-rw---- 1 root audio 14, 16 Sep 19 16:57 mixer1

crw-rw---- 1 root audio 14, 32 Sep 19 16:57 mixer2

crw-rw---- 1 root audio 14, 48 Sep 19 16:57 mixer3

brw-rw---- 1 root disk 179, 8 Sep 19 16:57 mmcblk0
brw-rw---- 1 root disk 179, 16 Sep 19 16:57 mmcblk0boot0
brw-rw---- 1 root disk 179, 24 Sep 19 16:57 mmcblk0boot1
brw-rw---- 1 root disk 179, 9 Sep 19 16:57 mmcblk0p1
brw-rw---- 1 root disk 179, 10 Sep 19 16:57 mmcblk0p2
brw-rw---- 1 root disk 179, 11 Sep 19 16:57 mmcblk0p3
brw-rw---- 1 root disk 179, 0 Sep 19 16:57 mmcblk1

drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue/

brw-rw---- 1 root disk 43, 0 Sep 19 16:57 nbd0

brw-rw---- 1 root disk 43, 32 Sep 19 16:57 nbd1

brw-rw---- 1 root disk 43, 320 Sep 19 16:57 nbd10

brw-rw---- 1 root disk 43, 352 Sep 19 16:57 nbd11

brw-rw---- 1 root disk 43, 384 Sep 19 16:57 nbd12

brw-rw---- 1 root disk 43, 416 Sep 19 16:57 nbd13

brw-rw---- 1 root disk 43, 448 Sep 19 16:57 nbd14

brw-rw---- 1 root disk 43, 480 Sep 19 16:57 nbd15

brw-rw---- 1 root disk 43, 64 Sep 19 16:57 nbd2

brw-rw---- 1 root disk 43, 96 Sep 19 16:57 nbd3

brw-rw---- 1 root disk 43, 128 Sep 19 16:57 nbd4

brw-rw---- 1 root disk 43, 160 Sep 19 16:57 nbd5

brw-rw---- 1 root disk 43, 192 Sep 19 16:57 nbd6

brw-rw---- 1 root disk 43, 224 Sep 19 16:57 nbd7

brw-rw---- 1 root disk 43, 256 Sep 19 16:57 nbd8

brw-rw---- 1 root disk 43, 288 Sep 19 16:57 nbd9

drwxr-xr-x 2 root root 60 Jan 1 1970 net/

crw------- 1 root root 10, 61 Sep 19 16:57 network_latency

crw------- 1 root root 10, 60 Sep 19 16:57 network_throughput

crw-rw-rw- 1 root root 1, 3 Sep 19 16:57 null

crw------- 1 root root 108, 0 Sep 19 16:57 ppp

crw------- 1 root root 10, 1 Sep 19 16:57 psaux

crw-rw-rw- 1 root tty 5, 2 Sep 19 16:57 ptmx

drwxr-xr-x 2 root root 0 Jan 1 1970 pts/

crw-rw-rw- 1 root root 1, 8 Sep 19 16:57 random

crw-rw-r-- 1 root netdev 10, 63 Sep 19 16:57 rfkill

lrwxrwxrwx 1 root root 4 Sep 19 16:57 rtc -> rtc0

crw------- 1 root root 252, 0 Sep 19 16:57 rtc0

crw-rw---- 1 root audio 14, 1 Sep 19 16:57 sequencer

crw-rw---- 1 root audio 14, 8 Sep 19 16:57 sequencer2

drwxr-xr-x 4 root root 80 Sep 19 16:57 serial/

drwxrwxrwt 2 root root 40 Sep 19 16:57 shm/

drwxr-xr-x 3 root root 360 Sep 19 16:57 snd/

crw------- 1 root root 153, 0 Sep 19 16:57 spidev0.0

lrwxrwxrwx 1 root root 15 Jan 1 1970 stderr -> /proc/self/fd/2

lrwxrwxrwx 1 root root 15 Jan 1 1970 stdin -> /proc/self/fd/0

lrwxrwxrwx 1 root root 15 Jan 1 1970 stdout -> /proc/self/fd/1

crw-rw-rw- 1 root tty 5, 0 Sep 19 16:57 tty

crw--w---- 1 root tty 4, 0 Sep 19 16:57 tty0

crw--w---- 1 root tty 4, 1 Sep 19 16:57 tty1

crw--w---- 1 root tty 4, 10 Sep 19 16:57 tty10

crw--w---- 1 root tty 4, 11 Sep 19 16:57 tty11

crw--w---- 1 root tty 4, 12 Sep 19 16:57 tty12

crw--w---- 1 root tty 4, 13 Sep 19 16:57 tty13

crw--w---- 1 root tty 4, 14 Sep 19 16:57 tty14

crw--w---- 1 root tty 4, 15 Sep 19 16:57 tty15

crw--w---- 1 root tty 4, 16 Sep 19 16:57 tty16

crw--w---- 1 root tty 4, 17 Sep 19 16:57 tty17

crw--w---- 1 root tty 4, 18 Sep 19 16:57 tty18

crw--w---- 1 root tty 4, 19 Sep 19 16:57 tty19

crw--w---- 1 root tty 4, 2 Sep 19 16:57 tty2

crw--w---- 1 root tty 4, 20 Sep 19 16:57 tty20

crw--w---- 1 root tty 4, 21 Sep 19 16:57 tty21

crw--w---- 1 root tty 4, 22 Sep 19 16:57 tty22

crw--w---- 1 root tty 4, 23 Sep 19 16:57 tty23

crw--w---- 1 root tty 4, 24 Sep 19 16:57 tty24

crw--w---- 1 root tty 4, 25 Sep 19 16:57 tty25

crw--w---- 1 root tty 4, 26 Sep 19 16:57 tty26

crw--w---- 1 root tty 4, 27 Sep 19 16:57 tty27

crw--w---- 1 root tty 4, 28 Sep 19 16:57 tty28

crw--w---- 1 root tty 4, 29 Sep 19 16:57 tty29

crw--w---- 1 root tty 4, 3 Sep 19 16:57 tty3

crw--w---- 1 root tty 4, 30 Sep 19 16:57 tty30

crw--w---- 1 root tty 4, 31 Sep 19 16:57 tty31

crw--w---- 1 root tty 4, 32 Sep 19 16:57 tty32

crw--w---- 1 root tty 4, 33 Sep 19 16:57 tty33

crw--w---- 1 root tty 4, 34 Sep 19 16:57 tty34

crw--w---- 1 root tty 4, 35 Sep 19 16:57 tty35

crw--w---- 1 root tty 4, 36 Sep 19 16:57 tty36

crw--w---- 1 root tty 4, 37 Sep 19 16:57 tty37

crw--w---- 1 root tty 4, 38 Sep 19 16:57 tty38

crw--w---- 1 root tty 4, 39 Sep 19 16:57 tty39

crw--w---- 1 root tty 4, 4 Sep 19 16:57 tty4

crw--w---- 1 root tty 4, 40 Sep 19 16:57 tty40

crw--w---- 1 root tty 4, 41 Sep 19 16:57 tty41

crw--w---- 1 root tty 4, 42 Sep 19 16:57 tty42

crw--w---- 1 root tty 4, 43 Sep 19 16:57 tty43

crw--w---- 1 root tty 4, 44 Sep 19 16:57 tty44

crw--w---- 1 root tty 4, 45 Sep 19 16:57 tty45

crw--w---- 1 root tty 4, 46 Sep 19 16:57 tty46

crw--w---- 1 root tty 4, 47 Sep 19 16:57 tty47

crw--w---- 1 root tty 4, 48 Sep 19 16:57 tty48

crw--w---- 1 root tty 4, 49 Sep 19 16:57 tty49

crw--w---- 1 root tty 4, 5 Sep 19 16:57 tty5

crw--w---- 1 root tty 4, 50 Sep 19 16:57 tty50

crw--w---- 1 root tty 4, 51 Sep 19 16:57 tty51

crw--w---- 1 root tty 4, 52 Sep 19 16:57 tty52

crw--w---- 1 root tty 4, 53 Sep 19 16:57 tty53

crw--w---- 1 root tty 4, 54 Sep 19 16:57 tty54

crw--w---- 1 root tty 4, 55 Sep 19 16:57 tty55

crw--w---- 1 root tty 4, 56 Sep 19 16:57 tty56

crw--w---- 1 root tty 4, 57 Sep 19 16:57 tty57

crw--w---- 1 root tty 4, 58 Sep 19 16:57 tty58

crw--w---- 1 root tty 4, 59 Sep 19 16:57 tty59

crw--w---- 1 root tty 4, 6 Sep 19 16:57 tty6

crw--w---- 1 root tty 4, 60 Sep 19 16:57 tty60

crw--w---- 1 root tty 4, 61 Sep 19 16:57 tty61

crw--w---- 1 root tty 4, 62 Sep 19 16:57 tty62

crw--w---- 1 root tty 4, 63 Sep 19 16:57 tty63

crw--w---- 1 root tty 4, 7 Sep 19 16:57 tty7

crw--w---- 1 root tty 4, 8 Sep 19 16:57 tty8

crw--w---- 1 root tty 4, 9 Sep 19 16:57 tty9

crw------- 1 root tty 4, 64 Sep 19 16:58 ttyS0

crw-rw---- 1 root dialout 4, 65 Sep 19 16:57 ttyS1

crw-rw---- 1 root dialout 4, 66 Sep 19 16:57 ttyS2

crw-rw---- 1 root dialout 4, 67 Sep 19 16:57 ttyS3

crw-rw---- 1 root dialout 4, 68 Sep 19 16:57 ttyS4

crw-rw---- 1 root dialout 4, 69 Sep 19 16:57 ttyS5

crw-rw---- 1 root dialout 4, 70 Sep 19 16:57 ttyS6

crw-rw---- 1 root dialout 4, 71 Sep 19 16:57 ttyS7
crw-rw---- 1 root dialout 188, 0 Sep 19 16:57 ttyUSB0
crw-rw---- 1 root dialout 188, 1 Sep 19 16:57 ttyUSB1
crw-rw---- 1 root dialout 188, 2 Sep 19 16:57 ttyUSB2
crw-rw---- 1 root dialout 188, 3 Sep 19 16:57 ttyUSB3

crw-rw-rw- 1 root root 1, 9 Sep 19 16:57 urandom

crw-rw---- 1 root tty 7, 0 Sep 19 16:57 vcs

crw-rw---- 1 root tty 7, 1 Sep 19 16:57 vcs1

crw-rw---- 1 root tty 7, 2 Sep 19 16:57 vcs2

crw-rw---- 1 root tty 7, 3 Sep 19 16:57 vcs3

crw-rw---- 1 root tty 7, 4 Sep 19 16:57 vcs4

crw-rw---- 1 root tty 7, 5 Sep 19 16:57 vcs5

crw-rw---- 1 root tty 7, 6 Sep 19 16:57 vcs6

crw-rw---- 1 root tty 7, 128 Sep 19 16:57 vcsa

crw-rw---- 1 root tty 7, 129 Sep 19 16:57 vcsa1

crw-rw---- 1 root tty 7, 130 Sep 19 16:57 vcsa2

crw-rw---- 1 root tty 7, 131 Sep 19 16:57 vcsa3

crw-rw---- 1 root tty 7, 132 Sep 19 16:57 vcsa4

crw-rw---- 1 root tty 7, 133 Sep 19 16:57 vcsa5

crw-rw---- 1 root tty 7, 134 Sep 19 16:57 vcsa6

crw------- 1 root root 10, 137 Sep 19 16:57 vhci

crw------- 1 root root 10, 130 Sep 19 16:57 watchdog

crw------- 1 root root 247, 0 Sep 19 16:57 watchdog0

crw-rw-rw- 1 root root 1, 5 Sep 19 16:57 zero

cdroot@NanoPi-NEO-Core:/dev# cd /mnt

root@NanoPi-NEO-Core:/mnt# ll

total 16580

drwxr-xr-x 6 root root 65536 Jan 1 1970 ./

drwxr-xr-x 1 root root 4096 Sep 19 16:57 ../

-rwxr-xr-x 1 root root 0 Mar 27 2024 1234.txt*

drwxr-xr-x 2 root root 65536 Mar 27 2024 'System Volume Information'/

-rwxr-xr-x 1 root root 18040 Apr 3 2024 alsa_demo*

drwxr-xr-x 2 root root 65536 Apr 8 2024 linux-ppp-scripts/

-rwxr-xr-x 1 root root 16334908 Apr 3 2024 mplayer*

drwxr-xr-x 2 root root 65536 Mar 28 2024 music/

-rwxr-xr-x 1 root root 183564 Apr 2 2024 quectel-CM*

drwxr-xr-x 2 root root 65536 Feb 11 2016 wyb2/

root@NanoPi-NEO-Core:/mnt# cd /etc/

root@NanoPi-NEO-Core:/etc# ll

参考资料:

https://doc.embedfire.com/products/link/zh/latest/index.html

野火产品资料下载中心

https://blog.csdn.net/dddxxxx/article/details/78583868

linux 挂载tf卡

http://bbs.witech.com.cn/forum.php?gid=64

电话:0312-3119192

Linux 技术支持:linux@forlinx.com

Android 技术支持 :android@forlinx.com

硬件技术支持:hardware@forlinx.com

相关推荐
钰@22 分钟前
小程序开发者工具的network选项卡中有某域名的接口请求,但是在charles中抓不到该接口
运维·服务器·小程序
wanhengwangluo29 分钟前
云服务器和物理服务器的区别有哪些?
运维·服务器
秦jh_1 小时前
【Linux】多线程(概念,控制)
linux·运维·前端
yaosheng_VALVE2 小时前
稀硫酸介质中 V 型球阀的材质选择与选型要点-耀圣
运维·spring cloud·自动化·intellij-idea·材质·1024程序员节
看山还是山,看水还是。2 小时前
Redis 配置
运维·数据库·redis·安全·缓存·测试覆盖率
扣得君2 小时前
C++20 Coroutine Echo Server
运维·服务器·c++20
keep__go3 小时前
Linux 批量配置互信
linux·运维·服务器·数据库·shell
矛取矛求3 小时前
Linux中给普通账户一次性提权
linux·运维·服务器
Fanstay9853 小时前
在Linux中使用Nginx和Docker进行项目部署
linux·nginx·docker
大熊程序猿3 小时前
ubuntu 安装kafka-eagle
linux·ubuntu·kafka