1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-05 18:38:25 +02:00
Commit Graph

22550 Commits

Author SHA1 Message Date
jow
d89596d6e5 [scripts] ext-toolchain.sh: add option to write .config
Add a new --config option to generate a .config from a given toolchain,
this allows for easy integration of external toolchains, e.g.

  ./scripts/ext-toolchain.sh --toolchain /opt/mips-2011.03 --cflags "-muclibc" --config atheros

to setup a ready-to-compile atheros target using the external CodeSourcery toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 23:46:06 +00:00
jow
156a74e724 [package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:22:14 +00:00
jow
25e2b28f3c [package] iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29778 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:05:48 +00:00
jow
db7f026006 [package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29777 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 19:00:53 +00:00
hauke
59006bd473 packages: kernel: add usb-common.ko to usb package for kernel >= 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 17:13:23 +00:00
jow
acf4b409c3 [package] openssl: fix syntax error in OpenWrt Makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29774 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 14:48:16 +00:00
florian
60e384d276 [kernel] fix thinko in 102-ehci_hcd_ignore_oc patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29773 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 07:56:02 +00:00
jow
1ca901eda3 [scripts] ext-toolchain.sh: properly handle toolchains without sysroot support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29772 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 04:03:15 +00:00
jow
2ec52b29b6 [package] openssl: don't fail with empty TARGET_LDFLAGS
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29770 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:54:09 +00:00
jow
03ce5416aa [scripts] ext-toolchain.sh:
- use GCC's own idea of the target name (-dumpmachine)
	- display help if called without args
	- add copyright foo
	- remove some leftover flag handling code


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:32:30 +00:00
jow
bf04048249 [toolchain] invoke patch-specs.sh in the gcc/final install stage.
Patch up OpenWrts own cross toolchains to always search headers
and libraries in $STAGING_DIR, this should solve most issues with
missing headers, indirect linking and not found libraries.
At a later stage, all -I and -L flags will be purged from 
TARGET_LDFLAGS and TARGET_CPPFLAGS.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:15:22 +00:00
jow
9c517fdaa2 [scripts] add patch-specs.sh, a utility for modifying GCC specs
The patch-specs.sh utility dumps the GCC specs of a given toolchain
and modifies them to always include $STAGING_DIR in the link and 
compiler command lines, this makes most -I and -L flags unnecessary
and lets the compiler automatically find libraries and headers in
the staging dir, also solves the majority of -rpath issues.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:11:45 +00:00
jow
ae5914acdf [buildroot] use ext-toolchain.sh to integrate external toolchains
Use ext-toolchain.sh to wrap external toolchain commands,
abort build if certain features such as CONFIG_SOFT_FLOAT or 
CONFIG_IPV6 are enabled but not supported by the toolchain.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29766 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:08:09 +00:00
jow
be99e06ec8 [scripts] add ext-toolchain.sh, a utility for external toolchains
The ext-toolchain.sh utility script implements various external toolchain tasks:
  * Testing of available features, like c++, soft-float or ipv6 support
  * Finding the libc implementation (uclibc or eglibc/glibc)
  * Inferring the GNU target name
  * Finding shared objects for packaging (libc, libpthread, ...)
  * Finding executables for packaging (ldd, gdbserver, ...)
  * Generating wrapper scripts for toolchain commands


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29765 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-18 03:03:24 +00:00
blogic
220fd247bc [lantiq] gigaset 76x
* fixes leds
* adds all leds found on the sx763 board
* removes board_config from flash layout because wireless data is stored in kernel (ath5k)
* fix button handling

Signed-off-by: Luka Perkov <openwrt@lukaperkov.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29763 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 12:10:35 +00:00
blogic
03810204dc ramips: Rework ramips_eth to not require irqsave locking anymore
Previously the tx housekeeping was done in a spin_lock_irqsave critical
section which causes irqs to be disabled during that time. Since the
housekeeping is already prepared to be scheduled as a tasklet process
the housekeeping only in softirq context and revise the locking between
the tx path and the housekeeping tasklet by using a normal spin_lock
which in most situations will be a NOP anyway.

This makes sure that interrupts are only disabled for a short time
since in the worst case the housekeeping might have to free up to 256
skbs.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29762 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-17 11:23:11 +00:00
nbd
34abf48cb8 rt2x00: add a patch to avoid excessive memmove() on packet contents to improve performance (patch by Helmut Schaa)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29760 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-16 08:14:27 +00:00
hauke
079a3384c5 brcm47xx: add support for kernel 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 21:18:34 +00:00
hauke
da271c7332 brcm47xx: run kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 14:53:32 +00:00
blogic
9943867fae tools: clean up Makefiles / make ccache work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-15 11:43:13 +00:00
kaloz
6ca687282b [target/omap4]: add support for OMAP4 based boards, starting with the PandaBoard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 23:02:56 +00:00
kaloz
6d60f58fec [package/mac80211]: build and package the wl12xx driver
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:56:22 +00:00
kaloz
399f89c7fc [generic/3.2]: fixup arm xz support with recent changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:55:04 +00:00
kaloz
e20c35f54d [generic/3.2]: add missing symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:53:28 +00:00
kaloz
5d7b80359c [toolchain/gcc]: upgrade to latest linaro releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 22:52:40 +00:00
nbd
2b1f20d73e kernel: disable bridge igmp snooping in 3.2 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29747 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 14:57:03 +00:00
nbd
9d92101f38 ath9k: fix handling of the KeyMiss flag for received packets - fixes connection stability issues with crypto enabled
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29745 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:30 +00:00
nbd
10b3a6c001 kernel: disable bridge igmp snooping by default to avoid multicast issues
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:25 +00:00
nbd
87ed057f2e libnl-tiny: export unl_genl_multicast_id()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 13:50:21 +00:00
jogo
4773b5ef82 kernel: ppc40x: ppc44x: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29742 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-14 12:04:17 +00:00
hauke
288c968dab broadcom-diag: add support for some new devices
There is still no Ethernet driver for these devices in trunk.

Thanks George Kashperko for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29735 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:21:15 +00:00
hauke
01cb3619d3 brcm47xx: update usb driver
Add workarround for BCM5357 and BCM4749.

This patch contains the following fixes from George Kashperko:
* separate subroutines for controller initialization workarounds -
   following CodingStyle recommendations;
* __devinit __devexit __devinitconst annotations for CONFIG_HOTPLUG;
* fix leak in ssb_hcd_create_pdev/bcma_hcd_create_pdev - as hci_res being
   kmalloc'ed is never freed anywhere while platform_device_add_resources
   will kmemdup resources right away;
* fix compilation error in ssb_hcd_resume - it will fail as soon as
   CONFIG_PM is selected.



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29734 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 20:11:23 +00:00
jow
3651d1c332 [generic] rtl8366: fix rtl8366_smi_detect() after r29677
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29732 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 19:17:58 +00:00
jogo
504d88e2ae brcm63xx: add support for linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29731 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:59:50 +00:00
jogo
04e6d374b6 kernel: add support for linux 3.2.1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29730 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:55:07 +00:00
jogo
101d502aba package: iptables: fix compilation with linux 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29729 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:49:19 +00:00
jogo
8300ab10c4 mac80211: current revisions build with 3.2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29728 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:47:30 +00:00
jogo
d828d77b46 kernel: backport overlayfs v11 to 3.0 and 2.6.39
Should fix whiteout issues and missing files when using extroot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29727 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:42:53 +00:00
jogo
f1f885a356 kernel: update linux 3.1 to 3.1.9
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:38:28 +00:00
jogo
6b4b162100 kernel: update linux 3.0 to 3.0.17
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 14:10:44 +00:00
jow
f49dda30e2 [package] iwinfo: plug memory leak in nl80211 backend, nl80211_close() did not put the family pointer
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29723 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-13 00:54:25 +00:00
nbd
056e3e42e0 gcc: always explicitly link against libstdc++, fixes build errors on some hosts that refuse to link it in implicitly (should fix #10587)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:20 +00:00
nbd
2fa8e25d0d libnl-tiny: fix a potential memleak in an error path
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:18 +00:00
nbd
63c3f72940 ar8216: use vlan configuration for connecting ports (forced to be untagged) even with vlan_enable=0, but keep them isolated before the switch has been configured
this makes enable_vlan=0 practical for vlan passthrough

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:11 +00:00
nbd
25b268205a ar8216: do not strip vlan tags when running with vlan_enable=0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-12 10:15:08 +00:00
juhosg
1b3efb3352 ar71xx: move irq_to_gpio and gpio_to_irq into gpio.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29713 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 18:00:50 +00:00
cshore
efab389042 [brcm63xx] Remove invalid LED GPIO from GW6200 board definition. GPIO 35 isn't intended to control ethernet LED (the led behaviour is a side effect) and using the gpio as an led causes kernel panics.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29712 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 13:47:48 +00:00
juhosg
74844fd50b ar71xx: disable ath79 in order to get rid of Kconfig warnings
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29711 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:19 +00:00
juhosg
6734a832bc ar71xx: pb44_spi: add shutdown handler
This allows to access the flash from a kexec'd kernel.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29710 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:18 +00:00
juhosg
7bb349bc59 ar71xx: pb44_spi: call pb44_spi_{en,dis}able from probe/remove
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-01-11 09:14:17 +00:00