openwrt.git
11 years ago[ramips] move memory detect node to dtsi files
blogic [Tue, 9 Apr 2013 14:19:36 +0000 (14:19 +0000)]
[ramips] move memory detect node to dtsi files

Signed-of-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] Add Netgear WNCE2001 (OF version)
blogic [Tue, 9 Apr 2013 14:19:33 +0000 (14:19 +0000)]
[ramips] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] remove bootargs from dts
blogic [Tue, 9 Apr 2013 14:19:28 +0000 (14:19 +0000)]
[ramips] remove bootargs from dts

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36288 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] add ofpart info to the devicetrees
blogic [Tue, 9 Apr 2013 14:19:24 +0000 (14:19 +0000)]
[ramips] add ofpart info to the devicetrees

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] add sample swconfig portmap
blogic [Tue, 9 Apr 2013 14:19:20 +0000 (14:19 +0000)]
[ramips] add sample swconfig portmap

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] set of_node before registring the switch
blogic [Tue, 9 Apr 2013 14:19:17 +0000 (14:19 +0000)]
[ramips] set of_node before registring the switch

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36285 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[swconfig] add portmap support to userland
blogic [Tue, 9 Apr 2013 14:19:13 +0000 (14:19 +0000)]
[swconfig] add portmap support to userland

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36284 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[swconfig] allow loading port maps from OF
blogic [Tue, 9 Apr 2013 14:19:09 +0000 (14:19 +0000)]
[swconfig] allow loading port maps from OF

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36283 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36282 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

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

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

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

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

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

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

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

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

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

11 years agoramips: TEW-691GR.dts fixes
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36276 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt3883: enable the AR8216 driver
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36275 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add profile for the Omnima EMB-HPM board
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36274 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: OMNI-EMB-HPM.dts fixes
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36273 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add mdio-bus node to rt3883.dtsi
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36272 3c298f89-4303-0410-b956-a3cf2f4a3e73

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

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36271 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix console speed for OMNI-EMB-HPM
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36270 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: avoid invalid pointer dereference in pinmux code
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36269 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: TEW-692GR.dts fixes
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36268 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k: fix a tx processing race condition on AR9300+
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36267 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoath9k_htc: accept firmware versions newer than 1.3
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36266 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomac80211: merge an idle handling fix (fixes ath9k_htc client mode), refresh patches
nbd [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36265 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add PCI node into RTN56U.dts
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36264 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add PCI node for rt3883.dtsi
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36263 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt3883: enable PCI support
juhosg [Sun, 7 Apr 2013 20:56:20 +0000 (20:56 +0000)]
ramips: rt3883: enable PCI support

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36262 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix RT3883 PCI driver
juhosg [Sun, 7 Apr 2013 20:56:18 +0000 (20:56 +0000)]
ramips: fix RT3883 PCI driver

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36261 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: refresh patches
juhosg [Sun, 7 Apr 2013 17:05:05 +0000 (17:05 +0000)]
ramips: refresh patches

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36260 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add missing cpu-feature-override.h files
juhosg [Sun, 7 Apr 2013 17:05:04 +0000 (17:05 +0000)]
ramips: add missing cpu-feature-override.h files

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36259 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix broken patch name
juhosg [Sun, 7 Apr 2013 16:26:27 +0000 (16:26 +0000)]
ramips: fix broken patch name

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36258 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix polarity of GPIO buttons for RT-N56U
juhosg [Sun, 7 Apr 2013 16:24:33 +0000 (16:24 +0000)]
ramips: fix polarity of GPIO buttons for RT-N56U

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36257 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/generic: remove old kernel configs
juhosg [Sun, 7 Apr 2013 15:53:17 +0000 (15:53 +0000)]
x86/generic: remove old kernel configs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36256 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/generic: switch to 3.8
juhosg [Sun, 7 Apr 2013 15:53:15 +0000 (15:53 +0000)]
x86/generic: switch to 3.8

Only tested within a VM.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36255 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/generic: add config for 3.8
juhosg [Sun, 7 Apr 2013 15:53:13 +0000 (15:53 +0000)]
x86/generic: add config for 3.8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36254 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/alix2: remove old kernel configs
juhosg [Sun, 7 Apr 2013 15:53:11 +0000 (15:53 +0000)]
x86/alix2: remove old kernel configs

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36253 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/alix2: switch to 3.8
juhosg [Sun, 7 Apr 2013 15:53:09 +0000 (15:53 +0000)]
x86/alix2: switch to 3.8

Tested on an alix2d13 board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36252 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86/alix2: add config for 3.8
juhosg [Sun, 7 Apr 2013 15:53:08 +0000 (15:53 +0000)]
x86/alix2: add config for 3.8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36251 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agox86: add support for 3.8
juhosg [Sun, 7 Apr 2013 15:53:05 +0000 (15:53 +0000)]
x86: add support for 3.8

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36250 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add nor-flash node for the RT-N56U
juhosg [Sun, 7 Apr 2013 14:46:11 +0000 (14:46 +0000)]
ramips: add nor-flash node for the RT-N56U

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36249 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix pinmux settings for the RT-N56U
juhosg [Sun, 7 Apr 2013 14:46:10 +0000 (14:46 +0000)]
ramips: fix pinmux settings for the RT-N56U

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36248 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: pinmux fixes
juhosg [Sun, 7 Apr 2013 14:46:09 +0000 (14:46 +0000)]
ramips: pinmux fixes

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36247 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: remove trailing whitespaces from dts files
juhosg [Sun, 7 Apr 2013 13:32:37 +0000 (13:32 +0000)]
ramips: remove trailing whitespaces from dts files

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36246 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: handle PCI interrupts in plat_irq_dispatch
juhosg [Sun, 7 Apr 2013 13:25:38 +0000 (13:25 +0000)]
ramips: handle PCI interrupts in plat_irq_dispatch

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36245 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] fix typos inside dts files
blogic [Sun, 7 Apr 2013 11:47:03 +0000 (11:47 +0000)]
[ramips] fix typos inside dts files

Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>

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

