openwrt/staging/linusw.git
12 years agoramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards
Gabor Juhos [Thu, 26 Jan 2012 10:44:23 +0000 (10:44 +0000)]
ramips: add support for Sitecom WL-341v3 and other Sercomm IP1006RRv2 boards

This patch adds support for the Sitecom WL-341 v3 and other Sercomm
IP1006RRv2 based boards for sysupgrade support and for the initial
flash through pushbutton initiated recovery mode with the special
partition table and fixes for the quirks and things required by the
modified bootloader.

There is a known bug, Wi-Fi is not working on my board probably
because of the lack of RAM (the board only has 16MiB ram -- half of
the normal amount for non rebadged versions, but there is an empty
slot for another ram chip,) but I don't know for sure. The driver
loads but hostapd fails to load so I think it's not related to the
specific device except for the lack of RAM.

Moreover, only 7 of the 11 onboard leds are confirmed working, it
seems that one of the others is always on and the remaining ones are
connected to the wireless card leds already recognized by OpenWrt

[juhosg: reordered some parts in order to keep things sorted
alphabetically]

Signed-off-by: Marco Antonio Mauro <marcus90@gmail.com>
SVN-Revision: 29910

12 years agomac80211: enable support for RaLink Rt53xx USB devices in rt2800usb
Gabor Juhos [Wed, 25 Jan 2012 07:44:46 +0000 (07:44 +0000)]
mac80211: enable support for RaLink Rt53xx USB devices in rt2800usb

Hi!

On Mon, Nov 14, 2011 at 03:01:34PM +0100, Daniel Golle wrote:
> The driver works quite nice and stable for me using a RaLink Rt5370 USB device.
>
> Signed-off-by: Daniel Golle <dgolle@allnet.de>
>
> Index: package/mac80211/Makefile
> ===================================================================
> --- package/mac80211/Makefile (revision 29114)
> +++ package/mac80211/Makefile (working copy)
> @@ -1147,6 +1147,7 @@
>   CONFIG_RT2800_LIB=$(if $(CONFIG_PACKAGE_kmod-rt2800-lib),m) \
>   CONFIG_RT2800PCI=$(if $(CONFIG_PACKAGE_kmod-rt2800-pci),m) \
>   CONFIG_RT2800USB=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),m) \
> + CONFIG_RT2800USB_RT53XX=$(if $(CONFIG_PACKAGE_kmod-rt2800-usb),y) \
>   CONFIG_RTL8180=$(if $(CONFIG_PACKAGE_kmod-rtl8180),m) \
>   CONFIG_RTL8187=$(if $(CONFIG_PACKAGE_kmod-rtl8187),m) \
>   CONFIG_RTL8192CE= \

Aparently this was wrong, CONFIG_RT2800USB_RT53XX is supposed to live in
BUILDARGS rather than MAKE_OPTS to actually get support for the Rt5370.
Thanks to actmnophn for the hint!

This reverts changeset 29116 and adds it to the right section in the Makefile.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29906

12 years agoar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify...
Gabor Juhos [Wed, 25 Jan 2012 07:44:45 +0000 (07:44 +0000)]
ar71xx: TL-MR3020: fix board detection, fix missing mandatory package and modify LED behaviour

This patch fixes the board detection of the TL-MR3020.

The LED behaviour has also been modified:
* The WPS LED is the diag LED now.
* A netdev trigger for the LAN LED has been added.

The profile of the TL-MR3020 has been updated because the needed package
"kmod-ledtrig-usbdev" was missing which resulted in a non-working usbdev
trigger for the 3G/USB LED.

[juhosg: the board name changes has been removed, and the kernel files
has been changed instead.]

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29905

12 years agoar71xx: TL-MR3020: fix GPIO polarity for button and switch
Gabor Juhos [Wed, 25 Jan 2012 07:44:43 +0000 (07:44 +0000)]
ar71xx: TL-MR3020: fix GPIO polarity for button and switch

