On Thu, Mar 24, 2011 at 2:17 PM, Andrea Adami <andrea.ad...@gmail.com> wrote:
> Same failure with 2.6.38 on c7x0 / akita / spitz.
>
> Ideas?
>
> Andrea
>
>
> ---------- Forwarded message ----------
> From: Andrea Adami <andrea.ad...@gmail.com>
> Date: Wed, Mar 9, 2011 at 10:33 AM
> Subject: Re: mtd-utils - issues with flash_eraseall -j
> To: openembedded-de...@lists.openembedded.org
>
>
> I have a guess:
>
> Patchwork [5/5] mtd-utils: change flash_eraseall to use libmtd-wrapped ioctls
>
> http://patchwork.ozlabs.org/patch/57934/
>
> Then I've read that recently (1.4.x)
> "...The "struct nand_oobinfo" is able to record only 32 ECC code 
> positions,which
> is not enough for many big NAND chips. Therefore, this structure is replaced
> by "struct nand_ecclayout" in linux kernel from the version 2.6.17.
> Consequently, the ioctl command changed from MEMGETOOBSEL to ECCGETLAYOUT"
>
> I was using 2.6.26 kernel.
> Please report if that happens on other hardware too.
>
> Thanks
>
> Andrea
>
>
>
> On Wed, Mar 9, 2011 at 1:14 AM, Andrea Adami <andrea.ad...@gmail.com> wrote:
>> Hello,
>>
>> with the previous mtd-utils-1.3.1 I could do ' flash_eraseall -j
>> /dev/mtd3' on my Zaurus/armv5te.
>>
>> With v. 1.4.1 (and 1.4.2 fwiw) I see following errors:
>>
>> ...
>> flash_erase: error!: /dev/mtd3: MTD writeoob failure
>>                        error 22 (Invalid argument)
>> Erasing 16 Kibyte @ 43f0000 -- 99% complete libmtd: error!: unaligned 
>> address 7
>> 1237640, mtd3 page size is 512
>> flash_erase: error!: /dev/mtd3: MTD writeoob failure
>>                        error 22 (Invalid argument)
>> Erasing 16 Kibyte @ 43f4000 -- 99% complete libmtd: error!: unaligned 
>> address 7
>> 1254024, mtd3 page size is 512
>> ...
>>
>> Anybody can confirm the issue?
>>
>> Regards
>>
>> Andrea
>>
>

It seems the issue has been aknowledge and resolved upstream.

http://lists.infradead.org/pipermail/linux-mtd/2011-April/034599.html

Andrea

_______________________________________________
Zaurus-devel mailing list
Zaurus-devel@lists.linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/zaurus-devel

Reply via email to