11 years ago[ramips] fix default commandline in dts files
blogic [Sun, 7 Apr 2013 11:46:54 +0000 (11:46 +0000)]
[ramips] fix default commandline in dts files

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36243 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: add cfi_cmdset_0002 patches
juhosg [Sun, 7 Apr 2013 11:37:15 +0000 (11:37 +0000)]
ramips: add cfi_cmdset_0002 patches

The parallel flash access on the RT-N56U is broken
without those patches.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36242 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agocns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and...
nbd [Sun, 7 Apr 2013 11:24:30 +0000 (11:24 +0000)]
cns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and is useful only for testing

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36241 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
nbd [Sun, 7 Apr 2013 10:11:41 +0000 (10:11 +0000)]
gcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36240 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agouClibc: unbreak ld-uClibc on non-64bit platforms
nbd [Sun, 7 Apr 2013 10:11:38 +0000 (10:11 +0000)]
uClibc: unbreak ld-uClibc on non-64bit platforms

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36239 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: remove top-level {address,size}-cells properties from .dts files
juhosg [Sun, 7 Apr 2013 08:19:10 +0000 (08:19 +0000)]
ramips: remove top-level {address,size}-cells properties from .dts files

Those are defined in the SoC specific .dtsi files.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36237 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobrcm47xx: use old partition names again for kernel 3.8
hauke [Sat, 6 Apr 2013 22:22:26 +0000 (22:22 +0000)]
brcm47xx: use old partition names again for kernel 3.8

This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

Thank you russell for spotting this problem.

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

11 years agobrcm47xx: fix error in board detection when nvram is not available.
hauke [Sat, 6 Apr 2013 19:02:25 +0000 (19:02 +0000)]
brcm47xx: fix error in board detection when nvram is not available.

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

11 years agolinux/3.8: implement pcibios_get_phb_of_node for MIPS
juhosg [Sat, 6 Apr 2013 17:33:03 +0000 (17:33 +0000)]
linux/3.8: implement pcibios_get_phb_of_node for MIPS

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36233 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.8: backport devm_ioremap_resource from 3.9
juhosg [Sat, 6 Apr 2013 17:33:00 +0000 (17:33 +0000)]
linux/3.8: backport devm_ioremap_resource from 3.9

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36232 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix ethernet switch node in DIR-645.dts
juhosg [Sat, 6 Apr 2013 17:19:35 +0000 (17:19 +0000)]
ramips: fix ethernet switch node in DIR-645.dts

