[PATCH] Make the mtdblock read/write skip the bad nand sector

Hans Zhang zhanghonghui at innofidei.com
Thu Nov 21 21:10:19 EST 2013


On 2013/11/22 9:52, Ezequiel Garcia wrote:
> On Fri, Nov 22, 2013 at 09:22:43AM +0800, Hans Zhang wrote:
>> On 2013/11/21 18:59, Richard Genoud wrote:
>>
>> Here's my scenario, I want to write nand through mtdblock by dd command
> You could get some better support by explaining why do you want to write
> to a NAND through mtdblock. It sounds a bit ackward to me, but I'm sure
> you have a good reason for it!
>
> Let's hear it :-)

Thanks for your reply.
This is for my embed system upgrade, I reserved one nand partition for filesystem
environment which will load to DDR while uboot booting.
This filesystem.uboot file should be able to read both by uboot and kernel, and
maybe written by uboot and kernel. There will be no filesystems upon the nand in
case the loader may not support some filesystem types while uboot booting.

Seems that the trimmed environment of OS has get rid of the mtd-tools, So the dd
command was the most convenience tools to use by hand.

Thanks.



“This E-mail and its attachments may contain legally privileged or confidential information from Innofidei Corporation. Any unauthorized copy, use, disclosure or distribution of this information is strictly prohibited. If you are not the intended recipient, please notify the sender immediately by E-mail or telephone and delete this E-mail and all its attachments immediately.
本邮件及其附件内容可能包含创毅公司享有专有法律权利的或者需要保密的信息。严禁任何人未经发件人许可以任何形式复制、使用、披露或者散发此项信息。如果您不是该收件人,请您立即通过邮件或者电话通知发件人并立即删除本邮件及其附件内容.”





More information about the linux-mtd mailing list