Commit graph

10699 commits

Author SHA1 Message Date
Luka Perkov
ec52778a14 imx6: refresh 3.10 kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37850
2013-08-28 00:07:37 +00:00
Gabor Juhos
dd421c00a2 ar71xx: add some pending patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37849
2013-08-27 18:06:49 +00:00
Gabor Juhos
a4c2853261 kernel: don't hide the 'Warning: unable to open an initial console' message
The 'Warning: unable to open an initial console' message
indicates an error in the rootfs. Remove the patch which
hides the warning.

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

SVN-Revision: 37848
2013-08-27 12:03:01 +00:00
Gabor Juhos
012f214e6f kernel: ensure that /dev/console exists in initramfs
Linux expects that the /dev/console node is present
in the rootfs image. Create the node in initramfs,
in order to make std{in,out,err} usable even in early
init process.

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

SVN-Revision: 37846
2013-08-27 12:02:54 +00:00
Gabor Juhos
d6b4b8f612 ar71xx: don't hardwire cpu_has_dsp{,2} to zero
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37845
2013-08-27 10:48:25 +00:00
Gabor Juhos
9af6a5a88f ar71xx: don't register USB device on WNDAP360
Apparently registering usb device on newest trunk causes
this AP not to boot...
Since there is no USB socket in that device anyway this
can be simply removed (and device boots then no problem).

[juhosg:
  - tweak subject line and description,
  - remove #include "dev-usb.h",
  - remove 'select ATH79_DEV_USB' from Kconfig]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37844
2013-08-27 10:48:24 +00:00
Felix Fietkau
c75416292a kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 37842
2013-08-26 17:47:14 +00:00
Gabor Juhos
77e00faa33 x86/alix2: add kmod-usb2-pci to default packages
The USB controller is sitting on the PCI bus and
without the package the EHCI controller is not
usable.

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

SVN-Revision: 37835
2013-08-25 14:42:34 +00:00
Gabor Juhos
42914b0b0e ar71xx: build factory image for DIR-505 A1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37834
2013-08-24 10:11:53 +00:00
Gabor Juhos
f7eb3d94b9 ar71xx: allow to override kernel size in the CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37833
2013-08-24 10:11:45 +00:00
Gabor Juhos
043edd8074 kernel: update 3.10 to 3.10.9
Also refresh 3.10 patches.

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

