openwrt/openwrt.git
9 years agoramips: build firmware image for the Planex MZK-W300NH2 Router
Gabor Juhos [Sat, 29 Dec 2012 17:50:40 +0000 (17:50 +0000)]
ramips: build firmware image for the Planex MZK-W300NH2 Router

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34927

9 years agoramips: add user-space support for the Planex MZK-W300NH2 Router
Gabor Juhos [Sat, 29 Dec 2012 17:50:38 +0000 (17:50 +0000)]
ramips: add user-space support for the Planex MZK-W300NH2 Router

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34926

9 years agoramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
Gabor Juhos [Sat, 29 Dec 2012 17:50:35 +0000 (17:50 +0000)]
ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router

This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34925

9 years agoramips: build image for Airlive AIR3GII
Gabor Juhos [Sat, 29 Dec 2012 17:50:34 +0000 (17:50 +0000)]
ramips: build image for Airlive AIR3GII

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34924

9 years agoramips: add user-space support for Airlive AIR3GII
Gabor Juhos [Sat, 29 Dec 2012 17:50:32 +0000 (17:50 +0000)]
ramips: add user-space support for Airlive AIR3GII

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34923

9 years agoramips: rt305x: add kernel support for AirLive AIR3GII
Gabor Juhos [Sat, 29 Dec 2012 17:50:28 +0000 (17:50 +0000)]
ramips: rt305x: add kernel support for AirLive AIR3GII

AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34922

9 years agoar71xx: add support for 3.7
Gabor Juhos [Sat, 29 Dec 2012 16:02:31 +0000 (16:02 +0000)]
ar71xx: add support for 3.7

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

9 years agoar71xx: Build the AP135 images
Gabor Juhos [Sat, 29 Dec 2012 16:02:28 +0000 (16:02 +0000)]
ar71xx: Build the AP135 images

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34919

9 years agoar71xx: Add userspace support for AP135
Gabor Juhos [Sat, 29 Dec 2012 16:02:27 +0000 (16:02 +0000)]
ar71xx: Add userspace support for AP135

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34918

9 years agoar71xx: Add support for AP135
Gabor Juhos [Sat, 29 Dec 2012 16:02:24 +0000 (16:02 +0000)]
ar71xx: Add support for AP135

Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34917

9 years agoar71xx: use a backported patch to fix AR933x UART baud rate calculation
Gabor Juhos [Sat, 29 Dec 2012 13:52:38 +0000 (13:52 +0000)]
ar71xx: use a backported patch to fix AR933x UART baud rate calculation

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

9 years agocmake.mk: add support for overriding the source dir, and define the cmake prefix...
Felix Fietkau [Sat, 29 Dec 2012 11:12:31 +0000 (11:12 +0000)]
cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge)

SVN-Revision: 34914

9 years agoipv6-support: Use more consistent default values
Steven Barth [Sat, 29 Dec 2012 10:12:31 +0000 (10:12 +0000)]
ipv6-support: Use more consistent default values

SVN-Revision: 34913

9 years agoar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly...
Felix Fietkau [Fri, 28 Dec 2012 21:30:24 +0000 (21:30 +0000)]
ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size

SVN-Revision: 34912

9 years agomac80211: refresh patches
Felix Fietkau [Fri, 28 Dec 2012 21:05:57 +0000 (21:05 +0000)]
mac80211: refresh patches

SVN-Revision: 34911

9 years agomac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size...
Felix Fietkau [Fri, 28 Dec 2012 21:05:49 +0000 (21:05 +0000)]
mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance

SVN-Revision: 34910

9 years agomips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after...
Felix Fietkau [Fri, 28 Dec 2012 19:17:19 +0000 (19:17 +0000)]
mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration

SVN-Revision: 34909

9 years agoipv6-support: Updated functionality * Add site-border feature again * Add option...
Steven Barth [Fri, 28 Dec 2012 12:02:22 +0000 (12:02 +0000)]
ipv6-support: Updated functionality * Add site-border feature again * Add option to always announce a default router

SVN-Revision: 34908

9 years ago6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused...
Steven Barth [Fri, 28 Dec 2012 12:02:17 +0000 (12:02 +0000)]
6distributed: Add null-route for delegated prefix * Fixes forwarding loops for unused subprefixes

