Extends block2mtd and ubi drivers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 21 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mtd: block2mtd: Check for valid user supplied erase sizedrivers/ | +1 | 1 reply | |
| 2/5 | mtd: block2mtd: Add support for specifying MTD write size and subpage shiftdrivers/ | +42 | 9 replies | |
| 3/5 | mtd: block2mtd: Fallback to read-only modedrivers/ | +32 | 2 replies | |
| 4/5 | mtd: block2mtd: Add support for deleting block2mtd mappingdrivers/ | +27 | 3 replies | |
| 5/5 | ubi: Allow to use read-only UBI volume with not enough PEBsdrivers/ | +9 | 4 replies |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Richard Weinberger |
|---|---|
| 1/5 | R-b |
| 2/5 | |
| 3/5 | |
| 4/5 | |
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/5] Extends block2mtd and ubi drivers
This patch series extends block2mtd and ubi drivers to better handle read-only devices and allow to load UBI image from local file which was created for nand device.
Tested for Nokia N900 with Maemo 5 rootfs ubifs image (rootfs_RX-51_2009SE_21.2011.38-1_PR_MR0) which has erase size 128k, write size 2k and nand subpage shift 2.
$ losetup -r /dev/loop0 rootfs_RX-51_2009SE_21.2011.38-1_PR_MR0.ubifs $ echo -n /dev/loop0,131072,2048,2 > /sys/module/block2mtd/parameters/block2mtd $ ubiattach -p /dev/mtd0 $ mount /dev/ubi0_0 /mnt/ubi -t ubifs ... $ umount /dev/ubi0_0 $ ubidetach -p /dev/mtd0 $ echo -n del=/dev/loop0 > /sys/module/block2mtd/parameters/block2mtd $ losetup -d /dev/loop0
Pali Rohár (5):
mtd: block2mtd: Check for valid user supplied erase size
mtd: block2mtd: Add support for specifying MTD write size and subpage
shift
mtd: block2mtd: Fallback to read-only mode
mtd: block2mtd: Add support for deleting block2mtd mapping
ubi: Allow to use read-only UBI volume with not enough PEBs
drivers/mtd/devices/block2mtd.c | 129 ++++++++++++++++++++++++++++++--------- drivers/mtd/ubi/vtbl.c | 14 +++-- 2 files changed, 110 insertions(+), 33 deletions(-)
Signature · 1 line
1.7.9.5