1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-01 00:33:15 +03:00
Commit Graph

24464 Commits

Author SHA1 Message Date
jow
1110c121f9 iwinfo: add hw info support for Rt3xxx SoCs
This takes the device_id and subsystem_id from the EEPROM, I'll add
the info for other Rt3xxx chips in the next days.

[jow: minor whitespace changes]

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 16:25:38 +00:00
nbd
30ea4fa0fb ath5k: add back a patch for fixing eeprom rate power parsing
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 14:49:59 +00:00
jow
ca83d1d89e [buildroot] make static host utility linking default to off
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:31:31 +00:00
jow
9fa158ca30 [iamgebuilder] use bundle-libraries.sh to install required host utilities into imagebuilder staging tree
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:26 +00:00
jow
f175e728fb [scripts] add a helper script to bundle required libraries for host utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:28:23 +00:00
juhosg
53d8f6f373 package/om-watchdog: start service only on the om2p/om2p-lc boards on ar71xx
If the package is installed, it starts the watchdog daemon
on every ar71xx based board.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:27:55 +00:00
juhosg
8c9a05c907 generic: extend pci_isable_usb_common_quirks patch
Fixes the following build error:
  SYSMAP  System.map
  Building modules, stage 2.
  MODPOST 48 modules
ERROR: "usb_enable_xhci_ports" [drivers/usb/host/ehci-hcd.ko] undefined!
ERROR: "usb_is_intel_switchable_xhci" [drivers/usb/host/ehci-hcd.ko] undefined!
make[6]: *** [__modpost] Error 1
make[5]: *** [modules] Error 2

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33193 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 13:26:51 +00:00
blogic
08fb7e56f5 [x86] set xen images to gzip compression, fixes #11970
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-15 09:20:12 +00:00
florian
b04e0a47c5 [mcs814x] MCS8140 actually selects CPU_ARM926T
Should make inclusion for other MCS814x SoCs easier

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33188 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 16:19:30 +00:00
jow
c9b24ea50f iwinfo: add some Atheros cards
These are two Atheros modules we are using, just for the cosmetics to make them
show up with the proper names in LuCI.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 13:58:49 +00:00
blogic
6a28aa2599 [kernel] fixes gpio_dev un/reload balancing
Signed-off-by: SHI Bin <shibin@ctsing.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33183 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 12:32:11 +00:00
jow
bd77665964 [tools] wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33181 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:33:43 +00:00
jow
2cf8f74f1b [package] iwinfo: transparently handle radioX names in madwifi backend
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33180 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:33:40 +00:00
blogic
e1d0608070 [arptables] fix breakage when compiling for armv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-14 10:13:39 +00:00
florian
6147ee7cc3 [orion] generic: enhanced image Makefile
* Creation of uImage for WNR854T only done once (before 2x for jffs2 build and 1x for squashfs build)
* Got rid of unneccessary padding of rootfs partition
* ARM zImages always need a machine id, therefore do not copy generic (=no id) uImage to BIN_DIR, instead copy zImage
* Generalized functions for easier re-using and enhancing (e.g. D-Link DNS 323 implementation would be only a couple lines)
* Copy rootfs partitions to BIN_DIR, just like it is done for D-Link DNS 323
* Use variables to allows easily changing for custom builds, e.g. kernel mtd size for symbols
* Size check of kernel files to avoid builds that break devices
* Use for "-sysupgrade" and "-factory" in image names (like ar71xx, brcm63xx, etc.) to avoid questions about which image to use

Signed-off by: Matthias Buecher <mail@maddes.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:46:47 +00:00
juhosg
3f887bde17 ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:38 +00:00
juhosg
c7af93aa5a base-files: uci-defaults for rssileds
Adds capability to add uci-defaults defining RSSI LEDs

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:37 +00:00
juhosg
c8a92d23e8 new package: rssileds daemon
rssileds is a small user-space process to control LEDs by polling the
signal quality reported by a WiFi interface. By using the iwinfo library,
rssileds is independent of the WiFi driver used.
It supports pwm controlled LEDs and may by used to nicely fade through
all colors in real-time of the rainbow while only wasting very little CPU
time and a small constant amount of system memory.
An example configuration for the ALL0258N will follow in the next patch.