SVN-Revision: 34907

9 years ago6relayd: Announce DNS search domain via DHCPv6
Steven Barth [Fri, 28 Dec 2012 12:02:12 +0000 (12:02 +0000)]
6relayd: Announce DNS search domain via DHCPv6

SVN-Revision: 34906

9 years agokernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
Felix Fietkau [Thu, 27 Dec 2012 22:59:51 +0000 (22:59 +0000)]
kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes

SVN-Revision: 34901

9 years agobrcm47xx: bcma: correct M25P32 serial flash ID
Hauke Mehrtens [Thu, 27 Dec 2012 19:18:40 +0000 (19:18 +0000)]
brcm47xx: bcma: correct M25P32 serial flash ID

Thank you Rafał Miłecki.

SVN-Revision: 34900

9 years agouci: update to latest version (adds list delete support), enable parallel build
Felix Fietkau [Thu, 27 Dec 2012 17:37:10 +0000 (17:37 +0000)]
uci: update to latest version (adds list delete support), enable parallel build

SVN-Revision: 34899

9 years agoipv6-support: Remove site-border feature * was causing routing problems * will be...
Steven Barth [Thu, 27 Dec 2012 15:47:53 +0000 (15:47 +0000)]
ipv6-support: Remove site-border feature * was causing routing problems * will be reimplemented using firewall

SVN-Revision: 34898

9 years agoRemove site-border routing filter due to problems
Steven Barth [Thu, 27 Dec 2012 15:47:47 +0000 (15:47 +0000)]
Remove site-border routing filter due to problems

SVN-Revision: 34897

9 years agoipv6-support: * Automatically detect and propagate MTU from upstream interfaces ...
Steven Barth [Thu, 27 Dec 2012 14:10:17 +0000 (14:10 +0000)]
ipv6-support: * Automatically detect and propagate MTU from upstream interfaces * Add site-border feature (RFC 6204, ULA-4) * Fix a typo

SVN-Revision: 34896

9 years ago6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand...
Steven Barth [Thu, 27 Dec 2012 14:10:12 +0000 (14:10 +0000)]
6distributed: feature update * Add feature to decrease IPv6-specific MTU on-demand * Add commands to enable / disable a site-border

SVN-Revision: 34895

9 years ago6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when...
Steven Barth [Thu, 27 Dec 2012 14:10:07 +0000 (14:10 +0000)]
6relayd: Advertise IPv6-specific MTU instead of generic * Fixes announced MTU when using tunnels

SVN-Revision: 34894

9 years agobase-files: Fix a typo in config_list_foreach
Steven Barth [Thu, 27 Dec 2012 14:10:01 +0000 (14:10 +0000)]
base-files: Fix a typo in config_list_foreach

SVN-Revision: 34893

9 years agompc83xx: add support for 3.7
Gabor Juhos [Wed, 26 Dec 2012 10:40:54 +0000 (10:40 +0000)]
mpc83xx: add support for 3.7

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

9 years agompc83xx: nuke 3.3 support
Gabor Juhos [Wed, 26 Dec 2012 10:40:51 +0000 (10:40 +0000)]
mpc83xx: nuke 3.3 support

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

9 years agompc83xx: switch to 3.6.11
Gabor Juhos [Wed, 26 Dec 2012 10:40:50 +0000 (10:40 +0000)]
mpc83xx: switch to 3.6.11

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

9 years agompc83xx: add support for 3.6
Gabor Juhos [Wed, 26 Dec 2012 10:40:48 +0000 (10:40 +0000)]
mpc83xx: add support for 3.6

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

9 years agompc83xx: create package for the rbppc_cf module
Gabor Juhos [Wed, 26 Dec 2012 10:40:47 +0000 (10:40 +0000)]
mpc83xx: create package for the rbppc_cf module

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

9 years agogeneric: more missing symbols for 3.{6,7}
Gabor Juhos [Wed, 26 Dec 2012 10:40:41 +0000 (10:40 +0000)]
generic: more missing symbols for 3.{6,7}

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

