20240509给飞凌的RK3588开发板在linux系统下挂载TF卡

20240509给飞凌的RK3588开发板在linux系统下挂载TF卡
2024/5/9 9:56


飞凌的开发板。linux/Buildroot
上电之前 TF卡插槽装入了32GB的TF卡。FAT32格式。

fdisk可以看到 TF卡。但是mount的时候 busy。请问是啥问题?


为了在核心板 播放MP4视频。

现在要将视频 弄到 核心板上。
1、开发板上 adb正常,TYPE-C连接。
现在 刷机只用了3条线(MICRO-USB连接)。找不到ADB,请问需要修改配置吗?比如DTS的?该如何修改呢?

2、RK3588最大支持多大容量的TF卡/SD卡?NTFS格式的128GB的TF卡可以支持吗?如何挂载?

ntfs格式LInux默认都不支持 可以百度一下 方法很多
TF卡可以支持128G
传输文件U盘或者ftp都可以

TF卡的供电使能部分

真正的挂载点:


挂载的LOG:
[    8.768956] read descriptors
[    8.768968] read strings
[    9.970344] dwc3 fc000000.usb: device reset
[   10.068123] android_work: sent uevent USB_STATE=CONNECTED
[   10.142728] android_work: sent uevent USB_STATE=CONFIGURED
[   36.442467] vbus5v0_typec0: disabling
[   36.442491] vbus5v0_typec1: disabling
[  104.537292] vccio_sd_s0: ramp_delay not set

[  104.567239] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[  104.587811] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 216
[  104.587845] mmc1: new ultra high speed SDR104 SDHC card at address aaaa
[  104.589297] mmcblk1: mmc1:aaaa SM32G 29.7 GiB 
[  104.595051]  mmcblk1: p1
[  104.632036] FAT-fs (mmcblk1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  104.741135] FAT-fs (mmcblk1p1): utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[  104.744189] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.

root@ok3588:/# 
root@ok3588:/# 
root@ok3588:/# 
root@ok3588:/# ls -l
total 76
drwxr-xr-x   2 root root  4096 Mar  9  2023 bin
-rw-r--r--   1 root root   351 Mar  9  2023 busybox.fragment
lrwxrwxrwx   1 root root     8 Mar  9  2023 data -> userdata
drwxr-xr-x  14 root root  5200 May  8 16:59 dev
drwxr-xr-x  23 root root  4096 May  8 15:58 etc
drwxr-xr-x   4 root root  4096 May  8 15:58 home
drwxr-xr-x   6 root root  4096 Aug 17  2023 lib
lrwxrwxrwx   1 root root     3 Mar  9  2023 lib64 -> lib
lrwxrwxrwx   1 root root    11 Mar  9  2023 linuxrc -> bin/busybox
drwx------   2 root root 16384 Mar  9  2023 lost+found
drwxr-xr-x  14 root root  4096 Mar  9  2023 media
lrwxrwxrwx   1 root root    23 Mar  9  2023 misc -> /dev/block/by-name/misc
drwxr-xr-x   4 root root  4096 Mar  9  2023 mnt
drwxr-xr-x   3 root root  4096 Dec 21 10:31 oem
drwxr-xr-x   2 root root  4096 Mar  9  2023 opt
dr-xr-xr-x 269 root root     0 May  8 16:57 proc
drwx------   4 root root  4096 May  8 16:01 root
drwxr-xr-x   7 root root   340 May  8 16:57 run
drwxr-xr-x   2 root root  4096 Sep 14  2023 sbin
lrwxrwxrwx   1 root root    10 Mar  9  2023 sdcard -> mnt/sdcard
dr-xr-xr-x  14 root root     0 May  8 16:57 sys
drwxrwxrwt   7 root root   420 May  8 16:59 tmp
lrwxrwxrwx   1 root root     9 Mar  9  2023 udisk -> mnt/udisk
drwxr-xr-x   5 root root  4096 May  8 15:58 userdata
drwxr-xr-x  11 root root  4096 Sep 14  2023 usr
drwxr-xr-x   5 root root  4096 Mar  9  2023 var
drwxr-xr-x   2 root root  4096 May  8 16:25 wyb
root@ok3588:/# 
root@ok3588:/# pwd
/
root@ok3588:/# 
root@ok3588:/# fdisk -l
Found valid GPT with protective MBR; using GPT

Disk /dev/mmcblk0: 120832000 sectors, 1656M
Logical sector size: 512
Disk identifier (GUID): 38270000-0000-4d48-8000-4851000039ff
Partition table holds up to 128 entries
First usable sector is 34, last usable sector is 120831966

Number  Start (sector)    End (sector)  Size Name
     1           16384           24575 4096K uboot
     2           24576           32767 4096K misc
     3           32768          163839 64.0M boot
     4          163840          425983  128M recovery
     5          425984          491519 32.0M backup
     6          491520        29851647 14.0G rootfs
     7        29851648        30113791  128M oem
     8        30113792       120831935 43.2G userdata
Disk /dev/mmcblk1: 30 GB, 31914983424 bytes, 62333952 sectors
3880 cylinders, 255 heads, 63 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Device       Boot StartCHS    EndCHS        StartLBA     EndLBA    Sectors  Size Id Type
/dev/mmcblk1p1    0,130,3     1023,254,63       8192   62333951   62325760 29.7G  c Win95 FAT32 (LBA)
root@ok3588:/# 

root@ok3588:/# 
root@ok3588:/# ls -l
total 76
drwxr-xr-x   2 root root  4096 Mar  9  2023 bin
-rw-r--r--   1 root root   351 Mar  9  2023 busybox.fragment
lrwxrwxrwx   1 root root     8 Mar  9  2023 data -> userdata
drwxr-xr-x  14 root root  5200 May  8 16:59 dev
drwxr-xr-x  23 root root  4096 May  8 15:58 etc
drwxr-xr-x   4 root root  4096 May  8 15:58 home
drwxr-xr-x   6 root root  4096 Aug 17  2023 lib
lrwxrwxrwx   1 root root     3 Mar  9  2023 lib64 -> lib
lrwxrwxrwx   1 root root    11 Mar  9  2023 linuxrc -> bin/busybox
drwx------   2 root root 16384 Mar  9  2023 lost+found
drwxr-xr-x  14 root root  4096 Mar  9  2023 media
lrwxrwxrwx   1 root root    23 Mar  9  2023 misc -> /dev/block/by-name/misc
drwxr-xr-x   4 root root  4096 Mar  9  2023 mnt
drwxr-xr-x   3 root root  4096 Dec 21 10:31 oem
drwxr-xr-x   2 root root  4096 Mar  9  2023 opt
dr-xr-xr-x 269 root root     0 May  8 16:57 proc
drwx------   4 root root  4096 May  8 16:01 root
drwxr-xr-x   7 root root   340 May  8 16:57 run
drwxr-xr-x   2 root root  4096 Sep 14  2023 sbin
lrwxrwxrwx   1 root root    10 Mar  9  2023 sdcard -> mnt/sdcard
dr-xr-xr-x  14 root root     0 May  8 16:57 sys
drwxrwxrwt   7 root root   420 May  8 16:59 tmp
lrwxrwxrwx   1 root root     9 Mar  9  2023 udisk -> mnt/udisk
drwxr-xr-x   5 root root  4096 May  8 15:58 userdata
drwxr-xr-x  11 root root  4096 Sep 14  2023 usr
drwxr-xr-x   5 root root  4096 Mar  9  2023 var
drwxr-xr-x   2 root root  4096 May  8 16:25 wyb
root@ok3588:/# mount /dev/mmcblk1p1 /wyb/
root@ok3588:/# cd wyb/
root@ok3588:/wyb# ls -l
total 1335328
-rwxr-xr-x 1 root root 1131762455 Mar 10  2022  1K.MP4
-rwxr-xr-x 1 root root  235026155 Oct 17  2023  4kl.mp4
drwxr-xr-x 2 root root      32768 May  8  2024  Alarms
drwxr-xr-x 2 root root      32768 May  8  2024  Audiobooks
drwxr-xr-x 5 root root      32768 Mar 10  2022  DCIM
drwxr-xr-x 2 root root      32768 May  8  2024  Documents
drwxr-xr-x 2 root root      32768 May  8  2024  Download
drwxr-xr-x 2 root root      32768 Jan  1  1980  LOST.DIR
drwxr-xr-x 5 root root      32768 Mar  4  2022  MISC
drwxr-xr-x 3 root root      32768 May  8  2024  Movies
drwxr-xr-x 3 root root      32768 May  8  2024  Music
drwxr-xr-x 2 root root      32768 May  8  2024  Notifications
drwxr-xr-x 3 root root      32768 May  8  2024  Pictures
drwxr-xr-x 2 root root      32768 May  8  2024  Podcasts
drwxr-xr-x 2 root root      32768 May  8  2024  Recordings
drwxr-xr-x 2 root root      32768 May  8  2024  Ringtones
drwxr-xr-x 2 root root      32768 Mar 10  2022 'System Volume Information'
-rwxr-xr-x 1 root root      18040 Apr  3 01:03  alsa_demo
drwxr-xr-x 3 root root      32768 Mar  4  2022  dump
parse ! mppvideodec ! waylandsink "render-rectangle=<0,0,1024,600>" queue ! h264p
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug info:
../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "1.mp4"
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3556): gst_base_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
Failed to start
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Resource not found.
Additional debug info:
../plugins/elements/gstfilesrc.c(553): gst_file_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
No such file "1.mp4"
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: GStreamer error: state change failed and some element failed to post a proper error message with the reason for the failure.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3556): gst_base_src_start (): /GstPipeline:pipeline0/GstFileSrc:filesrc0:
Failed to start
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
root@ok3588:/wyb# 
Display all 939 possibilities? (y or n)^C
root@ok3588:/wyb# 
Display all 939 possibilities? (y or n)^C
root@ok3588:/wyb# ls -l
total 1335328
-rwxr-xr-x 1 root root 1131762455 Mar 10  2022  1K.MP4
-rwxr-xr-x 1 root root  235026155 Oct 17  2023  4kl.mp4
drwxr-xr-x 2 root root      32768 May  8  2024  Alarms
drwxr-xr-x 2 root root      32768 May  8  2024  Audiobooks
drwxr-xr-x 5 root root      32768 Mar 10  2022  DCIM
drwxr-xr-x 2 root root      32768 May  8  2024  Documents
drwxr-xr-x 2 root root      32768 May  8  2024  Download
drwxr-xr-x 2 root root      32768 Jan  1  1980  LOST.DIR
drwxr-xr-x 5 root root      32768 Mar  4  2022  MISC
drwxr-xr-x 3 root root      32768 May  8  2024  Movies
drwxr-xr-x 3 root root      32768 May  8  2024  Music
drwxr-xr-x 2 root root      32768 May  8  2024  Notifications
drwxr-xr-x 3 root root      32768 May  8  2024  Pictures
drwxr-xr-x 2 root root      32768 May  8  2024  Podcasts
drwxr-xr-x 2 root root      32768 May  8  2024  Recordings
drwxr-xr-x 2 root root      32768 May  8  2024  Ringtones
drwxr-xr-x 2 root root      32768 Mar 10  2022 'System Volume Information'
-rwxr-xr-x 1 root root      18040 Apr  3 01:03  alsa_demo
drwxr-xr-x 3 root root      32768 Mar  4  2022  dump
root@ok3588:/wyb# cp 1K.MP4 ^C
root@ok3588:/wyb# mv 1K.MP4 1.mp4
root@ok3588:/wyb# 
root@ok3588:/wyb# 
parse ! mppvideodec ! waylandsink "render-rectangle=<0,0,1024,600>" queue ! h264 
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
Redistribute latency...
New clock: GstSystemClock
Got EOS from element "pipeline0".
Execution ended after 0:04:51.959214083
Setting pipeline to NULL ...
Freeing pipeline ...
root@ok3588:/wyb# 