Fix a typo in the node name and add vendor prefix
for the compatible string.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36231 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: rtl8367: add compatible string with vendor prefix
juhosg [Sat, 6 Apr 2013 17:19:31 +0000 (17:19 +0000)]
generic: rtl8367: add compatible string with vendor prefix

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36230 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: rtl8367b: fix rtl8367b_extif_init_of
juhosg [Sat, 6 Apr 2013 17:03:09 +0000 (17:03 +0000)]
generic: rtl8367b: fix rtl8367b_extif_init_of

* disable external interface if its property is not present
* show an error message if the extif property is not valid
* use proper error values intead of -1
* fix memory leak
* wrap long lines

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36229 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.8: add more missing symbols
juhosg [Sat, 6 Apr 2013 16:56:47 +0000 (16:56 +0000)]
linux/3.8: add more missing symbols

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36228 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agopackage/kernel: only include i2c-of if CONFIG_OF enabled
juhosg [Sat, 6 Apr 2013 16:55:25 +0000 (16:55 +0000)]
package/kernel: only include i2c-of if CONFIG_OF enabled

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36227 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agolinux/3.8: add missing symbol
juhosg [Sat, 6 Apr 2013 16:38:36 +0000 (16:38 +0000)]
linux/3.8: add missing symbol

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36226 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: fix md5sum for 3.8.6
juhosg [Sat, 6 Apr 2013 13:11:44 +0000 (13:11 +0000)]
kernel: fix md5sum for 3.8.6

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36225 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: Allow talitos crypto hw module selection
juhosg [Sat, 6 Apr 2013 12:41:06 +0000 (12:41 +0000)]
kernel: Allow talitos crypto hw module selection

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36224 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: remove spi node from RTN56.dts
juhosg [Sat, 6 Apr 2013 12:37:40 +0000 (12:37 +0000)]
ramips: remove spi node from RTN56.dts

The RT-N56U board uses a parallel flash.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36223 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: fix ethernet switch node in RTN56U.dts
juhosg [Sat, 6 Apr 2013 12:37:38 +0000 (12:37 +0000)]
ramips: fix ethernet switch node in RTN56U.dts

The RT-N56U uses an RTL8367M switch.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36222 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt3883: enable the RTL8367 driver
juhosg [Sat, 6 Apr 2013 12:37:37 +0000 (12:37 +0000)]
ramips: rt3883: enable the RTL8367 driver

That is needed by the Asus RT-N56U board.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36221 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: rtl8367: allow to load extif config from OF
juhosg [Sat, 6 Apr 2013 12:37:36 +0000 (12:37 +0000)]
generic: rtl8367: allow to load extif config from OF

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36220 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
juhosg [Sat, 6 Apr 2013 12:37:34 +0000 (12:37 +0000)]
generic: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36219 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agogeneric: rtl8367: add vendor prefix to the compatible string
juhosg [Sat, 6 Apr 2013 12:37:32 +0000 (12:37 +0000)]
generic: rtl8367: add vendor prefix to the compatible string

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36218 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoramips: rt3883: sync 3.8 config
juhosg [Sat, 6 Apr 2013 12:37:31 +0000 (12:37 +0000)]
ramips: rt3883: sync 3.8 config

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36217 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] fix typo pinmmux -> pinmux
blogic [Sat, 6 Apr 2013 11:46:34 +0000 (11:46 +0000)]
[ramips] fix typo pinmmux -> pinmux

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36216 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agokernel: update linux 3.8 to 3.8.6
juhosg [Sat, 6 Apr 2013 11:40:44 +0000 (11:40 +0000)]
kernel: update linux 3.8 to 3.8.6

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agorefresh kernel configs with kconfig.pl
juhosg [Sat, 6 Apr 2013 11:40:41 +0000 (11:40 +0000)]
refresh kernel configs with kconfig.pl

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36214 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] fix dir-615 h1 network config
blogic [Fri, 5 Apr 2013 23:37:45 +0000 (23:37 +0000)]
[ramips] fix dir-615 h1 network config

