juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29910 3c298f89-4303-0410-b956-a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29906 3c298f89-4303-0410-b956-a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29905 3c298f89-4303-0410-b956-a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29904 3c298f89-4303-0410-b956-a3cf2f4a3e73
blogic [Tue, 24 Jan 2012 11:31:23 +0000 (11:31 +0000)]
[lantiq] 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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29881 3c298f89-4303-0410-b956-a3cf2f4a3e73
juhosg [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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@29871 3c298f89-4303-0410-b956-a3cf2f4a3e73
nbd [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
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.
jow [Thu, 19 Jan 2012 15:37:47 +0000 (15:37 +0000)]
[package] 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>
jow [Wed, 18 Jan 2012 23:46:06 +0000 (23:46 +0000)]
[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.
jow [Wed, 18 Jan 2012 19:22:14 +0000 (19:22 +0000)]
[package] mtd: external toolchains usually do not know about MTDREFRESH, so search in $(LINUX_DIR)/include first, fixes compilation with external CodeSourcery toolchain
jow [Wed, 18 Jan 2012 19:00:53 +0000 (19:00 +0000)]
[package] dnsmasq: if CONFIG_IPV6 is off, compile with -DNO_IPV6 - solves unresolved refs to in6addr_any when building with external CodeSourcery toolchain
jow [Wed, 18 Jan 2012 03:32:30 +0000 (03:32 +0000)]
[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
jow [Wed, 18 Jan 2012 03:15:22 +0000 (03:15 +0000)]
[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.
jow [Wed, 18 Jan 2012 03:11:45 +0000 (03:11 +0000)]
[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.
jow [Wed, 18 Jan 2012 03:08:09 +0000 (03:08 +0000)]
[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.
jow [Wed, 18 Jan 2012 03:03:24 +0000 (03:03 +0000)]
[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