Commit Graph

13812 Commits

Author SHA1 Message Date
Rafał Miłecki
a4523c8e1d bcm53xx: refresh patches
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44931
2015-03-22 01:56:47 +00:00
John Crispin
35c52bc261 oxnas: remove pre kernel 3.18 support from pinctrl driver
just some pruning...

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44923
2015-03-21 21:47:20 +00:00
John Crispin
3256194aff oxnas: add support for kernel 4.0
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44922
2015-03-21 21:47:03 +00:00
John Crispin
908a82ab61 kernel: add two more missing config symbols
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44921
2015-03-21 21:46:47 +00:00
Felix Fietkau
7d6eec16b6 brcm2708: remove a patch that was added in the stable update (fixes #19253)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44920
2015-03-21 21:24:08 +00:00
Felix Fietkau
37912d66c2 ramips: increase NAPI weight for mt7621 to improve routing performance a bit more
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44918
2015-03-21 12:08:07 +00:00
Rafał Miłecki
ba10454b91 kernel: backport bgmac patches
This allows dropping some hacky bcm53xx bgmac patch forcing link state.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44917
2015-03-21 11:45:50 +00:00
Rafał Miłecki
782e432797 bcm53xx: enable FIXED_PHY, we will need it for bgmac
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44916
2015-03-21 11:45:27 +00:00
Felix Fietkau
db3b862d1c kernel: fix ipsec related regression in the netfilter rtcache patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44913
2015-03-20 22:13:34 +00:00
Imre Kaloz
b95a9f01c1 mvebu: set default regdomain
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44908
2015-03-20 12:15:40 +00:00
Felix Fietkau
975e1357e6 ramips: fix LAN/WAN MAC address for WSR-600/1166
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44903
2015-03-20 09:37:07 +00:00
John Crispin
1773aa5163 octeon: add er8 sysupgrade support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44902
2015-03-20 08:49:08 +00:00
John Crispin
e9b6602a84 octeon: Add MMC support for EdgeRouter ER8
this is a backport of a series posted on the lmo mailing list

Signed-off-by: Jonathan Thibault <jonathan@navigue.com>

SVN-Revision: 44901
2015-03-20 08:49:02 +00:00
Felix Fietkau
dac483acb4 ramips: fix WSR-1166 green power LED
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44898
2015-03-19 21:51:44 +00:00
Michael Büsch
bb81ff2374 omap24xx: Add basic config for linux-4.0
Also remove 3.3 config. It's broken and unsupported.

SVN-Revision: 44895
2015-03-19 18:45:32 +00:00
Steven Barth
9b1840b861 ipv6: fix throw routes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 44894
2015-03-19 15:46:03 +00:00
Felix Fietkau
32a6800a41 kernel: remove linux 3.8 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44890
2015-03-19 11:58:59 +00:00
Felix Fietkau
3600b84cbd ep93xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44889
2015-03-19 11:58:54 +00:00
Felix Fietkau
941ac35f77 mpc52xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44888
2015-03-19 11:58:48 +00:00
Felix Fietkau
3581298348 mpc83xx: moved to targets feed
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44887
2015-03-19 11:58:43 +00:00
Felix Fietkau
75e828c117 ar71xx: fix a double dereference in the unaligned access patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44885
2015-03-19 11:58:30 +00:00
Felix Fietkau
2077b18e6b x86_64: remove unused patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44884
2015-03-19 11:58:22 +00:00
Imre Kaloz
e3d19988cf mvebu: add Linux 4.0 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44882
2015-03-19 10:25:44 +00:00
Imre Kaloz
05bf6e0f2e generic/4.0: fix ubi EOF marker patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44881
2015-03-19 10:13:21 +00:00
Imre Kaloz
0d8d48641d generic/4.0: add missing symbols
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 44880
2015-03-19 10:11:20 +00:00
Felix Fietkau
b011293d0b kernel: replace GRO optimization patch with a new one that supports VLANs/bridges with different MAC addresses
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44877
2015-03-18 18:22:41 +00:00
Felix Fietkau
17afb853ee kernel: bump to 3.14.35, 3.18.9, 3.19.1 and 4.0-rc4
also refresh generic patches for 3.14, 3.18, 3.19 and 4.0
targets might need a minor refresh as well, however, it looks
like everything still applies cleanly with occasional small
offsets.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 44876
2015-03-18 18:21:08 +00:00
Jonas Gorski
87568ebeac b53: reverse duplex bit meaning for IMP state override register
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44875
2015-03-18 10:44:15 +00:00
Felix Fietkau
f30358d41a kernel: remove the netfilter optimization that skips the filter table, it has caused too many issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44873
2015-03-17 17:14:48 +00:00
John Crispin
553528371b ralink: fix mt7621 i2c name
Signed-off-by: zouxf <fl.service@t-firefly.com>

SVN-Revision: 44868
2015-03-17 09:44:14 +00:00
John Crispin
29cf72ac07 lantiq/xrx200: cleanup default packages
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44867
2015-03-17 09:44:06 +00:00
John Crispin
55a71c1374 ar71xx: adjust OM5P profile for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44866
2015-03-17 09:43:56 +00:00
John Crispin
10c5a44017 ar71xx: enable sysupgrade for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44863
2015-03-17 09:43:37 +00:00
John Crispin
85cceb5dd0 ar71xx: add user-space support for the OpenMesh OM5P-AN
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44862
2015-03-17 09:43:31 +00:00
John Crispin
17a1e18ee2 ar71xx: add kernel support for the OpenMesh OM5P-AN board
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 44861
2015-03-17 09:43:19 +00:00
John Crispin
2a0fcc029f ar71xx: detect GL.iNet model
There are two versions of the GL.iNet, the 6408A and the 6416A. The only
difference is the flash size.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44860
2015-03-17 09:43:13 +00:00
John Crispin
986af9e64e lantiq: make xrx200 targets use the upstream dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44857
2015-03-17 09:42:56 +00:00
Felix Fietkau
caf94290ce kernel: add a few more missing config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44856
2015-03-17 07:24:51 +00:00
Rafał Miłecki
76811de003 brcm47xx: support SPROM/NVRAM prefixes
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44855
2015-03-17 07:07:17 +00:00
Rafał Miłecki
917fb76321 brcm47xx: rename (and refresh) MTD patch for safety "nvram" partition
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44854
2015-03-17 07:07:00 +00:00
Rafał Miłecki
8f63c1405f brcm47xx: switch to 3.18
Tested on BCM5357B0, BCM47186B0 and BCM4706.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44853
2015-03-16 23:05:43 +00:00
Rafał Miłecki
7c6f7b716b bcm53xx: switch to 3.18
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 44852
2015-03-16 22:24:56 +00:00
Felix Fietkau
768cf6821f x86: refresh kvm_guest kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44851
2015-03-16 21:17:45 +00:00
Felix Fietkau
06cb90f8a2 kernel: add missing config symbol
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44850
2015-03-16 21:17:41 +00:00
Felix Fietkau
6c42f140a0 x86: enable rtl8139 ethernet support for geode by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44849
2015-03-16 21:00:14 +00:00
Florian Fainelli
1488ed7c2c brcm63xx: switch maintainer
Make Jonas the maintainer of brcm63xx.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 44848
2015-03-16 19:51:17 +00:00
Felix Fietkau
2777b525c6 geode: set target to Geode GX1 to support older chips
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44847
2015-03-16 18:10:17 +00:00
Jonas Gorski
343ec8d645 brcm63xx: use consistent gpio chip labeling for OF/non-OF
Ensure gpio chips are always labeled the same; this allows simplifying
any arch setup gpio lookups.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44846
2015-03-16 13:37:38 +00:00
Jonas Gorski
81e51681e7 brcm63xx: switch to 3.18
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44841
2015-03-16 11:53:22 +00:00
Jonas Gorski
5d0e2d1b41 brcm63xx: call brcm63xx_detect explicitly
Now that we have converted all users of global variables to use
brcm63xx_board_name, we can savely convert the implicit call to detect
in brcm63xx.sh to a single, explicit call in preinit.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44840
2015-03-16 11:53:14 +00:00
Jonas Gorski
020e5733f9 brcm63xx: move preinit ifname detection to the preinit script
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44839
2015-03-16 11:53:06 +00:00
Jonas Gorski
90da308e3b brcm63xx: remove obsolete brcm63xx_has_reset_button
r37000 made button kmods loaded from generic code, so we don't use
it anymore for deciding to load them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44838
2015-03-16 11:52:57 +00:00
Jonas Gorski
f0badcb769 brcm63xx: set status leds from within diag.sh
Instead of setting them up on invocation of brcm63xx_detect, set them
when calling diag.sh based.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44837
2015-03-16 11:52:49 +00:00
Jonas Gorski
098377af25 brcm63xx: switch to board_name based configuration
Board IDs are not unique, so in preparation for depricating them, always
use board_name for any (default) configuration decisions.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44836
2015-03-16 11:52:42 +00:00
Jonas Gorski
52ffc6faa7 brcm63xx: add missing board_ids to legacy_detect
These boards do not have a corresponding dts file yet.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44835
2015-03-16 11:52:35 +00:00
Jonas Gorski
906c9ef952 brcm63xx: add device tree based board detection
Use the device tree model property for detecting the board instead
of board id from nvram if present.

Since we can now directly detect the DVA-G3810BN, we can remove the
extra check for it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44834
2015-03-16 11:52:26 +00:00
Jonas Gorski
844e92e188 brcm63xx: populate /tmp/sysinfo
Take full board name from devicetree, if present. Provide a method
for retrieving the board name.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44833
2015-03-16 11:52:20 +00:00
Jonas Gorski
9c53e344c0 brcm63xx: base-files: rename board_name to board_id
Rename board_name to board_id to prepare for using board_name as a
proper name for the board.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44832
2015-03-16 11:52:16 +00:00
Jonas Gorski
ca7f6d28c8 brcm63xx: Add DGND3700 v1 / DGND3800B support
This adds support for the Netgear DGND3700 v1 and DGND3800B.

DGND3700 v1 and DGND3800B are exactly the same router, only one difference,
the factory firmware. This patch produces two factory firmwares for each router.

The router includes an onboard NAND flash for extra storage. NAND is currently
not supported in bcm63xx, so no code added for this part. The NOR flash (32MB)
is enough for storing an openwrt firmware.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
[jogo: Add back commit message from v1]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44831
2015-03-16 11:52:10 +00:00
John Crispin
4fdb66373f netlogic: bump to 3.18
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44829
2015-03-16 10:58:43 +00:00
Felix Fietkau
298d67ec7b mvebu: drop linux 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44828
2015-03-16 08:29:42 +00:00
John Crispin
d6b3eba475 kernel: add missing MTD_SPLIT_FIT_FW symbol
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44827
2015-03-16 08:05:42 +00:00
John Crispin
c0a15a57bd sunxi: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44824
2015-03-16 07:41:24 +00:00
John Crispin
eb396d6569 adm5120: drop 3.8 and 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44823
2015-03-16 07:41:19 +00:00
John Crispin
46f01fec7f ar7: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44822
2015-03-16 07:41:10 +00:00
John Crispin
4d11bb0d23 ixp4xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44821
2015-03-16 07:41:05 +00:00
John Crispin
cc8b6c6d5b octeon: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44820
2015-03-16 07:40:59 +00:00
John Crispin
a992489e4b oxnas: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44819
2015-03-16 07:40:54 +00:00
John Crispin
fe33c185bd mpc85xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44818
2015-03-16 07:40:47 +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
43c66cb434 au1000: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44816
2015-03-16 07:40:19 +00:00
John Crispin
fb78ebb813 ar71xx: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44815
2015-03-16 07:40:09 +00:00
John Crispin
de04a1d843 realview: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44814
2015-03-16 07:40:02 +00:00
John Crispin
54f1c710db malta: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44813
2015-03-16 07:39:57 +00:00
John Crispin
257671615b lantiq: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44812
2015-03-16 07:39:52 +00:00
John Crispin
7648d80c90 ralink: drop 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 44811
2015-03-16 07:39:46 +00:00
Felix Fietkau
f2f8f6974b x86: refresh kernel patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44810
2015-03-16 07:12:31 +00:00
Felix Fietkau
9e0759ea26 x86: merge all geode based subtargets into one
Build all geode platform drivers into the kernel
Remove kmod-* packages for these drivers

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44809
2015-03-16 07:05:30 +00:00
Felix Fietkau
986b8baf9a x86: remove 3.14 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44805
2015-03-16 05:57:04 +00:00
Felix Fietkau
7f7e0a21b8 kernel: remove linux 3.13 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44804
2015-03-16 05:52:02 +00:00
Felix Fietkau
f26bb532cf omap: remove old kernel versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44803
2015-03-16 05:51:56 +00:00
Felix Fietkau
495404e9a4 omap: update to linux 3.18, it has been tested by at least one builder and 3.13 has not been built by buildbot in a long time
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44802
2015-03-16 05:51:52 +00:00
Felix Fietkau
c75c90edf6 kernel: port missing ubi EOF marker support patch to 3.19 and 4.0
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44801
2015-03-16 05:16:14 +00:00
Felix Fietkau
adb6d8f93f kernel: fix duplicate use of patch number 490
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44800
2015-03-16 05:16:07 +00:00
Felix Fietkau
d6fbb77bc8 kernel: add a few missing config symbols for 3.18+
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44799
2015-03-16 04:47:28 +00:00
Felix Fietkau
d5b99a2d74 kernel: add missing description for GRO optimization patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44798
2015-03-16 04:19:09 +00:00
Felix Fietkau
270bc6427b kernel: skip GRO for packets bridged to other hosts
Eliminates excessive skb copying when bridging from LAN to WLAN on
ramips.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44797
2015-03-15 20:32:09 +00:00
John Crispin
7ea781558f ar71xx: fix TP-LINK TL-WDR3600/4300 RFKILL switch positions
While the switch positions aren't explicitly labeled as on and off, we've heard
complaints about them being wrong. This patch changes the handling to match the
stock firmware.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 44795
2015-03-15 19:39:47 +00:00
John Crispin
7f3013a480 ipq806x: fix AP148 boot from NOR
This patch allows AP148 to boot from NOR flash.

As we're using a FIT image as kernel (which includes kernel bin + DTB)
we enable the MTD_SPLIT_FIT_FW kernel option, which will detect the FIT
image and automatically split the "firmware" partition into 2 MTD parts
(kernel + rootfs).

The rootfs will then be parsed and split between rootfs + rootfs_data,
as usual.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44794
2015-03-15 19:39:41 +00:00
John Crispin
582232cd7b ipq806x: add ap148 bootargs to DT
Only one bootargs is really needed: the tty port. All the other
information will use the OpenWrt mechanisms.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44793
2015-03-15 19:39:33 +00:00
John Crispin
9a863f803e kernel: mtdsplit: add support for FIT image
If this option is enabled, the FIT image format will be detected and
split by the mtdsplit code. Detection is based upon the FDT magic, which
will trigger the parsing and detection of the rootfs, ending-up in the
creation of the 2 new partitions.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 44792
2015-03-15 19:39:27 +00:00
John Crispin
5ca2ad1063 Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.

The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.

Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>

SVN-Revision: 44791
2015-03-15 19:25:48 +00:00
Jonas Gorski
085b8e0014 b53: global config is part of the management page, not the control page
It will now actually enable the mib counters instead of enabling rx/tx for
the first switch port.

Reported-by: Daniel Gonzalez <dgcbueu@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44788
2015-03-15 14:19:28 +00:00
Jonas Gorski
eed031d460 brcm63xx: brcm63xxpart: fix buffer overrun in of parser
We never account for the added partitions from the tag parser, so
allocated two partioness less than needed. This can cause issues when
the memory gets reused before the mtd code can actually add the
partitions.

Fixes oopses like:
[    0.920000] mtd: device 2 (rootfs) set to be root filesystem
[    0.924000] 1 squashfs-split partitions found on MTD device rootfs
[    0.932000] 0x0000002e0000-0x0000003f0000 : "rootfs_data"
[    0.940000] 0x000000010000-0x0000003f0000 : "linux"
[    0.948000] CPU 0 Unable to handle kernel paging request at virtual address 00010203, epc == 8028ddf8, ra == 801ad5d4
[    0.956000] Oops[#1]:
[    0.956000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 3.18.8 #22
[    0.956000] task: 8181da78 ti: 8181e000 task.ti: 8181e000
[    0.956000] $ 0   : 00000000 10008f00 00010203 81049e40
[    0.956000] $ 4   : 00010203 000000d0 00000000 000000fd
[    0.956000] $ 8   : 00000000 80015490 00000000 80370000
[    0.956000] $12   : 00000000 00000001 00000000 2f736269
[    0.956000] $16   : 00010203 000000d0 8007bde0 81482000
[    0.956000] $20   : 00000000 00000004 81481f80 803c4b78
[    0.956000] $24   : 00000000 00000000
[    0.956000] $28   : 8181e000 8181fbe8 80b20000 801ad5d4
[    0.956000] Hi    : 00000000
[    0.956000] Lo    : 00000000
[    0.956000] epc   : 8028ddf8 strlen+0x4/0x20
[    0.956000]     Not tainted
[    0.956000] ra    : 801ad5d4 kstrdup+0x30/0x84
[    0.956000] Status: 10008f03 KERNEL EXL IE
[    0.956000] Cause : 00800008
[    0.956000] BadVA : 00010203
[    0.956000] PrId  : 0002a010 (Broadcom BMIPS4350)
[    0.956000] Modules linked in:
[    0.956000] Process swapper/0 (pid: 1, threadinfo=8181e000, task=8181da78, tls=00000000)
[    0.956000] Stack : 8148aa00 803c4bcc 00000000 801cd9d0 00000000 8148a400 818a1400 003f0000
          81482000 8007bde0 8148aa00 800ac78c 8148aa00 00000004 8037ae30 8181fc4c
          8148aa00 803bc074 803c0000 80074b84 00000000 00010000 00000004 ffffffff
          8037ae30 00000004 8148aa00 00000004 803c4b80 818a1400 803c0000 00000005
          81481f80 80074ce0 8181fc84 00000005 81879800 8008ece4 00000000 003f0000
          ...
[    0.956000] Call Trace:
[    0.956000] [<8028ddf8>] strlen+0x4/0x20
[    0.956000] [<801ad5d4>] kstrdup+0x30/0x84
[    0.956000] [<8007bde0>] allocate_partition+0x58/0x93c
[    0.956000] [<80074ce0>] add_mtd_partitions+0x90/0x144
[    0.956000] [<801cc228>] mtd_device_parse_register+0x78/0xcc
[    0.956000] [<801e7870>] of_flash_probe+0x658/0x728
[    0.956000] [<80216ee0>] platform_drv_probe+0x24/0x60
[    0.956000] [<801221f4>] driver_probe_device+0xcc/0x214
[    0.956000] [<800466f8>] __driver_attach+0x7c/0xb4
[    0.956000] [<800c38bc>] bus_for_each_dev+0x94/0xa4
[    0.956000] [<800c35e4>] bus_add_driver+0x104/0x1ec
[    0.956000] [<80122400>] driver_register+0xac/0x100
[    0.956000] [<80113a5c>] do_one_initcall+0x148/0x204
[    0.956000] [<803cbd1c>] kernel_init_freeable+0x168/0x220
[    0.956000] [<800157bc>] kernel_init+0x10/0x114
[    0.956000] [<800108a8>] ret_from_kernel_thread+0x14/0x1c
[    0.956000]
[    0.956000]
Code: 03e00008  27bd0028  00801021 <80430000> 10600003  00000000  080a377e  24420001  03e00008
[    1.192000] ---[ end trace 9d89ccbcae27fe40 ]---
[    1.200000] Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b
[    1.200000]
[    1.200000] ---[ end Kernel panic - not syncing: Attempted to kill init! exitcode=0x0000000b

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44787
2015-03-15 14:19:22 +00:00
Jonas Gorski
9d893d39bd brcm63xx: kmod-bcm63xx-udc: fix module path for 3.18+
Fix the module path for linux 3.18+.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44785
2015-03-15 14:19:10 +00:00
Jonas Gorski
12301a79b7 brcm63xx: fix 6368 cpu1 reg typo
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 44784
2015-03-15 14:19:07 +00:00
Felix Fietkau
d8d9282372 lantiq: add a better fix to strip FCS from ethernet packets on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44771
2015-03-15 09:47:34 +00:00
Felix Fietkau
55cdb4dbb3 lantiq: enable atm-esi by default for xrx200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44769
2015-03-15 07:57:51 +00:00
Felix Fietkau
17fdf5fb85 brcm2708: fix mkdosfs command line options order
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 44764
2015-03-15 05:18:50 +00:00
Felix Fietkau
65a0244ff8 x86: refresh kernel config
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 44759
2015-03-15 04:43:37 +00:00