This patch fixes the GPIO polarity for the button and the sliding
switch. The buttons are not active low. "Pressed" and "Released"
events are wrong without the patch.

Signed-off-by: Christian Cier-Zniewski <c.cier@gmx.de>
SVN-Revision: 29904

12 years agonetifd: update to latest, fixes a crash when the interface protocol was not specified
Felix Fietkau [Tue, 24 Jan 2012 21:44:00 +0000 (21:44 +0000)]
netifd: update to latest, fixes a crash when the interface protocol was not specified

SVN-Revision: 29903

12 years agohostapd: introduce a client_cert option which is passed on to wpa_supplicant (#8876)
Jo-Philipp Wich [Tue, 24 Jan 2012 20:54:13 +0000 (20:54 +0000)]
hostapd: introduce a client_cert option which is passed on to wpa_supplicant (#8876)

SVN-Revision: 29901

12 years agoar71xx: use the lzma loader on the Planex boards
Gabor Juhos [Tue, 24 Jan 2012 20:12:10 +0000 (20:12 +0000)]
ar71xx: use the lzma loader on the Planex boards

SVN-Revision: 29900

12 years agoar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage
Gabor Juhos [Tue, 24 Jan 2012 20:12:08 +0000 (20:12 +0000)]
ar71xx: rename Sysupgrade/{KR,RK} to Sysupgrade/{KR,RK}uImage

SVN-Revision: 29899

12 years agoar71xx: fix the AP/Router LED definitons on MZK-W300NH
Gabor Juhos [Tue, 24 Jan 2012 18:40:38 +0000 (18:40 +0000)]
ar71xx: fix the AP/Router LED definitons on MZK-W300NH

SVN-Revision: 29897

12 years agoar71xx: preset WLAN LED config on MZK-W300NH
Gabor Juhos [Tue, 24 Jan 2012 18:40:36 +0000 (18:40 +0000)]
ar71xx: preset WLAN LED config on MZK-W300NH

SVN-Revision: 29896

12 years agoar71xx: remove hardcoded MTD layout from planex files
Gabor Juhos [Tue, 24 Jan 2012 18:40:34 +0000 (18:40 +0000)]
ar71xx: remove hardcoded MTD layout from planex files

SVN-Revision: 29895

12 years agoar71xx: pass mtdlayout to Planex boards via command line
Gabor Juhos [Tue, 24 Jan 2012 18:40:33 +0000 (18:40 +0000)]
ar71xx: pass mtdlayout to Planex boards via command line

SVN-Revision: 29894

12 years agoar71xx: remove an unused header file
Gabor Juhos [Tue, 24 Jan 2012 18:40:31 +0000 (18:40 +0000)]
ar71xx: remove an unused header file

SVN-Revision: 29893

12 years agoramips: generate sysupgrade image for the ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:48 +0000 (11:48 +0000)]
ramips: generate sysupgrade image for the ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29884

12 years agoramips: add user-space support for ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:47 +0000 (11:48 +0000)]
ramips: add user-space support for ALL0256N

This adds uci-defaults and sysupgrade support for the ALL0256N.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29883

12 years agoramips: add kernel support for ALL0256N
Gabor Juhos [Tue, 24 Jan 2012 11:48:45 +0000 (11:48 +0000)]
ramips: add kernel support for ALL0256N

Signed-off-by: Daniel Golle <dgolle@allnet.de>
SVN-Revision: 29882

12 years agoInitial DSL framework
John Crispin [Tue, 24 Jan 2012 11:31:23 +0000 (11:31 +0000)]
Initial DSL framework

- Removed ifx_cpe_control_init.sh (the old init script)
- Created dsl_control (/etc/init.d)
- tidied up start and stop
- stop calls dsl_notify before killing daemon
- has status and lucistat options to provide detail
- copes with daemon not running situation
- Updated package makefile to use new init script and to build cli support
- Provide a dsl_notify.sh script to cope with line up/down events

