Commit Graph

23592 Commits

Author SHA1 Message Date
Felix Fietkau
3d6093c275 build: add a HOSTCXX variable pointing at the c++ compiler
SVN-Revision: 36109
2013-03-22 12:52:17 +00:00
Florian Fainelli
12b686ed39 gdb: update to 7.5-2012.12-1
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36108
2013-03-22 10:06:10 +00:00
Florian Fainelli
3810cc0f46 base-files: sysupgrade fail with eglibc
With eglibc, "ldd busybox" give us
    libcrypt.so.1 => /lib/libcrypt.so.1 (0x774be000)
    libm.so.6 => /lib/libm.so.6 (0x773e4000)
    libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x773c0000)
    libc.so.6 => /lib/libc.so.6 (0x77276000)
    /lib/ld.so.1 (0x774fe000)

Thus /lib/ld.so.1 is not printed by the libs fonction and isn't copied to the 'new' root before pivot root
libs() { ldd $* | awk '{print $3}'; }
https://dev.openwrt.org/browser/trunk/package/base-files/files/lib/upgrade/common.sh

With uclibc the last line of "ldd busybox" is
    ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x77ada000)

Don't know for musl!

This patch replace https://dev.openwrt.org/changeset/19167, as glibc is gone
The other way around is to rework libs()

Please apply the fix (mine or another) on trunk and AA
Might fix https://dev.openwrt.org/ticket/12273

Signed-off-by: Etienne CHAMPETIER <etienne.champetier@free.fr>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36107
2013-03-22 10:06:06 +00:00
Hauke Mehrtens
18c47be19a kernel: add missing CONFIG_BLK_DEV_IDE_AU1XXX config option.
SVN-Revision: 36102
2013-03-21 14:56:04 +00:00
Hauke Mehrtens
4995f23669 kernel: REGMAP_SPI should only be selectable when SPI_MASTER is selected
This was turned from a silent confg option without a text to a normal
config option which could be selected without any other option
depending on this. This could cause the situation where REGMAP_SPI was
selected without SPI_MASTER being selected.

