Commit Graph

21908 Commits (95b5c6800758146da8829e56b03f9b12925490cc)

Author SHA1 Message Date
Jo-Philipp Wich 1af7a2c522 wrt350nv2-builder: don't use internal zlib macro OF() in ioapi.h, it breaks with new zlib releases
SVN-Revision: 33181
2012-08-14 10:33:43 +00:00
Jo-Philipp Wich e54e4d50d1 iwinfo: transparently handle radioX names in madwifi backend
SVN-Revision: 33180
2012-08-14 10:33:40 +00:00
John Crispin 4fffc38827 fix breakage when compiling for armv6
SVN-Revision: 33179
2012-08-14 10:13:39 +00:00
Florian Fainelli 25792cb971 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>

SVN-Revision: 33174
2012-08-13 14:46:47 +00:00
Gabor Juhos 5fc4b7f5fd ar71xx: uci-defaults/leds for ALL0258N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33165
2012-08-13 14:01:38 +00:00
Gabor Juhos ca857b7a50 base-files: uci-defaults for rssileds
Adds capability to add uci-defaults defining RSSI LEDs

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

SVN-Revision: 33164
2012-08-13 14:01:37 +00:00
Gabor Juhos 02cf95877e 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>

SVN-Revision: 33163
2012-08-13 14:01:34 +00:00
John Crispin 2214277630 dependencies break when alsa is staged
SVN-Revision: 33162
2012-08-13 12:45:36 +00:00
John Crispin e6e331ca67 unify tapi deps
SVN-Revision: 33160
2012-08-13 11:08:13 +00:00
Florian Fainelli fb2db91797 busybox: enable fsync applet by default
SVN-Revision: 33159
2012-08-13 09:55:12 +00:00
Florian Fainelli f164b71189 leds: do not register device if no leds defined
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33158
2012-08-13 09:55:10 +00:00
Florian Fainelli f0f10014a0 BCM6358 fix enet MII clk definitions
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33157
2012-08-13 09:55:07 +00:00
Florian Fainelli 9b91c62917 nb4: fix support, add support for SVC and CLIP BTN
Signed-off-by: Miguel GAIO <miguel.gaio@efixo.com>

