20240822让飞凌的OK3588-C的核心板在Linux R4下挂载1TB的ext4格式的TF卡

fdisk -l
df -h
df -t
df -T
mount
默认/自动挂载在/run/media/mmcblk1目录


20240822让飞凌的OK3588-C的核心板在Linux R4下挂载1TB的ext4格式的TF卡
2024/8/22 20:33


百度:rk3588 buildroot ext4


插卡后的dmesg2:
[  303.194009] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal not lock, tmds_clk_ratio:0
[  303.194014] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing mu_st:0x0, scdc_st:0x0, dma_st10:0x10
[  304.249750] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_audio_interrupts_setup: 1
[  305.310131] vccio_sd_s0: ramp_delay not set
[  305.329890] mmc_host mmc1: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[  305.460425] dwmmc_rockchip fe2c0000.mmc: Successfully tuned phase to 215
[  305.460437] mmc1: new ultra high speed SDR104 SDXC card at address 0001
[  305.461724] mmcblk1: mmc1:0001 FG8Y7 955 GiB
[  305.476975] typec_fusb302 2-0022: Looking up vbus-supply from device tree
[  305.650635] EXT4-fs (mmcblk1): recovery complete
[  305.651188] EXT4-fs (mmcblk1): mounted filesystem with ordered data mode. Opts: (null)
[  308.941351] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing signal not lock, tmds_clk_ratio:0
[  308.941356] fdee0000.hdmirx-controller: hdmirx_wait_lock_and_get_timing mu_st:0x0, scdc_st:0x0, dma_st10:0x10
[  310.009571] rk_hdmirx fdee0000.hdmirx-controller: hdmirx_audio_interrupts_setup: 1


插1TB的TF卡后比对查找:
root@ok3588:/# 
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): 05400000-0000-4028-8000-3fa40000309b
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: 955 GB, 1025423441920 bytes, 2002780160 sectors
31293440 cylinders, 4 heads, 16 sectors/track
Units: sectors of 1 * 512 = 512 bytes

Disk /dev/mmcblk1 doesn't contain a valid partition table
root@ok3588:/# 
root@ok3588:/# df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        14G  1.3G   12G  10% /
devtmpfs        3.7G  8.0K  3.7G   1% /dev
tmpfs           3.8G     0  3.8G   0% /dev/shm
tmpfs           3.8G  440K  3.8G   1% /tmp
tmpfs           3.8G  324K  3.8G   1% /run
/dev/mmcblk0p8  291M  289M     0 100% /userdata
/dev/mmcblk0p7  128M   12M  110M  10% /oem
/dev/mmcblk1    940G   90G  802G  11% /run/media/mmcblk1
root@ok3588:/# 
root@ok3588:/# df -t
df: option requires an argument -- 't'
Try 'df --help' for more information.
root@ok3588:/# 
root@ok3588:/# df -T
Filesystem     Type     1K-blocks     Used Available Use% Mounted on
/dev/root      ext4      14425456  1271268  12536852  10% /
devtmpfs       devtmpfs   3826768        8   3826760   1% /dev
tmpfs          tmpfs      3895696        0   3895696   0% /dev/shm
tmpfs          tmpfs      3895696      444   3895252   1% /tmp
tmpfs          tmpfs      3895696      324   3895372   1% /run
/dev/mmcblk0p8 ext2        297632   295908         0 100% /userdata
/dev/mmcblk0p7 ext2        130520    12000    111972  10% /oem
/dev/mmcblk1   ext4     984624468 93914600 840623980  11% /run/media/mmcblk1
root@ok3588:/# 
root@ok3588:/# mount
/dev/root on / type ext4 (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=3826768k,nr_inodes=956692,mode=755)
proc on /proc type proc (rw,relatime)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /dev/shm type tmpfs (rw,relatime,size=3895696k,nr_inodes=973924,mode=777)
tmpfs on /tmp type tmpfs (rw,relatime,size=3895696k,nr_inodes=973924)
tmpfs on /run type tmpfs (rw,nosuid,nodev,relatime,size=3895696k,nr_inodes=973924,mode=755)
sysfs on /sys type sysfs (rw,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,relatime)
pstore on /sys/fs/pstore type pstore (rw,relatime)
/dev/mmcblk0p8 on /run/media/mmcblk0p8 type ext2 (rw,relatime)
/dev/mmcblk0p7 on /run/media/mmcblk0p7 type ext2 (rw,relatime)
/dev/mmcblk0p7 on /oem type ext2 (rw,relatime)
/dev/mmcblk0p8 on /userdata type ext2 (rw,relatime)
none on /sys/kernel/config type configfs (rw,relatime)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
/dev/mmcblk1 on /run/media/mmcblk1 type ext4 (rw,relatime)
root@ok3588:/# 
root@ok3588:/# 


