[英]U-boot UBI Write Direct From Disk
I'm flashing a filesystem to nand from u-boot. 我正在将文件系统从u-boot刷新到nand。 I have the compressed filesystem stored in an mmc.
我已将压缩文件系统存储在mmc中。 Normally I'd do something like this:
通常我会做这样的事情:
ext4load mmc mmcdev:mmcpart address path
...
ubi write address name size
The problem I have is that ext4load loads the ubifs into ram, and the fs exceeds the amount of ram that is available. 我的问题是ext4load将ubifs加载到ram中,而fs超出了可用的ram数量。
Is there a way to write the fs directly from mmc to nand? 有没有办法将fs直接从mmc写入nand? Something like this:
像这样:
ubi write mmcdev:mmcpart name size
Given that writing to nand from u-boot is limited by the device's ram, I ended up writing the ubifs from user space. 鉴于从u-boot写入nand受设备的ram限制,我最终从用户空间写入ubif。
Basically, 基本上,
Here are some useful links: 以下是一些有用的链接:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.