Commit Graph

32247 Commits (48df4861f3233d98ecbcf32ad3099ecac4d1102a)

Author SHA1 Message Date
Felix Fietkau b759373524 mkimage: remove check for miscompiled __weak
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 11:07:30 +00:00
Jonas Gorski c73005f289 brcm63xx: register interrupt-controllers through DT when possible
Add the required nodes for the interrupt controllers and register
them through DT when a DTB is present.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:52:07 +00:00
Jonas Gorski ebe50e7b66 brcm63xx: dtsi: add missing ranges properity to ubus nodes
Allows nodes behind it to be mapped.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43456 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:56 +00:00
Jonas Gorski 02b93e44c2 brcm63xx: dtsi: add missing properties to cpu nodes
Mark them as cpu nodes and add the addresses.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:53 +00:00
Jonas Gorski 29b06c76c3 brcm63xx: convert to irq domain
Add irq-domain aware irqchip drivers for the irq controllers of bcm63xx
and switch to use them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:51 +00:00
Jonas Gorski 69df57900e brcm63xx: refresh patches
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:24 +00:00
Jonas Gorski 08fddea857 brcm63xx: add DT support for DSL-2650U
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:17 +00:00
Jonas Gorski 16883252cf brcm63xx: add DT support for DSL-2740B/DSL-2741B rev F1
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:12 +00:00
Jonas Gorski 05bfdff093 brcm63xx: Add DT support for F@ST2504n
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:08 +00:00
Jonas Gorski 942c4d81ee brcm63xx: add DT support for F@ST2704V2
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43449 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:51:04 +00:00
Jonas Gorski cb6346015b brcm63xx: add DT support for F@ST2604
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:50:59 +00:00
Jonas Gorski 2db7587db2 brcm63xx: add DT support for F@ST2404
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-01 00:50:56 +00:00
Felix Fietkau 7473409bfd toolchain: uClibc: fix compile with full language support enabled (fixes #13095)
When building with CONFIG_BUILD_NLS=y, uClibc fails to compile with following
message (or similar, according to https://dev.openwrt.org/ticket/13095):

-snip-
...
Warning: adding UNDEFINED entry for ar_AE
Warning: adding UNDEFINED entry for am_ET
Warning: adding UNDEFINED entry for af_ZA
grep "^#define" extra/locale/locale_tables.h > extra/locale/lt_defines.h
grep "^#define __lc" extra/locale/locale_collate.h >> extra/locale/lt_defines.h
gcc extra/locale/gen_wctype.c  -o extra/locale/gen_wctype    -Os -Wall  -D__UCLIBC_GEN_LOCALE -I./
extra/locale/gen_wctype.c: In function 'main':
extra/locale/gen_wctype.c:684:2: warning: #warning fix the upper bound on the upper/lower tables... save 200 bytes or so [-Wcpp]
for locale in  en_US en_GB; do \
                extra/locale/gen_wctype  $locale > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.UTF-8 > extra/locale/wctables.h || \
                extra/locale/gen_wctype  $locale.iso8859-1 > extra/locale/wctables.h && break; \
        done
make[4]: *** [extra/locale/wctables.h] Error 1
-snap-

This seems to also depend on the host system used, e.g. running a fresh
checkout on a Debian 7.6 system triggered this error, while running the
very same stuff on an Ubuntu 12.10 Quantal Quetzal does not trigger it.

This is the configuration I used:

-snip-
buildbot@buildbot:~/openwrt-nls.git$ scripts/diffconfig.sh
CONFIG_TARGET_ar71xx=y
CONFIG_TARGET_ar71xx_generic=y
CONFIG_TARGET_ar71xx_generic_Default=y
CONFIG_DEVEL=y
CONFIG_BUILD_NLS=y
CONFIG_DOWNLOAD_FOLDER="/srv/downloads/downloads"
-snap-

In the ticket mentioned above, a patch is referenced which solves this issue.

Note, that this issue is also present on 14.07.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 22:22:24 +00:00
Felix Fietkau 905a453027 toolchain: uClibc: fix build with CONFIG_BUILD_NLS selected
Without this patch, selecting "Compile with full language support"
results in the following question during build:

...
Locale Support (UCLIBC_HAS_LOCALE) [Y/n/?] y
  Locale data
  > 1. All locales (UCLIBC_BUILD_ALL_LOCALE) (NEW)
    2. Only selected locales (UCLIBC_BUILD_MINIMAL_LOCALE) (NEW)
    3. Use Pre-generated Locale Data (UCLIBC_PREGENERATED_LOCALE_DATA) (NEW)
  choice[1-3]:

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 22:22:14 +00:00
Luka Perkov 3b584fa5d1 kernel: add missing config symbol for 3.18
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 22:12:20 +00:00
Luka Perkov e24ab7ea32 util-linux: update to 2.25.2
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 22:11:09 +00:00
Felix Fietkau d6ec05aec4 ath5k: fix hardware queue index assignment
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43442 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 21:05:17 +00:00
Felix Fietkau 6210a50873 tools/mkimage: fix build errors (#18445)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43441 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 20:29:10 +00:00
Felix Fietkau 4b48effa89 gengetopt: fix parallel build issues (#18442)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43440 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 20:12:07 +00:00
Felix Fietkau 9178792bcb ath9k: fix hardware tx queue allocation order
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43438 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 19:41:59 +00:00
Imre Kaloz 1069e426d5 [tools]: add gengetopt
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43437 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 09:51:48 +00:00
Luka Perkov 03c303d3e9 uboot-kirkwood: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 03:55:44 +00:00
Luka Perkov 904e509b87 malta: add more 3.14 kernel symbols
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 03:51:43 +00:00
Luka Perkov 50b60d47d8 kirkwood: change CRC32 implementation to CRC32_SLICEBY8
At least on my Iomega ix2-200 system, this makes btrfs writes about 30% faster.

Signed-off-by: Richard Kunze <richard.kunze@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:20:38 +00:00
Luka Perkov 5694907d83 uboot-envtools: bump to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:14:17 +00:00
Luka Perkov 6f8a78e39b kirkwood: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:14:14 +00:00
Luka Perkov 7c8eb6cec3 generic: set CONFIG_GENERIC_NET_UTILS
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-30 01:14:12 +00:00
Luka Perkov d498e13cc9 [package] uboot-*: update license info in uboot packages
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43429 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 23:45:53 +00:00
Luka Perkov aa032d78d7 [tools] mkimage: update to 2014.10
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43428 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 22:43:59 +00:00
Luka Perkov 15a48a38b8 kernel: update 3.14 to 3.14.25
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43427 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 10:30:58 +00:00
Luka Perkov 5685e23f48 malta: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43426 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 10:30:55 +00:00
Luka Perkov e06eb79775 malta: drop 3.12 config file
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43425 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-29 10:30:52 +00:00
Rafał Miłecki c4c6ef099a procd: fix typo in nand.sh s/TRX/TAR/
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43423 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 19:13:24 +00:00
Luka Perkov 64d9feeabf x86: add support for 3.14
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 17:53:50 +00:00
Steven Barth 7531671068 ntp: add hotplug class for ntp-events
Based on a patch by Luiz Angelo Daros de Luca

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43421 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 11:41:25 +00:00
Florian Fainelli b20633bf44 kernel: 3.18: Fix patch 644 dependency chain
This patch introduces some code that is compiled in whenever
CONFIG_BRIDGE_NETFILTER is built, with the code called from code compiled under
CONFIG_BRIDGE, CONFIG_BRIDGE_IGMP_SNOOPING or CONFIG_BRIDGE_NF_EBTABLES.

Unfortunately, these options aren't setting explicitly the dependency they now
have on CONFIG_BRIDGE_NETFILTER, for obvious reasons for CONFIG_BRIDGE.

However, this is not working really well when CONFIG_BRIDGE_NETFILTER is built
as a module, since code statically compiled will now use a function that is not
in the kernel image, which makes the linker grumpy.

Solve this by removing the option to build CONFIG_BRIDGE_NETFILTER as a module,
and protect our function definition by an IS_BUILTIN instead of a IS_ENABLED
macro. This fixes the issue for CONFIG_BRIDGE and CONFIG_BRIDGE_IGMP_SNOOPING.

Fixing CONFIG_BRIDGE_NF_EBTABLES has to be handled a bit differently, since it
directly references a variable that will not be declared if
CONFIG_BRIDGE_NETFILTER is not set. Protect the variable affectations by an
ifdef to make sure this doesn't happen.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43419 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 01:29:51 +00:00
Florian Fainelli 57f3c8dbf0 devel: import perf from oldpackages
perf was in the oldpackages repository, but it makes more sense to have
it part of the default package set since we build it from the Linux
kernel sources.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43418 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 01:29:41 +00:00
Felix Fietkau a7992ea6d1 scripts/config.sub: add back musl support that was accidentally dropped in r43353
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43417 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 00:59:57 +00:00
Steven Barth a67d72fa00 odhcp6c: avoid busylooping with strangely behaving dhcpv6 servers
Thanks to Dave Taht for debugging and thanks to Comcast for
shipping strangely behaving software so I can fix some corner cases.

Signed-off-by: Steven Barth <steven@midlink.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43415 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-28 00:39:19 +00:00
Felix Fietkau 2dbc93c0b0 cns3xxx: fix PCIe->PCI bridge access (fixes #18422)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43414 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 20:54:18 +00:00
Felix Fietkau 5da2510705 mpc85xx: update to linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 18:26:24 +00:00
Felix Fietkau 23d58c6b6c mpc85xx: refresh linux 3.14 patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43412 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 18:26:17 +00:00
Felix Fietkau 9bd5d96ce3 mpc85xx: remove the PHY reset change patch (no longer necessary)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 18:26:12 +00:00
Felix Fietkau 339c9c5d61 ar8216: suppress PHY reset for linux 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 18:26:06 +00:00
Felix Fietkau d870349db6 kernel: backport patches for overriding PHY reset to 3.14
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 18:26:00 +00:00
Felix Fietkau d145ef383a mac80211: update regdb to master-2014-11-18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 17:26:06 +00:00
Felix Fietkau 5c4206bf5f mt76: fix a compile error on 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 16:35:23 +00:00
Felix Fietkau 4c369cdb9d cns3xxx: add experimental 3.18 support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 16:24:32 +00:00
Felix Fietkau 41fb5fcd1f kernel: add missing KEEP() statements for gc-sections patch in 3.18
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43405 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 16:24:25 +00:00
Felix Fietkau 08a7a2e60b kernel: keep __bug_table with gc-sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43404 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-27 15:02:11 +00:00