[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CAFLxGvyLEEyc2pFJXFU+aLb-ma3EraHLbdFwMm7bxAXJo9M=jw@mail.gmail.com>
Date: Fri, 22 Nov 2013 09:14:52 +0100
From: Richard Weinberger <richard.weinberger@...il.com>
To: Hans Zhang <zhanghonghui@...ofidei.com>
Cc: Ezequiel Garcia <ezequiel.garcia@...e-electrons.com>,
Richard Genoud <richard.genoud@...il.com>,
zhouguangming@...ofidei.com,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
linux-mtd <linux-mtd@...ts.infradead.org>,
David Woodhouse <dwmw2@...radead.org>
Subject: Re: [PATCH] Make the mtdblock read/write skip the bad nand sector
On Fri, Nov 22, 2013 at 3:10 AM, Hans Zhang <zhanghonghui@...ofidei.com> wrote:
> 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.
Instead of fixing your userspace you mess around int the kernel?
Sorry, that's a no-no.
--
Thanks,
//richard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists