Skip to content

Add support for > 2GiB MTD devices

Bruce Leonard linux-mtd 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 9 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Clean up of code found when adding support for > 2GiB MTD devicesdrivers/mtd/nand/nand_base.c drivers/mtd/nand/nand_bbt.c+3 -42 replies
2/2Add support for > 2GiB MTD devicesdrivers/mtd/mtdchar.c drivers/mtd/mtdcore.c drivers/mtd/nand/nand_base.c +4 more+77 -477 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchArtem Bityutskiy
1/2A-b
2/2

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

Read the v1 thread

Cover letter [PATCH 0/2] Add support for > 2GiB MTD devices

All,

Over the course of the last several months, I've been working on adding support to the kernel for MTD devices that exceed 2GiB in size. In my particular case I have a need for 8GiB of NAND flash that appears as a single device. I'm now ready to submit my (first ever) patch (please be kind :) ). Seriously, I've been on this list a LOT during this time and I've gotten nothing but great support, thank you to the entire list.

A couple of comments. First and foremost, these patches don't completely change the MTD layer. Due to my in-experience outside of what I was focused on (NAND/UBI/UBIFS/MTDCHAR) I felt it was best if I restricted my changes to what I knew. If the community feels I need to take these changes into the rest of the kernel please advise. Secondly, there were changes that I needed to make in mtd-utils, but I again only focused on the UBI sub-set. mtd-utils no longer builds because of the changes, but I really do NOT feel qualified to make changes to the rest of mtd-utils as they're tools I don't use and don't understand. The changes in mtd-utils are the same changes as in .../include/linux/mtd/mtd.h and .../include/mtd/mtd-abi.h. If anyone has a suggestion as to how I should handle mtd-utils I would appreciate it.

Thanks again to everyone on the list who's answered my endless stupid questions.

Bruce