Commit graph

17901 commits

Author SHA1 Message Date
Hauke Mehrtens
b213493bda busybox: Fix insmod for linux 3.0
Insmod silently rejected being run on any non 2.x kernel. Make its version
check allow newer kernels (and reject 2.4- when not enabling the 2.4
feature).

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27189
2011-06-15 21:17:52 +00:00
Hauke Mehrtens
e8974127fb madwifi: Fix linux 3.0 detection
Allows madwifi to be built against linux 3.0.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27188
2011-06-15 21:17:17 +00:00
Hauke Mehrtens
dfcd340721 package/mac80211: Add linux 3.0 compatibility
Add patches from Hauke adding linux 3.0 compatibility.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27187
2011-06-15 21:16:38 +00:00
Hauke Mehrtens
cd3bd6e13e package/kernel: Update version dependencies and kmods for linux 3.0
Also disable rtc-core for now since this changed to a bool, now directly
used in the kernel if enabled.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27186
2011-06-15 21:12:49 +00:00
Hauke Mehrtens
bf64ac730a bcm47xx: Remove kernel checks from image Makefile
2.4 isn't present anymore, so it will always be 2.6 (or newer). Since the
2.6 check will break with 3.0, remove it alltogether.

Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27185
2011-06-15 21:11:49 +00:00
Hauke Mehrtens
e04f68fb77 Fix CONFIG_LINUX_ for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27184
2011-06-15 21:11:05 +00:00
Hauke Mehrtens
45ae457825 Properly extract KERNEL_PATCHVER for linux 3.0
Signed-off-by: Jonas Gorski <jonas.gorski+openwrt@gmail.com>

SVN-Revision: 27183
2011-06-15 21:10:33 +00:00
Jo-Philipp Wich
5752efdadd 2.6.39.1: missing kernel symbols If you turn on I2C, you'll need this symbol defined.
Signed-off-by: Philip A. Prindeville <philipp@redfish-solutions.com>

SVN-Revision: 27182
2011-06-15 18:18:32 +00:00
Felix Fietkau
dcddcfca24 add missing kernel config symbols for usb on powerpc
SVN-Revision: 27181
2011-06-15 18:07:26 +00:00
Jo-Philipp Wich
d39379296c backport upstream Kernel commit 1ed2f73d90fb49bcf5704aee7e9084adb882bfc5 (netfilter: IPv6: fix DSCP mangle code)
SVN-Revision: 27179
2011-06-15 14:11:33 +00:00
Jo-Philipp Wich
14913ab8b0 revert r26997, it does not apply against 2.6.36.4
SVN-Revision: 27178
2011-06-15 13:51:57 +00:00
Florian Fainelli
685a61eb6c switch to 2.6.39
SVN-Revision: 27175
2011-06-14 20:05:13 +00:00
Florian Fainelli
0fb8884efe fix diag.sh with qube2 front led
SVN-Revision: 27174
2011-06-14 20:05:09 +00:00
Florian Fainelli
dee0010ae2 resync kernel config
SVN-Revision: 27173
2011-06-14 20:05:03 +00:00
John Crispin
0732b2db78 Fix for bug where the iniatialisation of the MAC data private strucure
is copied into the wrong location.

Ticket #9547

Signed-off-by: Conor O'Gorman <conor at dna.ie>

SVN-Revision: 27172
2011-06-13 22:37:23 +00:00
Mirko Vogt
471c8077ee link hotplug2 against libbsd when eglibc is used
SVN-Revision: 27170
2011-06-13 13:16:11 +00:00
Mirko Vogt
779bc30119 add library 'libbsd'
This library contains core functionality usually (but obviously not always)
provided by libc implementations which isneeded by OpenWrt core packages.
For instance the functions 'strlcat', 'strlcpy' are not implemented in
eglibc but needed by hotplug2 (udevtrigger)

SVN-Revision: 27169
2011-06-13 13:16:08 +00:00
Florian Fainelli
7a96525a6f replace unfortify patch with a better one
Thanks to Richard Weinberger for providing this patch

SVN-Revision: 27168
2011-06-13 12:45:12 +00:00
Gabor Juhos
0d7a558f23 tools/firmware-utils: fix buffalo csum calculation
Also print an error message if decryption fails.