This is a slightly improved version of rssileds, now quality values are
in percent and stuff is written to syslog.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 14:01:34 +00:00
blogic
9d4910209d [pjsip] dependencies break when alsa is staged
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 12:45:36 +00:00
blogic
1ea0a3e0e8 [lantiq] unify tapi deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 11:08:13 +00:00
florian
13af496c2a [package] busybox: enable fsync applet by default
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33159 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:12 +00:00
florian
8a54c0b2cb [brcm63xx] leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33158 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:10 +00:00
florian
79a7c4161b [brcm63xx] BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33157 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:07 +00:00
florian
b0104112b7 [brcm63xx] nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33156 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 09:55:04 +00:00
jow
da93f7edd2 [buildroot] introduce a menuconfig option to turn off static linking of host utilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33154 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-13 00:26:34 +00:00
blogic
756ea2ddaf [acx-mac80211] 3rd time lucky ... too much sun today
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33152 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 20:01:04 +00:00
blogic
665cc6d95a [acx-mac80211] unbreak deps
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33151 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 19:59:51 +00:00
blogic
1022f591a6 [acx-mac80211] breaks when building for powerpc
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33150 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 18:38:59 +00:00
jow
2fd8a1e0e0 [tools] convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33148 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 13:27:49 +00:00
jow
26de6c0700 [package] base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33147 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 13:20:27 +00:00
jow
499b9b26dc xz: update to 5.0.4
Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33146 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:49 +00:00
juhosg
e22f7daae5 ramips: rename rt3352 usb platform devices
In order to get OHCI/EHCI working on the Rt3352, the platform device must be
named so rt3883-?hci will recognize it.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:31 +00:00
juhosg
2c5c4009fb ramips: watchdog: use maximum possible timeout by default
As the userspace has no means to determine the maximum possible timeout, use
that as the default and let the userspace lower it when necessary.

As the result the usual OpenWrt install (with busybox's watchdog trying to set
the timeout to 60s on start) is using a 33s timeout on an RT3052 clocked at
384MHz instead of the current 20s default.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33144 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:28 +00:00
juhosg
3ccfe576de ramips: provide means to specify custom "image name" for uImages, use for DIR-620
D-Link's DIR-620 allows to flash a uImage directly from its web-interface but
for that the image name should be set to DIR_620.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33143 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:26 +00:00
juhosg
0618ae4136 ramips: add D-Link DIR-620 A1 support
Full functionality runtime tested, installation via OEM web-interface requires
a follow-up patch.

Thanks go to Sergey Vasilyugin for his patch that pointed me at the missing
bits (including the antiparallel wps led).

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33142 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:48:24 +00:00
jow
5af4d8c19b tools/ppl: fix automake error due to use of obsolete directory name
I recently experienced this:

configure.ac:1101: the top level
interfaces/Prolog/Ciao/Makefile.am:168: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/GNU/Makefile.am:167: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SICStus/Makefile.am:71: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/SWI/Makefile.am:187: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/XSB/Makefile.am:186: `pkglibdir' is not a legitimate directory for `DATA'
interfaces/Prolog/YAP/Makefile.am:176: `pkglibdir' is not a legitimate directory for `DATA'
make[4]: *** [Makefile.in] Error 1

Found this on google:
http://bugs.mysql.com/bug.php?id=63898

And used this to fix it:
fgrep -rlZ pkglib_DATA --include Makefile.am . | xargs -0 sed -i 's/pkglib_DATA/pkgdata_DATA/g'

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33141 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:46:47 +00:00
jow
ba750f4141 [tools] use HOST_STATIC_LINKING instead of hardcoding -static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33140 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:30 +00:00
jow
036f79f8de [include] prereq-build.mk: do not perform static linking tests on Darwin
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33139 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:28 +00:00
jow
e65348e877 [include] host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33138 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 12:34:25 +00:00
juhosg
60b393ba86 generic: use __meminit annotation for crashlog_init_memblock
Fixes this section mismatch warning:
WARNING: vmlinux.o(.meminit.text+0xb14): Section mismatch in reference
from the function memblock_insert_region() to the function
.init.text:crashlog_init_memblock()
The function __meminit memblock_insert_region() references
a function __init crashlog_init_memblock().
If crashlog_init_memblock is only used by memblock_insert_region then
annotate crashlog_init_memblock with a matching annotation.

Also, remove the __init annotations from 'include/linux/crashlog.h'

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-12 10:30:41 +00:00
jow
cf9b6ece55 [package] netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33132 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 16:07:36 +00:00
florian
b117ae421e [mcs814x] only support 128KiB erase block sizes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33131 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:09 +00:00
florian
8c1ea6515e [mcs814x] disable PCI support
None of the boards we support have PCI connectors

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33130 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:56:00 +00:00
florian
abbd73f17d [mcs814x] strip a bit more the kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33129 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:51 +00:00
florian
7bea2cc208 [mcs814x] properly advertise OHCI and EHCI capabilities
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33128 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:41 +00:00
florian
0855a531ce [mcs814x] change partition names to be more in line with other OpenWrt devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33127 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:30 +00:00
florian
5a05d95284 [mcs814x] generate upgrade files suffixed with filesystem type
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33126 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 12:55:15 +00:00
jow
442844cc6f 6rd: missing config option ipaddr.
This option is necessary when configuring 6rd behind NAT.

Signed-off-by: Stéphan Kochen <stephan@kochen.nl>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33123 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 00:25:23 +00:00
jow
6c85e21f3d [include] add remaining missing build prereq checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33122 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-11 00:05:18 +00:00
jow
e4c283aa7e [include] add a build preeq check for glibc-static
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33121 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-10 23:35:20 +00:00