SVN-Revision: 33156
2012-08-13 09:55:04 +00:00
Jo-Philipp Wich 29b91ef01a introduce a menuconfig option to turn off static linking of host utilities
SVN-Revision: 33154
2012-08-13 00:26:34 +00:00
John Crispin 8c3ea37f2f 3rd time lucky ... too much sun today
SVN-Revision: 33152
2012-08-12 20:01:04 +00:00
John Crispin 21e5f332dc unbreak deps
SVN-Revision: 33151
2012-08-12 19:59:51 +00:00
John Crispin 0e0a4932b1 breaks when building for powerpc
SVN-Revision: 33150
2012-08-12 18:38:59 +00:00
Jo-Philipp Wich 7304953292 convert remaining tools to $(HOST_STATIC_LINKING) (#12012)
SVN-Revision: 33148
2012-08-12 13:27:49 +00:00
Jo-Philipp Wich 70aaa116eb base-files: provide a sysupgrade -r (--restore-backup) option as convenience wrapper for tar -C / -x(v)zf
SVN-Revision: 33147
2012-08-12 13:20:27 +00:00
Jo-Philipp Wich 958a9c96cd xz: update to 5.0.4
Signed-off-by: Jonh Wendell <jonh.wendell@gmail.com>

SVN-Revision: 33146
2012-08-12 12:48:49 +00:00
Gabor Juhos 82759a1716 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>

SVN-Revision: 33145
2012-08-12 12:48:31 +00:00
Gabor Juhos 1525620b0e 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>

SVN-Revision: 33144
2012-08-12 12:48:28 +00:00
Gabor Juhos 615a619bc7 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>

SVN-Revision: 33143
2012-08-12 12:48:26 +00:00
Gabor Juhos 9365113040 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>

SVN-Revision: 33142
2012-08-12 12:48:24 +00:00
Jo-Philipp Wich 9a049babb7 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>

SVN-Revision: 33141
2012-08-12 12:46:47 +00:00
Jo-Philipp Wich cf1698c637 use HOST_STATIC_LINKING instead of hardcoding -static
SVN-Revision: 33140
2012-08-12 12:34:30 +00:00
Jo-Philipp Wich 095fe8743b prereq-build.mk: do not perform static linking tests on Darwin
SVN-Revision: 33139
2012-08-12 12:34:28 +00:00
Jo-Philipp Wich 94a96244f6 host-build.mk: define a variable HOST_STATIC_LINKING which is set to "-static" on non-Darwin systems
SVN-Revision: 33138
2012-08-12 12:34:25 +00:00
Gabor Juhos b942309f4f 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'

SVN-Revision: 33137
2012-08-12 10:30:41 +00:00
Jo-Philipp Wich 0ef62afd40 netifd: bump to git head, userspace routes are installed with RTPROT_STATIC from now on
SVN-Revision: 33132
2012-08-11 16:07:36 +00:00
Florian Fainelli 2cf28cff7d only support 128KiB erase block sizes
SVN-Revision: 33131
2012-08-11 12:56:09 +00:00
Florian Fainelli 035b41bafb disable PCI support
None of the boards we support have PCI connectors

SVN-Revision: 33130
2012-08-11 12:56:00 +00:00
Florian Fainelli 639112f0d5 strip a bit more the kernel config
SVN-Revision: 33129
2012-08-11 12:55:51 +00:00
Florian Fainelli 0f91df4de6 properly advertise OHCI and EHCI capabilities
SVN-Revision: 33128
2012-08-11 12:55:41 +00:00
Florian Fainelli 43ddb1d7af change partition names to be more in line with other OpenWrt devices
SVN-Revision: 33127
2012-08-11 12:55:30 +00:00
Florian Fainelli 911a83dffc generate upgrade files suffixed with filesystem type
SVN-Revision: 33126
2012-08-11 12:55:15 +00:00
Jo-Philipp Wich ef339d4e8f 6rd: missing config option `ipaddr`.
This option is necessary when configuring 6rd behind NAT.

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

SVN-Revision: 33123
2012-08-11 00:25:23 +00:00
Jo-Philipp Wich 67edc7ec63 add remaining missing build prereq checks
SVN-Revision: 33122
2012-08-11 00:05:18 +00:00
Jo-Philipp Wich a996cc1444 add a build preeq check for glibc-static
SVN-Revision: 33121
2012-08-10 23:35:20 +00:00
Jo-Philipp Wich df261c26ba sed: disable further SELinux features
SVN-Revision: 33120
2012-08-10 22:38:09 +00:00
Jo-Philipp Wich 638a3eb4fd sed: unconditionally disable SELinux, NLS and ACL support (#12007)
SVN-Revision: 33119
2012-08-10 21:41:44 +00:00
Jo-Philipp Wich 65d6a44baa Revert "[tools] cmake: link statically"
Static linking of cmake is broken on x86_64, until we can sort it out, revert the static linking.

SVN-Revision: 33118
2012-08-10 21:25:45 +00:00
Jo-Philipp Wich e2e55d7acd firmware-utils: link statically
SVN-Revision: 33117
2012-08-10 19:27:08 +00:00
Jo-Philipp Wich a7568eb875 e2fsprogs: link statically
SVN-Revision: 33116
2012-08-10 19:27:07 +00:00
Jo-Philipp Wich f79666f20c dosfstools: link statically
SVN-Revision: 33115
2012-08-10 19:27:06 +00:00
Jo-Philipp Wich ecc3d83717 cmake: link statically
SVN-Revision: 33114
2012-08-10 19:27:04 +00:00
Jo-Philipp Wich 7d79e3a84a ccache: fix compilation, link statically
SVN-Revision: 33113
2012-08-10 19:27:03 +00:00
Jo-Philipp Wich ec726c48a9 yaffs2: link statically
SVN-Revision: 33112
2012-08-10 19:27:01 +00:00
Jo-Philipp Wich da6f82a16e xz: link statically
SVN-Revision: 33111
2012-08-10 19:27:00 +00:00
Jo-Philipp Wich 5ac14bbd49 wrt350nv2-builder: link statically
SVN-Revision: 33110
2012-08-10 19:26:58 +00:00