http://patchwork.openwrt.org/patch/3527/

Signed-off-by: Daniel Petre <dani@ip6.ro>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36213 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[ramips] fix typo that made gpiomuxing fail
blogic [Fri, 5 Apr 2013 23:10:42 +0000 (23:10 +0000)]
[ramips] fix typo that made gpiomuxing fail

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36212 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomalta: add le64 and be64 sub targets
florian [Fri, 5 Apr 2013 12:36:48 +0000 (12:36 +0000)]
malta: add le64 and be64 sub targets

These two subtargets are used to build a 64-bit malta kernel along with
64-bit userland support.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36211 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomalta: move 32-bits options to subtarget config
florian [Fri, 5 Apr 2013 12:36:45 +0000 (12:36 +0000)]
malta: move 32-bits options to subtarget config

Preliminary change to add support for MIPS64-based malta subtargets.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36210 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomalta: move endianness kernel configuration to subtarget
florian [Fri, 5 Apr 2013 12:36:41 +0000 (12:36 +0000)]
malta: move endianness kernel configuration to subtarget

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36209 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain/uClibc: backport a MIPS64 fix from openadk
florian [Fri, 5 Apr 2013 12:36:37 +0000 (12:36 +0000)]
toolchain/uClibc: backport a MIPS64 fix from openadk

Fixes uClibc dynamic loader name requested by executables when
targetting MIPS64 n64

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36208 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain/uClibc: handle different MIPS64 ABIs
florian [Fri, 5 Apr 2013 12:36:31 +0000 (12:36 +0000)]
toolchain/uClibc: handle different MIPS64 ABIs

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36207 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain: musl is not available on MIPS64
florian [Fri, 5 Apr 2013 12:36:26 +0000 (12:36 +0000)]
toolchain: musl is not available on MIPS64

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36206 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain: allow choosing the MIPS64 user-land ABI
florian [Fri, 5 Apr 2013 12:36:23 +0000 (12:36 +0000)]
toolchain: allow choosing the MIPS64 user-land ABI

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36205 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuildroot: factor knowledge of a 64bits architecture
florian [Fri, 5 Apr 2013 12:36:19 +0000 (12:36 +0000)]
buildroot: factor knowledge of a 64bits architecture

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36204 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agomalta: enable mips16 feature flag
florian [Fri, 5 Apr 2013 12:36:16 +0000 (12:36 +0000)]
malta: enable mips16 feature flag

The malta platform supports mips16 advertise this feature flag.

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36203 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agobuildroot: allow enabling MIPS16 user-space build
florian [Fri, 5 Apr 2013 12:36:12 +0000 (12:36 +0000)]
buildroot: allow enabling MIPS16 user-space build

Enabling MIPS16 is made conditional on advertising the "mips16" feature
for a specific target since it requires support from the CPU
(HAS_MIPS16) and the actual use of MIPS16 for building packages
(USE_MIPS16).

Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36202 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agoopenssl: Pass in any TARGET_ASFLAGS
florian [Fri, 5 Apr 2013 12:36:09 +0000 (12:36 +0000)]
openssl: Pass in any TARGET_ASFLAGS

Packages not picking up the regular TARGET_AS need their openwrt
Makefiles tweaked. For a basic build, that's just openssl.

This depends on patch 1/5.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36201 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain/gcc: .init and .fini need to pick one ISA
florian [Fri, 5 Apr 2013 12:36:06 +0000 (12:36 +0000)]
toolchain/gcc: .init and .fini need to pick one ISA

The .init and .fini sections are built by concatenating code
fragments. Putting mips16 code in the middle of a mips32 code block
doesn't work. Make gcc built the magic crt stuff in no-mips16 mode.

