[OpenWrt-Devel] [PATCH] [kernel] Support for new Archer C7 with gd25q128 chip in 15.05.1

John Marrett johnf at zioncluster.ca
Sun Apr 17 14:39:35 EDT 2016


Kristian,

On Sun, Apr 17, 2016 at 2:06 PM, Kristian Kielhofner <kris at kriskinc.com> wrote:
> Specifically this applies to units manufactured in December of 2015 or
> later; serial numbers starting with 215C.

Thank you for that detail, I see that my router does have a serial
number that meets that pattern, I'll update the wiki with this
information.

Hauke,

> I want to make certain I get the updated patch right; I should
> integrate target/linux/generic/patches-3.18/043-mtd_GD25Q128B_support_backport_from_3.19.patch
> patch (which, because of its order, results in pushes down in some
> other flash files) and adjust the
> target/linux/bcm53xx/patches-3.18/004-mtd-spi-nor-from-3.20.patch to
> avoid a conflict because of the change?

I could patch it as planned, however as far as I can tell this file
contains a large table of flash chip identifiers. Is there a reason I
wouldn't want to create a new single patch that updates the entire
"static const struct spi_device_id spi_nor_ids[]" table? This would
also consoldiate the table updates out of the following patches.

target/linux/ar71xx/patches-3.18/414-mtd-gd25q128-support.patch
target/linux/generic/patches-3.18/474-mtd-spi-nor-add-support-for-the-ISSI-SI25CD512-SPI-f.patch
target/linux/generic/patches-3.18/462-m25p80-mx-disable-software-protection.patch
target/linux/generic/patches-3.18/472-mtd-m25p80-add-support-for-Winbond-W25X05-flash.patch
target/linux/generic/patches-3.18/473-mtd-spi-nor-add-support-for-the-Macronix-MX25L512E-S.patch
target/linux/bcm53xx/patches-3.18/004-mtd-spi-nor-from-3.20.patch
target/linux/bcm53xx/patches-3.18/003-mtd-spi-nor-from-3.19.patch

I could create the new single patch for both trunk and 15.05.1 and
bring these updates into a single place under target/linux/generic.

Please let me know if this makes sense or if I'm better off limiting
the scope as originally described? I'm aware that there are non-table
updates on the other patches, I'll leave those parts alone.

-JohnF
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list