root@ok3588:/# 
root@ok3588:/# cd /run/media/mmcblk1/
root@ok3588:/run/media/mmcblk1# 
root@ok3588:/run/media/mmcblk1# ls -l
total 93836764
-rwx------ 1 dbus dbus 36691949769 May 16  2024  3588Lv1.21repo230810.tar.gz
-rw-rw-r-- 1 dbus dbus 32583801475 Jul 19  2024 'LV106_rk3588_20230310_1121finish'$'\347\274\226\350\257\221\345\256\214\346\210\220\344\272\206''.tgz'
-rwx------ 1 dbus dbus   562665887 Jul  9  2024  aarch64-buildroot-linux-gnu_sdk-buildroot.tar.gz
-rwx------ 1 dbus dbus         338 Aug 21  2024  cross.cmake
-rwx------ 1 dbus dbus  3160816173 Jul 22  2024  fpga91000-9500-1080p50.mp4
drwx------ 2 root root       16384 Aug 22  2024  lost+found
-rw-rw-r-- 1 dbus dbus 21151339873 Jun  1  2024  repo_RK3588_Buildroot20240508_1644finish.tgz
-rwx------ 1 dbus dbus       74704 Aug 21  2024  rk_mpi_vi_test
-rwx------ 1 dbus dbus   967377482 Aug 20  2024 'update01'$'\345\216\237\345\247\213''EVB7.img'
-rwx------ 1 dbus dbus   965286474 May  8  2024 'update'$'\347\245\236\345\267\236\346\225\260\347\240\201''.img'
-rwxrwxrwx 1 dbus dbus          26 Aug  2  2024  wenyuanbo.txt
-rwxrwxrwx 1 dbus dbus           0 Aug  2  2024 ''$'\346\226\260\345\273\272'' '$'\346\226\207\346\234\254\346\226\207\346\241\243''.txt'
-rwx------ 1 dbus dbus         572 Aug 12  2024 ''$'\347\272\242\345\244\226''.txt'
-rwx------ 1 dbus dbus        1233 Aug 10  2024 ''$'\350\215\243\345\223\201\347\232\204\347\275\221\347\233\230\350\265\204\346\226\231\344\270\213\350\275\275''.txt'
-rwx------ 1 dbus dbus     5453073 Jun 24  2024 ''$'\351\232\220\347\247\230\346\213\215\346\221\204''v1.3.0.8'$'\344\270\223\344\270\232\347\240\264\350\247\243\347\211\210''ymps_24416.apk'
root@ok3588:/run/media/mmcblk1# 
root@ok3588:/run/media/mmcblk1# 
root@ok3588:/run/media/mmcblk1# gst- 
gst-device-monitor-1.0  gst-launch-1.0          gst-transcoder-1.0
gst-discoverer-1.0      gst-play-1.0            gst-typefind-1.0
gst-inspect-1.0         gst-stats-1.0           
root@ok3588:/run/media/mmcblk1# gst-play-1.0 fpga91000-9500-1080p50.mp4 
Press 'k' to see a list of keyboard shortcuts.
Now playing /run/media/mmcblk1/fpga91000-9500-1080p50.mp4
Redistribute latency...


参考资料:
https://blog.csdn.net/xiaosongshine/article/details/98846549
『开发技术』Ubuntu支持exfat格式方法

推荐u盘使用exfat格式,为什么呢?两个原因:
1、三大主流操作系统(Linux、Mac、Windows)都支持exfat格式。
2、exfat支持大于4G的文件。

在ubuntu下,由于版权的原因(据说),默认不支持exfat格式的u盘,不过可以很方便就能添加对exfat的支持:
对于ubuntu 14.04以上版本,直接运行下面的命令就可以了:

sudo apt-get install exfat-utils


http://file.whycan.com/files/202304/T113-I/T113_Linux_%e9%85%8d%e7%bd%ae%e6%8c%87%e5%8d%97_v1.6.pdf
《T113_Linux_配置指南_v1.6.pdf》


https://blog.csdn.net/weixin_44498318/article/details/132083833?spm=1001.2101.3001.6650.6&utm_medium=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-6-132083833-blog-125624910.235%5Ev43%5Epc_blog_bottom_relevance_base7&depth_1-utm_source=distribute.pc_relevant.none-task-blog-2%7Edefault%7EBlogCommendFromBaidu%7ERate-6-132083833-blog-125624910.235%5Ev43%5Epc_blog_bottom_relevance_base7&utm_relevant_index=10

https://blog.csdn.net/weixin_44498318/article/details/132083833
Linux mkfs、fsck等文件系统相关工具移植:dosfstools(FAT32)、exfatprogs(exFAT)、e2fsprogs(ext2、ext3、ext4)


????
https://blog.csdn.net/weixin_43245753/article/details/125647338
Rockchip RK3588 SD卡启动
BOOTROM 探测外设存储器的顺序不同,具体顺序如下,从左到右:【顺序有问题?】


https://blog.csdn.net/zzsddre/article/details/127554669
linux sd卡挂载失败

【小知识/冷知识:】
对于TF卡/SD卡联盟【移动存储,包括U盘和移动硬盘】,微软贡献了文件系统的专利。
对于软盘大小的介质,使用FAT12文件系统。
对于100MB大小的介质,使用FAT16?
对于40GB大小的介质,使用FAT32。
对于更大容量的介质,微软导入了exFAT。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值