Felix Fietkau
7d985f0925
kernel: split up 980-arm_openwrt_machtypes.patch and move to target folders
...
This is only required for non-DT platforms
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2017-01-27 11:18:27 +01:00
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>
2016-12-13 08:28:28 +01:00
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>
2016-11-05 10:18:27 +01:00
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>
2016-09-19 14:27:26 +02:00
Felix Fietkau
58fbe07560
cns3xxx: move laguna.c changes out of patches, update it in files/
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-19 14:27:26 +02:00
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>
2016-09-15 13:11:21 +02:00
Á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>
2016-09-15 08:10:55 +02:00
Tim Harvey
1974ad5a96
cns3xxx: add GW2386 support
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2016-09-08 13:40:02 +02:00
Tim Harvey
1419087a35
cns3xxx: add GW2394 Support
...
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
2016-09-08 13:40:02 +02:00
Felix Fietkau
aa53f78038
build: fix subtarget descriptions
...
Move Target/Description above the target.mk include
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-09-04 13:35:11 +02:00
Felix Fietkau
cd243b1090
cns3xxx: remove obsolete jffs2 image build code
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-07-20 10:13:50 +02:00
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>
2016-06-17 04:13:07 +02:00
Felix Fietkau
7eeb254cc4
treewide: replace nbd@openwrt.org with nbd@nbd.name
...
Signed-off-by: Felix Fietkau <nbd@nbd.name>
2016-06-07 08:58:42 +02:00
Á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>
2016-05-11 21:34:27 +02:00
Á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>
2016-05-10 10:43:17 +02:00
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
2016-04-26 11:44:00 +00:00
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
2016-04-26 11:43:57 +00:00
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
2016-03-17 21:41:07 +00:00
Felix Fietkau
5ab4db376a
cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48581
2016-01-31 12:35:33 +00:00
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
2016-01-31 12:35:20 +00:00
Felix Fietkau
3d4444f257
cns3xxx: fix ethernet DMA ring allocation issues
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48579
2016-01-31 12:35:07 +00:00
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
2016-01-19 16:52:17 +00:00
Felix Fietkau
10220cd7e9
cns3xxx: re-enable CONFIG_CPU_SW_DOMAIN_PAN
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48336
2016-01-18 23:20:38 +00:00
Felix Fietkau
87e4f9f009
cns3xxx: update to linux 4.4
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48334
2016-01-18 22:38:23 +00:00
Felix Fietkau
91278df70e
cns3xxx: fix a ethernet driver napi poll handling bug
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48333
2016-01-18 22:38:14 +00:00
Felix Fietkau
136747c564
cns3xxx: clean up SMP related code
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48332
2016-01-18 22:38:09 +00:00
Felix Fietkau
8ecfa0e773
cns3xxx: fix adding twd local timers
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48331
2016-01-18 22:38:03 +00:00
Felix Fietkau
f366dc25d3
cns3xxx: remove obsolete file
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48330
2016-01-18 22:37:57 +00:00
Felix Fietkau
2ac8b1c1fe
cns3xxx: remove unused define and use of a deprecated function
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48329
2016-01-18 22:37:51 +00:00
Hauke Mehrtens
de18003b6e
kernel/3.18: update to version 3.18.25
...
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48225
2016-01-12 20:53:04 +00:00
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
2015-12-17 09:28:42 +00:00
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
2015-12-17 09:28:35 +00:00
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
2015-11-01 13:45:57 +00:00
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
2015-09-02 10:18:15 +00:00
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
2015-06-30 23:26:09 +00:00
Jo-Philipp Wich
8f032fdda1
cns3xxx: use common image prefix
...
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 45781
2015-05-27 15:18:29 +00:00
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
2015-05-21 19:32:46 +00:00
John Crispin
518d9fd2a0
cns3xxx: drop 3.14 support
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 44817
2015-03-16 07:40:41 +00:00
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
2015-03-06 07:56:47 +00:00
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
2015-03-06 07:56:34 +00:00
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
2015-03-06 07:55:57 +00:00
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
2015-02-11 10:21:02 +00:00
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
2015-01-05 13:02:44 +00:00
Felix Fietkau
9a495f6bbb
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43564
2014-12-08 12:04:25 +00:00
Felix Fietkau
f473f95196
cns3xxx: fix PCIe->PCI bridge access ( fixes #18422 )
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43414
2014-11-27 20:54:18 +00:00
Felix Fietkau
ca2d0c15cc
cns3xxx: add experimental 3.18 support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43406
2014-11-27 16:24:32 +00:00
Felix Fietkau
d57b64dfb0
cns3xxx: fix pcie root bridge topology
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43403
2014-11-27 15:02:05 +00:00
Felix Fietkau
d0e4f71b9a
cns3xxx: add missing dma mask for ethernet device
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43399
2014-11-26 18:48:05 +00:00
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
2014-11-26 18:01:38 +00:00
Felix Fietkau
211669da3b
cns3xxx: update to linux 3.14
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43397
2014-11-26 18:01:29 +00:00