Skip to content

Add UBI support

Stefan Roese u-boot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest11 patches 0 repliesNew

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11MTD: Add MTD paritioning infrastructuredrivers/mtd/Makefile drivers/mtd/mtdcore.c drivers/mtd/mtdpart.c+679 -00 replies
2/11UBI: Add basic UBI support to U-Boot (Part 1/8)drivers/mtd/ubi/Makefile drivers/mtd/ubi/build.c drivers/mtd/ubi/crc32.c+1755 -00 replies
3/11UBI: Add basic UBI support to U-Boot (Part 2/8)drivers/mtd/ubi/crc32defs.h drivers/mtd/ubi/crc32table.h drivers/mtd/ubi/debug.c +2 more+1768 -00 replies
4/11UBI: Add basic UBI support to U-Boot (Part 3/8)drivers/mtd/ubi/io.c drivers/mtd/ubi/kapi.c drivers/mtd/ubi/misc.c+2018 -00 replies
5/11UBI: Add basic UBI support to U-Boot (Part 4/8)drivers/mtd/ubi/scan.c drivers/mtd/ubi/scan.h drivers/mtd/ubi/ubi-media.h +1 more+2538 -00 replies
6/11UBI: Add basic UBI support to U-Boot (Part 5/8)drivers/mtd/ubi/upd.c drivers/mtd/ubi/vmt.c drivers/mtd/ubi/vtbl.c +1 more+3810 -00 replies
7/11UBI: Add basic UBI support to U-Boot (Part 6/8)include/exports.h include/jffs2/load_kernel.h include/linux/crc32.h +4 more+381 -00 replies
8/11UBI: Add basic UBI support to U-Boot (Part 7/8)include/linux/mtd/ubi.h include/mtd/ubi-user.h+454 -00 replies
9/11UBI: Add basic UBI support to U-Boot (Part 8/8)Makefile include/linux/mtd/ubi-header.h include/linux/mtd/ubi-user.h+1 -5210 replies
10/11UBI: Add UBI command supportcommon/Makefile common/cmd_ubi.c+629 -00 replies
11/11ARM: Add Apollon UBI supportboard/apollon/Makefile include/configs/apollon.h+59 -182 replies

Reviews trailers per patch

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

Read the v4 thread

Cover letter [U-Boot] [PATCH 00/11 v4] Add UBI support

This patch series adds UBI support to U-Boot:

UBI (Latin: "where?") stands for "Unsorted Block Images". It is a volume management system for flash devices which manages multiple logical volumes on a single physical flash device and spreads the I/O load (i.e, wear-leveling) across the whole flash chip.

In a sense, UBI may be compared to the Logical Volume Manager (LVM). Whereas LVM maps logical sectors to physical sectors, UBI maps logical eraseblocks to physical eraseblocks. But besides the mapping, UBI implements global wear-leveling and I/O errors handling.

For more details, Please visit the following URL.
http://www.linux-mtd.infradead.org/doc/ubi.html

The changes in this version are:

- Added "ubi part" command to dynamically configure
the UBI partitions to "work" on.
- Remove board_ubi_scan(). Not needed anymore because of the more flexible common "ubi part" command.
- Fixes for non-UBI builds.
- Removed some compiler warnings
- More codingstyle cleanup.

This version is available in the "testing" branch of the u-boot-ubi repository.

Best regards,
Stefan