9 years agoar71xx: build image for the AP136-020
Gabor Juhos [Wed, 26 Dec 2012 09:50:37 +0000 (09:50 +0000)]
ar71xx: build image for the AP136-020

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

9 years agoar71xx: add user-space support for AP136-020
Gabor Juhos [Wed, 26 Dec 2012 09:50:36 +0000 (09:50 +0000)]
ar71xx: add user-space support for AP136-020

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

9 years agoar71xx: add kernel support for the AP136-020 board
Gabor Juhos [Wed, 26 Dec 2012 09:50:34 +0000 (09:50 +0000)]
ar71xx: add kernel support for the AP136-020 board

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

9 years agoar71xx: rename AP136 to AP136-010
Gabor Juhos [Wed, 26 Dec 2012 09:50:31 +0000 (09:50 +0000)]
ar71xx: rename AP136 to AP136-010

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

9 years agoar71xx: dynamically set AR8327's PAD configuration on AP136
Gabor Juhos [Tue, 25 Dec 2012 18:45:32 +0000 (18:45 +0000)]
ar71xx: dynamically set AR8327's PAD configuration on AP136

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

9 years agogeneric: ar8216: add sgmii_delay_en field to ar8327_platform_data
Gabor Juhos [Tue, 25 Dec 2012 18:45:31 +0000 (18:45 +0000)]
generic: ar8216: add sgmii_delay_en field to ar8327_platform_data

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

9 years agoar71xx: ag71xx: show PHY interface mode in dmesg
Gabor Juhos [Tue, 25 Dec 2012 18:45:29 +0000 (18:45 +0000)]
ar71xx: ag71xx: show PHY interface mode in dmesg

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

9 years agoramips: fix ASUS WL-330N3G MAC address
Gabor Juhos [Mon, 24 Dec 2012 06:52:41 +0000 (06:52 +0000)]
ramips: fix ASUS WL-330N3G MAC address

The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34877

9 years agoramips: fix wifi EEPROM extraction on DIR-615-Dx models
Gabor Juhos [Mon, 24 Dec 2012 06:52:38 +0000 (06:52 +0000)]
ramips: fix wifi EEPROM extraction on DIR-615-Dx models

Patch from #12636.

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

9 years agobase-files: ipcalc.sh: fix broken calculations on 64bit systems
Jo-Philipp Wich [Sun, 23 Dec 2012 22:18:43 +0000 (22:18 +0000)]
base-files: ipcalc.sh: fix broken calculations on 64bit systems

Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

SVN-Revision: 34875

9 years agoadd nol2x0 cmdline to disable l2x0 cache
Imre Kaloz [Sun, 23 Dec 2012 18:53:38 +0000 (18:53 +0000)]
add nol2x0 cmdline to disable l2x0 cache

L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>
SVN-Revision: 34874

9 years agoipv6-support: Fix default RA settings for dnsmasq
Steven Barth [Sun, 23 Dec 2012 18:22:48 +0000 (18:22 +0000)]
ipv6-support: Fix default RA settings for dnsmasq

SVN-Revision: 34873

9 years agobusybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason...
Felix Fietkau [Sun, 23 Dec 2012 10:59:57 +0000 (10:59 +0000)]
busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)

SVN-Revision: 34872

9 years agobuild: reduce the size of package metadata a bit to keep package list files smaller
Felix Fietkau [Sat, 22 Dec 2012 19:56:21 +0000 (19:56 +0000)]
build: reduce the size of package metadata a bit to keep package list files smaller

SVN-Revision: 34871

9 years agotools/ipkg-utils: remove some unnecessary field checks
Felix Fietkau [Sat, 22 Dec 2012 19:56:17 +0000 (19:56 +0000)]
tools/ipkg-utils: remove some unnecessary field checks

SVN-Revision: 34870

9 years agoopkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
Felix Fietkau [Sat, 22 Dec 2012 19:31:37 +0000 (19:31 +0000)]
opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage

SVN-Revision: 34869

9 years agobuild: remove the default useless MAINTAINER value
Felix Fietkau [Sat, 22 Dec 2012 18:56:16 +0000 (18:56 +0000)]
build: remove the default useless MAINTAINER value

SVN-Revision: 34868