SVN-Revision: 27167
2011-06-13 08:12:41 +00:00
Gabor Juhos
b7e016ba42 ar71xx: use ar933x_uart.h in the AR933X serial driver
SVN-Revision: 27166
2011-06-13 08:12:40 +00:00
Gabor Juhos
b58ede16a5 ar71xx: update early_printk code
SVN-Revision: 27165
2011-06-13 08:12:38 +00:00
Jo-Philipp Wich
1277bd7186 6to4: advertise effective tunnel mtu in RAs
SVN-Revision: 27163
2011-06-12 19:27:21 +00:00
Florian Fainelli
6a5112a750 cleanup files using checkpatch.pl
SVN-Revision: 27162
2011-06-12 19:17:57 +00:00
Jo-Philipp Wich
d3b8685cd7 6to4: don't start if detected local IPv4 address is RFC1918, allows people to deploy firmwares with 6to4 enabled by default
SVN-Revision: 27160
2011-06-12 18:59:40 +00:00
Felix Fietkau
01e7d775e7 ppp: remove -ffunction-sections, -fdata-sections and -Wl,--gc-sections, it can cause functions needed by plugins to disappear (fixes #9462)
SVN-Revision: 27159
2011-06-12 14:07:08 +00:00
John Crispin
fa59bb0958 * move patches around * add basic support for gigaset sx76x
SVN-Revision: 27158
2011-06-12 08:56:26 +00:00
Felix Fietkau
be20fe9771 toolchain/gdb: fix compile for powerpc targets, refresh patch
SVN-Revision: 27155
2011-06-11 13:25:00 +00:00
Vasilis Tsiligiannis
70106f153d Remove trailing spaces, convert spaces to tabs
SVN-Revision: 27153
2011-06-09 19:30:50 +00:00
Jo-Philipp Wich
ce4e5bd91d kernel: revert unrelated change in previous commit
SVN-Revision: 27150
2011-06-09 14:36:01 +00:00
Jo-Philipp Wich
c9ad45e098 kernel: gre depends on ipv6 is Kernel is built with IPv6 support
SVN-Revision: 27149
2011-06-09 14:34:53 +00:00
Jo-Philipp Wich
344445715a base-files: assume a default ipv6 prefix size of /64, thats what the majority of users mean when they just specify an ip address
SVN-Revision: 27147
2011-06-09 12:36:30 +00:00
Jo-Philipp Wich
fd8ec24187 base-files: if an ip6addr without a prefix is given, assume /128 - otherwise the busybox utilities will interpret it as /0 and create an invalid default route
SVN-Revision: 27145
2011-06-09 12:25:48 +00:00
John Crispin
e3e2a170cd we dont need 1024 bytes buffer. 128 bytes is enough.
SVN-Revision: 27143
2011-06-09 07:08:54 +00:00
John Crispin
8329ecf92c * revert accidental config change
SVN-Revision: 27142
2011-06-09 05:10:18 +00:00
Mirko Vogt
4798e27247 Revert "[package/block-mount] remove example config file"
This isn't needed anymore due to commit 27138

SVN-Revision: 27139
2011-06-08 20:45:19 +00:00
Jo-Philipp Wich
b179722c71 make sure that base-files is installed last, this allows per-target base-file overlays to work correctly
SVN-Revision: 27138
2011-06-08 19:38:25 +00:00
John Crispin
ed0e649a5b * fixes spi flash for ar9
* adds limited support for netgear dgn3500 (enough for others to start working with)

SVN-Revision: 27137
2011-06-08 17:57:55 +00:00
Mirko Vogt
4cbdfb6d92 remove example config file
Having this file prevents the possibility of having target-specific
fstab config files (as target/linux/${target}/base-files/etc/config/fstab).
There is no need of a non-working example file on the target anyway.

SVN-Revision: 27136
2011-06-08 17:39:16 +00:00
Jo-Philipp Wich
97ee10d691 base-files: fix error reporting for unsupported protocols on virtual interfaces
SVN-Revision: 27132
2011-06-07 23:25:43 +00:00
Jo-Philipp Wich
6894dfb0fb uClibc: fix a crash in __read_etc_hosts_r() that occurs if more than five hostnames follow a dotted quad in /etc/hosts
SVN-Revision: 27131
2011-06-07 21:54:14 +00:00
Felix Fietkau
9160e06af5 ar71xx: override inittab to enable login on ttyATH0
SVN-Revision: 27128
2011-06-07 17:07:10 +00:00
Felix Fietkau
9a227d88dd base-files: do not write to /etc/config/wireless at boot time unless a new interface was found
eliminates unnecessary flash write cycles at every boot

patch by Peter Wagner (tripolar)

SVN-Revision: 27127
2011-06-07 17:00:43 +00:00
Hauke Mehrtens
c807bc2432 kernel: fix description of kmod-pata-cs5535 and kmod-pata-cs5536
SVN-Revision: 27126
2011-06-07 15:39:12 +00:00
Hauke Mehrtens
e353efcf6f kernel: fix call of kmod-pata-cs5535 and kmod-pata-cs5536
SVN-Revision: 27125
2011-06-07 15:36:49 +00:00
Mirko Vogt
18caed8793 remove empty file (patch went upstream and file didn't get deleted but only cleared)
SVN-Revision: 27122
2011-06-07 08:37:25 +00:00
Mirko Vogt
59ad83aff1 upgrade Linaro GCC to 4.5-2011.05-0 - thanks to Mark Mentovai
SVN-Revision: 27118
2011-06-07 00:13:56 +00:00
Mirko Vogt
254812ba0a require mppe 128bit-encryption by default
SVN-Revision: 27117
2011-06-06 22:27:04 +00:00
Florian Fainelli
e7b6721f4e update to 2.6.39.1
SVN-Revision: 27114
2011-06-04 18:27:14 +00:00
Florian Fainelli
d97f50b69b define UIMAGE for various rootfs targets
SVN-Revision: 27113
2011-06-04 18:27:09 +00:00
Florian Fainelli
429745edd6 use IMG_PREFIX for image name
SVN-Revision: 27112
2011-06-04 18:27:04 +00:00