openwrt/staging/nbd.git
11 years agolibnl: update to 3.2.21
Jonas Gorski [Tue, 23 Apr 2013 09:21:57 +0000 (09:21 +0000)]
libnl: update to 3.2.21

Signed-off-by: Russell Senior <russell@personaltelco.net>
SVN-Revision: 36394

11 years agokernel: add kmod-mcp23s08 package
Jonas Gorski [Tue, 23 Apr 2013 09:21:55 +0000 (09:21 +0000)]
kernel: add kmod-mcp23s08 package

Package up the Microchip MCP23S08 I/O expander driver. Needed on the
CalAmp LMU5000 board.

Signed-off-by: Adam Porter <porter.adam@gmail.com>
[jogo@openwrt.org: fix subject]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36393

11 years agoChange default IPv6 config to enable DHCPv6-PD
Steven Barth [Mon, 22 Apr 2013 19:40:16 +0000 (19:40 +0000)]
Change default IPv6 config to enable DHCPv6-PD

SVN-Revision: 36384

11 years agonetifd: Improve IPv6-ULA assignment handling
Steven Barth [Mon, 22 Apr 2013 19:40:06 +0000 (19:40 +0000)]
netifd: Improve IPv6-ULA assignment handling

SVN-Revision: 36383

11 years agoodhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix...
Steven Barth [Mon, 22 Apr 2013 19:40:01 +0000 (19:40 +0000)]
odhcp6c: Several fixes and improvements * Add preliminary support for RFC 6603 prefix exclusion * Fix reconfigure-support and reconfigure authentication * Set maximum retransmission timeout for solicitations to 2h * Fix a segfault when parsing IA_PD in advertise messages

SVN-Revision: 36382

11 years ago6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode
Steven Barth [Mon, 22 Apr 2013 19:39:55 +0000 (19:39 +0000)]
6relayd: Add DHCPv6-PD server support, fix relaying in stateful mode

SVN-Revision: 36381

11 years agokernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL
Felix Fietkau [Mon, 22 Apr 2013 15:01:36 +0000 (15:01 +0000)]
kernel: allow __netdev_alloc_skb_ip_align to be called with dev = NULL

SVN-Revision: 36378

11 years agouci: update to git head
Jo-Philipp Wich [Mon, 22 Apr 2013 14:52:28 +0000 (14:52 +0000)]
uci: update to git head

  - fixes memory leak in libuci when trying to open not existing configurations
  - fixes memory leak in libuci-lua when querying not existing sections or options
  - fixes handling of filenames with leading underscore

SVN-Revision: 36377

11 years agohostapd: update to 2013-04-05
Felix Fietkau [Mon, 22 Apr 2013 13:24:48 +0000 (13:24 +0000)]
hostapd: update to 2013-04-05

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

11 years agoscripts/config: warn on deprected "depends" syntax instead of throwing a syntax error
Felix Fietkau [Mon, 22 Apr 2013 12:53:32 +0000 (12:53 +0000)]
scripts/config: warn on deprected "depends" syntax instead of throwing a syntax error

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

11 years agoar71xx: merge more unaligned access hacks from cerowrt-next
Felix Fietkau [Mon, 22 Apr 2013 12:53:21 +0000 (12:53 +0000)]
ar71xx: merge more unaligned access hacks from cerowrt-next

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

11 years agofeeds: fix syntax error
Jo-Philipp Wich [Sat, 20 Apr 2013 13:01:56 +0000 (13:01 +0000)]
feeds: fix syntax error

SVN-Revision: 36370

11 years agofeeds: add openwrt-routing feed and drop bmx6 feed which got merged into openwrt...
Jo-Philipp Wich [Sat, 20 Apr 2013 12:56:52 +0000 (12:56 +0000)]
feeds: add openwrt-routing feed and drop bmx6 feed which got merged into openwrt-routing

SVN-Revision: 36368

11 years agokernel: backport SSB/BCMA changes in preparation for a compat-wireless update
Felix Fietkau [Fri, 19 Apr 2013 12:39:40 +0000 (12:39 +0000)]
kernel: backport SSB/BCMA changes in preparation for a compat-wireless update

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

11 years agolinux/3.9: add missing config symbol
Gabor Juhos [Fri, 19 Apr 2013 08:07:38 +0000 (08:07 +0000)]
linux/3.9: add missing config symbol

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

