Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1659532

Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift

From Pali Rohár <pali.rohar@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift
Date 2017-06-07 10:50 +0200
Message-ID <tPEP8-4gO-23@gated-at.bofh.it> (permalink)
References (2 earlier) <tNXsS-3tq-15@gated-at.bofh.it> <tOYmR-2g7-1@gated-at.bofh.it> <tOYmR-2g7-9@gated-at.bofh.it> <tOYmR-2g7-7@gated-at.bofh.it> <tOYmR-2g7-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Monday 05 June 2017 13:27:18 Richard Weinberger wrote:
> Pali,
> 
> Am 05.06.2017 um 13:25 schrieb Pali Rohár:
> > On Monday 05 June 2017 13:23:22 Richard Weinberger wrote:
> >> Pali,
> >>
> >> Am 05.06.2017 um 13:21 schrieb Pali Rohár:
> >>> On Friday 02 June 2017 18:13:02 Richard Weinberger wrote:
> >>>> Pali,
> >>>>
> >>>> Am 02.06.2017 um 17:43 schrieb Pali Rohár:
> >>>>> It is needed for creating emulated devices suitable for using in UBI layer
> >>>>> and with UBIFS.
> >>>>
> >>>> Why?
> >>>
> >>> ubifs depends on write size of nand. And without those parameters as
> >>> specified in cover letter I'm unable to mount N900 rootfs image exported
> >>> via block2mtd. ubifs reject such image.
> >>
> >> Hmm, so you render block2mtd into a semi-NAND chip? :)
> > 
> > Probably you can call it like that. But it is still MTD device...
> 
> This is what I meant in my other mail.
> You add NAND specific properties but still denote it as MTD_RAM/ROM.
> I'm not sure whether this is a good idea.

Ok, lets wait what other people think.

At least patches like fallback or check should be less problematic and
could be applied separately.

-- 
Pali Rohár
pali.rohar@gmail.com

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/5] Extends block2mtd and ubi drivers Pali Rohár <pali.rohar@gmail.com> - 2017-06-02 17:50 +0200
  [PATCH 1/5] mtd: block2mtd: Check for valid user supplied erase size Pali Rohár <pali.rohar@gmail.com> - 2017-06-02 17:50 +0200
  [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write size and subpage shift Pali Rohár <pali.rohar@gmail.com> - 2017-06-02 17:50 +0200
    Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Richard Weinberger <richard@nod.at> - 2017-06-02 18:20 +0200
      Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Pali Rohár <pali.rohar@gmail.com> - 2017-06-05 13:30 +0200
        Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Pali Rohár <pali.rohar@gmail.com> - 2017-06-05 13:30 +0200
          Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Richard Weinberger <richard@nod.at> - 2017-06-05 13:30 +0200
            Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Pali Rohár <pali.rohar@gmail.com> - 2017-06-07 10:50 +0200
            Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Pavel Machek <pavel@ucw.cz> - 2017-06-18 12:10 +0200
              Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Richard Weinberger <richard@nod.at> - 2017-06-18 12:20 +0200
        Re: [PATCH 2/5] mtd: block2mtd: Add support for specifying MTD write  size and subpage shift Richard Weinberger <richard@nod.at> - 2017-06-05 13:30 +0200
  [PATCH 4/5] mtd: block2mtd: Add support for deleting block2mtd mapping Pali Rohár <pali.rohar@gmail.com> - 2017-06-02 17:50 +0200
  Re: [PATCH 0/5] Extends block2mtd and ubi drivers Richard Weinberger <richard@nod.at> - 2017-06-02 18:20 +0200
    Re: [PATCH 0/5] Extends block2mtd and ubi drivers Pali Rohár <pali.rohar@gmail.com> - 2017-06-05 13:20 +0200

csiph-web