Signed-off-by: Lee Essen <lee.essen@nowonline.co.uk>
SVN-Revision: 29881

12 years agoar71xx: nuke fs_all variable in image/Makefile
Gabor Juhos [Tue, 24 Jan 2012 09:47:25 +0000 (09:47 +0000)]
ar71xx: nuke fs_all variable in image/Makefile

SVN-Revision: 29880

12 years agoar71xx: create interim kernel files in a separate dir
Gabor Juhos [Tue, 24 Jan 2012 09:47:23 +0000 (09:47 +0000)]
ar71xx: create interim kernel files in a separate dir

This reduces the size of the ImageBuilder tarball a lot.

SVN-Revision: 29879

12 years agoar71xx: prebuild all loaders in Image/Prepare stage
Gabor Juhos [Tue, 24 Jan 2012 09:47:22 +0000 (09:47 +0000)]
ar71xx: prebuild all loaders in Image/Prepare stage

SVN-Revision: 29878

12 years agoImageBuilder: respect the PROFILE parameter
Gabor Juhos [Tue, 24 Jan 2012 09:47:20 +0000 (09:47 +0000)]
ImageBuilder: respect the PROFILE parameter

Based on a patch from #10766

SVN-Revision: 29877

12 years agohostapd: merge an upstream workaround for broken clients sending the wrong wpa type...
Felix Fietkau [Tue, 24 Jan 2012 01:49:23 +0000 (01:49 +0000)]
hostapd: merge an upstream workaround for broken clients sending the wrong wpa type (should fix #9561)

SVN-Revision: 29876

12 years agoramips: scripts updates
Gabor Juhos [Mon, 23 Jan 2012 10:23:32 +0000 (10:23 +0000)]
ramips: scripts updates

In this patch:

* rename Argus leds to avoid underscores
* rename Belkin F5D8235 v1 leds from f5d8234 to f5d8235
* remove Belkin F5D8235 v1 status led defined as storage led (it was
  defined as usb led earlier, just in wrong place) - it should have
  router led as in v2
* add Argus, Sparklan and Belkin F5D8235 v2 status leds
* add Belkin F5D8235 v1 and v2 usb leds
* fix Belkin F5D8235 v2 network config generation and mac address axtraction
* fix Sparklan board identification
* add Sparklan usb led (this board doesn't have usb connector by
  default and the led is hidden also but if you are going to solder
  the connector then you'll see the led too)
* add Sparklan network config generation and mac address extraction
* fix empty string test in network script and...
* ...sort case entries by the first board in the list

Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 29871

12 years agoar71xx: 3.2: fix build errors if PCI is not enabled
Gabor Juhos [Mon, 23 Jan 2012 08:52:21 +0000 (08:52 +0000)]
ar71xx: 3.2: fix build errors if PCI is not enabled

SVN-Revision: 29870

12 years agoar71xx: fix compiler warning if PCI is not enabled
Gabor Juhos [Mon, 23 Jan 2012 08:52:18 +0000 (08:52 +0000)]
ar71xx: fix compiler warning if PCI is not enabled

SVN-Revision: 29869

12 years agoar71xx: add initial support for 3.2
Gabor Juhos [Sun, 22 Jan 2012 22:38:19 +0000 (22:38 +0000)]
ar71xx: add initial support for 3.2

Tested on the following boards:
  ALFA AP96
  TL-MR3220 v1
  TL-WR1043ND v1
  TL-WR2543ND v1
  TL-WR703N v1
  TL-WR741ND v1
  TL-WR741ND v4
  WNDR3700 v1
  WZR-HP-G300NH

SVN-Revision: 29868

12 years agoar71xx: move arch specific files to files-2.6.39
Gabor Juhos [Sun, 22 Jan 2012 22:38:11 +0000 (22:38 +0000)]
ar71xx: move arch specific files to files-2.6.39

SVN-Revision: 29867

12 years agoar71xx: build ALFA AP96 images with default profile as well
Gabor Juhos [Sun, 22 Jan 2012 22:33:15 +0000 (22:33 +0000)]
ar71xx: build ALFA AP96 images with default profile as well

SVN-Revision: 29866

12 years agobase-files: add a uci-defaults script which will migrate the root password to /etc...
Jo-Philipp Wich [Sun, 22 Jan 2012 22:25:42 +0000 (22:25 +0000)]
base-files: add a uci-defaults script which will migrate the root password to /etc/shadow if needed

SVN-Revision: 29865

12 years agonetifd: update to latest version, add some more status info and rework shell proto...
Felix Fietkau [Sun, 22 Jan 2012 21:14:30 +0000 (21:14 +0000)]
netifd: update to latest version, add some more status info and rework shell proto handler support

SVN-Revision: 29864

12 years agonetifd: always issue a reload on ifup, not just for -a
Felix Fietkau [Sun, 22 Jan 2012 21:14:26 +0000 (21:14 +0000)]
netifd: always issue a reload on ifup, not just for -a

SVN-Revision: 29863

12 years agobase-files: the initial hotplug2 instance sometimes misses a few relevant events...
Felix Fietkau [Sun, 22 Jan 2012 21:14:22 +0000 (21:14 +0000)]
base-files: the initial hotplug2 instance sometimes misses a few relevant events, e.g. during module load. rerun udevtrigger for the final hotplug2 instance to fix this

SVN-Revision: 29862

12 years agopackage/kernel: add ATH79 symbols for OHCI/EHCI drivers
Gabor Juhos [Sun, 22 Jan 2012 18:43:45 +0000 (18:43 +0000)]
package/kernel: add ATH79 symbols for OHCI/EHCI drivers

SVN-Revision: 29861

12 years agogeneric: 3.2: allow to build myloader mtd parser for ATH79
Gabor Juhos [Sun, 22 Jan 2012 18:43:39 +0000 (18:43 +0000)]
generic: 3.2: allow to build myloader mtd parser for ATH79

SVN-Revision: 29860

12 years agogeneric: allow to build myloader mtd parser for 3.2+
Gabor Juhos [Sun, 22 Jan 2012 18:36:49 +0000 (18:36 +0000)]
generic: allow to build myloader mtd parser for 3.2+

SVN-Revision: 29858

12 years agoramips fix f5d8235-v1 diag LED support
Gabor Juhos [Sun, 22 Jan 2012 18:11:39 +0000 (18:11 +0000)]
ramips fix f5d8235-v1 diag LED support

SVN-Revision: 29857

12 years agoar71xx: wrt160nl_part: include module.h and fix compiler warnings
Gabor Juhos [Sun, 22 Jan 2012 17:55:38 +0000 (17:55 +0000)]
ar71xx: wrt160nl_part: include module.h and fix compiler warnings

SVN-Revision: 29856

12 years agoar71xx: tplinkpart: include module.h
Gabor Juhos [Sun, 22 Jan 2012 17:55:36 +0000 (17:55 +0000)]
ar71xx: tplinkpart: include module.h

SVN-Revision: 29855

12 years agoar71xx: rename vsc7385 spi driver
Gabor Juhos [Sun, 22 Jan 2012 13:51:57 +0000 (13:51 +0000)]
ar71xx: rename vsc7385 spi driver

SVN-Revision: 29853

12 years agoar71xx: rename ap81 spi driver
Gabor Juhos [Sun, 22 Jan 2012 13:51:56 +0000 (13:51 +0000)]
ar71xx: rename ap81 spi driver

SVN-Revision: 29852

12 years agoar71xx: rename rb4xx spi drivers
Gabor Juhos [Sun, 22 Jan 2012 13:51:54 +0000 (13:51 +0000)]
ar71xx: rename rb4xx spi drivers

SVN-Revision: 29851

12 years agoar71xx: rename the nxp_74hc153 driver
Gabor Juhos [Sun, 22 Jan 2012 13:51:52 +0000 (13:51 +0000)]
ar71xx: rename the nxp_74hc153 driver

SVN-Revision: 29850

12 years agoar71xx: change board id of the UniFi board
Gabor Juhos [Sun, 22 Jan 2012 13:51:50 +0000 (13:51 +0000)]
ar71xx: change board id of the UniFi board

SVN-Revision: 29849

12 years agoar71xx: include linux/module.h in the micrel phy driver
Gabor Juhos [Sun, 22 Jan 2012 13:51:49 +0000 (13:51 +0000)]
ar71xx: include linux/module.h in the micrel phy driver

SVN-Revision: 29848

12 years agoramips: add sysled and sysupgrade to wr512-3gn
Gabor Juhos [Sun, 22 Jan 2012 13:43:23 +0000 (13:43 +0000)]
ramips: add sysled and sysupgrade to wr512-3gn

Patch from #10035.

SVN-Revision: 29847

12 years agogeneric: 3.2: don't disable lockdep for OOT modules
Gabor Juhos [Sun, 22 Jan 2012 09:57:39 +0000 (09:57 +0000)]
generic: 3.2: don't disable lockdep for OOT modules

SVN-Revision: 29846

12 years agogeneric: rtl8366: add rtl8366_smi_write_reg_noack helper
Gabor Juhos [Sat, 21 Jan 2012 22:44:09 +0000 (22:44 +0000)]
generic: rtl8366: add rtl8366_smi_write_reg_noack helper

After issuing a soft reset on the RT8366{S,RB}
switch, waiting for the last acknowlegement fails
in rtl8366_smi_write_reg. Add a _noack version of
the function and use that for issuing a soft reset.

SVN-Revision: 29844

12 years agobrcm47xx: add support for pcie host controller on bcma based SoCs.
Hauke Mehrtens [Sat, 21 Jan 2012 22:39:20 +0000 (22:39 +0000)]
brcm47xx: add support for pcie host controller on bcma based SoCs.

This also adds minimal support for the BCMA43224 pcie wireless card.

SVN-Revision: 29843

12 years agoeglibc 2.14 needs our eglibc patchset as well
Mirko Vogt [Sat, 21 Jan 2012 19:39:37 +0000 (19:39 +0000)]
eglibc 2.14 needs our eglibc patchset as well

SVN-Revision: 29842

12 years agolibtool: fix accidental sed invocation in libtoolize
Jo-Philipp Wich [Sat, 21 Jan 2012 09:49:53 +0000 (09:49 +0000)]
libtool: fix accidental sed invocation in libtoolize

SVN-Revision: 29839

12 years agotrying to make README file a bit more helpful
Mirko Vogt [Sat, 21 Jan 2012 01:15:24 +0000 (01:15 +0000)]
trying to make README file a bit more helpful

SVN-Revision: 29837

12 years agoadjust md5sum of v2.21.1 since archive got replaced meanwhile
Mirko Vogt [Fri, 20 Jan 2012 22:54:30 +0000 (22:54 +0000)]
adjust md5sum of v2.21.1 since archive got replaced meanwhile

SVN-Revision: 29836

12 years agoautotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this
Jo-Philipp Wich [Fri, 20 Jan 2012 21:31:03 +0000 (21:31 +0000)]
autotools.mk: fix autoreconf in subdirectories, thanks field_it for spotting this

SVN-Revision: 29835

12 years agoquilt: some more relocatable fixes for quilt-internal scripts
Jo-Philipp Wich [Fri, 20 Jan 2012 17:54:43 +0000 (17:54 +0000)]
quilt: some more relocatable fixes for quilt-internal scripts

SVN-Revision: 29834

12 years agoopenssl: update to v1.0.0g (CVE-2012-0050)
Jo-Philipp Wich [Fri, 20 Jan 2012 17:36:30 +0000 (17:36 +0000)]
openssl: update to v1.0.0g (CVE-2012-0050)

SVN-Revision: 29832

12 years agobison: make yacc wrapper relocatable
Jo-Philipp Wich [Fri, 20 Jan 2012 17:30:38 +0000 (17:30 +0000)]
bison: make yacc wrapper relocatable

SVN-Revision: 29831

12 years agoautoconf: make bin/autoconf relocatable as well
Jo-Philipp Wich [Fri, 20 Jan 2012 17:17:04 +0000 (17:17 +0000)]
autoconf: make bin/autoconf relocatable as well

SVN-Revision: 29830

12 years agoquilt: make relocatable, search resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 17:11:37 +0000 (17:11 +0000)]
quilt: make relocatable, search resources relative to STAGING_DIR

SVN-Revision: 29829

12 years agoautomake: further relocation fixes
Jo-Philipp Wich [Fri, 20 Jan 2012 15:19:22 +0000 (15:19 +0000)]
automake: further relocation fixes

SVN-Revision: 29828

12 years agoautoconf: further relocation fixes
Jo-Philipp Wich [Fri, 20 Jan 2012 15:19:06 +0000 (15:19 +0000)]
autoconf: further relocation fixes

SVN-Revision: 29827

12 years agolibtool: make relocatable, search resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 14:51:44 +0000 (14:51 +0000)]
libtool: make relocatable, search resources relative to STAGING_DIR

SVN-Revision: 29826

12 years agoramips: sysupgrade for ESR-9753
Gabor Juhos [Fri, 20 Jan 2012 10:49:26 +0000 (10:49 +0000)]
ramips: sysupgrade for ESR-9753

This patch add sysupgrade for Engenius ESR-9753

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
SVN-Revision: 29824

12 years agoautoconf: make relocatable by searching resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 02:56:08 +0000 (02:56 +0000)]
autoconf: make relocatable by searching resources relative to STAGING_DIR

SVN-Revision: 29821

12 years agoautomake: make relocatable by searching resources relative to STAGING_DIR
Jo-Philipp Wich [Fri, 20 Jan 2012 02:55:55 +0000 (02:55 +0000)]
automake: make relocatable by searching resources relative to STAGING_DIR

SVN-Revision: 29820

12 years agokernel: fix OCF for linux 3.2
Jonas Gorski [Thu, 19 Jan 2012 19:51:54 +0000 (19:51 +0000)]
kernel: fix OCF for linux 3.2

Add skb_frag_page from 3.2 to OCF for 3.1 and earlier and use it.

SVN-Revision: 29818

12 years agobase-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore...
Jo-Philipp Wich [Thu, 19 Jan 2012 15:37:47 +0000 (15:37 +0000)]
base-files: do not pass --set-worker /lib/hotplug2/worker_fork.so to hotplug2 anymore, its statically linked - patch by Viktar Palstsiuk <viktar.palstsiuk@promwad.com>

SVN-Revision: 29806

12 years agoabort built in prereq target if there is no site config file for the current target
Jo-Philipp Wich [Thu, 19 Jan 2012 12:19:28 +0000 (12:19 +0000)]
abort built in prereq target if there is no site config file for the current target

SVN-Revision: 29798

12 years agopackage: kernel: fix files for blowfish and pcimcia-rsrc
Jonas Gorski [Thu, 19 Jan 2012 08:25:26 +0000 (08:25 +0000)]
package: kernel: fix files for blowfish and pcimcia-rsrc

Based on a patch from Philip Prindeville.

SVN-Revision: 29797

12 years agosite: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by...
Jo-Philipp Wich [Thu, 19 Jan 2012 03:10:27 +0000 (03:10 +0000)]
site: add configure cache scripts for mips-linux-gnu and mipsel-linux-gnu, used by CodeSourcery toolchain

SVN-Revision: 29794

12 years agoadd missing kernel symbols
Jo-Philipp Wich [Thu, 19 Jan 2012 01:57:22 +0000 (01:57 +0000)]
add missing kernel symbols

SVN-Revision: 29790

12 years agobusybox: fix previous commit, make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 default to...
Jo-Philipp Wich [Thu, 19 Jan 2012 01:50:53 +0000 (01:50 +0000)]
busybox: fix previous commit, make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 default to CONFIG_IPV6, not depend on it

SVN-Revision: 29789

12 years agobusybox: make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 depend on CONFIG_IPV6
Jo-Philipp Wich [Thu, 19 Jan 2012 01:33:53 +0000 (01:33 +0000)]
busybox: make CONFIG_BUSYBOX_CONFIG_FEATURE_IPV6 depend on CONFIG_IPV6

SVN-Revision: 29788

12 years agoMake the grub timeout configurable on x86 targets
Jo-Philipp Wich [Thu, 19 Jan 2012 01:14:45 +0000 (01:14 +0000)]
Make the grub timeout configurable on x86 targets

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
SVN-Revision: 29786

12 years agox86/config-3.2: add linux-3.2 symbols for x86
Jo-Philipp Wich [Thu, 19 Jan 2012 00:31:39 +0000 (00:31 +0000)]
x86/config-3.2: add linux-3.2 symbols for x86

The following symbols are missing for x86, in sorted order.

Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
SVN-Revision: 29783

12 years agoext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS
Jo-Philipp Wich [Thu, 19 Jan 2012 00:03:52 +0000 (00:03 +0000)]
ext-toolchain.sh: CONFIG_NLS -> CONFIG_BUILD_NLS

SVN-Revision: 29782

12 years agoext-toolchain.sh: fix typo
Jo-Philipp Wich [Thu, 19 Jan 2012 00:01:54 +0000 (00:01 +0000)]
ext-toolchain.sh: fix typo

SVN-Revision: 29781

12 years agoext-toolchain.sh: add option to write .config Add a new --config option to generate...
Jo-Philipp Wich [Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)]
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.

SVN-Revision: 29780

12 years agomtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_D...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:22:14 +0000 (19:22 +0000)]
mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain

SVN-Revision: 29779

12 years agoiptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:05:48 +0000 (19:05 +0000)]
iptables: pass --disable-ipv6 if CONFIG_IPV6 is off, fixes undefined refs to in6addr_any when compiling with external CodeSourcery toolchain

SVN-Revision: 29778

12 years agodnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to...
Jo-Philipp Wich [Wed, 18 Jan 2012 19:00:53 +0000 (19:00 +0000)]
dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain

SVN-Revision: 29777

12 years agopackages: kernel: add usb-common.ko to usb package for kernel >= 3.2
Hauke Mehrtens [Wed, 18 Jan 2012 17:13:23 +0000 (17:13 +0000)]
packages: kernel: add usb-common.ko to usb package for kernel >= 3.2

SVN-Revision: 29776

12 years agoopenssl: fix syntax error in OpenWrt Makefile
Jo-Philipp Wich [Wed, 18 Jan 2012 14:48:16 +0000 (14:48 +0000)]
openssl: fix syntax error in OpenWrt Makefile

SVN-Revision: 29774

12 years agofix thinko in 102-ehci_hcd_ignore_oc patch
Florian Fainelli [Wed, 18 Jan 2012 07:56:02 +0000 (07:56 +0000)]
fix thinko in 102-ehci_hcd_ignore_oc patch

SVN-Revision: 29773

12 years agoext-toolchain.sh: properly handle toolchains without sysroot support
Jo-Philipp Wich [Wed, 18 Jan 2012 04:03:15 +0000 (04:03 +0000)]
ext-toolchain.sh: properly handle toolchains without sysroot support

SVN-Revision: 29772

12 years agoopenssl: don't fail with empty TARGET_LDFLAGS
Jo-Philipp Wich [Wed, 18 Jan 2012 03:54:09 +0000 (03:54 +0000)]
openssl: don't fail with empty TARGET_LDFLAGS

SVN-Revision: 29770

12 years agoext-toolchain.sh: - use GCC's own idea of the target name (-dumpmachine) - display...
Jo-Philipp Wich [Wed, 18 Jan 2012 03:32:30 +0000 (03:32 +0000)]
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

SVN-Revision: 29769

12 years agoinvoke patch-specs.sh in the gcc/final install stage. Patch up OpenWrts own cross...
Jo-Philipp Wich [Wed, 18 Jan 2012 03:15:22 +0000 (03:15 +0000)]
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.

SVN-Revision: 29768

12 years agoadd patch-specs.sh, a utility for modifying GCC specs The patch-specs.sh utility...
Jo-Philipp Wich [Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)]
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.

SVN-Revision: 29767

12 years agouse ext-toolchain.sh to integrate external toolchains Use ext-toolchain.sh to wrap...
Jo-Philipp Wich [Wed, 18 Jan 2012 03:08:09 +0000 (03:08 +0000)]
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.

SVN-Revision: 29766

12 years agoadd ext-toolchain.sh, a utility for external toolchains The ext-toolchain.sh utility...
Jo-Philipp Wich [Wed, 18 Jan 2012 03:03:24 +0000 (03:03 +0000)]
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

SVN-Revision: 29765

12 years agogigaset 76x
John Crispin [Tue, 17 Jan 2012 12:10:35 +0000 (12:10 +0000)]
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>
SVN-Revision: 29763

12 years agoramips: Rework ramips_eth to not require irqsave locking anymore
John Crispin [Tue, 17 Jan 2012 11:23:11 +0000 (11:23 +0000)]
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>
SVN-Revision: 29762

12 years agort2x00: add a patch to avoid excessive memmove() on packet contents to improve perfor...
Felix Fietkau [Mon, 16 Jan 2012 08:14:27 +0000 (08:14 +0000)]
rt2x00: add a patch to avoid excessive memmove() on packet contents to improve performance (patch by Helmut Schaa)

SVN-Revision: 29760

12 years agobrcm47xx: add support for kernel 3.2
Hauke Mehrtens [Sun, 15 Jan 2012 21:18:34 +0000 (21:18 +0000)]
brcm47xx: add support for kernel 3.2

SVN-Revision: 29756

12 years agobrcm47xx: run kernel_oldconfig
Hauke Mehrtens [Sun, 15 Jan 2012 14:53:32 +0000 (14:53 +0000)]
brcm47xx: run kernel_oldconfig

SVN-Revision: 29755

12 years agotools: clean up Makefiles / make ccache work
John Crispin [Sun, 15 Jan 2012 11:43:13 +0000 (11:43 +0000)]
tools: clean up Makefiles / make ccache work

SVN-Revision: 29754

12 years agoadd support for OMAP4 based boards, starting with the PandaBoard
Imre Kaloz [Sat, 14 Jan 2012 23:02:56 +0000 (23:02 +0000)]
add support for OMAP4 based boards, starting with the PandaBoard

SVN-Revision: 29753

12 years agobuild and package the wl12xx driver
Imre Kaloz [Sat, 14 Jan 2012 22:56:22 +0000 (22:56 +0000)]
build and package the wl12xx driver

SVN-Revision: 29751

12 years agofixup arm xz support with recent changes
Imre Kaloz [Sat, 14 Jan 2012 22:55:04 +0000 (22:55 +0000)]
fixup arm xz support with recent changes

SVN-Revision: 29750

12 years agoadd missing symbols
Imre Kaloz [Sat, 14 Jan 2012 22:53:28 +0000 (22:53 +0000)]
add missing symbols

SVN-Revision: 29749