Kevin Darbyshire-Bryant
f5b833b8fe
kernel: bump to 4.4.38
...
Bump & refresh patches for all 4.4 supported targets.
Compile & run tested: ar71xx - Archer C7 v2
Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
8 years ago
Koen Vandeputte
347884b345
cns3xxx: fix UART resource overlap
...
Port 1 registers the same IO resources as port 2 in the kernel resource
tree, which is wrong.
Fix this by using it's own resources as indicated in the overview
(cns3xxx.h).
Compiled & Tested on several GW2388-4 laguna boards which utilizes all 3
ports.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years ago
Felix Fietkau
0b3a64f862
cns3xxx: eliminate hardcoded kernel/rootfs partition split
...
This changes the sysupgrade format. To support upgrades from the old
firmware to the new one, legacy images are provided. Because of the old
partition split, these have to be specific to the NOR or SPI device.
The new sysupgrade images are suitable for begin put on flash directly,
and they are independent of NOR vs SPI flash variant.
Flashing back to old firmware is supported via using the old full-flash
images instead of the old sysupgrade images.
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau
58fbe07560
cns3xxx: move laguna.c changes out of patches, update it in files/
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Koen Vandeputte
88ee275562
cns3xxx: Enable driver support for onboard m25p80 SPI flash
...
This device is present on the Gateworks Laguna cns3xxx family.
As the SPI bus master is enabled, also enable driver support for
this typical slave.
[ 3.920000] m25p80 spi1.0: found m25p32, expected m25p80
[ 3.930000] m25p80 spi1.0: m25p32 (4096 Kbytes)
[ 3.930000] Creating 4 MTD partitions on "spi1.0":
[ 3.940000] 0x000000000000-0x000000040000 : "uboot"
[ 3.940000] 0x000000040000-0x000000080000 : "params"
[ 3.950000] 0x000000080000-0x000000200000 : "kernel"
[ 3.950000] 0x000000200000-0x000000400000 : "rootfs"
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years ago
Álvaro Fernández Rojas
d14c28fc80
kernel: update kernel 4.4 to version 4.4.20
...
Refresh patches for all targets that support kernel 4.4.
Compile-tested on brcm2708 only.
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Tim Harvey
1974ad5a96
cns3xxx: add GW2386 support
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
8 years ago
Tim Harvey
1419087a35
cns3xxx: add GW2394 Support
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
8 years ago
Felix Fietkau
aa53f78038
build: fix subtarget descriptions
...
Move Target/Description above the target.mk include
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Felix Fietkau
cd243b1090
cns3xxx: remove obsolete jffs2 image build code
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Koen Vandeputte
f532191c1c
cns3xxx: fix RX softIRQ loop
...
Already reschedule when 1 or more frames came in.
Checking for a full queue could produce a re-schedule loop as
the checked RX ring location could contain undefined values
depending on activity in previous loops.
Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
8 years ago
Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
8 years ago
Álvaro Fernández Rojas
e32b2f92b1
kernel: update kernel 4.4 to version 4.4.10
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
Álvaro Fernández Rojas
b062266ad6
kernel: update kernel 4.4 to version 4.4.9
...
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
8 years ago
John Crispin
687ab51fb2
cns3xxx: set both MPS 'and' MRSS to 128
...
Fixes some DMA issues with this platform. Because this isn't currently accepted,
and can potentially disrupt other platforms (as read in commit log), I will
leave this cns3xxx specific.
Original Patch: https://patchwork.ozlabs.org/patch/600024/
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 49249
8 years ago
John Crispin
6a111b41bc
cns3xxx: backport pci fix for cns3xxx_write_config
...
Fix is required to properly set pci config bits.
Original Patch: https://patchwork.ozlabs.org/patch/596170/
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 49248
8 years ago
Hauke Mehrtens
b3aae4c672
kernel: update kernel 4.4 to version 4.4.6
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 49032
9 years ago
Felix Fietkau
5ab4db376a
cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48581
9 years ago
Felix Fietkau
9ab08d665f
cns3xxx: improve ethernet performance by using the page fragment allocation API
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48580
9 years ago
Felix Fietkau
3d4444f257
cns3xxx: fix ethernet DMA ring allocation issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48579
9 years ago
Felix Fietkau
82939c3f52
Revert "cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN"
...
There seem to be some remaining SMP issues with it
This reverts commit r48336
SVN-Revision: 48367
9 years ago
Felix Fietkau
10220cd7e9
cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48336
9 years ago
Felix Fietkau
87e4f9f009
cns3xxx: update to linux 4.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48334
9 years ago
Felix Fietkau
91278df70e
cns3xxx: fix a ethernet driver napi poll handling bug
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48333
9 years ago
Felix Fietkau
136747c564
cns3xxx: clean up SMP related code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48332
9 years ago
Felix Fietkau
8ecfa0e773
cns3xxx: fix adding twd local timers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48331
9 years ago
Felix Fietkau
f366dc25d3
cns3xxx: remove obsolete file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48330
9 years ago
Felix Fietkau
2ac8b1c1fe
cns3xxx: remove unused define and use of a deprecated function
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48329
9 years ago
Hauke Mehrtens
de18003b6e
kernel/3.18: update to version 3.18.25
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48225
9 years ago
John Crispin
f0b708acdf
cns3xxx: add GW2393 Support
...
Based off of the GW2391-C, but with the following changes:
* 4x4in to 4x5in pcb
* flat panel connector for LED signals
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47920
9 years ago
John Crispin
c6d95f0752
cns3xxx: Fix comment
...
Original comment was wrong about which pads are being set.
Signed-off-by: Pushpal Sidhu <psidhu@gateworks.com>
SVN-Revision: 47919
9 years ago
Hauke Mehrtens
55a912f43e
kernel: update kernel 3.18 to version 3.18.23
...
Changelog:
* https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.22
* https://cdn.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.23
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 47334
9 years ago
Jonas Gorski
7d6cff4882
kernel: update 3.18 to 3.18.21
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.21
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46768
9 years ago
Jonas Gorski
901a7fa067
kernel: update 3.18 to 3.18.17
...
Changelog:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.17
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 46150
9 years ago
Jo-Philipp Wich
8f032fdda1
cns3xxx: use common image prefix
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45781
9 years ago
Jonas Gorski
76d079204d
kernel: update 3.18 to 3.18.14
...
Changelogs:
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13
* https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14
Build tested on brcm63xx and ipq806x, runtested on brcm63xx.
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 45711
9 years ago
John Crispin
518d9fd2a0
cns3xxx: drop 3.14 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44817
10 years ago
John Crispin
d15ac306fa
kernel: move KERNFS to generic config
...
KERNFS symbol is selected by SYSFS, so place it in generic config.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44615
10 years ago
John Crispin
f04a268a04
kernel: disable ARCH_NEEDS_CPU_IDLE_COUPLED
...
Disable ARCH_NEEDS_CPU_IDLE_COUPLED by-default in generic config, since
only one platfrom (omap) needs them.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44614
10 years ago
John Crispin
7886cced18
kernel: remove GENERIC_NET_UTILS from platform configs
...
CONFIG_GENERIC_NET_UTILS is selected by CONFIG_NET and already enabled
in generic config, so we don't need this symbol in platform specific
configurations.
Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>
SVN-Revision: 44611
10 years ago
John Crispin
e7d8a82a5c
cns3xxx: set v3.18 as default
...
tested on a nor and a spi laguna
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44393
10 years ago
Felix Fietkau
7cc5b6f9e9
all targets: remove all =m kernel config symbols
...
modules build during the kernel compile phase are ignored anyway,
all modules should be built using KernelPackage in
package/kernel/linux/modules/*
selecting the appropriate config symbols there rather than in
target/linux/*/config-*
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
SVN-Revision: 43842
10 years ago
Felix Fietkau
9a495f6bbb
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43564
10 years ago
Felix Fietkau
f473f95196
cns3xxx: fix PCIe->PCI bridge access ( fixes #18422 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43414
10 years ago
Felix Fietkau
ca2d0c15cc
cns3xxx: add experimental 3.18 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43406
10 years ago
Felix Fietkau
d57b64dfb0
cns3xxx: fix pcie root bridge topology
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43403
10 years ago
Felix Fietkau
d0e4f71b9a
cns3xxx: add missing dma mask for ethernet device
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43399
10 years ago
Felix Fietkau
ebf6331c10
cns3xxx: switch to using the upstream dwc2 driver instead of dwc_otg
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43398
10 years ago
Felix Fietkau
211669da3b
cns3xxx: update to linux 3.14
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43397
10 years ago
Felix Fietkau
0525ffa4c5
cns3xxx: remove bogus image added in r38703
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43396
10 years ago