aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic
Commit message (Collapse)AuthorAgeFilesLines
* kernel/3.8: add missing config symbolsGabor Juhos2013-09-261-0/+55
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38215
* kernel: b53: add Register Access Bridge Registers (SRAB) interfaceHauke Mehrtens2013-09-253-0/+388
| | | | | | | | The SRAB interface is used on BCM4707 and BCM5301X SoCs. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 38198
* kernel: create firmware partition from MyLoader partition parserGabor Juhos2013-09-251-2/+13
| | | | | | | | This is in preparation for sysupgrade support for Compex devices. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38197
* package/kernel: add support for industrial-io and AD799xGabor Juhos2013-09-253-0/+76
| | | | | | | | | | | Add support for industrial IO core and (still staging) driver for AD799x, a high precision I2C ADC family. Signed-off-by: Hartmut Knaack <knaack.h@gmx.de> [juhosg: update subject, reformat commit message] Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38187
* kernel/3.10: add upstream commit id to the backported hso patchesGabor Juhos2013-09-252-2/+6
| | | | | | | | Also remove the internal patch numbers. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38179
* kernel/3.10: refresh patchesGabor Juhos2013-09-254-9/+9
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38178
* kernel/3.10: add partition parser for Seama firmwaresGabor Juhos2013-09-213-0/+126
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38114
* kernel/3.10: add partition parser for uImage firmwaresGabor Juhos2013-09-213-0/+317
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38113
* kernel/3.10: add default partition name defines to mtdsplit.hGabor Juhos2013-09-211-0/+3
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38112
* kernel/3.10: add more helpers to the mtdsplit codeGabor Juhos2013-09-212-1/+72
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38111
* kernel/3.10: add separate rootfs partition parserGabor Juhos2013-09-214-0/+185
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38110
* kernel/3.10: move squashfs check from rootfs split code into a separate fileGabor Juhos2013-09-215-0/+192
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38109
* kernel/3.10: allow to use partition parsers for rootfs and firmware splitGabor Juhos2013-09-211-0/+75
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38108
* kernel/3.10: allow to use different MTD parser typesGabor Juhos2013-09-211-0/+113
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38107
* kernel: backport a fix for multiqueue selection to prevent tcp reordering ↵Felix Fietkau2013-09-171-0/+41
| | | | | | | | with fair queueing Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 38016
* kernel: add generic GPIO watchdog driverHauke Mehrtens2013-09-162-0/+361
| | | | | | | | This is used on Huawei E970 (brcm47xx). Signed-off-by: Mathias Adam <m.adam--openwrt@adamis.de> SVN-Revision: 38010
* kernel/3.10: add new Kconfig option for firmware partition splitGabor Juhos2013-09-153-22/+31
| | | | | | | | | | | | | | Add a new kernel config option for generic firmware partition split support and change the uImage split support to depend on the new option. Aslo rename the MTD_UIMAGE_SPLIT_NAME option to MTD_SPLIT_FIRMWARE_NAME to make it more generic. The patch is in preparation for multiple firmware format support. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38002
* kernel: update 3.10 to 3.10.12Gabor Juhos2013-09-1510-73/+18
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 38000
* kernel/3.10: move OpenWrt MTD options into a submenuGabor Juhos2013-09-151-6/+10
| | | | | | | | | | Separate OpenWrt specific MTD options from the mainline option by moving those into a new submenu in the kernel configuration interface. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37997
* kernel: b53: detect revision of BCM5325Hauke Mehrtens2013-09-152-1/+9
| | | | | | | | | The revision is stored in a different register than it is in other Broadcom switches. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37995
* kernel: b53: fix vlan write for BCM5325 revison 3+Hauke Mehrtens2013-09-151-2/+7
| | | | | | | | | These switches are integrated in some recent BCM53XX and BCM47XX SoCs like the BCM53572. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37994
* kernel: b53: use hard coded switch reset gpio on some boards.Hauke Mehrtens2013-09-141-2/+10
| | | | | | | | | | | | The Linksys wrt310n v1 does not have a robo_reset config variable in nvram, but GPIO Pin 8 is the pin needed for resetting the external switch, Linksys hard coded it into their source code. Thank you Devastator for testing. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37988
* kernel: b53: add soft reset for BCM539x switchesHauke Mehrtens2013-09-142-0/+12
| | | | | | Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37987
* generic/3.10: remove unused defines from the rootfs split patchGabor Juhos2013-09-141-9/+8
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37981
* generic/3.10: reduce number of ifdefs in the rootfs split codeGabor Juhos2013-09-141-14/+14
| | | | | | | | Use the config_enabled() macro where it is possible. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37980
* generic/3.10: refresh patchesGabor Juhos2013-09-133-19/+4
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37975
* generic/3.10: rename mtd patchesGabor Juhos2013-09-1312-3/+3
| | | | | | | | | | - change patch numbers to group the related stuff together, - add mtd prefix where it is missing, - use hyphens in the patch names Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37974
* kernel: update bcma and ssb to wireless-testing master-2013-09-09Hauke Mehrtens2013-09-1215-1001/+1864
| | | | SVN-Revision: 37957
* kernel: add support for ESMT F25L32PA with upstream submissionLuka Perkov2013-09-121-0/+37
| | | | | | Signed-off-by: Flavio Silveira <fggs@terra.com.br> SVN-Revision: 37956
* kernel: align the skb padding to power of twoFelix Fietkau2013-09-115-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The skb is usually started by a padding which allows the protocols in the network stack to add their headers in front of the payload. The skb can be reallocated in case the preallocated padding is not large enough. This can for example happen in the function __skb_cow which will check the requested extra headroom and allocate more buffer when the requested headroom is bigger than the available one. The extra buffer is aligned again to the multiple of the NET_SKB_PAD of the target architecture. The macro used to create the multiple of the NET_SKB_PAD is written in a way which allows only values power two as alignment parameter. The currently used value of 48 bytes can not be written as n ** 2 but as 2 ** 4 + 2 ** 5. The extra buffer is therefore not always the multiple of 48 but can be 16, 64, 80, 128, 144 and so on. The generated values are also not monotonic (48 requested bytes are mapped to 80 allocated bytes and 49 requested bytes are mapped to 64 allocated bytes). These unexpected small values result in more reallocations of the buffer. This was noticed prominently during tests between two QCA9558 720 MHz devices which were connected via ethernet to PCs and had a HT40 802.11n 3x3 link between each other. The throughput PC-to-PC during iperf TCP runs increased reliable from 186 Mibit/s to 214 Mibit/s in one direction and from 195 Mibit/s to 220 Mibit/s in the other direction. This is a performance increase of ~14% just by reducing the amount of reallocations. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> SVN-Revision: 37948
* kernel: fix broken depends syntax introduced in r37933Florian Fainelli2013-09-111-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37942
* kernel: Fix FIQ code on VIVT CPUs (#14145)Florian Fainelli2013-09-111-0/+55
| | | | | | | | Backport an upstream patch to fix FIQ code on VIVT CPUs Signed-off-by: Florian Fainelli <florian@openwrt.org> SVN-Revision: 37940
* kernel: allow hwmon GSC driver for all targetsLuka Perkov2013-09-105-5/+5
| | | | | | | | | - enable using hwmon GSC driver on all targets - add a kmod package for it Signed-off-by: Tim Harvey <tharvey@gateworks.com> SVN-Revision: 37933
* kernel: fix arch-dependent bug in hso moduleFelix Fietkau2013-09-1010-0/+490
| | | | | | | | | | Currently, the module causes an oops at least on rt5350. These patches have been accepted upstream at: git://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us> SVN-Revision: 37931
* kernel: b53: support phy ids for BCM5365Jonas Gorski2013-09-052-2/+28
| | | | | | | | | | | | BCM5365 (and probably other older variants) use a different phy id, so the phy driver never attached for them. Fix this by adding the appropriate phy id to the fixup and the phy driver. Reported-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 37906
* Add missing symbolImre Kaloz2013-09-051-0/+1
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 37897
* kernel: b53: allow access the MIB counters on BCM5365Hauke Mehrtens2013-09-041-1/+1
| | | | | | | | | | b53_no_ops has no elements and b53_port_ops has one element, this makes the code access some random memory when trying to access the mib counter functions. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 37895
* kernel: update 3.10 to 3.10.10Gabor Juhos2013-09-021-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37890
* generic: remove linux version checks from myloader.cGabor Juhos2013-09-021-6/+0
| | | | | | | | | | | The myloader partition parser code uses ifdef wrappers to make the code usable on kernels below version 3.2. All targets are using kernel 3.3 at least so the wraper is not needed. Remove that. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37880
* kernel: fix booting issues on imx23 and imx6 targetsFelix Fietkau2013-08-281-0/+29
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37854
* kernel: don't hide the 'Warning: unable to open an initial console' messageGabor Juhos2013-08-275-55/+0
| | | | | | | | | | 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
* kernel: ensure that /dev/console exists in initramfsGabor Juhos2013-08-275-0/+150
| | | | | | | | | | | 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
* kernel: fixing a potential deadlock in block2mtd for kernel 3.6/3.8/3.9Felix Fietkau2013-08-263-3/+6
| | | | | | Signed-off-by: Alexander Couzens <lynxis@fe80.eu> SVN-Revision: 37842
* kernel: update 3.10 to 3.10.9Gabor Juhos2013-08-2333-81/+78
| | | | | | | | Also refresh 3.10 patches. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37832
* generic: refresh kernel configs with kconfig.plGabor Juhos2013-08-234-6/+5
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> SVN-Revision: 37831
* kernel/3.10: backport of_pci_get_devfn function from 3.11Gabor Juhos2013-08-231-0/+78
| | | | | | | | | | | | | | | | | 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
* kernel: crashlog: Avoid out-of-bounds writeFelix Fietkau2013-08-215-5/+5
| | | | | | | | | | | | | | | | 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
* kernel: add back missing declaration in the MIPS DMA patch that broke octeonFelix Fietkau2013-08-181-9/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 37811
* kernel: drop dead pwm codeLuka Perkov2013-08-182-425/+0
| | | | | | | | The files have last been used with 2.6.x kernel. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37810
* kernel: drop dead glamo codeLuka Perkov2013-08-187-167/+0
| | | | | | | | The code is not used since the s3c24xx target was removed. Signed-off-by: Luka Perkov <luka@openwrt.org> SVN-Revision: 37809