Skip to content

Patch serie UBI min I/O size fixes

Detlev Zundel u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 6 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 6 patches the cover letter announces are in this archive.

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [U-Boot] [0/6] Patch serie UBI min I/O size fixes

Hi Holger,

Quoted 17 lines

Hi,

Quoted 6 lines · Holger

This patch serie fixes a problem in the UBI layer. The min I/O size has currently a fixed value of 1 for NOR flashes. But for NOR flashes the min I/O size has to be equal to the size of the writebuffer of the flash. Therefore the mtd layer was enhanced with the writebuffer which was later on used in the ubi layer to set the min I/O size.

Quoted 7 lines

This patches fixes problems with flash types with a writebuffersize > 128 Byte and is mainly taken from the similar linux patches. See MTD mailing list posts:
http://lists.infradead.org/pipermail/linux-mtd/2010-December/033460.html

Without the u-boot patches attaching to a ubi device with a min I/O buffer larger than 128 would fail.

Quoted 6 lines

with the same changes in the linux kernel we see incompatibilities for the UBIFS. Due to this fact the patches should be restrained until this problem is solved.

See:
http://lists.infradead.org/pipermail/linux-mtd/2011-January/033794.html

Ah, I see. Thanks for the info.

In defense of my overlapping mail, I can only state that the reference header in this mail of yours does not point to the earlier thread (check [1]) and thus I saw it only much later:

Quoted 2 lines

References: <[email protected]>
In-Reply-To: <[email protected]>

But anyway, sorry for the noise.

Cheers
Detlev

[1] http://mid.gmane.org/4D41331C.7000302 at keymile.com

Signature · 7 lines
Man against god... God against Man... Man against nature... Nature against
man...   God against nature...   Nature against god...  a very, very funny
religion.             -- Zen Master D.T. Suzuki commenting on Christianity
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de