Commit Graph

10973 Commits (9a188388ce737a2a9bf2bd31a1c675a2c54e0b97)

Author SHA1 Message Date
John Crispin 0f59629a24 [generic] make firmware loading work on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:28 +00:00
Felix Fietkau 5bb74fd269 mpc85xx: enable ath9k and wpad-mini by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-01 09:53:29 +00:00
Hauke Mehrtens 349255c8d1 brcm47xx: generate images for Linksys E.... models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:51:28 +00:00
Hauke Mehrtens 816d91335b gemini: remove usage of ehci_port_power() it was removed in kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:48:07 +00:00
Hauke Mehrtens 400d0de831 brcm47xx: activate image generation for some Netgear devices which are on the market and should be supported.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:35:52 +00:00
Hauke Mehrtens 03e9d50168 brcm47xx: generate images for more WRT...N models
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-27 15:34:55 +00:00
Imre Kaloz d1d59cf7e0 [gemini]: upgrade to 3.9-rc4, disable unsupported boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 14:18:32 +00:00
Imre Kaloz 88c5f2bfbd [generic/3.9]: refresh patches against -rc4
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 13:53:48 +00:00
Imre Kaloz a95842d490 [generic/3.9]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 13:53:17 +00:00
Gabor Juhos 9dcc5a385b ar71xx: fix ethernet LEDs on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 06:40:03 +00:00
Gabor Juhos a7b9cbd468 ar71xx: add GPIO output select values for AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-25 06:40:00 +00:00
Gabor Juhos ec437235a4 ar71xx: add default LED configuration for the WL-WRD3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 21:07:21 +00:00
Gabor Juhos 63d557f83b ar71xx: fix USB power GPIO on the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 19:23:47 +00:00
Gabor Juhos 8a0c278427 ar71xx: remove numeric suffix of the TL-WDR3500 USB LED
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36118 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 19:23:45 +00:00
Gabor Juhos 30eb450d54 ar71xx: add diag support for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 19:23:43 +00:00
Gabor Juhos b039fcf6a6 ar71xx: add default switch configuration for the TL-WDR3500
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36116 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 19:23:36 +00:00
Hauke Mehrtens 9a587eb82e kernel: add missing config options for au1000 target
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-24 14:01:38 +00:00
Hauke Mehrtens c697edaab2 kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:56:04 +00:00
Hauke Mehrtens da8dfca256 kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
This was turned from a silent confg option without a text to a normal 
config option which could be selected without any other option 
depending on this. This could cause the situation where REGMAP_SPI was 
selected without SPI_MASTER being selected.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-21 14:50:59 +00:00
Hauke Mehrtens 0314910b37 brcm47xx: generate images for some more devices
These devices should be supported by trunk now.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36099 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 22:01:18 +00:00
Hauke Mehrtens 0efdcebf5d kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36098 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:59:24 +00:00
Hauke Mehrtens af64f497a3 kernel: add some missing config options for kernel 3.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-20 21:53:51 +00:00
Florian Fainelli 2b78201a90 kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-19 14:13:39 +00:00
Florian Fainelli 4f925948b1 uml: remove 3.6 kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36080 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:47:04 +00:00
Florian Fainelli ad8be074e3 uml: remove 3.3. kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36079 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:59 +00:00
Florian Fainelli bad07a0699 uml: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:54 +00:00
Florian Fainelli 6cc4256076 uml: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36077 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:49 +00:00
Florian Fainelli 2c39c0cdbd uml: remove 3.2 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:43 +00:00
Florian Fainelli 27513dcee7 ep93xx: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36075 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:37 +00:00
Florian Fainelli e4dd05ab0b kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:32 +00:00
Florian Fainelli 92d396ae44 ep93xx: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:46:25 +00:00
Florian Fainelli 567013758d ep93xx: account for sound soc directory rename in 3.7
sound/soc/ep93xx -> sound/soc/cirrus

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36071 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:45:55 +00:00
Florian Fainelli d7bb11285d kernel: set regmap-core module license
Fixes the following issues:
[    7.660000] regmap_core: module license 'unspecified' taints kernel
[    7.690000] Disabling lock debugging due to kernel
[    7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[    7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[    7.720000] regmap_core: Unknown symbol devres_add (err 0
[    7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[    7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[    7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[    7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[    7.780000] regmap_core: Unknown symbol devres_free (err 0
[    7.800000] regmap_core: Unknown symbol devres_find (err 0
[    7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36070 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 19:45:48 +00:00
Florian Fainelli 365eb27ba4 au1000: remove support for 3.3. kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36067 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:47 +00:00
Florian Fainelli 45acb1fd6f au1000: switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36066 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:41 +00:00
Florian Fainelli ac2749d0f0 au1000: keep the MTX-1 watchdog pin low during boot
Do this until the watchdog driver is loaded and the user-space watchdog
daemon can start pinging the watchdog.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:36 +00:00
Florian Fainelli 34fe10e114 ep93xx: remove 3.3 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:23 +00:00
Florian Fainelli 0d1596f2c8 mcs814x: use devm_request_and_ioremap in mcs814x-rng driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:18 +00:00
Florian Fainelli 513d4fc9c9 mcs814x: use devm_request_and_ioremap helper for nuport_mac driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:13 +00:00
Florian Fainelli 66fd7561b3 mcs814x: remove PCI code
None of the boards we support are using it nor have it wired out of the
SoC, just remove it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-17 14:33:07 +00:00
Florian Fainelli 61de74b7f5 mcs814x: implement MULTI_IRQ_HANDLER
Allows us to get rid of the IRQ entry point assembly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-16 22:25:47 +00:00
Florian Fainelli 4ac0d0408c mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-16 22:25:41 +00:00
Gabor Juhos f6f637f2ed mpc85xx: add profile and build image for the TL-WDR4900 v1 board
Now that the ethernet switch is working, create firmware
images to make impatient users happy.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36051 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 16:11:45 +00:00
Gabor Juhos 562eca38dc generic: ar8216: start AR8327 switch from the probe routine
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36050 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 16:06:28 +00:00
Gabor Juhos 07e8f60ec8 generic: ar8216: add ar8xxx_start helper
Move switch starting code into a separate function.
This makes it usable from other places.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36049 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 16:06:25 +00:00
Gabor Juhos adb4109f8b mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetree
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36048 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:53:06 +00:00
Gabor Juhos bfcb790085 generic: ar8216: add OF configuration support for AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:08 +00:00
Gabor Juhos 74ed419c1c generic: ar8216: separate platform_data based AR8327 code
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:05 +00:00
Gabor Juhos 11d65c1f35 generic: ar8216: don't use platform_data in ar8327_init_port
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36045 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:02 +00:00
Gabor Juhos 74e5f4fdb1 generic: ar8216: move the ar8327_get_port_init_status function
It will be used in ar8327_probe routine.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:50:00 +00:00
Gabor Juhos 106519bdbb generic: ar8216: simplify and rename ar8327_config_port
Return with the PORT_STATUS register value instead of
writing that directly into the corresponding register.
Also rename the function to ar8327_get_port_init_status.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36043 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:49:57 +00:00
Gabor Juhos 0d8238f7b3 generic: ar8216: remove superfluous pdata checks
The presence of the platform data is already verified in
ar8327_hw_init, and the driver does not start without that
anyway.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 15:49:55 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
Gabor Juhos 257aff3780 ar71xx: build images for the TL-MR11U v2
[juhosg: use different profile name for v1 and v2, and add
multi profile to build for both versions]

Signed-off-by: Guilhem Lettron <guilhem@lettron.fr>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36038 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:35:52 +00:00
Gabor Juhos 9f44658f89 ar71xx: rw2458n - Use eeprom (art) from wifi card
Use eeprom (art) from included wifi card, not hard coded in flash.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36037 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:35:50 +00:00
Gabor Juhos 7f077a5381 ar71xx: Error fix in Kernel for MR3420v2 Ethernet Switch configuration
Error in using another MDIO (AP123 platform using only one GE1 device
for eth0 and eth1) for the router mr3420v2.
?onfirmed: https://forum.openwrt.org/viewtopic.php?pid=194779#p194779

Routers in this sense are the same and the only difference is: USB
port, USB led, instead of the GPIO-switch we have GPIO-button.

Signed-off-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:35:48 +00:00
John Crispin 762628c216 [lantiq] ACMP252: fix USB-enable GPIO and use default PCI configuration for now
EEPROM is an actial serial EEPROM on the WiFi module, therefore we can remove
ralink_eep from the dts.
USB power-enable GPIO turned out to be GPIO #3 (found via probing/brute-force).
PCI works with default settings as long as the vendor bootloader is used.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36030 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:54 +00:00
John Crispin 6bead98ab0 [lantiq] fix buttons on vr9 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36029 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:49 +00:00
John Crispin 8df178a888 [lantiq] select vdsl packages on vr9 boards
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36028 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:44 +00:00
John Crispin 3750d2ab0a [lantiq] fix fritzbox 3370 partitions/memory/cmdline
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36027 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:39 +00:00
John Crispin 1a11814aec [lantiq] build jffs images for nand based fritzbox
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36026 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:43:34 +00:00
John Crispin d5d3a4d87b [lantiq] bump to v3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36014 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:29 +00:00
John Crispin b9be683c5c [lantiq] move GPHY FW blobs to non versioned folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 18:42:21 +00:00
Florian Fainelli ddc8718f7f kernel: add support for 3.9-rc2
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36008 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-14 14:45:56 +00:00
John Crispin bbb2cf0b18 [base-files/generic] update the /init file to start /sbin/init
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36002 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:13 +00:00
John Crispin dcb02ff080 [ar71xx] make sure the console works when using procd as our pid 1
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36000 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-13 18:11:00 +00:00
Gabor Juhos e3f013577e gemini: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35995 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 18:22:34 +00:00
Gabor Juhos 3529884ed4 gemini: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35994 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 18:22:33 +00:00
Gabor Juhos 28491651e5 gemini: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 18:22:22 +00:00
John Crispin 92c75fe5c3 [lantiq] fixes NO_XIP on CFI0001 flash
This patch disables the execute-in-place (XIP) support for flash on
lantiq. This has to be disabled since the bus which flash is connected
to does not support unaligned accesses. Resolves data bus errors on
Lantiq routers with Intel command set flash.

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35992 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:53:08 +00:00
John Crispin 0d45d11435 [lantiq] add support for AudioCodes AC-252
user-space support for extracting the EEPROM for the RaLink WiFi is still
missing. Besides this, it's all working.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35990 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:54 +00:00
John Crispin c1d133c6d7 [lantiq] unbreak dgn3500 spi-gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:47 +00:00
John Crispin 107efb4370 [ramips] make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:40 +00:00
John Crispin 2199cedcc0 [ar71xx] make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:33 +00:00
Gabor Juhos d441150960 avr32: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:33 +00:00
Gabor Juhos f725494cb9 avr32: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:32 +00:00
Gabor Juhos 59fb8414e3 avr32: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:31 +00:00
Gabor Juhos 34b8fc733e avr32: add sysupgrade support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:27 +00:00
Gabor Juhos 3d115adb28 avr32: add firmware partition
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35981 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:23 +00:00
Gabor Juhos 5d2ba77663 avr32: add diag support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35980 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:21 +00:00
Gabor Juhos 80536ac2a5 avr32: create network config dynamically
The default network configuration from base-files
is not correct for the NGW100 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35979 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:19 +00:00
Gabor Juhos 4f7184970b avr32: built the firmware images from the lzma compressed uImage
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35978 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:28:16 +00:00
Gabor Juhos 389717fe06 mpc52xx: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35977 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 07:18:37 +00:00
Gabor Juhos 07038309f4 mpc52xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35976 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 07:18:36 +00:00
Gabor Juhos b8b2409436 mpc52xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35975 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 07:18:34 +00:00
Gabor Juhos 90c84fd003 ramips: add profile and build image for the Upvel UR-326N4G board
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:45 +00:00
Gabor Juhos c40428c0f6 ramips: add user-space support for the Upvel UR-326N4G board
[juhosg: fix mac address setup]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:43 +00:00
Gabor Juhos 1a059fb489 ramips: add kernel support for the Upvel UR-326N4G board
[juhosg: add missing symbols to config-3.{7,8}]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:40 +00:00
Gabor Juhos f31d10db47 ar71xx: om2p-hs: use correct bit mask to disable JTAG functionality
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 19:52:54 +00:00
Gabor Juhos 86e00f170d ar71xx: add AR934X_GPIO_FUNC_* defines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35965 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 19:52:51 +00:00
Gabor Juhos 12ddae188d ar71xx: makefile changes to build image for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3440/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:25 +00:00
Gabor Juhos 5069d8687d ar71xx: add user-space support for MR3420v2
Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3442/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:22 +00:00
Gabor Juhos 8824b6de38 ar71xx: add kernel support for MR3420v2
[juhosg: use gpio_request_one to enable the USB power]

Patch-by: Dmytro <dioptimizer@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@opewrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:20 +00:00
Gabor Juhos 5cd81e4099 ar71xx: enabling control GPIO14 and GPIO15 on MR3040/MR11U
LAN1 and LAN2 LEDs not present (it pulled to ground via
resistors) on MR3040 and MR11U devices. This little patch
enabling ability to control GPIO14 and GPIO15.

Patch-by: Dmytro <dioptimizer@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3439/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:19 +00:00
Gabor Juhos f052834441 ar71xx: add profile support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3427/mbox/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:17 +00:00
Gabor Juhos dadf739365 ar71xx: add user space support for dir-835-a1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:15 +00:00
Gabor Juhos edff64b8b3 ar71xx: add kernel support for dir-835-a1
[juhosg:
  - remove custom mdio bus info and platform data for ar8327, clear the
    .led_cfg field from dir835a1_setup instead,
  - remove arguments of dir835c1_generic_setup function, register the
    LEDs directly from the board specific setup instead]

Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Patchwork: http://patchwork.openwrt.org/patch/3426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 15:55:13 +00:00
Felix Fietkau df755284d9 cns3xxx: ethernet - clean the tx ring before refilling the rx ring to reduce memory pressure
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 02:29:53 +00:00
Felix Fietkau 4b1c2fb15f cns3xxx: ethernet - clean the tx ring only in the poll function, not in the xmit handler
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 02:29:47 +00:00
Felix Fietkau dfe1972d62 cns3xxx: increase number of ethernet driver rx buffers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:32 +00:00
Felix Fietkau 1bb86e38d7 cns3xxx: prevent the ethernet driver from accessing uninitialized dma descriptor entries
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:28 +00:00
Felix Fietkau b019b3bb2f cns3xxx: minor ethernet driver cleanup
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 21:59:21 +00:00
Hauke Mehrtens 66227ce952 brcm47xx: refresh config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:42:26 +00:00
Hauke Mehrtens 5b4c3e8098 xburst: fix compilation: remove the __dev attributes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:26:28 +00:00
Hauke Mehrtens f32b22c8c9 kernel: add some missing config options found by the buildbot.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 20:25:19 +00:00
Felix Fietkau f7b3da4d14 cns3xxx: use kmalloc instead of kzalloc for ethernet rx buffers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:20 +00:00
Felix Fietkau 5dab5bf10c cns3xxx: fix an rx irq handling corner case
When an rx interrupt comes in, rx interrupts are disabled and NAPI
polling is scheduled. During the NAPI poll, the driver first processes
received frames in the ring, then fills the dma descriptor slots with
new buffers and calls tx complete, before finally re-enabling rx
interrupts and completing NAPI (if below the budget).
If the hardware rx queue overflows before the napi complete is called,
the hardware will not throw any further rx interrupts and rx processing
stops completely.
Fix this by keeping NAPI polling scheduled until it completes a poll
without receiving any packets, and also handle NAPI completion before
refilling rx or completing tx.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:16 +00:00
Felix Fietkau 275672c3c9 cns3xxx: fix ethernet driver memory barrier usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:25:11 +00:00
Gabor Juhos 88643da3bf realview: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:06:31 +00:00
Gabor Juhos f4d5a1cba5 realview: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 18:06:29 +00:00
Felix Fietkau 3af0a3f4c6 kernel: prevent -f*-sections from leaking into the boot zImage wrapper on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:36 +00:00
Felix Fietkau 9695b598fb kernel: ensure that the arm exception handlers get preserved
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 17:04:31 +00:00
Felix Fietkau 5191a29832 kernel: use -ffunction-sections, -fdata-sections and --gc-sections on ARM to reduce kernel image size, disable those flags when tracing on MIPS to fix compile errors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 14:51:42 +00:00
Gabor Juhos b3bb99dc95 xburst: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:54 +00:00
Gabor Juhos 3227cd693e xburst: switch to 3.8
Compile tested only, so add broken flag.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:52 +00:00
Gabor Juhos 3a8f81608f xburst: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:50 +00:00
Gabor Juhos 8a147f2970 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:47 +00:00
Gabor Juhos 8fcf953db3 adm5120: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:46 +00:00
Gabor Juhos c824d4394f adm5120: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:45 +00:00
Gabor Juhos 5c0c067b0c malta: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:44 +00:00
Gabor Juhos 4323118453 malta: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:43 +00:00
Gabor Juhos ec4775a92f atheros: remove 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:42 +00:00
Gabor Juhos 89cc1ba307 atheros: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:40 +00:00
Gabor Juhos fd2a497ea5 mpc83xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:39 +00:00
Gabor Juhos a39176728f mpc83xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:24:38 +00:00
Gabor Juhos 7ce9d7e1e9 rb532: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:40 +00:00
Gabor Juhos 68a2f6bc53 rb532: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:33 +00:00
Gabor Juhos 9d76137bf3 rb532: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 13:21:29 +00:00
Gabor Juhos 4f146674b1 ar71xx: correct board name to make LEDs work on RB750
Patch by: Denver A <denvera@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3419/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 07:20:57 +00:00
Gabor Juhos 697bc122f2 ppc40x: remove __dev_{in,ex}it annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 07:20:54 +00:00
Felix Fietkau 9ec6f799c1 cns3xxx: reduce buffer allocation size to 2048 bytes, improves ethernet performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:27:04 +00:00
Felix Fietkau f4caeaa7c6 cns3xxx: remove linux 3.3 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:55 +00:00
Felix Fietkau 74f0116420 cns3xxx: disable CONFIG_PROC_STRIPPED and add an init script to set the ethernet cpu affinity (improves lan<->wlan bridging performance)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-10 01:01:51 +00:00
Hauke Mehrtens bbcb144cde brcm47xx: add some more partition parser fixes by Rafał Miłecki
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:48:03 +00:00
Hauke Mehrtens a5d279ddec brcm47xx: netconfig: add bacis support for swconfig
Parse the cpu port from swconfig and explicitly mark the cpu port as tagged.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:24:43 +00:00
Felix Fietkau 76c2afef66 kernel: add a missing config symbol for 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 19:04:37 +00:00
Felix Fietkau 947ebaae8c cns3xxx: add linux 3.8 support and use it by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:46 +00:00
Felix Fietkau eda3f47aeb kernel: fix mpcore watchdog symbol export
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-09 18:51:39 +00:00
Gabor Juhos 24779214b3 cns21xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 16:08:41 +00:00
Gabor Juhos f131205460 cns21xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 16:08:39 +00:00
Gabor Juhos 073e25bfa6 ppc44x: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:37 +00:00
Gabor Juhos f2d7f949f8 ppc44x: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:35 +00:00
Gabor Juhos 31c6a7eaf5 ppc40x: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:33 +00:00
Gabor Juhos 0d8c5ddc53 ppc40x: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 15:16:32 +00:00
Florian Fainelli 02f4fc8b49 brcm63xx: fix LED names for various boards
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 13:42:35 +00:00
Gabor Juhos 7de535d0a3 ar71xx: add backported watchdog patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 12:08:28 +00:00
Gabor Juhos 0d7167f0db ar71xx: use backported QCA955x patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:15 +00:00
Gabor Juhos 8b0b9fe414 ar71xx: use backported PCI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:08 +00:00
Gabor Juhos 6ec2ddce1b ar71xx: use backported MISC IRQ patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:06 +00:00
Gabor Juhos 47d054b3d5 ar71xx: use backported GPIO patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:48:04 +00:00
Luka Perkov 29f41f3be0 ar71xx: enable building ramdisk images for WZRHPG30XNH board types
Signed-off-by: Luka Perkov <luka@openwrt.org>
Acked-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 11:37:28 +00:00
Gabor Juhos 2a6ca56157 ar71xx: use backported SPI patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:40:44 +00:00
Gabor Juhos a59e544adb mpc85xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:37:25 +00:00
Gabor Juhos 3bdef13fdb mpc85xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:37:24 +00:00
Gabor Juhos 02effaf2d6 ar71xx: remove 3.7 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 09:03:50 +00:00
Gabor Juhos 2c47907975 ar71xx: switch to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 08:47:38 +00:00
Gabor Juhos c5ba6a9391 kernel: update linux 3.8 to 3.8.2
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-04 08:43:55 +00:00
Luka Perkov f6a61008f2 ar71xx: rework changes from r35840
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 21:59:34 +00:00
Gabor Juhos f90fa7f4b4 kernel: update linux 3.8 to 3.8.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:52 +00:00
Gabor Juhos 2d55cfeda8 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:58:10 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos 3c9d4a38c1 ar71xx: update MAC address assignment for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35855 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:37 +00:00
Gabor Juhos 8be514f386 ar71xx: fixes leds for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35854 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:33 +00:00
Gabor Juhos ba05322e57 ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.

The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.

[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:31 +00:00
Gabor Juhos 1720de2872 ramips: add user-space detection for ALL5002/ALL5003
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:28 +00:00
Gabor Juhos 6d4126a70e ramips: indicate support for ALL5003
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:25 +00:00
Gabor Juhos 80e2673444 ramips: enhance user-space board detection
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:02 +00:00
Gabor Juhos 2d8df9648d ramips: fix whitespace in /lib/ramips.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:46:08 +00:00
Felix Fietkau 3ca52e3ca4 Revert "[cns3xxx]: clean up PCI bus topology" (r35079)
It breaks PCIe IRQ mapping and possibly other things

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-02 00:32:54 +00:00
Luka Perkov 3fc6a70a19 ar71xx: add support for Buffalo WZR 600DHP
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35840 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-01 13:46:01 +00:00
Hauke Mehrtens f425635b16 brcm47xx: bgmac: omit the fcs
This fixes #13058 and hopefully #12927


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35834 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:27:21 +00:00
Hauke Mehrtens 131abb7401 brcm47xx: bgmac: update to version form netdev git repository
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35833 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-28 13:24:39 +00:00
Gabor Juhos 2a72ee4515 ramips: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:42 +00:00
Gabor Juhos 892a009121 ramips: image: don't break make process if mkimage command fails
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:40 +00:00
Gabor Juhos c27eec2666 ramips: remove port_power_off field from ehci_platform_data
It is removed in 3.8. Also add a revert patch for 3.7.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:38 +00:00
Gabor Juhos 22f01b88d1 ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:34 +00:00
Hauke Mehrtens 498da9e2eb brcm47xx: use bcm47xx_board_get() and detect some more boards in flash partition driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35791 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:56:37 +00:00
Hauke Mehrtens 77b078cb09 brcm47xx: board detection WNDR3400v2
WNDR3400v2 is based on BCM53xx . Image that is created breaks the router somehow therefore "#".

CFE and NVRAM contain different vars - example:
CFE line original: Device eth0:  hwaddr 74-44-01-37-C6-69, ipaddr 192.168.1.1, mask 255.255.255.0
CFE after openwrt: Device eth0:  hwaddr 00-FF-FF-FF-FF-FF, ipaddr 192.168.1.1, mask 255.255.255.0

Logs were posted earlier on this mailing list: https://lists.openwrt.org/pipermail/openwrt-devel/2012-July/016174.html
Different logs with factory firmware are in the wiki: http://wiki.openwrt.org/toh/netgear/wndr3400#wndr3400v2
(and on wikidevi for example)

Signed off by: Dirk Neukirchen <dirkneukirchen@web.de> 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35790 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:55:46 +00:00
Gabor Juhos bf3da89866 ar71xx: add profile and build image fot the TL-WA830RE v1 board
Added support for the TP-LINK TL-WA830RE v1 Range Extender.
Based on the WA901ND v1 support. Hardware IDs checked against
original firmware. Patch was successfully tested on hardware.

Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:35 +00:00
Gabor Juhos 62b6477607 ar71xx: add model detection for the TL-WA830RE board
Signed-off-by: Ronald Hecht <ronald.hecht@gmx.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 20:37:33 +00:00
Hauke Mehrtens 154a868b36 brcm47xx: use same board detection code as kernel 3.8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:10:42 +00:00
Gabor Juhos 21acabb63d adm5120: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:14 +00:00
Gabor Juhos fc6e5812f4 adm5120: remove __dev{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-24 18:08:03 +00:00
Gabor Juhos 2a26c45c14 adm5120: remove a superfluous patch
The NO_IRQ symbol is not used by the amba core since
upstream commit:

  dfb85185bda373a70409c70c2632b02fb0f8f449
  AMBA: get rid of last two uses of NO_IRQ

  This gets rid of the last two users of NO_IRQ in AMBA primecell
  drivers.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:19 +00:00
Gabor Juhos d1746f1489 adm5120: avoid warning caused by wrong AMBA irq values
The amba core throws a warning if -1 is used as an
irq value since upstream commit:

  2eac58d5026e4ec8b17ff8b62877fea9e1d2f1b3
  ARM: amba: make use of -1 IRQs warn

  Make the core warn about the use of -1 (NO_IRQ)

Cange the value of the unused IRQs to zero for the
UART devices to get rid of the warning.

Based on #12729.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-22 16:01:17 +00:00
Gabor Juhos df96f7d546 cns21xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35737 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 20:45:24 +00:00
Gabor Juhos 626becacc2 mpc83xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35736 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 20:39:22 +00:00
Gabor Juhos 49ae189be3 ppc44x: add support for 3.8
Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:23:31 +00:00
Gabor Juhos 809c94c024 ppc40x: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:23:29 +00:00
Gabor Juhos 17eba85440 mpc85xx: add user-space support for the TL-WDR4900 v1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35733 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 19:20:34 +00:00
Gabor Juhos 70d3a2f640 mpc85xx: update 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 18:44:40 +00:00
Gabor Juhos 54b63b1428 ar71xx: fix MAC address assignment on the DIR-825-Bx boards
Use the same MAC addresses as the original firmware.

Based on a patch from #10421.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Gabor Varga <vargagab@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:58:21 +00:00
Gabor Juhos ec7c7af141 mpc85xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:48:31 +00:00
Gabor Juhos 48222aa3da ar71xx: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:47:15 +00:00
Gabor Juhos 5d734cf6e9 atheros: add support for linux kernel v3.8
This builds and boots.

Because of the function pointer indirection (e.g. mtd_info's read
function pointer is assigned to spiflash_read), it is difficult for me
to understand where the calls are coming from (could be anywhere,
conditionally pointing at spiflash versions), so I punted and used the
renamed function pointers (_erase, _read, _write).  If someone knows
better what to do, please fix.

Cleaned up other sundry kernel tracking issues like get_phy_id and
__devinit,etc.

[juhosg: don't switch to that yet]

Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 17:45:54 +00:00
Gabor Juhos 09cf994598 linux/3.8: add missing config symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 16:52:34 +00:00
Jonas Gorski 396200a112 bcm63xx: Fix sysupgrade for tag-version 7 and 8
Fix sysupgrade for tag-version 7 and 8.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35724 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:41 +00:00
Jonas Gorski 45d8b5166b generic: b53: clear SM_SW_FWD_MODE unconditionally when enabling VLAN
Setting this bit stops BCM53125 (bgmac actually) from receiving any
packets. This bit is cleared conditionally in b53_switch_reset and it
seems the same is done in bcmrobo.c which never sets that bit again.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:38 +00:00
Jonas Gorski 1dc038ecb4 generic: b53: remove empty spaces
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:36 +00:00
Jonas Gorski db8c32d235 ramips: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:33 +00:00
Jonas Gorski c0aa3a9be3 cns21xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:31 +00:00
Jonas Gorski 40128d4c23 ar71xx: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:29 +00:00
Gabor Juhos 5e461e6e69 mpc85xx: add kmod-leds-gpio to the default packages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35708 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 10:26:03 +00:00
Gabor Juhos 16c4f3154c mpc85xx: disable a bunch of unused device nodes on the TL-WDR4900
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35707 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 10:26:00 +00:00
Hauke Mehrtens 9f5d8143f7 brcm47xx: do not use vlan0 any more.
The Broadcom switch driver says that vlan0 should not be used with any switch other than bcm5325.

This makes OpenWrt always use vlan1 and vlan2 instead.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35704 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 15:31:43 +00:00
Gabor Juhos 5e4f2cdfcc mpc85xx: add kernel support for the TL-WDR4900 v1 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35690 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 08:27:27 +00:00
Gabor Juhos 19ac2d8dbf mpc85xx: use a foreach loop to copy boot images
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35689 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-20 08:27:26 +00:00
Gabor Juhos c02092f81e ar71xx: remove __dev{init,exit} annotations from kernel files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:06 +00:00
Gabor Juhos 91c3273df9 linux/3.8: add missing Kconfig symbols
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 20:52:03 +00:00
Gabor Juhos 338436797b mpc85xx: add default profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35677 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:17 +00:00
Gabor Juhos 7393d7daa2 mpc85xx: add gpio-keys to OF match table
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35676 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:16 +00:00
Gabor Juhos 882214dd46 mpc85xx: enable squashfs feature
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35675 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:15 +00:00
Gabor Juhos 4800e6f07b mpc85xx: add swconfig to default packages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35674 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 14:53:12 +00:00
Gabor Juhos 6b04db4e87 kernel: update linux 3.8-rcX to 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-19 09:17:38 +00:00
Florian Fainelli 44f3c0072d x86/rdc: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:05 +00:00
Florian Fainelli b5f329adde rb532: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35663 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:38:02 +00:00
Florian Fainelli 9c417101bb cobalt: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35662 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:58 +00:00
Florian Fainelli f81f68336c brcm63xx: migrate platform to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35661 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:55 +00:00
Florian Fainelli 3b1a2e5c15 au1000: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35660 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:52 +00:00
Florian Fainelli 2afebad8bb ar7: migrate to common led helper functions
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 10:37:43 +00:00
Gabor Juhos 7b871a4b67 ramips: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:29 +00:00
Gabor Juhos 2227fb3c11 cns21xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35651 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:28 +00:00
Gabor Juhos a954352276 ar71xx: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:27 +00:00
Gabor Juhos d5e9696c49 adm5120: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:26 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos 0b74564295 generic: ar8216: cleanup function/variable names
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:25 +00:00
Gabor Juhos f7178a8d09 generic: ar8216: rename struct ar8216_priv to ar8xxx_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 12:48:23 +00:00
Gabor Juhos 4633f1708b ar71xx: add user-space support for the Mikrotik RB951G board
[juhosg: change rb-951g to rb-951g-2hnd in the scripts]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:41 +00:00
Gabor Juhos 1faf7940dc ar71xx: add kernel support for the Mikrotik RB951G board
This is platform definition for the RB951G device. It's mostly rework
of RB2011UAS patchset with network taken from the RB751 patches.
The main difference is the flash layout used by this device.

[juhosg:
  - remove dead code from mach-rb951g
  - add "-2HnD" suffix to the machine name
  - use a separate 615-MIPS-ath79-RB951G-support.patch]

Patchwork: http://patchwork.openwrt.org/patch/3257/
Signed-off-by: Kamil Trzcinski <ayufan@ayufan.eu>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 10:08:35 +00:00
Hauke Mehrtens 9f9982c1f7 brcm47xx: add initial support for kernel 3.8
This contains the following new bigger changes:
 * new partition parser which still could lake some features or have bugs
 * new nand flash driver
 * using physmap-flash flash driver for parallel flash
 * some changes to the serial flash driver

With these changes OpenWrt starts using more of the mainline flash drivers.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 20:28:24 +00:00
Gabor Juhos 3becae3332 ar71xx: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:33:06 +00:00
Gabor Juhos a7a89f31c5 ramips: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:26:52 +00:00
Gabor Juhos 5766e4d223 mpc85xx: add input drivers to default packages, and load those during preinit
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35626 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:13:38 +00:00
Hauke Mehrtens 34e24ed054 brcm47xx: BGMAC - Adjust AutoLoad number to be prior to switch modules
Adjust the "AutoLoad" number for the BGMAC module to be prior
to the switch modules.  This probably isn't real important as
the modules are loaded in the correct order by preinit anyway.

Signed-off-by: Nathan Hintz <nlhintz@hotmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35625 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:27:33 +00:00
Hauke Mehrtens 0a8f960f87 brcm47xx: improve cpuport detection for filesafe
Do not try to load bcm57xx.ko any more this is not needed for kernel 2.6 and 3.X
Ask the switch driver where the CPU port is.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35624 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 16:24:15 +00:00
Hauke Mehrtens 28fd5cda23 brcm47xx: fix network config on simpleshare
The included patch will generate a correct network configuration on the simpletech simpleshare.

Thank you for the patch Will Holmes (RealOpty)

This closes #12361.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:24:48 +00:00
Hauke Mehrtens bf71e22b98 brcm47xx: handle return values of cfe_env_get() correctly.
This closes #12746.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 15:19:24 +00:00
Hauke Mehrtens 836f308687 brcm47xx: bgmac: fix unaligned accesses to network headers.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 14:38:17 +00:00
Hauke Mehrtens 2a28660d30 brcm47xx: fix unaligned access to mac address
The mac address should be aligned to u16 to prevent an unaligned access
in drivers/ssb/pci.c where it is casted to __be16.

This closes #9824.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 13:46:00 +00:00
Hauke Mehrtens 117f7697ec brcm47xx: try to automatically detect if the wan port is at port 4 and not at port 0.
This should fix #13000.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:37:24 +00:00
Gabor Juhos 55bf670e56 update x86 generic to kernel v3.7
Signed-off-by: Russell Senior <russell@personaltelco.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35616 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 12:12:52 +00:00
Gabor Juhos c3986bd99f ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:25 +00:00
Gabor Juhos 74408f4902 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:21 +00:00
Jonas Gorski 8fec1177bf kernel: add missing config options
r35336 exposed PTP, which has additional drivers on ixp4xx, causing it to
not build with PTP enabled.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35611 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:39:45 +00:00
Jonas Gorski 53f477ef47 bcm63xx: make nvram checksum failures non fatal
fixes #12982.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 12:23:49 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos f31cd4f577 generic: ar8216: move PHY4 RGMII workaround code out of the loop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:55:40 +00:00
Gabor Juhos e4468b8202 generic: ar8216: register the switch from the probe routine
Currently the switch gets registered when an ethernet
driver connects to a PHY of the switch. This method does
not work with the ethernet drivers which are connecting
to the PHY from their ndo_open callback. With those
ethernet drivers, the driver tries to register the switch
each time when the etherned device is opened and this causes
a deadlock.

Move the switch registration into the probe routine to fix
this problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 14:01:24 +00:00
Florian Fainelli fb8cba59c5 x86: update config-3.7 for x86 (turn off CONFIG_GPIO_ICH)
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 13:00:07 +00:00
Hauke Mehrtens 8f8b2b4cd0 brcm47xx: if the cpuport of the switch is port 8 assume vlan0ports: "1 2 3 4 8" and vlan0ports: "0 8"
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-14 12:38:16 +00:00
Gabor Juhos b444ec07ba mpc85xx: enable swconfig and the ar8216 driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:23 +00:00
Gabor Juhos 80ab95d1f8 mpc85xx: enable the squashfs driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:21 +00:00
Gabor Juhos a5f349855b mpc85xx: enable XZ_DEC_BCJ and XZ_DEC_POWERPC support
Squashfs is unable to decompress some blocks without that:

[  199.494500] SQUASHFS error: xz_dec_run error, data probably corrupt
[  199.500910] SQUASHFS error: squashfs_read_data failed to read block 0xbff26
[  199.508016] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.514440] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.521311] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.527724] SQUASHFS error: Unable to read page, block bff26, size 153f8
[  199.534594] SQUASHFS error: Unable to read data cache entry [bff26]
[  199.541009] SQUASHFS error: Unable to read page, block bff26, size 153f8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35590 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:51:19 +00:00
Gabor Juhos 92a3247d9a ar71xx: fix factory image creation for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35589 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:26 +00:00
Gabor Juhos bede9dff8a ar71xx: fix switch-config for dir-825-c1
Signed-off-by: Alexander Stadler <sa.maillists@univie.ac.at>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35588 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:36:23 +00:00
Hauke Mehrtens 6891eecd2a brcm47xx: configure vlan correctly on some recent devices.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35587 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-13 16:05:52 +00:00
Hauke Mehrtens ce3c164477 brcm47xx: add some more fixes to bgmac
Thank you Rafał Miłecki and Nathan Hintz


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:10:38 +00:00
Hauke Mehrtens 57e151b3c2 brcm47xx: update tg3 to the version send upstream
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35573 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 20:09:15 +00:00
Luka Perkov 93421d05d9 mvebu: remove boards suffix
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35572 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 10:18:53 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos 00a47a6c78 ar71xx: add script for automatic switch name migration
Thanks to Jonas Gorski for the help.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35567 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 21:41:16 +00:00
Felix Fietkau 069528fb36 ar71xx: allow unknown multicast frames to pass to the CPU on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 18:59:05 +00:00
Gabor Juhos aa1758313e ar8216: remove superfluous code from ar8216_config_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:57:31 +00:00
Gabor Juhos 49e680f157 ar71xx: use switchX names in network configuration
Accessing the AR8xxx switches via the name of the
attached ethernet device is not possible since
r35560. Change the uci-defaults script to use
switchX names in switch configurations.

Reported-by: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:54:52 +00:00
Gabor Juhos 371e090665 generic: ar8216: don't use ethernet device name in register_switch
The switches are accessed via an MDIO bus. Set the alias
to the name of the MDIO bus, and show that in the message
along with the name of the switch switch device.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:11:31 +00:00
Gabor Juhos f55f5c681a generic: ar8216: reuse the private data from ar8216_probe
The private data of the switch is already
allocated in ar8216_priv, assign that to
each PHY on the same MDIO bus. Also remove
the redundant code from ar8216_config_init.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 16:11:30 +00:00
Gabor Juhos 6166a1a122 generic: ar8216: use phydev instead of pdev everywhere
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 13:25:43 +00:00
Gabor Juhos da364b7741 generic: ar8216: use pr_* macros for kernel messages
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 13:14:00 +00:00
Gabor Juhos 2092ae2d8f generic: ar8216: fix PHY features setup
Sujith says:

This commit breaks the WAN port on my AP96 - DHCP fails.
Reverting it fixes the issue.

  commit b67cc3a0cdd02973610d4d5a63226d1c44841e94
  Author: juhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
  Date:   Fri Feb 8 09:13:18 2013 +0000

    generic: ar8216: simplify phy features setup

    Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

    git-svn-id: svn://svn.openwrt.org/openwrt/trunk@355183c298f89-4303-0410-b956-a3cf2f4a3e73

This change restores the previous behaviour and moves
the code into the ar8216_probe function.

Reported-by: Sujith Manoharan <sujith@msujith.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Tested-by: Sujith Manoharan <sujith@msujith.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-11 10:05:35 +00:00
Gabor Juhos 98d4a8b93a generic: ar8216: add ar8xxx_probe_switch helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 19:02:01 +00:00
Gabor Juhos a4c045037f generic: ar8216: rename ar8xxx_mib_cleanup to ar8xxx_mib_stop
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35546 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:08 +00:00
Gabor Juhos 301948b049 generic: ar8216: free mib counters from ar8xxx_free
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35545 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:07 +00:00
Gabor Juhos f28ac30869 generic: ar8216: add ar8xxx_free helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:05 +00:00
Gabor Juhos 03be1ea0f4 generic: ar8216: add ar8xxx_create{,mii} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:42:04 +00:00
Gabor Juhos 69cbfbe045 generic: ar8216: remove redundant phy address check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35542 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:38:12 +00:00
Gabor Juhos 77bc7d2f07 generic: ar8216: only set phy_ptr if packet mangling is used
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 18:38:10 +00:00
Gabor Juhos f6df051dc9 generic: ar8216: add defines for the AR8316 POSTRIP register
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:18:48 +00:00
Gabor Juhos 19f4475eb9 generic: ar8216: don't probe the chip multiple times
It is only needed when the private data is allocated.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:15 +00:00
Gabor Juhos e04207b25a generic: ar8216: add sanity check to ar8216_probe
Verify that the mdio bus has PHY devices with
a supported PHY ID at address 0-4.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:14 +00:00
Gabor Juhos 03f0a836a7 generic: ar8216: skip probe on unused PHY addresses
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 13:05:12 +00:00
Jonas Gorski c9157a2388 ar71xx: register the micro sd card reader on RB493G
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:38 +00:00
Jonas Gorski c5bae90408 generic: b53: fix reverted error check in probe
b53_switch_detect returns value returned by b53_read8, which is 0 for
success. So fail (and return error) only if b53_switch_detect returned
something else than 0. This fixes supported and advertising being zeros
for MDIO access.

Cc: Jonas Gorski <jogo@openwrt.org>
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35534 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:36 +00:00
Jonas Gorski 3d89abe3bf bcm63xx: handle huawei nvram layout
Use a different length for calculating the nvram checksum on hauwei
boards. Fixes boot on HW553 and HW556.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35533 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-10 12:31:31 +00:00
Gabor Juhos 6154886951 generic: ar8216: move sleep out of the loop
It is enough to sleep once after ANEG is enabled on
all PHYs. This reduces boot time on boards with
AR8316 switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35532 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-09 13:26:04 +00:00
Gabor Juhos ef45eb419f ar71xx: Routerboard 751 Mac Address Offset Fix
We utilize many Routerboard 751's and discovered that our latest batch
of RB751's would not initialize the wireless radio. We have determined
Mikrotik has changed where the mac address was located inside hardconfig.
As such we utilize "routerboot_find_tag" to find the location of the mac
address. We should remove "RB751_MAC_ADDRESS_OFFSET" as it is ambiguous
by machine manufacturing date. The newer batch of RB751's that we received
had a RB751_MAC_ADDRESS_OFFSET 0x10.

Signed-off-by: Davey Hutchison <dhutchison@bluemesh.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35519 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:34:53 +00:00
Gabor Juhos e84e418e74 generic: ar8216: simplify phy features setup
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35518 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:13:18 +00:00
Gabor Juhos edea889900 generic: ar8216: don't use mdio bus specific functions in ar8216_id_chip
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35517 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-08 09:13:14 +00:00
Gabor Juhos 8359109069 generic: ar8216: use inline function to convert swdev to ar8216
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:36 +00:00
Gabor Juhos e2275d7311 generic: ar8216: add mii_bus field to struct ar8216_priv
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:35 +00:00
Gabor Juhos c32d96d9e6 generic: mvswitch: add detach callback
Use the detach callback to disable packet mangling
to avoid possible NULL pointer dereference.

Compile tested only.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35512 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:34 +00:00
Gabor Juhos babed81891 generic: ar8216: add detach callback
The current code uses the 'remove' callback to disable
packet mangle on the underlying ethernet device.
However the attached_dev is always NULL when the
'remove' callback is called by phylib, and this causes
NULL pointer dereference, like this:

  [  475.300000] CPU 0 Unable to handle kernel paging request at virtual address 000000f0, epc == 801cdcf0, ra == 801c7eac
  [  475.310000] Oops[#1]:
  [  475.310000] Cpu 0
  [  475.310000] $ 0   : 00000000 00000000 00000000 00000001
  [  475.310000] $ 4   : 828dde00 00000005 828dde08 ffffffff
  [  475.310000] $ 8   : 00380081 00380081 82902a40 00000001
  [  475.310000] $12   : 00000037 00370081 00000001 00000000
  [  475.310000] $16   : 82865000 828dde08 828dde00 00000001
  [  475.310000] $20   : 00000080 00460000 00000002 77151448
  [  475.310000] $24   : 00000000 801abfd4
  [  475.310000] $28   : 82cc2000 82cc3d58 0053c3c4 801c7eac
  [  475.310000] Hi    : 00000007
  [  475.310000] Lo    : 00000004
  [  475.310000] epc   : 801cdcf0 ar8216_remove+0x1c/0x94
  [  475.310000]     Tainted: G           O
  [  475.310000] ra    : 801c7eac phy_remove+0x4c/0x6c
  [  475.310000] Status: 1000cc03    KERNEL EXL IE
  [  475.310000] Cause : 00800008
  [  475.310000] BadVA : 000000f0
  [  475.310000] PrId  : 00019750 (MIPS 74Kc)
  [  475.310000] Modules linked in: ath79_wdt ledtrig_usbdev ledtrig_netdev ag71xx(-) nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ft
  p ipt_MASQUERADE iptable_nat xt_nat nf_nat_ipv4 nf_nat pppoext_conntrack xt_CT iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_co
  nntrack ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpu
  dp x_tables ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O) ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80
  211(O) compat(O) arc4 crypto_blkcipher aead ledtrig_timer ledtrig_default_on leds_gpio gpio_button_hotplug(O)
  [  475.310000] Process rmmod (pid: 1160, threadinfo=82cc2000, task=83969920, tls=7747c440)
  [  475.310000] Stack : 828dde08 802f5004 802f4680 00000001 828ddf70 801c7eac 802f4680 801ad6d8
          82902940 00000000 828dde08 802f5004 802f4680 801ad770 00000002 80269d94
          00000000 00000001 00000080 828dde08 828dde3c 801ad7fc 82902940 00000000
          83859100 00000000 8384dd2c 8384dd2c 828dde08 801ad230 82902800 00000000
          00000000 001a0041 828dde08 828dde08 802e80e8 801aac44 00000080 00460000
          ...
  [  475.310000] Call Trace:
  [  475.310000] [<801cdcf0>] ar8216_remove+0x1c/0x94
  [  475.310000] [<801c7eac>] phy_remove+0x4c/0x6c
  [  475.310000] [<801ad770>] __device_release_driver+0x6c/0xd0
  [  475.310000] [<801ad7fc>] device_release_driver+0x28/0x40
  [  475.310000] [<801ad230>] bus_remove_device+0xd8/0x10c
  [  475.310000] [<801aac44>] device_del+0x110/0x170
  [  475.310000] [<801aacb8>] device_unregister+0x14/0x28
  [  475.310000] [<801c92b0>] mdiobus_unregister+0x4c/0x70
  [  475.310000] [<82913060>] ag71xx_remove_ar8216_header+0xdc/0x5a8 [ag71xx]
  [  475.310000]
  [  475.310000]
  Code: 1200001c  8c82017c  ac800128 <8c4500f0> 3c03ffdf  3463ffff 00a31824  ac4300f0  ac4000e0

Add a detach callback and disable packet mangling in
that to fix the problem.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:32 +00:00
Gabor Juhos 197fd72248 generic: add detach callback to struct phy_driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-07 15:18:24 +00:00
Hauke Mehrtens d3c485c331 brcm47xx: fix name of kmod-ocf-ubsec-ssb
This also removes kmod-ocf, because kmod-crypto-ocf is automatically selected by kmod-ocf-ubsec-ssb.

Thank you Manuel Munz <freifunk@somakoma.de> for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35509 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 22:51:25 +00:00
Hauke Mehrtens 950d08794e brcm47xx: bgmac: make it possible to set the devices into promisc mode when it is already up
This fixes #12927.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-06 14:57:00 +00:00
Florian Fainelli 7e4949b043 [brcm63xx] remove support for 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35506 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:36:54 +00:00
Florian Fainelli 540826d416 [brcm63xx] make default version 3.7.6
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35505 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:36:50 +00:00
Florian Fainelli e0ccfea057 [brcm63xx] remove superfluous calls to /lib/brcm63xx.sh
The first preinit script 03_do_brcm63xx.sh does the right job of
exporting variables for the other subsequent preinit scripts to use
them.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:25:30 +00:00
Florian Fainelli aabf50e0bf [brcm63xx] remove references to the old switch driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 22:25:19 +00:00
Mirko Vogt 478a38a1d0 fix trx checksum after first boot and add led/button definitions for boards RTA770BW and RTA770W
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 14:57:43 +00:00
Mirko Vogt 0a23706adc add support for board named RTA770W
Actually this board is the very same as the rta770bw,
where the additional 'b' within the name just
indicates 'Annex B'. The ADSL Modem itself is able
to handle both, Annex A as well as Annex B -
the loaded firmware makes the only difference

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-05 14:57:40 +00:00