11 years agolinux/3.[89]: update bridge_remove_ipv6_dependency patch
Gabor Juhos [Fri, 19 Apr 2013 08:07:37 +0000 (08:07 +0000)]
linux/3.[89]: update bridge_remove_ipv6_dependency patch

Fixes the following warning:

    CC [M]  net/ipv6/addrconf.o
  net/ipv6/addrconf.c: In function 'addrconf_init':
  net/ipv6/addrconf.c:4944:2: warning: assignment from incompatible pointer type [enabled by default]

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

11 years agokernel: update linux 3.8 to 3.8.8
Gabor Juhos [Fri, 19 Apr 2013 08:07:34 +0000 (08:07 +0000)]
kernel: update linux 3.8 to 3.8.8

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

11 years agobuild: fix make defconfig
Felix Fietkau [Thu, 18 Apr 2013 13:51:16 +0000 (13:51 +0000)]
build: fix make defconfig

SVN-Revision: 36362

11 years agobuild: add new menuconfig code based on linux 3.9
Felix Fietkau [Thu, 18 Apr 2013 12:05:16 +0000 (12:05 +0000)]
build: add new menuconfig code based on linux 3.9

SVN-Revision: 36361

11 years agotoolchain: get rid of libc implementation symbol overloading
Felix Fietkau [Thu, 18 Apr 2013 12:05:08 +0000 (12:05 +0000)]
toolchain: get rid of libc implementation symbol overloading

SVN-Revision: 36360

11 years agotoolchain: get rid of musl version kconfig symbol overloading
Felix Fietkau [Thu, 18 Apr 2013 12:05:02 +0000 (12:05 +0000)]
toolchain: get rid of musl version kconfig symbol overloading

SVN-Revision: 36359

11 years agotoolchain: get rid of eglibc version kconfig symbol overloading
Felix Fietkau [Thu, 18 Apr 2013 12:04:55 +0000 (12:04 +0000)]
toolchain: get rid of eglibc version kconfig symbol overloading

SVN-Revision: 36358

11 years agotoolchain: get rid of uclibc version kconfig symbol overloading
Felix Fietkau [Thu, 18 Apr 2013 12:04:48 +0000 (12:04 +0000)]
toolchain: get rid of uclibc version kconfig symbol overloading

SVN-Revision: 36356

11 years agotoolchain: get rid of gcc kconfig symbol overloading
Felix Fietkau [Thu, 18 Apr 2013 12:04:40 +0000 (12:04 +0000)]
toolchain: get rid of gcc kconfig symbol overloading

SVN-Revision: 36355

11 years agomac80211: rework mac address allocation
Felix Fietkau [Wed, 17 Apr 2013 15:36:57 +0000 (15:36 +0000)]
mac80211: rework mac address allocation

If the first byte is available in the address mask, use only that one -
set the local bit and xor it with the id << 2. This ensures that there
are no hardware BSSID & BSSID-mask conflicts with devices that have
almost the same MAC address with just a small offset. The MAC address
conflict has been observed in a deployment with some devices from the
same batch when running with multiple interfaces.

If only some bits of the last byte are available, xor the id onto the
last MAC address byte (relevant mostly for Ralink devices).

In other cases (should not happen at this point), use the previous MAC
address offset calculation but without the local bit.

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

11 years agobuild: add a CONFIG_MODULES symbol for compatibility with kernel menuconfig
Felix Fietkau [Wed, 17 Apr 2013 15:36:49 +0000 (15:36 +0000)]
build: add a CONFIG_MODULES symbol for compatibility with kernel menuconfig

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

11 years agobuild: consistently use 'depends on' instead of 'depends'
Felix Fietkau [Wed, 17 Apr 2013 15:36:41 +0000 (15:36 +0000)]
build: consistently use 'depends on' instead of 'depends'

make the syntax more compatible with kernel menuconfig

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

11 years agobusybox: remove old no-MMU hackery
Felix Fietkau [Wed, 17 Apr 2013 15:36:26 +0000 (15:36 +0000)]
busybox: remove old no-MMU hackery

SVN-Revision: 36350

11 years agofix prepare_generic_squashfs
John Crispin [Wed, 17 Apr 2013 11:54:09 +0000 (11:54 +0000)]
fix prepare_generic_squashfs

prepare_generic_squashfs was called twice on the generated images breaking mount_root

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36349

