hi, this patch cannot be applied (conflict) and probably is not needed anymore by following commit,
"kernel: add pending bcm47xxpart support for failsafe TRX partition" please drop this patch. I'll send v3 patch which adds support for Buffalo WCR-1166DS with factory image. Regards, On Sat, Dec 24, 2016 at 10:21 PM, FUKAUMI Naoki <nao...@gmail.com> wrote: > 2nd trx partition shouldn't be added, otherwise size of 1st trx > partition won't be set properly. > > Signed-off-by: FUKAUMI Naoki <nao...@gmail.com> > --- > Changes in v2: > - no change > > .../901-mtd-bcm47xxpart-add-device-specific-workarounds.patch | 8 > +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > > diff --git > a/target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch > > b/target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch > index 35c6ff7..b724c33 100644 > --- > a/target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch > +++ > b/target/linux/bcm53xx/patches-4.4/901-mtd-bcm47xxpart-add-device-specific-workarounds.patch > @@ -17,7 +17,7 @@ Signed-off-by: Rafał Miłecki <ra...@milecki.pl> > > #include <uapi/linux/magic.h> > > -@@ -159,6 +160,28 @@ static int bcm47xxpart_parse(struct mtd_ > +@@ -159,6 +160,34 @@ static int bcm47xxpart_parse(struct mtd_ > break; > } > > @@ -41,6 +41,12 @@ Signed-off-by: Rafał Miłecki <ra...@milecki.pl> > + */ > + bcm47xxpart_add_part(&parts[curr_part++], "tplink", > offset, MTD_WRITEABLE); > + continue; > ++ } else if (of_machine_is_compatible("buffalo,wzr-900dhp") && > offset == 0x2100000) { > ++ /* > ++ * 2nd trx partition shouldn't be added, otherwise > size > ++ * of 1st trx partition won't be set properly. > ++ */ > ++ continue; > + } > + > /* Read beginning of the block */ > -- > 2.7.4 > _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev