[LEDE-DEV] [PATCHv2 3/4] kernel/4.4: add generic spi-nand framework

2017-09-02 Thread hackpascal
From: Weijie Gao This patch adds generic SPI-NAND framework for linux-4.4. Files come from patches of target pistachio, but have lots of modifications to add full support for GD5F series. Signed-off-by: Weijie Gao ---

[LEDE-DEV] [PATCHv2 4/4] ar71xx: add netgear wndr4500v3 support

2017-09-02 Thread hackpascal
From: Weijie Gao Netgear WNDR4500v3 uses one SPI-NOR and one SPI-NAND. The bootloader and caldata are on the SPI-NOR flash, and the firmware is on the SPI-NAND flash. Hardware specification: CPU: QCA9563 Switch: QCA8337N 5.8GHz Wifi: AR9580 SPI-NOR: 2MB SPI-NAND: 128MB

[LEDE-DEV] [PATCHv2 2/4] kernel/4.4: mtdsplit: add kernel cmdline to disable split parsers for rootfs and firmware partitions

2017-09-02 Thread hackpascal
From: Weijie Gao Some firmware have already defined rootfs/rootfs_data partitions and do not need extra split operations. This patch adds two kernel cmdline parameters to disable firmware and rootfs parsers separately: nofwsplit norootfssplit Signed-off-by: Weijie

[LEDE-DEV] [PATCH 2/4] kernel/4.4: mtdsplit: add kernel cmdline to disable split parsers for rootfs and firmware partitions

2017-09-02 Thread hackpascal
Some firmware have already defined rootfs/rootfs_data partitions and do not need extra split operations. This patch adds two kernel cmdline parameters to disable firmware and rootfs parsers separately: nofwsplit norootfssplit Signed-off-by: hackpascal <hackpas...@gmail.com> ---

[LEDE-DEV] [PATCH 4/4] ar71xx: add netgear wndr4500v3 support

2017-09-02 Thread hackpascal
to WNDR4500v3 but not tested and not included here. Signed-off-by: hackpascal <hackpas...@gmail.com> --- target/linux/ar71xx/base-files/etc/board.d/01_leds | 6 + .../linux/ar71xx/base-files/etc/board.d/02_network | 1 + target/linux/ar71xx/base-files/etc/diag.sh | 1 + target/linux/

[LEDE-DEV] [PATCH 3/4] kernel/4.4: add generic spi-nand framework

2017-09-02 Thread hackpascal
This patch adds generic SPI-NAND framework for linux-4.4. Files come from patches of target pistachio, but have lots of modifications to add full support for GD5F series. Signed-off-by: hackpascal <hackpas...@gmail.com> --- target/linux/generic/config-4.4| 2 + .../g

[LEDE-DEV] [PATCH 1/4] mac80211: enable use of GPI9 of ath9k

2017-09-02 Thread hackpascal
GPI9 (input-only pin) is used by Netgear WNDR4500v3 as the wireless button, but not enabled in ath9k. This patch enables the pin by adding corresponding bit in the usable gpio masks. Signed-off-by: hackpascal <hackpas...@gmail.com> --- .../552-ath9k-enable-use-of-wmac-gpi9.patch

[LEDE-DEV] [PATCH] ar71xx: fix gmac0 speed function for qca956x

2017-02-17 Thread hackpascal
From: Weijie Gao This patch fixed the problem that kernel will crash when WAN port is linked-up in QCA9561. When GMAC0 is configured as GMII, it's connected to the internal switch. In this situation, there's no need to adjust the speed of GMAC0, and the function