11 years agouhttpd: update to git head, fixes regression when parsing IPv6 listen arguments
Jo-Philipp Wich [Wed, 17 Apr 2013 11:34:39 +0000 (11:34 +0000)]
uhttpd: update to git head, fixes regression when parsing IPv6 listen arguments

SVN-Revision: 36348

11 years agofeeds: add upstream bmx6 openwrt feed
Jo-Philipp Wich [Tue, 16 Apr 2013 13:08:57 +0000 (13:08 +0000)]
feeds: add upstream bmx6 openwrt feed

SVN-Revision: 36346

11 years agoath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on...
Felix Fietkau [Tue, 16 Apr 2013 10:53:02 +0000 (10:53 +0000)]
ath9k: change the BSSID mask calculation to fix setting arbitrary MAC address on interfaces

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

11 years agofix rt305x gpio
John Crispin [Tue, 16 Apr 2013 06:58:18 +0000 (06:58 +0000)]
fix rt305x gpio

https://dev.openwrt.org/ticket/13359

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36343

11 years agokernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)
Felix Fietkau [Mon, 15 Apr 2013 20:40:29 +0000 (20:40 +0000)]
kernel: force CONFIG_NET_SCHED=y for fq_codel (#13360)

SVN-Revision: 36342

11 years agorefresh against -rc7
Imre Kaloz [Mon, 15 Apr 2013 16:10:01 +0000 (16:10 +0000)]
refresh against -rc7

SVN-Revision: 36340

11 years agoiwinfo: print info of all existing wireless ifaces when cli is called without arguments
Jo-Philipp Wich [Mon, 15 Apr 2013 15:00:16 +0000 (15:00 +0000)]
iwinfo: print info of all existing wireless ifaces when cli is called without arguments

SVN-Revision: 36339

11 years agouhttpd: update to latest version, fixes compile error with latest libubox
Felix Fietkau [Mon, 15 Apr 2013 14:49:52 +0000 (14:49 +0000)]
uhttpd: update to latest version, fixes compile error with latest libubox

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

11 years agonetifd: update to latest version, fixes some device handling crashes
Felix Fietkau [Mon, 15 Apr 2013 14:21:45 +0000 (14:21 +0000)]
netifd: update to latest version, fixes some device handling crashes

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

11 years agolibubox: update to latest version
Felix Fietkau [Mon, 15 Apr 2013 13:55:05 +0000 (13:55 +0000)]
libubox: update to latest version

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

11 years agomac80211: merge upstream legacy minstrel improvements
Felix Fietkau [Mon, 15 Apr 2013 13:54:42 +0000 (13:54 +0000)]
mac80211: merge upstream legacy minstrel improvements

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

11 years agokernel: update linux 3.8 to 3.8.7
Gabor Juhos [Sun, 14 Apr 2013 09:25:53 +0000 (09:25 +0000)]
kernel: update linux 3.8 to 3.8.7

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

11 years agompc85xx: use static SPI bus number for TL-WDR4900
Gabor Juhos [Fri, 12 Apr 2013 19:44:41 +0000 (19:44 +0000)]
mpc85xx: use static SPI bus number for TL-WDR4900

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

11 years agolinux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9
Gabor Juhos [Fri, 12 Apr 2013 19:44:38 +0000 (19:44 +0000)]
linux/3.8: backport 'spi/of: Use DT aliases for assigning bus number' from 3.9

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

11 years agoupdate rt2880 config-3.8
John Crispin [Fri, 12 Apr 2013 18:57:01 +0000 (18:57 +0000)]
update rt2880 config-3.8

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36327

11 years agofix up the rt2880 patches
John Crispin [Fri, 12 Apr 2013 18:56:53 +0000 (18:56 +0000)]
fix up the rt2880 patches

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36326

11 years agofix RT-N15 support
John Crispin [Fri, 12 Apr 2013 18:56:44 +0000 (18:56 +0000)]
fix RT-N15 support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36325

11 years agoupdate rt2880.dtsi
John Crispin [Fri, 12 Apr 2013 18:56:36 +0000 (18:56 +0000)]
update rt2880.dtsi

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36324

11 years agofix rtl8366s OF binding
John Crispin [Fri, 12 Apr 2013 18:56:05 +0000 (18:56 +0000)]
fix rtl8366s OF binding

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36323

11 years agompc85xx: set preinit interface to eth0 by default
Gabor Juhos [Fri, 12 Apr 2013 18:30:25 +0000 (18:30 +0000)]
mpc85xx: set preinit interface to eth0 by default

This makes the WDR4900 accessible via ethernet in
failsafe mode.

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

11 years agompc85xx: Generate fdt for P1020RDB
Gabor Juhos [Fri, 12 Apr 2013 18:30:24 +0000 (18:30 +0000)]
mpc85xx: Generate fdt for P1020RDB

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36321

11 years agompc85xx: Add P1020RDB board support
Gabor Juhos [Fri, 12 Apr 2013 18:30:22 +0000 (18:30 +0000)]
mpc85xx: Add P1020RDB board support

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 36320

11 years agoadd VG3503J support
John Crispin [Thu, 11 Apr 2013 19:18:07 +0000 (19:18 +0000)]
add VG3503J support

this adds basic support. the bootloader on these units is locked down.

until we have a replacement we can do basic testing with these env variables in uboot.

set update_openwrt erase 0xb0020000 0xb073ffff \;tftp 0x81000000 openwrt-lantiq-xway-VG3503J-squashfs.image\;cp.b 0x81000000 0xb0020000 \$(filesize)
set bootcmd cp.b 0xb0020000 0x80002000 0x400000\; go 0x80002000

unfortunatley the bootloader ignores the bootcmd, so autobooting is not possible yet. you need to call "run bootcmd" by hand after each power cycle.

please note that the vdsl firmware is non redistributable. you can find it in the GPL drop that BT provides.

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36315

11 years agoadd FE phy firmware
John Crispin [Thu, 11 Apr 2013 19:17:48 +0000 (19:17 +0000)]
add FE phy firmware

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36314

11 years agoThis adds Gateworks Laguna family board support. Note that some Laguna boards have...
Luka Perkov [Thu, 11 Apr 2013 16:04:31 +0000 (16:04 +0000)]
This adds Gateworks Laguna family board support. Note that some Laguna boards have SPI flash and others have NOR flash, thus the size/erasesize are detected dynamically.

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

11 years agoadd missing pinmux patch
John Crispin [Thu, 11 Apr 2013 07:12:37 +0000 (07:12 +0000)]
add missing pinmux patch

Fix lantiq pinmux which affected PCI and USB.

Known affected boards are: ARV4518 and ARV7518.

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

11 years agomac80211: fix a client mode reconnect issue
Felix Fietkau [Wed, 10 Apr 2013 21:17:33 +0000 (21:17 +0000)]
mac80211: fix a client mode reconnect issue

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

11 years agocns3xxx: fix USB ehci/ohci platform driver
Felix Fietkau [Wed, 10 Apr 2013 16:20:50 +0000 (16:20 +0000)]
cns3xxx: fix USB ehci/ohci platform driver

Update ehci/ohci driver registration to conform to the new platform
drivers.

This fixes missing USB host support in 3.8.x

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

11 years agokernel: calibrate the TWD timer even when booting with only one CPU, it is used for...
Felix Fietkau [Wed, 10 Apr 2013 16:07:50 +0000 (16:07 +0000)]
kernel: calibrate the TWD timer even when booting with only one CPU, it is used for the watchdog timer base

Fixes booting on single-core CNS3xxx devices

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

11 years agokernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it
Felix Fietkau [Wed, 10 Apr 2013 13:45:12 +0000 (13:45 +0000)]
kernel: keep the igmp proc support even with PROC_STRIPPED, some tools still use it

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

11 years agoath9k: fix an AR9580 specific crypto related stability issue
Felix Fietkau [Wed, 10 Apr 2013 13:26:08 +0000 (13:26 +0000)]
ath9k: fix an AR9580 specific crypto related stability issue

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

11 years agomac80211: revert the queue length to the default (reduction obsoleted by the use...
Felix Fietkau [Wed, 10 Apr 2013 13:11:33 +0000 (13:11 +0000)]
mac80211: revert the queue length to the default (reduction obsoleted by the use of fq_codel)

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

11 years agokernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast
Felix Fietkau [Wed, 10 Apr 2013 13:11:29 +0000 (13:11 +0000)]
kernel: switch default qdisc from pfifo_fast to fq_codel and remove pfifo_fast

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

11 years agokernel: keep dropped stats in fq_codel
Felix Fietkau [Wed, 10 Apr 2013 13:11:25 +0000 (13:11 +0000)]
kernel: keep dropped stats in fq_codel

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

11 years agokernel: tune fq_codel defaults for common netdevice speeds
Felix Fietkau [Wed, 10 Apr 2013 13:11:21 +0000 (13:11 +0000)]
kernel: tune fq_codel defaults for common netdevice speeds

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

11 years agokernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce...
Felix Fietkau [Wed, 10 Apr 2013 13:11:16 +0000 (13:11 +0000)]
kernel: add patches by Dave Täht to reduce buffer size in longer queues to reduce memory pressure

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

11 years agokernel: refresh patches against 3.9-rc6
Florian Fainelli [Tue, 9 Apr 2013 16:16:20 +0000 (16:16 +0000)]
kernel: refresh patches against 3.9-rc6

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

11 years agokernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c
Florian Fainelli [Tue, 9 Apr 2013 16:16:16 +0000 (16:16 +0000)]
kernel: add support for PMC PM25LQ032 SPI Flash in m25p80.c

Add support for PMC PM25LQ032 (4MB) SPI Flash used in Hame MPR-A1 and clones.

Signed-off-by: Michel Stempin <michel.stempin@wanadoo.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 36296

11 years agokernel: backport switch user API changes after r36283
Florian Fainelli [Tue, 9 Apr 2013 15:47:01 +0000 (15:47 +0000)]
kernel: backport switch user API changes after r36283

3.3 and 3.6 kernels do not make use of the UAPI headers, still they need
to provide an up-to-date switch.h copy for swconfig to build.

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

11 years agoqos-scripts: add queue length and quantum limit, suggested by dtaht
Felix Fietkau [Tue, 9 Apr 2013 14:59:10 +0000 (14:59 +0000)]
qos-scripts: add queue length and quantum limit, suggested by dtaht

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

11 years agounbreak portmapping - typo fix
John Crispin [Tue, 9 Apr 2013 14:39:01 +0000 (14:39 +0000)]
unbreak portmapping - typo fix

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36293

11 years agoiwinfo: fix frequency/channel and channel/frequency conversions to properly implement...
Jo-Philipp Wich [Tue, 9 Apr 2013 14:37:55 +0000 (14:37 +0000)]
iwinfo: fix frequency/channel and channel/frequency conversions to properly implement 802.11j

SVN-Revision: 36292

11 years agobuildroot: enable software floating point for MIPS64 targets
Florian Fainelli [Tue, 9 Apr 2013 14:36:09 +0000 (14:36 +0000)]
buildroot: enable software floating point for MIPS64 targets

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

11 years agomove memory detect node to dtsi files
John Crispin [Tue, 9 Apr 2013 14:19:36 +0000 (14:19 +0000)]
move memory detect node to dtsi files

Signed-of-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36290

11 years agoAdd Netgear WNCE2001 (OF version)
John Crispin [Tue, 9 Apr 2013 14:19:33 +0000 (14:19 +0000)]
Add Netgear WNCE2001 (OF version)

Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>
SVN-Revision: 36289

11 years agoremove bootargs from dts
John Crispin [Tue, 9 Apr 2013 14:19:28 +0000 (14:19 +0000)]
remove bootargs from dts

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36288

11 years agoadd ofpart info to the devicetrees
John Crispin [Tue, 9 Apr 2013 14:19:24 +0000 (14:19 +0000)]
add ofpart info to the devicetrees

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36287

11 years agoadd sample swconfig portmap
John Crispin [Tue, 9 Apr 2013 14:19:20 +0000 (14:19 +0000)]
add sample swconfig portmap

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36286

11 years agoset of_node before registring the switch
John Crispin [Tue, 9 Apr 2013 14:19:17 +0000 (14:19 +0000)]
set of_node before registring the switch

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36285

11 years agoadd portmap support to userland
John Crispin [Tue, 9 Apr 2013 14:19:13 +0000 (14:19 +0000)]
add portmap support to userland

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36284

11 years agoallow loading port maps from OF
John Crispin [Tue, 9 Apr 2013 14:19:09 +0000 (14:19 +0000)]
allow loading port maps from OF

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36283

11 years agoadd "swconfig list" support
John Crispin [Tue, 9 Apr 2013 14:19:05 +0000 (14:19 +0000)]
add "swconfig list" support

Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 36282

11 years agonetifd: fix route / route6 regression (#13303)
Jo-Philipp Wich [Tue, 9 Apr 2013 12:21:12 +0000 (12:21 +0000)]
netifd: fix route / route6 regression (#13303)

SVN-Revision: 36281

11 years agoRemove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead
Steven Barth [Tue, 9 Apr 2013 12:12:30 +0000 (12:12 +0000)]
Remove deprecated ip6slaac option * use proto=dhcpv6 with reqprefix=no instead

SVN-Revision: 36280

11 years agoRemove obsoleted ipv6-support meta-package
Steven Barth [Tue, 9 Apr 2013 09:45:51 +0000 (09:45 +0000)]
Remove obsoleted ipv6-support meta-package

SVN-Revision: 36279

11 years agoAdapt default network configuration for IPv6
Steven Barth [Tue, 9 Apr 2013 08:03:08 +0000 (08:03 +0000)]
Adapt default network configuration for IPv6

SVN-Revision: 36278

11 years agoEnable native IPv6 support by default
Steven Barth [Tue, 9 Apr 2013 08:02:55 +0000 (08:02 +0000)]
Enable native IPv6 support by default

SVN-Revision: 36277

11 years agoramips: TEW-691GR.dts fixes
Gabor Juhos [Mon, 8 Apr 2013 12:34:17 +0000 (12:34 +0000)]
ramips: TEW-691GR.dts fixes

* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle

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

11 years agoramips: rt3883: enable the AR8216 driver
Gabor Juhos [Mon, 8 Apr 2013 12:34:15 +0000 (12:34 +0000)]
ramips: rt3883: enable the AR8216 driver

It is needed for the TEW-69{1,2}GR boards.

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

11 years agoramips: add profile for the Omnima EMB-HPM board
Gabor Juhos [Mon, 8 Apr 2013 11:12:04 +0000 (11:12 +0000)]
ramips: add profile for the Omnima EMB-HPM board

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

11 years agoramips: OMNI-EMB-HPM.dts fixes
Gabor Juhos [Mon, 8 Apr 2013 11:12:03 +0000 (11:12 +0000)]
ramips: OMNI-EMB-HPM.dts fixes

* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties

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

11 years agoramips: add mdio-bus node to rt3883.dtsi
Gabor Juhos [Mon, 8 Apr 2013 11:12:02 +0000 (11:12 +0000)]
ramips: add mdio-bus node to rt3883.dtsi

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

11 years agoramips: fix MDIO/PHY handling
Gabor Juhos [Mon, 8 Apr 2013 11:12:01 +0000 (11:12 +0000)]
ramips: fix MDIO/PHY handling

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

11 years agoramips: fix console speed for OMNI-EMB-HPM
Gabor Juhos [Mon, 8 Apr 2013 08:24:51 +0000 (08:24 +0000)]
ramips: fix console speed for OMNI-EMB-HPM

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

11 years agoramips: avoid invalid pointer dereference in pinmux code
Gabor Juhos [Mon, 8 Apr 2013 08:24:50 +0000 (08:24 +0000)]
ramips: avoid invalid pointer dereference in pinmux code

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

11 years agoramips: TEW-692GR.dts fixes
Gabor Juhos [Mon, 8 Apr 2013 07:11:35 +0000 (07:11 +0000)]
ramips: TEW-692GR.dts fixes

* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node

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

11 years agoath9k: fix a tx processing race condition on AR9300+
Felix Fietkau [Sun, 7 Apr 2013 22:05:45 +0000 (22:05 +0000)]
ath9k: fix a tx processing race condition on AR9300+

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

11 years agoath9k_htc: accept firmware versions newer than 1.3
Felix Fietkau [Sun, 7 Apr 2013 22:05:41 +0000 (22:05 +0000)]
ath9k_htc: accept firmware versions newer than 1.3

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

11 years agomac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
Felix Fietkau [Sun, 7 Apr 2013 22:05:36 +0000 (22:05 +0000)]
mac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches

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

11 years agoramips: add PCI node into RTN56U.dts
Gabor Juhos [Sun, 7 Apr 2013 20:56:22 +0000 (20:56 +0000)]
ramips: add PCI node into RTN56U.dts

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

11 years agoramips: add PCI node for rt3883.dtsi
Gabor Juhos [Sun, 7 Apr 2013 20:56:21 +0000 (20:56 +0000)]
ramips: add PCI node for rt3883.dtsi

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