参考资料:
飞凌的官方技术支持电话:
0312-3119192  2软件 4瑞芯微平台  2 RK3588


 

对于飞凌的核心板,先插TF卡,等linux/Buildroot再启动之后,等你通过/sys/class/gpio先关闭,再使能TF卡部分的供电,找不到TF卡,好神奇呀!

不过先不要插TF卡,等Buildroot启动完成,供电使能之后,再插TF卡是OK的!

Rockchip平台的RK3588是支持热插拔的!^_

比较神奇了,原因待查!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mfbz.cn/a/606065.html

如若内容造成侵权/违法违规/事实不符,请联系我们进行投诉反馈qq邮箱809451989@qq.com,一经查实,立即删除!

相关文章

懒洋洋作业讲解

懒洋洋作业讲解 环境配置 1.软件下载&#xff1a;DCloud - HBuilder、HBuilderX、uni-app、uniapp、5、5plus、mui、wap2app、流应用、HTML5、小程序开发、跨平台App、多端框架 2.软件介绍 HBuilder是由DCloud&#xff08;数字天堂&#xff09;推出的一款面向HTML5的Web开发…

从零开始写 Docker(十三)---实现 mydocker rm 删除容器

本文为从零开始写 Docker 系列第十三篇&#xff0c;实现类似 docker rm 的功能&#xff0c;使得我们能够删除容器。 完整代码见&#xff1a;https://github.com/lixd/mydocker 欢迎 Star 推荐阅读以下文章对 docker 基本实现有一个大致认识&#xff1a; 核心原理&#xff1a;深…

【Linux系统编程】第十五弹---调试器gdb使用

✨个人主页&#xff1a; 熬夜学编程的小林 &#x1f497;系列专栏&#xff1a; 【C语言详解】 【数据结构详解】【C详解】【Linux系统编程】 目录 1、背景 2、安装gdb 3、gdb的使用 总结 1、背景 前面我们学习了文件编辑器&#xff0c;项目自动化构建工具&#xff0c;以及g…

一年期SSL证书选择指南

在当今这个数字化时代&#xff0c;网络安全已成为每个人和企业都必须关注的重要议题。SSL证书作为保障网络安全的重要工具&#xff0c;对于保护用户隐私、提高网站信任度以及促进在线交易安全具有重要意义。本文将为您详细解析如何选择一年期的SSL证书&#xff0c;以确保您的网…

Linux系统入侵排查(一)

前言 为什么要做系统入侵排查 入侵排查思路 1.检查账号安全 基本使用&#xff1a; cat和more指令说明 1、查看用户信息文件 2、影子文件 3.查看当前登录用户 2.账号安全入侵排查方法总结 1、查询特权用户特权用户(uid 为0) 2、查询可以远程登录的帐号信息 3、除roo…

第二证券|摘星脱帽行情火爆 超40只ST股候场

5月8日&#xff0c;ST中嘉、*ST明诚强势涨停&#xff0c;2家公司年内均请求吊销危险警示。其间ST中嘉自4月29日以来&#xff0c;已接连录得5个涨停板&#xff1b;*ST明诚自4月23日以来9个交易日录得8个涨停板。 年报季向来是几家欢喜几家愁的时间&#xff0c;有公司披星戴帽&a…

Konga域名配置多个路由

