summaryrefslogtreecommitdiffstats
path: root/target/linux
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: sync kernel sizes where possible to fix images for some devices (#12874)nbd2013-01-231-8/+8
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35309 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: switch to b53 and swconfigjogo2013-01-2325-58/+260
| | | | | | | | | | | | | | | | | Switch to using the B53 switch driver where appropriate. Use a non-tagged default config where it isn't confirmed to be working. Remove the switch configuration in preinit as the switch will now be configured by the driver to use port isolation to prevent leakage between lan and wan. While at it, also provide a switch config for Neufbox 6. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35307 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: expose the internal switch to b53jogo2013-01-231-0/+169
| | | | | | | | Allow b53 access to the internal switch of BCM6328, BCM6362 and BCM6368. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35306 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add b53 swconfig switch driverjogo2013-01-2316-0/+3045
| | | | | | | | | | | | | Add swconfig switch driver for Broadcom BCM53XX switch chips. Supports switches connected through MDIO, SPI or memory mapped registers, and supports BCM5325, BCM539x, BCM531x5 and the BCM63XX internal switch chips. Tested are BCM5325 trough MDIO, BCM53115 through SPI, and BCM6328. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35305 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm63xx: move bcm63xx-spi into the kerneljogo2013-01-234-19/+2
| | | | | | | | | The SPI driver is needed for supporting to boot from SPI flash on BCM6358 and BCM6368, and for SPI connected switches. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35304 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: remove 340-module_alloc_size_check.patch from linux 3.8, it is not ↵nbd2013-01-191-20/+0
| | | | | | necessary anymore git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add profile and build image for the Tenda 3G300Mjuhosg2013-01-192-0/+19
| | | | | | | | | | | | Factory image should be used to flash from original firmware. [juhosg: use the GENERIC_4M template] Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add user-space support for the Tenda 3G300Mjuhosg2013-01-197-0/+14
| | | | | | | Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add kernel support for the Tenda 3G300Mjuhosg2013-01-195-0/+134
| | | | | | | | | | | | Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons and seven leds. Factory image should be used to flash from original firmware. Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0juhosg2013-01-191-23/+3
| | | | | | | | | | | | | | | | | | These targets need custom image names specified in the uImage header. MkImage accepts an optional 4th argument to do exactly that. Reuse the facility to generate factory images. Compile-tested, the generated files inspected with "file" utility. [juhosg: - keep the factory.bin images to avoid users confusion, - use GENERIC_4M template for the W306R V2.0 - update commit log] Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: allow to override image name/suffix in GENERIC_{4,8}M macrosjuhosg2013-01-191-4/+5
| | | | | | | | | Sysupgrade/KRuImage and BuildFirmware/Generic macros are changed as well. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: do not stop the build if some targets failjuhosg2013-01-191-4/+4
| | | | | | | | | | This becomes crucial when you are using a generic profile to build an image larger than 4M, e.g. for w502u. Signed-off-by: Paul Fertser <fercerpav@gmail.com> Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: rtl8366_smi: only assign pvid if no pvid was set yetjogo2013-01-181-1/+7
| | | | | | | | | | | | | | Only assign a pvid if the current pvid is 0. Fixes using mixed tagged and untagged traffic on a port and the untagged vlan isn't the last one of which the port is a member. Tested on RTL8366S and RTL8367R. Fixes #8501. Signed-off-by: Jonas Gorski <jogo@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35227 3c298f89-4303-0410-b956-a3cf2f4a3e73
* all targets: use numerically prefixed uci-defaults file names to better ↵jow2013-01-1822-0/+0
| | | | | | control order of execution git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: update linux 3.7 to 3.7.3juhosg2013-01-1816-78/+23
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: enable PCI in kernel configurationflorian2013-01-171-4/+6
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35214 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: enable PCIe on Marvell Armada 370 Reference Designflorian2013-01-171-0/+23
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35213 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: enable USB on Armada 370 Reference Designflorian2013-01-171-0/+16
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35212 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add preliminary support for PCI expressflorian2013-01-1716-0/+1434
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35211 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: refresh patchesflorian2013-01-1721-137/+27
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35210 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: refresh 3.8 patchesflorian2013-01-1711-13/+13
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add board detection scriptsflorian2013-01-172-0/+60
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35208 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: enable /proc/devicetree usageflorian2013-01-171-0/+1
| | | | | | | | | This is going to be used for proper user-space board identification (ala mcs814x). Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35207 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add default profileflorian2013-01-171-0/+20
| | | | | | | | | Such that relevant kernel modules are selected (USB, I2C, SATA, RTC, SDIO) Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35206 3c298f89-4303-0410-b956-a3cf2f4a3e73
* x86: explicitely pass staging directory to grub-mkimage instead of relying ↵jow2013-01-171-0/+2
| | | | | | on build time defaults (#12821) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35200 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add EHCI|OHCI platform driver fix to 3.[36]juhosg2013-01-174-0/+196
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35194 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: enable BR6425N in kernel confignbd2013-01-171-0/+1
| | | | | | | | | Though originally contained in the patch applied in r35020, the move to 3.7 in r34845 lost the kernel .config option. Reintroduce it to config-3.7. Signed-off-by: Daniel Golle <dgolle@allnet.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35191 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for EHCI controllerflorian2013-01-156-8/+224
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35181 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for the Marvell Armada 370 Reference Design boardflorian2013-01-154-3/+134
| | | | | | | | Keep the patches in sync with the upstream developments. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35179 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: enable SMP with SMP on UP enabledflorian2013-01-151-2/+23
| | | | | | | | The same kernel works ok for both Armada 370 (UP) and Armada XP (SMP) Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35178 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mvebu: add support for RTCflorian2013-01-153-0/+55
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35176 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: port 203-kallsyms_uncompressed.patch and 305-mips_module_reloc.patch ↵nbd2013-01-142-0/+458
| | | | | | to 3.8 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35162 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: remove EHCI platform driver fix from 3.8juhosg2013-01-141-47/+0
| | | | | | | | It is not needed on 3.8. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35160 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: add EHCI|OHCI platform driver fix from the cns21xx targetjuhosg2013-01-146-116/+212
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35159 3c298f89-4303-0410-b956-a3cf2f4a3e73
* target: enable XZ BCJ decompressor code after r35097florian2013-01-1424-0/+48
| | | | | | | | | Required to actually be able to mount squashfs xz compressed filesystems. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35156 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add a config option for keeping the kallsyms table uncompressed, ↵nbd2013-01-142-0/+109
| | | | | | saving ~9kb kernel size after lzma on ar71xx git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35154 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix unaligned access in cls_u32nbd2013-01-131-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35132 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: fix unaligned access in a few more placesnbd2013-01-131-20/+151
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35130 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: improve unaligned access patches, add a net_hdr_word() macro which ↵nbd2013-01-131-20/+465
| | | | | | assumes 2-byte aligned access and generates better code than {get,put}_unaligned_cpu32 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35129 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: avoid __packed define in the unaligned access hack patch, make the ↵nbd2013-01-131-6/+37
| | | | | | ipv6 address struct also 2-byte-aligned/packed git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35127 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add back the mips module relocation patchnbd2013-01-131-0/+350
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35126 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add more cpu feature overrides, slightly reduces kernel sizenbd2013-01-131-0/+28
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35125 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extend the unaligned access hacks to a few more places that showed ↵nbd2013-01-131-0/+41
| | | | | | up in the new kernel git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35124 3c298f89-4303-0410-b956-a3cf2f4a3e73
* brcm47xx: BCMA - Update default IRQ assignment per upstream changehauke2013-01-121-0/+9
| | | | | | | | | | Update the default IRQ assignment for unrecognized devices per the upstream change. Signed-off-by: Nathan Hintz <nlhintz@hotmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35121 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh kernel configs with kconfig.pljuhosg2013-01-125-14/+14
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35119 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: remove 3.6 supportjuhosg2013-01-123-353/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35118 3c298f89-4303-0410-b956-a3cf2f4a3e73
* malta: build lzma and gzip compressed uImagesjuhosg2013-01-121-0/+22
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: remove 3.6 supportjuhosg2013-01-1218-1059/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35116 3c298f89-4303-0410-b956-a3cf2f4a3e73
* adm5120: switch to 3.7juhosg2013-01-121-1/+1
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: remove 3.6 supportjuhosg2013-01-12102-9399/+0
| | | | | | Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35114 3c298f89-4303-0410-b956-a3cf2f4a3e73