summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: fix tl-wr710n images (#19692)Felix Fietkau2015-05-261-2/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45756
* kirkwood: disable the bogus CONFIG_IP_ADVANCED_ROUTER override (#19722)Felix Fietkau2015-05-251-1/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45753
* mpc85xx: TL-WDR4900: Fix port 6 being shown as up (10MBit/half) in LUCI/swconfigFelix Fietkau2015-05-251-0/+1
| | | | | | | | | | | | | | | | | Currently port 6 is shown as up 10MBit/half in LUCI and swconfig. Reason is that all bits in the port 6 config are zero. This means that also the aneg flag is not set and in this case ar8216_read_port_link hardcodes the link to be up. This is no real problem but a little annoying. To fix this initialize port 6 with the aneg bit enabled. This causes ar8216_read_port_link to evaluate the link status bit which is always zero for port 6 as no PHY is connected to this port. And it doesn't hurt as port 6 isn't connected to anything on TL-WDR4900. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> SVN-Revision: 45749
* ramips: fix hang on boot on rt305xJonas Gorski2015-05-251-0/+31
| | | | | | | | | | | Fix an upstream regression on 3.18+ that causes rt305x based devices to hang on boot. Fixes #19715. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45747
* octeon: build squashfs image for UBNT ERLITEJohn Crispin2015-05-231-2/+6
| | | | | | Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be> SVN-Revision: 45732
* ipq806x: enable cpu idle support in kernel confJohn Crispin2015-05-232-0/+6
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45731
* ipq806x: add & enable cpufreq supportJohn Crispin2015-05-2333-2/+6531
| | | | | | | | | | | | | | | This change set enables frequency scaling on ipq806x, which speeds-up the CPU and allows it to achieve its max frequency. These patches are cherry-picked & backported from the following location: *130-132: linux-next *133-143: LKML - https://lkml.org/lkml/2015/3/21/15 *144: derived from other qcom similar dts *145: derived from https://chromium.googlesource.com/chromiumos/third_party/kernel/+/chromeos-3.14/drivers/cpufreq/cpufreq-krait.c Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45730
* ipq806x: add power regulators supportJohn Crispin2015-05-2314-11/+1415
| | | | | | | | | Patches are cherry-picked from linux-next. We're also adding the corresponding config option to the kernel. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45729
* ipq806x: disable i2c device on gsbi4John Crispin2015-05-237-7/+113
| | | | | | | | | | | | | | Patch cherry-picked from the following location: https://chromium-review.googlesource.com/#/c/269931/ Disable the i2c device on gsbi4 and mark gsbi4_h and gsbi4_qup clks as unused. If they are enabled, clock framework will turn them off at end of probe. On ipq806x by design gsbi4_qup, gsbi4_h clks and i2c on gsbi4 are meant for RPM usage. So turning them off in kernel is incorrect. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45728
* ipq806x: refresh kernel patchesJohn Crispin2015-05-236-43/+12
| | | | | | Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45727
* ar71xx: Add support for the Meraki MR12 & MR16John Crispin2015-05-2311-0/+349
| | | | | | | | | | This patch is to add support for the Meraki MR12 and MR16 Access Points. Currently everything is working, minus the 2nd NIC interface on the MR12 which is built into the SoC. Signed-off-by: Chris R Blake <chrisrblake93 at gmail.com> SVN-Revision: 45726
* rampis: add support for status led on ASUS RT-N14UJohn Crispin2015-05-231-1/+1
| | | | | | | | | | The diag.sh script lacked an entry for the status led on the RT-N14U, map it to the asus:blue:power led which is also used by the boot loader to report boot status (eg. TFTP recovery mode VS normal boot) Signed-off-by: Matteo Panella <m.panella@level28.org> SVN-Revision: 45725
* ramips: Adding support for AXIMCom MR-102N 3G/4G Travel Mobile RouterJohn Crispin2015-05-238-1/+144
| | | | | | | | | | MR-102N is a RT3050F based wireless router(32M RAM + 8M NOR flash) with 1 USB and 1 ethernet port. The original product information can be found at: http://www.aximcom.com/en/MR-102N Signed-off-by: Tai-hwa Liang <atliang@gmail.com> SVN-Revision: 45724
* ramips: fix switch names for several boards in device treeJohn Crispin2015-05-233-4/+4
| | | | | | Signed-off-by: Roman Yeryomin <roman@advem.lv> SVN-Revision: 45723
* ramips: add support for Comfast CF-WR800NJohn Crispin2015-05-237-0/+133
| | | | | | | | | This patch adds support for Comfast CF-WR800N, a wall-plug wireless router based on the MT7620N SoC with one Ethernet port and a 802.11n 2.4 GHz radio. Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net> SVN-Revision: 45722
* lantiq: Fix initialization of the PCI IRQs when PCIe is also enabledJohn Crispin2015-05-231-18/+19
| | | | | | | | | | There are already ifx_pcie_bios_{map_irq,plat_dev_init} hooks defined in ifxmips_pcie.c. Instead of defining a new hook we simply re-use the existing ones (this is basically what the lantiq BSP code does). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 45718
* lantiq: Fix PCIe bus when PCI is also enabled.John Crispin2015-05-231-10/+10
| | | | | | | | | | | The PCIe bus seems to require a hack/workaround when PCI is enabled as well. Unfortunately this is guarded by an CONFIG_IFX_PCI ifdef, which is only defined in lantiq's BSP code. The config symbol for the upstream lantiq PCI driver is CONFIG_PCI_LANTIQ. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> SVN-Revision: 45717
* bcm53xx: add OHCI (USB 1.1) supportHauke Mehrtens2015-05-231-26/+4
| | | | | | | | | | There is also a OHCI controller, activate it for USB 1.1 support. This should close #19601. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> SVN-Revision: 45716
* arm64: enable new errata backported to 3.18Jonas Gorski2015-05-221-7/+6
| | | | | | | | | 3.18.13 introduced a bunch of new errata, enable them to be on the safe side. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45715
* kernel: add missing generic config symbolJonas Gorski2015-05-221-0/+1
| | | | | | Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45714
* kernel: update 3.18 to 3.18.14Jonas Gorski2015-05-21193-1458/+623
| | | | | | | | | | | | | | Changelogs: * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.12 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.13 * https://www.kernel.org/pub/linux/kernel/v3.x/ChangeLog-3.18.14 Build tested on brcm63xx and ipq806x, runtested on brcm63xx. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45711
* brcm63xx: fix failsafe lan and status led for DSL-274xB rev. F1Jonas Gorski2015-05-212-1/+3
| | | | | | | | | Add it to the appropriate places so the power led properly works and ethernet is properly configured for failsafe. Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45709
* brcm63xx: Add Huawei HG655b supportJonas Gorski2015-05-219-0/+207
| | | | | | | | | | | | | | | This patch adds support for the Huawei HG655b. Nothing much special in this router, it's just another BCM6368 with a Ralink RT3062 wifi chip and the calibration data embedded in the main flash chip at offset 0x7c0000. There is also configuration data used by the OEM firmware before the cal_data partition, this area is protected by the board_data partition in this patch. Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45708
* generic/4.0: fix error during kernel patch applicationSteven Barth2015-05-201-10/+3
| | | | | | | | | | | | | | | | | | | | Commit 5168c9a5702648eb690d32ec821647aca80aeba9 introduced a regression during patch application on the 4.0 kernel. Some of the patched content doesn't match the actual code, therefore leading to the following error: Applying patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch patching file net/ipv6/ip6_output.c Hunk #1 FAILED at 886. 1 out of 1 hunk FAILED -- rejects in file net/ipv6/ip6_output.c patching file net/ipv6/route.c Hunk #1 succeeded at 2247 (offset 2 lines). Patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch does not apply (enforce with -f) This change just adapts the actual patch to fix what is in kernel 4.0 and make it apply cleanly. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45705
* mvebu: supress useless in-cpu rtc init on the MambaImre Kaloz2015-05-191-0/+14
| | | | | | Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 45704
* linux: backport IPv6 SAS fixes for source-specific routesSteven Barth2015-05-192-0/+202
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 45699
* bcm53xx: add Asus RT-AC87U partitioning hacky workaroundRafał Miłecki2015-05-171-0/+47
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45694
* bcm53xx: try to fix network on Asus RT-AC87URafał Miłecki2015-05-162-7/+16
| | | | | | | | | | | | | | | | | | | This device seems to have switch port 7 connected to the CPU: vlan1ports=1 2 3 5 7* vlan2ports=0 7u it should be handled by eth1 and NVRAM seems to confirm that (no et0macaddr entry, existing et1macaddr & et1phyaddr entries). One of the remaining ports (4/8?) may be connected to the Quantenna SoC. Original firmware boot log contains following messages: (0x00,0x5d)Port 5 States Override: 0xfb (0x00,0x5f)Port 7 States Override: 0xfb (0x00,0x0e)Port 8 States Override: 0x0a (why does it force port 5 state?!) Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45692
* bcm53xx: use backported Asus RT-AC87U DT patchRafał Miłecki2015-05-164-12/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45691
* bcm53xx: enable RT-AC87U UART consoleRafał Miłecki2015-05-161-0/+21
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> SVN-Revision: 45690
* bcm53xx: add support for SmartRG SR400acRafał Miłecki2015-05-134-2/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45686
* bcm53xx: replace DT patches with backports from stblinuxRafał Miłecki2015-05-1310-72/+329
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45685
* bcm53xx: use of_machine_is_compatible helper in b53 fixRafał Miłecki2015-05-131-8/+11
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45684
* bcm53xx: fix "typo" in b53 patch fixing R8000 CPU portRafał Miłecki2015-05-131-2/+2
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45683
* bcm53xx: add b53 hacky workaround for Netgear R8000 CPU portRafał Miłecki2015-05-131-0/+35
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45682
* bcm53xx: fix default network interface on Netgear R8000Rafał Miłecki2015-05-131-2/+11
| | | | | | | | | | It has 3 Ethernet interfaces, each of them connected to separated switch port. Default NVRAM uses switch port 8 as CPU which is connected to the 3rd interface (eth2). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45681
* bcm53xx: bgmac: add support for the 3rd coreRafał Miłecki2015-05-131-0/+68
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45680
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45678
* kernel: backport struct ssb_sprom changes submitted by MIPS treeRafał Miłecki2015-05-132-0/+64
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45677
* b53: Allow using all ports on BCM53012Rafał Miłecki2015-05-121-1/+1
| | | | | | | | | | | | | This chipset has at least 8 usable ports, e.g. Netgear R8000 has ports 5, 7 and 8 connected to Ethernet interfaces: vlan1ports=0 1 2 3 5 7 8* vlan2ports=4 8u Port 6 seems to be always disabled. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 45676
* ar71xx: convert tl-wr741nd v1/v2 to new image building code, add ↵Felix Fietkau2015-05-111-4/+68
| | | | | | | | infrastructure for building the loader Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45672
* mtd: remove the warning about read-only caused by size vs. block boundary ↵Felix Fietkau2015-05-102-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | mismatch Since the kernel/rootfs split handling was modified 2 years ago by r37283 ( https://dev.openwrt.org/changeset/37283 ) and by the subsequent checkins, users have seen rather scary mtd errors in the log at every boot. The message ends "-- forcing read-only", which looks a bit error-like. That error has been mentioned in some forum threads, when users have noticed this message instead of some actual error. [ 2.940000] 0x000000070000-0x000000ff0000 : "firmware" [ 2.970000] 2 netgear-fw partitions found on MTD device firmware [ 2.970000] 0x000000070000-0x000000188440 : "kernel" [ 2.980000] mtd: partition "kernel" must either start or end on erase block boundary or be smaller than an erase block -- forcing read-only [ 2.990000] 0x000000188440-0x000000ff0000 : "rootfs" The patch removes the rather useless warning message. signed-off-by: Hannu Nyman <hannu.nyman@iki.fi> SVN-Revision: 45669
* ar71xx: add platform_pre_upgrade for sysupgradeFelix Fietkau2015-05-101-0/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45667
* kernel: fix regression in backtrace module info change (#19631)Felix Fietkau2015-05-102-26/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45665
* ipq806x: add pcie support to ipq806x based platformsFelix Fietkau2015-05-1012-23/+2662
| | | | | | | | | | | | | | This change adds PCIe support to IPQ806x based platforms. The driver is actually cherry-picked from the following LKML thread: *https://lwn.net/Articles/643086/ (patches 110-111) We also add here an additional fix to support multiple PCI controllers on the same platform (patch 112), and to patch the ap148 & dbs149 DTS files (patch 113). Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45663
* ipq806x: add support for zImage kernelFelix Fietkau2015-05-103-3/+5
| | | | | | | | | | | | | | | This change enable zImage+appended dtb support in ipq806x kernel options. The zImage will now be generated as part of the kernel binaries. Platforms which do not have DT support enabled in U-boot can now make use of it by generating zImage files and appending dtb to it. It is not used yet but it is done as a stepping stone for early IPQ806x platforms, which did not include DT support in U-boot. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45662
* ipq806x: fix boot freeze on zImage kernelFelix Fietkau2015-05-102-0/+144
| | | | | | | | | | | | | | | | | | | | | | | ARCH_QCOM is using the ARCH_MULTIPLATFORM option, as now recommended on most ARM architectures. This automatically calculate ZRELADDR by masking PHYS_OFFSET with 0xf8000000. On IPQ806x though, the first ~20MB of RAM is reserved for the hardware. In newer bootloader, when DT is used, this is not a problem, we just reserve this memory in the device tree. But if the bootloader doesn't have DT support, then ATAGS have to be used. In this case, the ARM decompressor will position the kernel in this low mem, which will not be in the RAM section mapped by the bootloader, which means the kernel will freeze in the middle of the boot process trying to map the memory. As a work around, this patch allows disabling AUTO_ZRELADDR when ARCH_QCOM is selected. It makes the zImage usage possible on bootloaders which don't support device-tree, which is the case on certain early IPQ806x based designs. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45661
* generic: add CRYPTO_DEV_QCE option to default configFelix Fietkau2015-05-102-0/+2
| | | | | | | | | | This option has been added in kernel 3.17. It shows-up only when both ARCH_QCOM and CRYPTO are enabled. So we'll disable these two by default to avoid stalling the build when these conditions are met. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 45658
* ar71xx: add status led found on ew-dorin boardsLuka Perkov2015-05-102-1/+10
| | | | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de> SVN-Revision: 45656
* kernel: when KALLSYMS is disabled, print module address + size for matching ↵Felix Fietkau2015-05-102-0/+76
| | | | | | | | backtrace entries Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 45655