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

798 Commits

Author SHA1 Message Date
juhosg
7b9dfebde4 generic: sanitize deps_initramfs list
If any filename in the intramfs dependency
list contains a colon, that causes a kernel
build error like this:

/devel/openwrt/build_dir/linux-ar71xx_generic/linux-3.6.6/usr/Makefile:58: *** multiple target patterns.  Stop.
make[5]: *** [usr] Error 2

Fix it by removing such filenames from the
deps_initramfs list.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34125 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-09 09:07:29 +00:00
jogo
e1696ca671 linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 15:21:46 +00:00
jogo
ab0f1978a2 linux: generic: fix split_squashfs for 3.6
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 00:48:21 +00:00
juhosg
7692f8ee59 linux/3.3: backport an upstream GPIO patch
The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().

This will be used by ar71xx/ramips platforms.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:43 +00:00
nbd
de6ad2505c linux-3.6: fix portability of some includes files in tools/ used on the host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:15 +00:00
juhosg
f840df94dd generic: make yaffs work on 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:23 +00:00
juhosg
f446bd2580 generic: rename jffs2 patches
Make room for the upcoming yaffs patches.
No functional changes.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:16 +00:00
juhosg
7564e5cb37 generic: use mtd_* helpers in the yaffs code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 21:17:30 +00:00
juhosg
a7af64893d kernel: update linux 3.6 to 3.6.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
juhosg
e0549e6799 generic: split yaffs-3.2-fix patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:33:12 +00:00
juhosg
ddec1a3035 generic: replace yaffs-2.6.39 patch
Use backported upstream patches instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 15:12:45 +00:00
juhosg
cfcea07f07 generic: replace yaffs mutex_fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:24 +00:00
juhosg
1d4021e4e0 generic: replace yaffs symlink fix patch
Use a backported patch instead.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:23 +00:00
juhosg
c703e25132 generic: rename yaffs patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:21 +00:00
juhosg
34b60fad1a generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:17 +00:00
juhosg
22c66493c9 generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:13 +00:00
kaloz
dd62b6f0ce add missing 3.6 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
juhosg
5fb1071671 generic: add more symbols for 3.6
Also refresh the config file with kconfig.pl.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:08:59 +00:00
juhosg
4e2267ffdd kernel: update linux 3.6 to 3.6.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
juhosg
ddf35bbead generic: fix crashlog patch for 3.6
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 09:50:50 +00:00
juhosg
29e6a46ba2 generic: fix tcp_window_check patch for 3.6
Move the new entry to the end of the tcp_sysctl_table
array to fix the following error:

[    7.670000] sysctl table check failed: net/netfilter/nf_conntrack_tcp_max_retrans No data
[    7.680000] Call Trace:
[    7.680000] [<80273bc4>] dump_stack+0x8/0x34
[    7.680000] [<80128710>] __register_sysctl_table+0x374/0x3a8
[    7.690000] [<868d5034>] nf_conntrack_l4proto_unregister+0x158/0x1a0[nf_conntrack]
[    7.700000] [<868d50e4>] nf_conntrack_l4proto_register+0x68/0x21c[nf_conntrack]
[    7.710000] [<868b237c>] need_ipv4_conntrack+0x35c/0xb60[nf_conntrack_ipv4]
[    7.710000]
[    7.720000] nf_conntrack_l4proto_tcp4 :protocol register failed
[    7.720000] nf_conntrack_ipv4: can't register pernet ops
[    7.780000] nf_nat: Unknown symbol nf_nat_seq_adjust_hook (err 0)
[    7.790000] nf_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.800000] iptable_nat: Unknown symbol nf_nat_packet (err 0)
[    7.810000] iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
[    7.820000] iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
[    7.820000] iptable_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.840000] ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
[    7.860000] nf_nat_ftp: Unknown symbol nf_nat_follow_master (err 0)
[    7.870000] nf_nat_ftp: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
[    7.890000] nf_nat_irc: Unknown symbol nf_nat_follow_master (err 0)
[    7.900000] nf_nat_irc: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 15:42:25 +00:00
kaloz
935acb6305 [generic]: instead of updating the whole file, just add the additional boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:29:36 +00:00
juhosg
6021644945 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:36 +00:00
juhosg
5cd8b64921 generic: use mtd_read in myloader parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:59 +00:00
juhosg
118178a078 generic: swconfig: use led_set_brightness in LED control code
The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:18 +00:00
juhosg
52ff80a55b generic: add missing symbols for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:15 +00:00
florian
308bb3f853 [kernel] add some more 3.6 config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:10 +00:00
hauke
c3f5ead840 kernel: add PCI id 14e4:4350 to ssb
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:50:47 +00:00
nbd
231e652d58 kernel: add a few missing config symbols for x86. added to generic config because of dependencies, so that kernel_menuconfig does not remove them again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:45 +00:00
nbd
e123d11563 kernel: refresh config files using kconfig.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:40 +00:00
hauke
288f3f6650 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
florian
05e75c4408 [kernel] ARM: fix XZ decompressor stub build failure on strstr()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:31 +00:00
florian
f5e931045c [kernel] fixup generic 3.6 kernel config
It was not meant to be committed as-is in r33911

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:24 +00:00
florian
04a4114eac [kernel] fix IFF_NO_IP_ALIGN bitmask to contain only 1 bit set
This issue got introduced while porting the patch over 3.6 in r33897

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:23:20 +00:00
florian
eb0c020062 [kernel] make all 3.6 patches apply and build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:22 +00:00
florian
ac3d47a751 [kernel] swconfig: get rid of the NLA_PUT_* macros
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:04 +00:00
kaloz
1c3d05cf73 [generic]: linux 3.6 support (work in progress)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 12:21:34 +00:00
jogo
c373dbfcfb kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
florian
577eacbdb0 [kernel] refresh 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 21:30:30 +00:00
juhosg
9f961949b6 generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:22:56 +00:00
kaloz
aff9dc0b46 [generic]: add support for new Option modules (GTM66xxWFS/GTM67xxWFS)
Add new device ID's for the hso driver as well as usb storage
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 06:58:42 +00:00
blogic
19c78e1905 [kernel] gpiodev/gpioctl RIP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 11:58:09 +00:00
kaloz
228bf4df1a The Gateworks System Controller (GSC) is an i2c device that provides system
level monitoring and control of Gateworks boards.  It is used on several
product families spanning several different target architectures (ixp4xx,
cns3xxx, davinci).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
nbd
eecf5b1752 kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:31 +00:00
nbd
eaa73bfc36 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:27 +00:00
nbd
9529ea409f mtd: allow partial block unlock
This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.

This second iteration of this patch addresses previous issues:
  - whitespace breakage fixed
  - unlock in all scenarios
  - simplification and fix logic bug

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:44 +00:00
hauke
46d98a975d [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:53 +00:00
juhosg
da91b54f0f generic: enable CONFIG_USB_EHCI_TT_NEWSCHED
This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.

See: http://www.spinics.net/lists/linux-usb/msg31993.html

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:39 +00:00
juhosg
07d80167c0 generic: add upstream commit id to codel patches and refresh those
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 14:17:17 +00:00
florian
ee1a7a743e [kernel] backport the upstream entropy changes (#11951)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 12:54:01 +00:00