Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
fatdisk
mtools生成fat32镜像 不能正常挂载 fatdisk.exe的可以
发布于 2023-09-01 22:05:55 浏览:210
订阅该版
flash是4MB的 W25Q32 后边1M做为文件系统 fatdisk.exe生成的镜像可以在系统挂载上,但是在linux上用mdir -i root.bin无法查看内容 ``` mdir -i root.bin init :: non DOS media Cannot initialize '::' ``` 而使用mtools生成的可以查看,但是在系统却挂载不了 ``` dd if=/dev/zero of=root.bin bs=4096 count=256 mkfs.fat root.bin mcopy -/ -i root.bin rootfs/* ::/ mdir -i root.bin ./fatdisk.sh 记录了256+0 的读入 记录了256+0 的写出 1048576字节(1.0 MB,1.0 MiB)已复制,0.0031784 s,330 MB/s mkfs.fat 4.2 (2021-01-31) Volume in drive : has no label Volume Serial Number is C209-AE21 Directory for ::/ ring mp3 769463 2023-09-01 21:50 1 file 769 463 bytes 258 048 bytes free ```
查看更多
aozima
2023-09-01
调网络不抓包,调I2C等时序不上逻辑分析仪,就像电工不用万用表!多用整理的好的文字,比截图更省流量,还能在整理过程中思考。
mtools默认扇区为512字节 你按下面说明试试行不行 https://www.gnu.org/software/mtools/manual/html_node/mformat.html https://www.jrgraphix.net/man/M/mtools > Bigger sectors > By using bigger sectors it is possible to go beyond the capacity which > can be obtained by the standard 512-byte sectors. This is because of > the sector header. The sector header has the same size, regardless of > how many data bytes are in the sector. Thus, we save some space by > using fewer, but bigger sectors. For example, 1 sector of 4K only takes > up header space once, whereas 8 sectors of 512 bytes have also 8 head- > ers, for the same amount of useful data. > >This method allows to store up to 1992K on a 3 1/2 HD disk. > >Mtools supports these formats only on Linux. >
1
个回答
默认排序
按发布时间排序
撰写答案
登录
注册新账号
关注者
0
被浏览
210
关于作者
xfdr0805
这家伙很懒,什么也没写!
提问
10
回答
13
被采纳
0
关注TA
发私信
相关问题
1
fatdisk 生成好的fat文件系统怎么烧写到外部的flash中呢?
2
在mac环境下没有fatdisk工具
3
使用fatdisk工具创建的sd.bin,挂载不成功
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
机器人操作系统 (ROS2) 和 RT-Thread 通信
4
国产MCU移植系列教程汇总,欢迎查看!
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
新建项目时常遇到的问题一
2
TLSF --- 内存管理中的超级英雄!
3
搞懂rt-thread对STM32的GPIO操作
4
rt-thread 挂载romfs与ramfs
5
[Vision Board创客营]使用openmv识别阿尼亚
热门标签
RT-Thread Studio
串口
LWIP
Env
SPI
Bootloader
AT
ART-Pi
Hardfault
CAN总线
FinSH
USB
文件系统
DMA
RT-Thread
SCons
线程
RT-Thread Nano
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
ota在线升级
WIZnet_W5500
I2C_IIC
UART
flash
cubemx
packages_软件包
freemodbus
PWM
潘多拉开发板_Pandora
定时器
BSP
ADC
中断
flashDB
编译报错
socket
keil_MDK
GD32
msh
Debug
SFUD
MicroPython
ulog
SDIO总线
rt_mq_消息队列_msg_queue
本月问答贡献
小小李sunny
4
个答案
3
次被采纳
踩姑娘的小蘑菇
6
个答案
2
次被采纳
a1012112796
4
个答案
2
次被采纳
聚散无由
1
个答案
2
次被采纳
三世执戟
9
个答案
1
次被采纳
本月文章贡献
比特饼干
2
篇文章
4
次点赞
Z_Y
2
篇文章
1
次点赞
聚散无由
1
篇文章
4
次点赞
zhuzhuzhu
1
篇文章
4
次点赞
踩姑娘的小蘑菇
1
篇文章
2
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部