云原生API网关-Kong部署与konga基本使用 Nginx server{listen 443 ssl;location / {proxy_pass http://127.0.0.1:8100;}location /openApi {proxy_pass http://172.31.233.35:7100/openApi;} } Kong {"id": "f880b21c-f7e0-43d7-a2a9-221fe86d9231&q…

【 npm详解:从入门到精通】

文章目录 npm详解&#xff1a;从入门到精通1. [npm](https://www.npmjs.com/)的安装2. npm的基础用法2.1 初始化项目2.2 安装依赖2.3 卸载依赖2.4 更新依赖 3. npm的高级用法3.1 运行脚本3.2 使用npm scope3.3 使用npm link 4. npm资源5. 使用npm进行依赖树分析和可视化6. npm进…

c语言常用操作符(2)

1.移位操作符 移位操作符分为<<左移操作符和右移操作符>> 注&#xff1a;移位操作符的操作数只能是整数&#xff0c;同时移位操作符移动的是存储在内存中的二进制位&#xff08;也就是补码&#xff09; 同时移位操作符不要移动负数位&#xff0c;这个是标准未定义…

Android 查看CUP占用率

查看每个进程CUP占用率的几种方式,由于自己充电界面老是导致整机温度过高&#xff0c;后面发现自己的线程一直在跑&#xff0c;相当于死循环&#xff0c;后面加上sleep才得以改善&#xff1b;先看看几种查询方式吧。 1、adb shell top 2、adb shell busybox top 3、adb shell …

SAM轻量化应用Auto-SAM、Group-Mix SAM、RAP-SAM、STLM

1. Auto SAM&#xff08;Auto-Prompting SAM for Mobile Friendly 3D Medical Image Segmentation&#xff09; 1.1 面临问题 医学背景&#xff1a; &#xff08;1&#xff09;与自然图像相比&#xff0c;医学图像的尺寸更小&#xff0c;形状不规则&#xff0c;对比度更低。&…

【Java】从0实现一个基于SpringBoot的个人博客系统

从0实现一个基于SpringBoot的个人博客系统 项目介绍准备工作数据准备创建项目准备前端页面编写配置文件 项目公共模块实体类公共层业务代码持久层实现博客列表实现博客列表约定前后端交互接口 实现博客详情约定前后端交互接口实现服务器代码 实现登录JWT令牌JWT令牌生成和校验实…

vCenter 7.3证书过期无法登录处理方法

登录报错&#xff1a;如下图 Exception in invking authentication handler [SSL: CERTIFICATE_VERIFY_FAILED] certificate vertify failed: certificate has expired(_ssl.c:1076) 处理方法1&#xff1a;推荐&#xff0c;可行 登录vCenter控制台&#xff0c;AltF3切换至命令…

【GaussTech速递】数据库技术解读之细粒度资源管控

背景 对数据库集群内资源管控与资源隔离一直是企业客户长久以来的诉求。华为云GaussDB作为一款企业级分布式数据库&#xff0c;一直致力于满足企业对大型数据库集群的管理需要。 数据库可以管理的资源有计算资源与存储资源&#xff0c;计算资源包括CPU、内存、IO与网络&#…

容器化Jenkins远程发布java应用(方式一:pipline+ssh)

1.创建pipline工程 2.准备工程Jenkinsfile文件&#xff08;java目录&#xff09; 1.文件脚本内容 env.fileName "planetflix-app.jar" env.configName "planetflix_prod" env.remoteDirectory "/data/project/java" env.sourceFile "/…

基于TL431的线性可调恒压恒流电源的Multisim电路仿真设计

1、线性电源的工作原理 在我们日常应用里&#xff0c;直流电是从市电或电网中的交流电获取的。例如15V直流电压源、24V直流电压源等等。交流电变为直流电的过程大概分为一下几步&#xff1a; 首先&#xff0c;交流电通过变压器降低其电压幅值。接着&#xff0c;经过整流电路进…

57.基于SpringBoot + Vue实现的前后端分离-在线教育系统(项目 + 论文PPT)

项目介绍 随着信息技术在管理上越来越深入而广泛的应用&#xff0c;管理信息系统的实施在技术上已逐步成熟。本文介绍了在线教育系统的开发全过程。通过分析在线教育系统管理的不足&#xff0c;创建了一个计算机管理在线教育系统的方案。文章介绍了在线教育系统的系统分析部分&…

深入理解Go语言并发编程

随着计算机硬件的发展&#xff0c;多核处理器已经成为现代计算机的主流配置。在这样的背景下&#xff0c;并发编程成为了一种必备的技能。Go 语言作为一门先进的编程语言&#xff0c;天生支持并发编程&#xff0c;提供了丰富的并发原语和工具&#xff0c;使得并发编程变得更加容…

掌握MySQL常用的命令

前言 MySQL是一个流行的开源关系型数据库管理系统&#xff0c;广泛应用于各种应用场景。熟练掌握MySQL的常用命令&#xff0c;对于数据库管理员和开发人员来说至关重要。本文将介绍MySQL数据库的一些基础术语、SQL语言分类&#xff0c;以及DDL、DML、DQL和DCL等操作&#xff0…

如何快速学习VCU电控开发

本课程基于实际项目案例和岗位需求技能制定教学大纲&#xff0c;以任务驱动方式引导学员&#xff0c;让学员快速掌握VCU开发知识。首先从VCU开发必备知识点和MATLAB/Simulink软件建模工具的使用入手&#xff0c;夯实学员基础。再通过策略设计、模型搭建和测试标定来指导学员完成…