9 years agodropbear: convert init script to procd
Felix Fietkau [Sat, 22 Dec 2012 18:56:13 +0000 (18:56 +0000)]
dropbear: convert init script to procd

SVN-Revision: 34867

9 years agobase-files: add basic procd integration, let procd start (and restart) ubus instead...
Felix Fietkau [Sat, 22 Dec 2012 18:56:09 +0000 (18:56 +0000)]
base-files: add basic procd integration, let procd start (and restart) ubus instead of having an ubus init script

SVN-Revision: 34866

9 years agoprocd: add initial implementation
Felix Fietkau [Sat, 22 Dec 2012 18:56:06 +0000 (18:56 +0000)]
procd: add initial implementation

procd is the new OpenWrt process management daemon. It keeps track of processes
started from init scripts (via ubus calls), and can suppress redundant service
start/restart requests when the config/environment has not changed.

SVN-Revision: 34865

9 years agolibnl-tiny: add includedir to pkg-config cflags
Felix Fietkau [Sat, 22 Dec 2012 18:56:01 +0000 (18:56 +0000)]
libnl-tiny: add includedir to pkg-config cflags

SVN-Revision: 34864

9 years agodropbear: use network_get_device instead of scan_interfaces to get the device name
Felix Fietkau [Sat, 22 Dec 2012 18:55:57 +0000 (18:55 +0000)]
dropbear: use network_get_device instead of scan_interfaces to get the device name

SVN-Revision: 34863

9 years agogeneric: ar8216: don't use 0 as default VID on AR8327
Gabor Juhos [Sat, 22 Dec 2012 18:30:04 +0000 (18:30 +0000)]
generic: ar8216: don't use 0 as default VID on AR8327

VID0 is reserved for priority-tagged packets.

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

9 years agogeneric: more missing symbols for 3.{6,7}
Gabor Juhos [Sat, 22 Dec 2012 17:22:41 +0000 (17:22 +0000)]
generic: more missing symbols for 3.{6,7}

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

9 years agoramips: unify eeprom file name for the built-in wireless MAC
Gabor Juhos [Sat, 22 Dec 2012 16:09:03 +0000 (16:09 +0000)]
ramips: unify eeprom file name for the built-in wireless MAC

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

9 years agoramips: rt3883: fix build error
Gabor Juhos [Sat, 22 Dec 2012 13:50:47 +0000 (13:50 +0000)]
ramips: rt3883: fix build error

The cpuport_cfg field has been renamed to port0_cfg.

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

9 years agoipv6-support: Preliminary support for dnsmasq >=2.66
Steven Barth [Sat, 22 Dec 2012 13:00:53 +0000 (13:00 +0000)]
ipv6-support: Preliminary support for dnsmasq >=2.66

SVN-Revision: 34858

9 years ago6relayd: Fix detection of prefix changes
Steven Barth [Sat, 22 Dec 2012 13:00:49 +0000 (13:00 +0000)]
6relayd: Fix detection of prefix changes

SVN-Revision: 34857

9 years agoodhcp6c: Fix build on arch where char is unsigned
Steven Barth [Sat, 22 Dec 2012 13:00:45 +0000 (13:00 +0000)]
odhcp6c: Fix build on arch where char is unsigned

SVN-Revision: 34856

9 years ago6distributed: Improve prefix deprecation algorithm
Steven Barth [Sat, 22 Dec 2012 13:00:40 +0000 (13:00 +0000)]
6distributed: Improve prefix deprecation algorithm

SVN-Revision: 34855

9 years agoar71xx: register the second ethernet interface on the AP136
Gabor Juhos [Sat, 22 Dec 2012 12:12:50 +0000 (12:12 +0000)]
ar71xx: register the second ethernet interface on the AP136

Also fix the default network configuration
according to the new setup.

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

9 years agoar71xx: fix ethernet device registration for QCA9558
Gabor Juhos [Sat, 22 Dec 2012 12:12:48 +0000 (12:12 +0000)]
ar71xx: fix ethernet device registration for QCA9558

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

9 years agoar71xx: rename QCA9558 ETH_CFG bit defines
Gabor Juhos [Sat, 22 Dec 2012 12:12:46 +0000 (12:12 +0000)]
ar71xx: rename QCA9558 ETH_CFG bit defines

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

9 years agoar71xx: fixup allowed PHY interface types for QCA9558
Gabor Juhos [Sat, 22 Dec 2012 12:12:44 +0000 (12:12 +0000)]
ar71xx: fixup allowed PHY interface types for QCA9558

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

9 years agoar71xx: don't assign any MII bus device on QCA9558 by default
Gabor Juhos [Sat, 22 Dec 2012 12:12:43 +0000 (12:12 +0000)]
ar71xx: don't assign any MII bus device on QCA9558 by default

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

9 years agoar71xx: ag71xx: fix mii_bus_dev sanity check
Gabor Juhos [Sat, 22 Dec 2012 12:12:41 +0000 (12:12 +0000)]
ar71xx: ag71xx: fix mii_bus_dev sanity check

The mii_bus device is not required if phy_mask is zero.
The driver will use a fixed connection if it is not
specified.

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

9 years agoar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev
Gabor Juhos [Sat, 22 Dec 2012 12:12:40 +0000 (12:12 +0000)]
ar71xx: ag71xx: don't start/stop built-in switch w/o mii_bus_dev

Trying to do that causes a NULL pointer dereference:

CPU 0 Unable to handle kernel paging request at virtual address 00000000, epc == 801d170c, ra == 801d18d4
Oops[#1]:
Cpu 0
$ 0   : 00000000 00000000 00000000 00000001
$ 4   : 00000000 802e6390 ffff8f45 00000001
$ 8   : 804b5360 ffffff80 802f93bc 00000000
$12   : 802f93e8 00000000 00000000 00000000
$16   : 8381aba0 8381aba0 00000000 00000000
$20   : 8295eff0 00000032 80000000 004101b8
$24   : 00000000 777265b0
$28   : 82936000 82937cf0 00420000 801d18d4
Hi    : 00000000
Lo    : 00000001
epc   : 801d170c ar7240sw_reset+0x1c/0x19c
    Tainted: G           O
ra    : 801d18d4 ag71xx_ar7240_start+0x28/0xc0
Status: 1100fc03    KERNEL EXL IE
Cause : 00800008
BadVA : 00000000
PrId  : 00019750 (MIPS 74Kc)
Modules linked in: ath79_wdt ohci_hcd ledtrig_usbdev ledtrig_netdev
nf_nat_irc nf_nat_ftp nf_conntrack_irc nf_conntrack_ftp
 ipt_MASQUERADE iptable_nat nf_nat pppoe xt_conntrack xt_CT xt_NOTRACK
iptable_raw xt_state nf_conntrack_ipv4 nf_defrag_ipv4 nf_conntrack
ehci_hcd pppox ipt_REJECT xt_TCPMSS xt_LOG xt_comment xt_multiport
xt_mac xt_limit iptable_mangle iptable_filter ip_tables xt_tcpudp x_tab
les ppp_async ppp_generic slhc ath9k(O) ath9k_common(O) ath9k_hw(O)
ath(O) mac80211(O) usbcore usb_common nls_base crc_ccitt cfg80211(O) c
ompat(O) arc4 aes_generic crypto_blkcipher cryptomgr aead crypto_hash
crypto_algapi ledtrig_timer ledtrig_default_on leds_gpio gpio_button
_hotplug(O)
Process netifd (pid: 677, threadinfo=82936000, task=82cbe140, tls=77803750)
Stack : ffffffff 80087900 00000001 82937d74 8381aba0 8381aba0 00000000 00000000
        8295eff0 801d18d4 8295eff0 801fa4a4 00420000 80092158 00000002 8381aba0
        8381a800 00000000 00000080 801cf900 8027e720 00000000 00000000 8009223c
        8381a800 8381a82c 8027e720 00000000 00000000 7f9d14f0 00420000 801ec08c
        8381a800 801ebfb0 33000000 82937e30 00000001 8381a800 00001003 801ec348
        ...
Call Trace:
[<801d170c>] ar7240sw_reset+0x1c/0x19c
[<801d18d4>] ag71xx_ar7240_start+0x28/0xc0
[<801cf900>] ag71xx_open+0x1d0/0x258
[<801ec08c>] __dev_open+0xcc/0x130
[<801ec348>] __dev_change_flags+0xc0/0x160
[<801ec490>] dev_change_flags+0x20/0x6c
[<801ec5c8>] dev_ifsioc+0xec/0x348
[<801ecdb8>] dev_ioctl+0x594/0x67c
[<800ec00c>] do_vfs_ioctl+0x598/0x5ec
[<800ec0b0>] sys_ioctl+0x50/0x90
[<8006a3c4>] stack_done+0x20/0x40
Code: afbf0024  afb40020  afb10014 <8c91000000809021  24100104 24130704  8e440000  02002821

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

9 years agogeneric: ar8316: allow to configure port 6 via platform data on AR8327
Gabor Juhos [Sat, 22 Dec 2012 12:12:37 +0000 (12:12 +0000)]
generic: ar8316: allow to configure port 6 via platform data on AR8327

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

9 years agogeneric: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data
Gabor Juhos [Sat, 22 Dec 2012 12:12:35 +0000 (12:12 +0000)]
generic: ar8216: rename cpuport_cfg to port0_cfg in ar8327_platform_data

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

9 years agoramips: add support for 3.7
Gabor Juhos [Sat, 22 Dec 2012 12:11:13 +0000 (12:11 +0000)]
ramips: add support for 3.7

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

9 years agopackage/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols
Gabor Juhos [Sat, 22 Dec 2012 12:11:09 +0000 (12:11 +0000)]
package/kernel: remove obsolete CONFIG_USB_[EO]HCI_RT3883=y symbols

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

9 years agoramips: convert to use {e,o}hci-platform driver
Gabor Juhos [Sat, 22 Dec 2012 12:11:08 +0000 (12:11 +0000)]
ramips: convert to use {e,o}hci-platform driver

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

9 years agogeneric/3.6: add platform specific power callbacks to {e,o}hci_platform drivers
Gabor Juhos [Sat, 22 Dec 2012 12:11:06 +0000 (12:11 +0000)]
generic/3.6: add platform specific power callbacks to {e,o}hci_platform drivers

Backport of upstream commits:

86e4cb35f2260374df4139c2352afe7fe247cb60 usb: host: ehci-platform: BUG_ON() to WARN_ON() on probe
b6dd245c4594482d46507a0bfd100439be367952 usb: host: ohci-platform: BUG_ON() to WARN_ON() on probe
04216bedafb1b3992a6c2b7f1518281d2ba5fc7b usb: host: ehci-platform: add platform specific power callback
e4d37aeb373a5edceecc1dadc76fabbe8bc18e44 usb: host: ohci-platform: addplatform specific power callback

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

9 years agofix ipv4 nat on 3.7 by adding missing iptables modules
John Crispin [Sat, 22 Dec 2012 10:17:29 +0000 (10:17 +0000)]
fix ipv4 nat on 3.7 by adding missing iptables modules

SVN-Revision: 34841

9 years agoar9 did not load atm driver properly
John Crispin [Sat, 22 Dec 2012 10:16:52 +0000 (10:16 +0000)]
ar9 did not load atm driver properly

SVN-Revision: 34840

9 years agodont use input layer for gpio buttons
John Crispin [Fri, 21 Dec 2012 20:04:20 +0000 (20:04 +0000)]
dont use input layer for gpio buttons

SVN-Revision: 34839

9 years agodefault switch setup for WBMR
John Crispin [Fri, 21 Dec 2012 20:04:12 +0000 (20:04 +0000)]
default switch setup for WBMR

SVN-Revision: 34838

9 years agoSetting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the...
John Crispin [Fri, 21 Dec 2012 20:04:04 +0000 (20:04 +0000)]
Setting the MDC clock to 2.5MHz and changing the mii mode to rgmii seems to fix the communication issues with the ar8316 switch. (ticket #11143)

Tested only on the wbmr-hp-g300h, could affect/break other devices.

Signed-off-by: Sebastian Mayr <sebastian.mayr@student.uibk.ac.at>
SVN-Revision: 34837

9 years agoadds script to set wps info on boards with a wps button
John Crispin [Fri, 21 Dec 2012 20:03:59 +0000 (20:03 +0000)]
adds script to set wps info on boards with a wps button

SVN-Revision: 34836

9 years agominor tweaks to WBMR image
John Crispin [Fri, 21 Dec 2012 20:03:54 +0000 (20:03 +0000)]
minor tweaks to WBMR image

SVN-Revision: 34835

9 years agoadd OF binding
John Crispin [Fri, 21 Dec 2012 20:03:49 +0000 (20:03 +0000)]
add OF binding

SVN-Revision: 34834

9 years agoadd missing PHY_BASIC_FEATURES to 100mbit phys
John Crispin [Fri, 21 Dec 2012 14:41:35 +0000 (14:41 +0000)]
add missing PHY_BASIC_FEATURES to 100mbit phys

SVN-Revision: 34826

9 years agofix typo inside fritz3370 devicetree file
John Crispin [Fri, 21 Dec 2012 14:41:30 +0000 (14:41 +0000)]
fix typo inside fritz3370 devicetree file

SVN-Revision: 34825

9 years agomore devicetree fixes
John Crispin [Fri, 21 Dec 2012 13:47:55 +0000 (13:47 +0000)]
more devicetree fixes

SVN-Revision: 34824

9 years agoimprove button handling
John Crispin [Fri, 21 Dec 2012 13:47:50 +0000 (13:47 +0000)]
improve button handling

SVN-Revision: 34823

9 years agoadd phy-reset gpio handling to xrx200-net
John Crispin [Fri, 21 Dec 2012 13:47:44 +0000 (13:47 +0000)]
add phy-reset gpio handling to xrx200-net

SVN-Revision: 34822

9 years agoadd more lantiq phy ids based on daniels uboot code
John Crispin [Fri, 21 Dec 2012 13:47:40 +0000 (13:47 +0000)]
add more lantiq phy ids based on daniels uboot code

SVN-Revision: 34821

9 years agorefresh patch and install v1.1 gphy blobs
John Crispin [Fri, 21 Dec 2012 13:47:35 +0000 (13:47 +0000)]
refresh patch and install v1.1 gphy blobs

SVN-Revision: 34820

9 years agoadsl firmware in wrong submenu
John Crispin [Fri, 21 Dec 2012 13:47:30 +0000 (13:47 +0000)]
adsl firmware in wrong submenu

SVN-Revision: 34819

9 years agominor cleanup for adsl firmware handling
John Crispin [Fri, 21 Dec 2012 13:47:25 +0000 (13:47 +0000)]
minor cleanup for adsl firmware handling

SVN-Revision: 34818

9 years agoproperly symlink the adsl firmware
John Crispin [Fri, 21 Dec 2012 13:47:20 +0000 (13:47 +0000)]
properly symlink the adsl firmware

SVN-Revision: 34817

9 years agomake to rtl8366_smi of binding use gpio_is_valid
John Crispin [Fri, 21 Dec 2012 13:47:14 +0000 (13:47 +0000)]
make to rtl8366_smi of binding use gpio_is_valid

SVN-Revision: 34816

9 years agohot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade
Mirko Vogt [Fri, 21 Dec 2012 12:10:21 +0000 (12:10 +0000)]
hot-fix nameclash in sysupgrade: rename pivot() to supivot() in sysupgrade

Sysupgrade defines its very own pivot() function.
Prior merging boot.sh and functions.sh sysupgrade just included boot.sh,
now it includes functions.sh which defines pivot() as well, however
slightly different which causes sysupgrade to fail.

This is a hot-fix to unbreak sysupgrade, however those two pivot()
functions should actually get merged.

SVN-Revision: 34815

9 years agokernel: add solos-pci update for 3.3
Gabor Juhos [Fri, 21 Dec 2012 10:38:33 +0000 (10:38 +0000)]
kernel: add solos-pci update for 3.3

Same patches that I just merged for 3.6 and 3.7, except with one
additional fix that went into v3.4 that needed to be included.

Submitted more for the benefit of the AA branch than for trunk.

[juhosg: refresh the patch with quilt]

Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 34813

9 years agorb532: add support for 3.7
Gabor Juhos [Thu, 20 Dec 2012 19:25:43 +0000 (19:25 +0000)]
rb532: add support for 3.7

Compile tested only.

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