Skip to contentSkip to conversation

Patch serie UBI min I/O size fixes

PATCH New Holger Brunck 2 participants 2 messages Jan 27, 2011 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

cover Patch serie UBI min I/O size fixes

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.

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

Best regards
Holger Brunck

#2 lore raw

cover 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