oweals/openwrt.git
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

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

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

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

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

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

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

11 years agoramips: add missing cpu-feature-override.h files
Gabor Juhos [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>
SVN-Revision: 36259

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

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

11 years agoramips: fix polarity of GPIO buttons for RT-N56U
Gabor Juhos [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>
SVN-Revision: 36257

11 years agox86/generic: remove old kernel configs
Gabor Juhos [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>
SVN-Revision: 36256

11 years agox86/generic: switch to 3.8
Gabor Juhos [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>
SVN-Revision: 36255

11 years agox86/generic: add config for 3.8
Gabor Juhos [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>
SVN-Revision: 36254

11 years agox86/alix2: remove old kernel configs
Gabor Juhos [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>
SVN-Revision: 36253

11 years agox86/alix2: switch to 3.8
Gabor Juhos [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>
SVN-Revision: 36252

11 years agox86/alix2: add config for 3.8
Gabor Juhos [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>
SVN-Revision: 36251

11 years agox86: add support for 3.8
Gabor Juhos [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>
SVN-Revision: 36250

11 years agoramips: add nor-flash node for the RT-N56U
Gabor Juhos [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>
SVN-Revision: 36249

11 years agoramips: fix pinmux settings for the RT-N56U
Gabor Juhos [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>
SVN-Revision: 36248

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

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

11 years agoramips: remove trailing whitespaces from dts files
Gabor Juhos [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>
SVN-Revision: 36246

11 years agoramips: handle PCI interrupts in plat_irq_dispatch
Gabor Juhos [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>
SVN-Revision: 36245

11 years agofix typos inside dts files
John Crispin [Sun, 7 Apr 2013 11:47:03 +0000 (11:47 +0000)]
fix typos inside dts files

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

SVN-Revision: 36244

11 years agofix default commandline in dts files
John Crispin [Sun, 7 Apr 2013 11:46:54 +0000 (11:46 +0000)]
fix default commandline in dts files

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

11 years agoramips: add cfi_cmdset_0002 patches
Gabor Juhos [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>
SVN-Revision: 36242

11 years agocns3xxx: remove the watchdog IRQ from the resources, it breaks the driver init and...
Felix Fietkau [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>
SVN-Revision: 36241

11 years agogcc: remove the bogus CONFIG_TLS_SUPPORT symbol - TLS support is required by libc.
Felix Fietkau [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>
SVN-Revision: 36240

11 years agouClibc: unbreak ld-uClibc on non-64bit platforms
Felix Fietkau [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>
SVN-Revision: 36239

11 years agoramips: remove top-level {address,size}-cells properties from .dts files
Gabor Juhos [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>
SVN-Revision: 36237

11 years agobrcm47xx: use old partition names again for kernel 3.8
Hauke Mehrtens [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.

SVN-Revision: 36235

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

SVN-Revision: 36234

11 years agolinux/3.8: implement pcibios_get_phb_of_node for MIPS
Gabor Juhos [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>
SVN-Revision: 36233

11 years agolinux/3.8: backport devm_ioremap_resource from 3.9
Gabor Juhos [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>
SVN-Revision: 36232

11 years agoramips: fix ethernet switch node in DIR-645.dts
Gabor Juhos [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>
SVN-Revision: 36231

11 years agogeneric: rtl8367: add compatible string with vendor prefix
Gabor Juhos [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>
SVN-Revision: 36230

11 years agogeneric: rtl8367b: fix rtl8367b_extif_init_of
Gabor Juhos [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>
SVN-Revision: 36229

11 years agolinux/3.8: add more missing symbols
Gabor Juhos [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>
SVN-Revision: 36228

11 years agopackage/kernel: only include i2c-of if CONFIG_OF enabled
Gabor Juhos [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>
SVN-Revision: 36227

11 years agolinux/3.8: add missing symbol
Gabor Juhos [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>
SVN-Revision: 36226

11 years agokernel: fix md5sum for 3.8.6
Gabor Juhos [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>
SVN-Revision: 36225

11 years agokernel: Allow talitos crypto hw module selection
Gabor Juhos [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>
SVN-Revision: 36224

11 years agoramips: remove spi node from RTN56.dts
Gabor Juhos [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>
SVN-Revision: 36223

11 years agoramips: fix ethernet switch node in RTN56U.dts
Gabor Juhos [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>
SVN-Revision: 36222

11 years agoramips: rt3883: enable the RTL8367 driver
Gabor Juhos [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>
SVN-Revision: 36221

11 years agogeneric: rtl8367: allow to load extif config from OF
Gabor Juhos [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>
SVN-Revision: 36220

11 years agogeneric: rtl8367: fix a typo in MODULE_DEVICE_TABLE macro
Gabor Juhos [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>
SVN-Revision: 36219

11 years agogeneric: rtl8367: add vendor prefix to the compatible string
Gabor Juhos [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>
SVN-Revision: 36218

11 years agoramips: rt3883: sync 3.8 config
Gabor Juhos [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>
SVN-Revision: 36217

11 years agofix typo pinmmux -> pinmux
John Crispin [Sat, 6 Apr 2013 11:46:34 +0000 (11:46 +0000)]
fix typo pinmmux -> pinmux

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

11 years agokernel: update linux 3.8 to 3.8.6
Gabor Juhos [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>
SVN-Revision: 36215

11 years agorefresh kernel configs with kconfig.pl
Gabor Juhos [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>
SVN-Revision: 36214

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

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

Signed-off-by: Daniel Petre <dani@ip6.ro>
SVN-Revision: 36213

11 years agofix typo that made gpiomuxing fail
John Crispin [Fri, 5 Apr 2013 23:10:42 +0000 (23:10 +0000)]
fix typo that made gpiomuxing fail

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

11 years agomalta: add le64 and be64 sub targets
Florian Fainelli [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>
SVN-Revision: 36211

11 years agomalta: move 32-bits options to subtarget config
Florian Fainelli [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>
SVN-Revision: 36210

11 years agomalta: move endianness kernel configuration to subtarget
Florian Fainelli [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>
SVN-Revision: 36209

11 years agotoolchain/uClibc: backport a MIPS64 fix from openadk
Florian Fainelli [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>
SVN-Revision: 36208

11 years agotoolchain/uClibc: handle different MIPS64 ABIs
Florian Fainelli [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>
SVN-Revision: 36207

11 years agotoolchain: musl is not available on MIPS64
Florian Fainelli [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>
SVN-Revision: 36206

11 years agotoolchain: allow choosing the MIPS64 user-land ABI
Florian Fainelli [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>
SVN-Revision: 36205

11 years agobuildroot: factor knowledge of a 64bits architecture
Florian Fainelli [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>
SVN-Revision: 36204

11 years agomalta: enable mips16 feature flag
Florian Fainelli [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>
SVN-Revision: 36203

11 years agobuildroot: allow enabling MIPS16 user-space build
Florian Fainelli [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>
SVN-Revision: 36202

11 years agoopenssl: Pass in any TARGET_ASFLAGS
Florian Fainelli [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>
SVN-Revision: 36201

11 years agotoolchain/gcc: .init and .fini need to pick one ISA
Florian Fainelli [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>
SVN-Revision: 36200

11 years agotoolchain/uClibc: Disable mips16 for uClibc for now
Florian Fainelli [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>
SVN-Revision: 36199

11 years agorules.mk: MIPS16 builds get a different toolchain
Florian Fainelli [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>
SVN-Revision: 36198

11 years agorules.mk: Create TARGET_ASFLAGS; force -mno-mips16
Florian Fainelli [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>
SVN-Revision: 36197

11 years agonetifd: Bump to latest version * Fix a memory corruption when updating IPv6 prefixes...
Steven Barth [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)

SVN-Revision: 36196

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

SVN-Revision: 36195

11 years agoadd a helper that allows loading the eeprom from a MTD partition pointed to by a...
John Crispin [Thu, 4 Apr 2013 14:57:43 +0000 (14:57 +0000)]
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>
SVN-Revision: 36194

11 years agonetifd: Rewrite IPv6 prefix assignment * Add ip6hint option to specify assigned subpr...
Steven Barth [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

SVN-Revision: 36193

11 years agounbreak i2c-mv64xxx dependencies
John Crispin [Wed, 3 Apr 2013 12:58:06 +0000 (12:58 +0000)]
unbreak i2c-mv64xxx dependencies

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

11 years agofix borken of-i2c dependencies
John Crispin [Wed, 3 Apr 2013 12:51:12 +0000 (12:51 +0000)]
fix borken of-i2c dependencies

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

11 years agoremove the old (and nonworking) hack and identify our patched GCCs properly
Imre Kaloz [Wed, 3 Apr 2013 10:41:07 +0000 (10:41 +0000)]
remove the old (and nonworking) hack and identify our patched GCCs properly

SVN-Revision: 36189

11 years agofix eglibc compile
John Crispin [Wed, 3 Apr 2013 10:01:10 +0000 (10:01 +0000)]
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>
SVN-Revision: 36188