Skip to content

MTD & UBI fixes

Scott Wood u-boot 2 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest posting 2/20 of 4 patches 0 repliesNew
  2. v2 posting 1/20 of 4 patches 0 repliesSuperseded

Patches in v2 posting 2/2 No applies recorded yet

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

Reviews trailers per patch

PatchScott Wood
SeriesA-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [U-Boot] [PATCH v2 0/4] MTD & UBI fixes
Quoted 35 lines · Stefan Roese
Quoted 25 lines · Scott Wood
Quoted 24 lines · Stefan Roese
Quoted 13 lines · Paul Burton

This patchset corrects a few issues I've had whilst using UBI with U-boot.

The first 3 are bug fixes, the 4th is an addition I needed in order to write a large root filesystem into my NAND device.

Changes since v1:
- Fixed style issues in "cmd_ubi: add write.part command..." as per Stefan Roese's comments.
- Expanded upon the condition patch 1 fixes in response to the queries from Stefan, see the commit message for further detail.
- Added patch 3 "cmd_ubi: use int64_t volume size for 'ubi create'" which it seems appropriate to include in this series.

Quoted 5 lines

Paul Burton (4):
mtd: driver _read() returns max_bitflips; mtd_read() returns -EUCLEAN
cmd_mtdparts: use 64 bits for flash size, partition size & offset
cmd_ubi: use int64_t volume size for 'ubi create'
cmd_ubi: add write.part command, to write a volume in multiple parts

All 4 patches:

Quoted 8 lines
Quoted 3 lines

Scott, these patches are assigned to you in patchwork. If you are okay with the NAND side (and everything else), then please feel free to push all 4 patches via your repository.

Patch 1 looks OK to me (at least to the extent that it's just bringing code over from Linux). Patch 2 also looks straightforward.

Kyungmin is the UBI maintainer -- the last two patches need his ack.

Quoted 7 lines

Yes, Kyungmin is the "official" UBI maintainer. But I have been taking care of all UBI (and UBIFS) related patches in the last years (collecting and pushing them upstream in the u-boot-ubi git repository).

Kyungmin, how should we handle this in the future. Would you like to handle the UBI (and UBIFS) patches yourself? Please let us know how to proceed.

OK, I wasn't aware of that (maybe you should be listed as (co-)custodian?). I guess I can take them, though just in case you'd rather do so (I wasn't the one who assigned them in patchwork):

-Scott