This is specific to 4.6-linaro but is probably portable to other gcc
flavors. Adding this to the t-libgcc-mips16 makefile fragment is a
hack not suitable for pushing upstream, but there is no mips/t-linux
or mips/t-uclibc and I am not going to touch gcc/configure for two
lines.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36200 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agotoolchain/uClibc: Disable mips16 for uClibc for now
florian [Fri, 5 Apr 2013 12:36:00 +0000 (12:36 +0000)]
toolchain/uClibc: Disable mips16 for uClibc for now

For now, build uclibc without -mips16. There's no mips16 syscall
support AFAIK and uclibc uses inline assembly syscalls a lot.

In addition, touching errno means touching a TLS model symbol, and
that's not supported in gcc 4.6.

The __set_errno macro can be put back to calling
errno_location(). This allows much of the library to be built in
mips16 mode. I don't understand the implications to the thread library
of doing this.

A list of "build as -mno-mips16" C source files can be placed in the
mips architecture-dependent build files. Maintaining the list would be
no fun.

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36199 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agorules.mk: MIPS16 builds get a different toolchain
florian [Fri, 5 Apr 2013 12:35:56 +0000 (12:35 +0000)]
rules.mk: MIPS16 builds get a different toolchain

To be safe, build "m16" into the toolchain and target architecture the
same way mips32r2 does:

target-mips_r2_m16_uClibc-0.9.33.2
toolchain-mips_r2_m16_gcc-4.6-linaro_uClibc-0.9.33.2

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36198 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agorules.mk: Create TARGET_ASFLAGS; force -mno-mips16
florian [Fri, 5 Apr 2013 12:35:53 +0000 (12:35 +0000)]
rules.mk: Create TARGET_ASFLAGS; force -mno-mips16

Create and use a TARGET_ASFLAGS, defaulting to TARGET_CFLAGS.

MIPS .S files reasonably assume they are not in mips16 mode. Because
"-mips16 -mno-mips16" results in -mno-mips16, I can append that to the
TARGET_ASFLAGS. This should be done with $(filter-out)?

Signed-off-by: Jay Carlson <nop@nop.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36197 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: Bump to latest version
cyrus [Fri, 5 Apr 2013 12:28:06 +0000 (12:28 +0000)]
netifd: Bump to latest version
* Fix a memory corruption when updating IPv6 prefixes
* Fix route sorting order (nbd)
* Add support for ip rules (jow)
* Implement support for route / route6 table attribute (jow)

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

11 years agoubus: update to latest version, fixes a crash on reconnect
nbd [Thu, 4 Apr 2013 20:04:52 +0000 (20:04 +0000)]
ubus: update to latest version, fixes a crash on reconnect

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

11 years ago[mac80211] add a helper that allows loading the eeprom from a MTD partition pointed...
blogic [Thu, 4 Apr 2013 14:57:43 +0000 (14:57 +0000)]
[mac80211] add a helper that allows loading the eeprom from a MTD partition pointed to by a phandle

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36194 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years agonetifd: Rewrite IPv6 prefix assignment
cyrus [Wed, 3 Apr 2013 17:08:21 +0000 (17:08 +0000)]
netifd: Rewrite IPv6 prefix assignment
* Add ip6hint option to specify assigned subprefixes
* Add preliminary support for RFC 6603 prefix exclusion

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

11 years ago[kernel] unbreak i2c-mv64xxx dependencies
blogic [Wed, 3 Apr 2013 12:58:06 +0000 (12:58 +0000)]
[kernel] unbreak i2c-mv64xxx dependencies

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36192 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[kernel] fix borken of-i2c dependencies
blogic [Wed, 3 Apr 2013 12:51:12 +0000 (12:51 +0000)]
[kernel] fix borken of-i2c dependencies

Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36191 3c298f89-4303-0410-b956-a3cf2f4a3e73

11 years ago[toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs...
kaloz [Wed, 3 Apr 2013 10:41:07 +0000 (10:41 +0000)]
[toolchain/gcc]: remove the old (and nonworking) hack and identify our patched GCCs properly

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

11 years ago[procd] fix eglibc compile
blogic [Wed, 3 Apr 2013 10:01:10 +0000 (10:01 +0000)]
[procd] fix eglibc compile

add librt dependency/link flag to procd when using eglibc thanks to jow for the help

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36188 3c298f89-4303-0410-b956-a3cf2f4a3e73