SVN-Revision: 36101
2013-03-21 14:50:59 +00:00
Jo-Philipp Wich
76d1c0a067 firewall3: update to git head
* fixes port remapping rules (#13217)

SVN-Revision: 36100
2013-03-21 14:25:17 +00:00
Hauke Mehrtens
d5cf67297a brcm47xx: generate images for some more devices
These devices should be supported by trunk now.

SVN-Revision: 36099
2013-03-20 22:01:18 +00:00
Hauke Mehrtens
c9544f4af0 kernel: add some fixes for kernel 3.9
This patch fixes some compile problems with kernel 3.9 and adds some missing linux 3.9 handling into kernel packages.

SVN-Revision: 36098
2013-03-20 21:59:24 +00:00
Hauke Mehrtens
99638c5288 kernel: add some missing config options for kernel 3.9
SVN-Revision: 36097
2013-03-20 21:53:51 +00:00
Steven Barth
261be7b8f3 netifd: Fix adding IPv6 DNS-servers to resolv.conf
In some cases IPv6 DNS-servers were not added correctly.

SVN-Revision: 36095
2013-03-20 13:49:39 +00:00
Steven Barth
eeb88a1df3 odhcp6c: Fix metric for on-link prefix routes
SVN-Revision: 36094
2013-03-20 09:26:52 +00:00
Jo-Philipp Wich
6fbd824e9b firewall3: update to git head
* fixes reload handling of zones and ipsets that are still running but already deleted from the config

SVN-Revision: 36092
2013-03-19 16:18:05 +00:00
Florian Fainelli
b1cc7a90a4 kernel: make SND_COMPRESS_OFFLOAD symbol visible for selection (#13193)
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36091
2013-03-19 14:13:39 +00:00
Jo-Philipp Wich
03cb7986fc firewall3: update to git head
- support network names in per-zone 'masq_src', 'masq_dest' and 'subnet' options (#13197)
	- do not allow src_mac option for SNAT rules

SVN-Revision: 36090
2013-03-19 13:54:34 +00:00
Felix Fietkau
31876c193a hostapd: fix build errors on supplicant-only builds
SVN-Revision: 36085
2013-03-18 16:11:32 +00:00
Steven Barth
3ebdd3b330 odhcp6c: fix preference handling, custom client-ID * thanks to mbidewell for investigating
SVN-Revision: 36083
2013-03-18 07:24:49 +00:00
Felix Fietkau
a4c8d4e377 build: make the color of the 'configuration out of sync' warning red to make it harder for users to overlook
SVN-Revision: 36082
2013-03-17 21:12:02 +00:00
Felix Fietkau
2167101c90 hostapd: initial prototype of an ubus binding
Supports listing, removing and banning clients, and hooking into
probe/assoc/auth requests via object subscribe.

SVN-Revision: 36081
2013-03-17 20:47:18 +00:00
Florian Fainelli
fe157ea1ba uml: remove 3.6 kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36080
2013-03-17 19:47:04 +00:00
Florian Fainelli
1898218119 uml: remove 3.3. kernel patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36079
2013-03-17 19:46:59 +00:00
Florian Fainelli
c36db5f66a uml: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36078
2013-03-17 19:46:54 +00:00
Florian Fainelli
a987d1aaa3 uml: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36077
2013-03-17 19:46:49 +00:00
Florian Fainelli
499f92c3db uml: remove 3.2 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36076
2013-03-17 19:46:43 +00:00
Florian Fainelli
ce33aaafcf ep93xx: switch to 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36075
2013-03-17 19:46:37 +00:00
Florian Fainelli
a5551d366a kernel: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36074
2013-03-17 19:46:32 +00:00
Florian Fainelli
472bb8d51a ep93xx: add support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36073
2013-03-17 19:46:25 +00:00
Florian Fainelli
b48e5f2111 kernel: enable SND_COMPRESS_OFFLOAD for kernels >= 3.3
Most sound SoC driver enable it and rely it on to properly work.

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

SVN-Revision: 36072
2013-03-17 19:46:00 +00:00
Florian Fainelli
743e9e7009 ep93xx: account for sound soc directory rename in 3.7
sound/soc/ep93xx -> sound/soc/cirrus

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

SVN-Revision: 36071
2013-03-17 19:45:55 +00:00
Florian Fainelli
6a7100c760 kernel: set regmap-core module license
Fixes the following issues:
[    7.660000] regmap_core: module license 'unspecified' taints kernel
[    7.690000] Disabling lock debugging due to kernel
[    7.700000] regmap_core: Unknown symbol lzo1x_decompress_safe (err 0
[    7.710000] regmap_core: Unknown symbol lzo1x_1_compress (err 0
[    7.720000] regmap_core: Unknown symbol devres_add (err 0
[    7.730000] regmap_core: Unknown symbol debugfs_create_bool (err 0
[    7.750000] regmap_core: Unknown symbol devres_alloc (err 0
[    7.760000] regmap_core: Unknown symbol debugfs_remove_recursive (err 0
[    7.770000] regmap_core: Unknown symbol debugfs_create_file (err 0
[    7.780000] regmap_core: Unknown symbol devres_free (err 0
[    7.800000] regmap_core: Unknown symbol devres_find (err 0
[    7.810000] regmap_core: Unknown symbol debugfs_create_dir (err 0)

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

SVN-Revision: 36070
2013-03-17 19:45:48 +00:00
Florian Fainelli
a5e7687e12 kernel: load regmap modules after kmod-lib-lzo
Otherwise regmap-core will not be able to lookup the lzo exported
symbols.

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

SVN-Revision: 36069
2013-03-17 19:45:42 +00:00
Felix Fietkau
7e83385028 ubus: update to latest version, fixes a bug in notify return code handling
SVN-Revision: 36068
2013-03-17 17:43:47 +00:00
Florian Fainelli
7987c8d0dc au1000: remove support for 3.3. kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36067
2013-03-17 14:33:47 +00:00
Florian Fainelli
c56c18168e au1000: switch to 3.6 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36066
2013-03-17 14:33:41 +00:00
Florian Fainelli
5592a619d0 au1000: keep the MTX-1 watchdog pin low during boot
Do this until the watchdog driver is loaded and the user-space watchdog
daemon can start pinging the watchdog.

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

SVN-Revision: 36065
2013-03-17 14:33:36 +00:00
Florian Fainelli
d5c2e83fa5 ep93xx: remove 3.3 kernel support
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36064
2013-03-17 14:33:23 +00:00
Florian Fainelli
9cef30a519 mcs814x: use devm_request_and_ioremap in mcs814x-rng driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36063
2013-03-17 14:33:18 +00:00
Florian Fainelli
8ed2299646 mcs814x: use devm_request_and_ioremap helper for nuport_mac driver
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36062
2013-03-17 14:33:13 +00:00
Florian Fainelli
8bc84bac31 mcs814x: remove PCI code
None of the boards we support are using it nor have it wired out of the
SoC, just remove it.

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

SVN-Revision: 36061
2013-03-17 14:33:07 +00:00
Florian Fainelli
a9ef927cce mcs814x: implement MULTI_IRQ_HANDLER
Allows us to get rid of the IRQ entry point assembly

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

SVN-Revision: 36060
2013-03-16 22:25:47 +00:00
Florian Fainelli
18908139f3 mcs814x: use the standard device tree binding to represent a PHY node
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36059
2013-03-16 22:25:41 +00:00
Felix Fietkau
541344b93e mac80211: merge a few minstrel_ht performance improvements
SVN-Revision: 36056
2013-03-16 16:11:43 +00:00
Felix Fietkau
e3bdc13980 busybox: fix disabling /sbin/init and logread if procd is used as init
SVN-Revision: 36054
2013-03-16 01:25:42 +00:00
Felix Fietkau
132a54f646 mac80211: merge a fix for a race condition on station removal
SVN-Revision: 36053
2013-03-15 22:29:27 +00:00
Gabor Juhos
1996cfe9dd mpc85xx: add profile and build image for the TL-WDR4900 v1 board
Now that the ethernet switch is working, create firmware
images to make impatient users happy.

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

SVN-Revision: 36051
2013-03-15 16:11:45 +00:00
Gabor Juhos
72253b9073 generic: ar8216: start AR8327 switch from the probe routine
The AR8327 switch gets its configuration from platform
data or from the device-tree. This allows to start it
from the probe routine. Doing so makes it usable with
ethernet drivers which only connects to the PHY device
when the ethernet interface is opened.

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

SVN-Revision: 36050
2013-03-15 16:06:28 +00:00
Gabor Juhos
5503686f69 generic: ar8216: add ar8xxx_start helper
Move switch starting code into a separate function.
This makes it usable from other places.

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

SVN-Revision: 36049
2013-03-15 16:06:25 +00:00
Gabor Juhos
44ce8dac88 mpc85xx: add AR8327 initvals to the TL-WDR4900 devicetree
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36048
2013-03-15 15:53:06 +00:00
Gabor Juhos
7ba6a8d8e8 generic: ar8216: add OF configuration support for AR8327
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36047
2013-03-15 15:50:08 +00:00
Gabor Juhos
ee12b1b7d5 generic: ar8216: separate platform_data based AR8327 code
Move platform_data specific configuration code
into a separate routine. Do it in preparation
for the upcoming OF support.

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

SVN-Revision: 36046
2013-03-15 15:50:05 +00:00
Gabor Juhos
d88f66ae21 generic: ar8216: don't use platform_data in ar8327_init_port
Fetch the PORT_STATUS values in ar8327_hw_init and
store those in a private data stucture for later use.

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

SVN-Revision: 36045
2013-03-15 15:50:02 +00:00