SVN-Revision: 37832
2013-08-23 17:31:04 +00:00
Gabor Juhos
6f232cba62 generic: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37831
2013-08-23 17:31:02 +00:00
Gabor Juhos
a76371970e ramips: remove lantiq specific patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37830
2013-08-23 17:07:28 +00:00
Gabor Juhos
9330662208 ramips: use correct image size parameter for DIR-610 A1
Fixes the following error:

  bash: line 0: [: ralink_default_fw_size_4M: integer expression expected

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

SVN-Revision: 37829
2013-08-23 17:07:27 +00:00
Gabor Juhos
0ebe286761 ramips: use correct parameters in the Seama template
Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37828
2013-08-23 17:07:26 +00:00
Gabor Juhos
3afc3824ca ramips: update the RT3883 PCI patch
Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37827
2013-08-23 17:07:25 +00:00
Gabor Juhos
2d89ba8210 kernel/3.10: backport of_pci_get_devfn function from 3.11
Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37826
2013-08-23 17:07:20 +00:00
Zoltan Herpai
887ddc4192 imx23: bump kernel to 3.10.9
SVN-Revision: 37824
2013-08-22 19:30:46 +00:00
Zoltan Herpai
330c236833 imx23: add support for u-boot image build
SVN-Revision: 37823
2013-08-22 19:29:07 +00:00
Felix Fietkau
3848e6a246 kernel: crashlog: Avoid out-of-bounds write
vsnprintf returns the number of chars that would have been written, not
the actual number of chars written. This can lead to crashlog_buf->len
being too big which in turn can lead to get_maxlen() returning negative
numbers. The length argument of kmsg_dump_get_buffer will be casted to
a size_t which makes a negative input a big positive number allowing
kmsg_dump_get_buffer to write out of bounds.

Fix this by using vscnprintf which returns the actually written number
of chars.

Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>

SVN-Revision: 37820
2013-08-21 20:59:25 +00:00
Luka Perkov
3e28d0849e malta: refresh configuration
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37819
2013-08-21 00:36:53 +00:00
Felix Fietkau
e2aa807b60 kernel: add back missing declaration in the MIPS DMA patch that broke octeon
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37811
2013-08-18 05:49:57 +00:00
Luka Perkov
4f679c1775 kernel: drop dead pwm code
The files have last been used with 2.6.x kernel.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37810
2013-08-18 01:25:41 +00:00
Luka Perkov
a2dccb958c kernel: drop dead glamo code
The code is not used since the s3c24xx target was removed.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37809
2013-08-18 01:25:40 +00:00
Luka Perkov
f1509b1958 kernel: replace local m25p80 patches with upstream submission
http://lists.infradead.org/pipermail/linux-mtd/2013-August/048154.html
http://patchwork.ozlabs.org/patch/268019/

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37808
2013-08-17 23:54:41 +00:00
Luka Perkov
18a36d3062 kernel: drop 010-mtd_mp25p80_add_gd25q32_gd25q64.patch
The patch in question has been accepted upstream in commit:

55bf75b7dd8ec875d048824f3cdecf8254e292e5

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37807
2013-08-17 22:29:05 +00:00
Luka Perkov
5c018d5096 kernel: drop 110-fix_mtd_include.patch
Kernel builds just fine without this patch so we can just remove it.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37805
2013-08-17 17:09:41 +00:00
Hauke Mehrtens
af161b6576 brcm47xx: fix typo in Broadcom-bgmac-b43 profile name
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 37803
2013-08-17 13:41:22 +00:00
Felix Fietkau
d16060d5a3 kernel: fix a small #ifdef bug in the noncoherent dma check rework
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37791
2013-08-15 09:29:53 +00:00
Felix Fietkau
e27f67b30a kernel: improve dma ops inlining patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37790
2013-08-15 09:23:07 +00:00
Luka Perkov
5064c81457 ar71xx: add support for hornet-ub-x2
The hornet-ub-x2 is hornet-ub variant with double more flash and ram.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37788
2013-08-15 00:57:47 +00:00
John Crispin
dc7164d4ef ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37785
2013-08-14 19:35:27 +00:00
John Crispin
97a7daa72f ramips: fix typo in network uci_defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37784
2013-08-14 19:08:55 +00:00
John Crispin
41f62983d3 ramips: dts file cleanup
cleanup some inconsistencies in the dts files

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37783
2013-08-14 19:08:44 +00:00
John Crispin
eb7669fc5d ar71xx: fix TL-WR710N board detection
Fix for recognize TL-WR710N

http://patchwork.openwrt.org/patch/3946/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 37782
2013-08-14 18:15:58 +00:00
John Crispin
6d7d09a126 ar71xx: Fix factory image for DIR 505 A1
Based on the original firmware, the file must have the tag
HORNET-PACKET-DIR505A1-3, not HORNET-RT-DIR505A1-3.

http://patchwork.openwrt.org/patch/3945/

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

SVN-Revision: 37781
2013-08-14 18:15:49 +00:00
John Crispin
36e3424fa5 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37780
2013-08-14 18:15:35 +00:00
John Crispin
632a3e3a79 ramips: various updates to the mt7620 dtsi file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37779
2013-08-14 18:15:26 +00:00
John Crispin
9e5b0cc19c ramips: update v3.10 patches
Sync the patches with those sent upstream for v3.12.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37778
2013-08-14 18:15:15 +00:00
Felix Fietkau
8b8875b305 ocf: switch MODULE_LICENSE from BSD to "Dual BSD/GPL" to make the kernel recognize modules as GPL-compatible
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37769
2013-08-14 08:52:19 +00:00
Felix Fietkau
bbd4d4c8b8 ar71xx: ethernet: reduce tx dma ring size further to improve cache footprint
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37765
2013-08-13 10:35:10 +00:00
Felix Fietkau
3ead1e058c kernel: add patch to inline mips dma mapping functions - reduces code size and improves performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37763
2013-08-12 17:26:08 +00:00
Felix Fietkau
58e049ea80 ar71xx: ethernet: reduce tx and rx DMA ring size to improve cache footprint
256 entries is a bit excessive, even for gigabit speeds

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37762
2013-08-12 17:26:03 +00:00
Felix Fietkau
f43b4ea962 ar71xx: ethernet: cache skb->len in the tx function to avoid accessing it again in completion
Improves ethernet performance, especially during bridging

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37761
2013-08-12 17:26:00 +00:00
Felix Fietkau
e5fd991c6c rtl8367: add support for configuring the VLAN FID
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37760
2013-08-12 17:25:25 +00:00
Felix Fietkau
53c3b2a193 ar71xx: fix typo
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37759
2013-08-12 12:41:53 +00:00
Felix Fietkau
f18fd5512e ar71xx: ethernet: skip calls to netdev_completed_queue and netif_wake_queue if no tx cleanup was done
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37758
2013-08-12 11:44:35 +00:00
Felix Fietkau
81cfb9e5ed ar71xx: ethernet: do not update the unused dev->last_rx field
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37757
2013-08-12 11:44:31 +00:00
Felix Fietkau
104ff48e25 ar71xx: add missing return statement in ethernet mtu change op
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37756
2013-08-12 11:44:28 +00:00
Luka Perkov
acb9bc0f5e kernel: remove imx-sdma-fw because of license issues
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 37755
2013-08-12 10:48:05 +00:00