aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* rpcd: unload package after uci revertsJo-Philipp Wich2015-05-171-2/+2
| | | | | | Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45695 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add Asus RT-AC87U partitioning hacky workaroundRafał Miłecki2015-05-171-0/+47
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45694 3c298f89-4303-0410-b956-a3cf2f4a3e73
* dnsmasq: bump to dnsmasq2.73rc8 Important.Steven Barth2015-05-171-2/+2
| | | | | | | | | | Bump dnsmasq to v2.73rc8 Important - fixes remotely exploitable buffer overflow introduced in all v2.73 test/release candidates. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45693 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45692 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: use backported Asus RT-AC87U DT patchRafał Miłecki2015-05-164-12/+65
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45691 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: enable RT-AC87U UART consoleRafał Miłecki2015-05-161-0/+21
| | | | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45690 3c298f89-4303-0410-b956-a3cf2f4a3e73
* map: set ealen to psidlen for lw4over6Steven Barth2015-05-162-1/+4
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45689 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcp6c: fix parsing of LW4over6 parametersSteven Barth2015-05-161-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45688 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: add support for SmartRG SR400acRafał Miłecki2015-05-134-2/+50
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45686 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: replace DT patches with backports from stblinuxRafał Miłecki2015-05-1310-72/+329
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45683 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: bgmac: add support for the 3rd coreRafał Miłecki2015-05-131-0/+68
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: ignore /64 on interface when doing PDSteven Barth2015-05-131-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bcm53xx: sync NVRAM and SPROM drivers with upstream versionRafał Miłecki2015-05-132-15/+27
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45678 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45677 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45676 3c298f89-4303-0410-b956-a3cf2f4a3e73
* odhcpd: remove invalid call to free()Steven Barth2015-05-111-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45675 3c298f89-4303-0410-b956-a3cf2f4a3e73
* image: disable compile target within image builderFelix Fietkau2015-05-111-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45674 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: disable initramfs build within image builderFelix Fietkau2015-05-111-0/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45673 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45672 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: make initramfs kernel builds depend on the image prepare stepFelix Fietkau2015-05-111-0/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45671 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: add support for adding a per-device compile step in the new image ↵Felix Fietkau2015-05-111-0/+12
| | | | | | | | building code Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45670 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45669 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/feeds: add support for optionally using a full clone of git repositoriesFelix Fietkau2015-05-101-1/+8
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45668 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add platform_pre_upgrade for sysupgradeFelix Fietkau2015-05-101-0/+13
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45667 3c298f89-4303-0410-b956-a3cf2f4a3e73
* toolchain: change default emulation for mips64 (octeon) to n64Felix Fietkau2015-05-101-0/+37
| | | | | | | | | | | | | | | | | | | fixes several ld errors reported by buildbot: http://buildbot.openwrt.org:8010/broken_packages/octeon/mdnsresponder/compile.txt http://buildbot.openwrt.org:8010/broken_packages/octeon/luasocket/compile.txt http://buildbot.openwrt.org:8010/broken_packages/octeon/luasec/compile.txt http://buildbot.openwrt.org:8010/broken_packages/octeon/openvswitch/compile.txt http://buildbot.openwrt.org:8010/broken_packages/octeon/prosody/compile.txt link error: ABI is incompatible with that of the selected emulation found at OE toolchain for bintils 2.22: http://patchwork.openembedded.org/patch/28033/ Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45666 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix regression in backtrace module info change (#19631)Felix Fietkau2015-05-102-26/+22
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45665 3c298f89-4303-0410-b956-a3cf2f4a3e73
* gcc: add some size optimization patchesFelix Fietkau2015-05-104-0/+80
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45664 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45663 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45662 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45661 3c298f89-4303-0410-b956-a3cf2f4a3e73
* include: make dtb argument optional in MkFITFelix Fietkau2015-05-101-1/+1
| | | | | | | | | | | | As mkits.sh makes the -d argument optional, we'll make this same argument optional in the MkFIT function as well. With this change, MkFIT can be used both to generate FIT images with DT, and without DT. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: make device-tree arg optional in mkits.shFelix Fietkau2015-05-101-19/+21
| | | | | | | | | | | | mkits.sh help currently shows dtb file as optional, but generates an invalid its file when this option is unspecified. We're fixing this problem by removing the use of the sed command and just including variables instead. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45658 3c298f89-4303-0410-b956-a3cf2f4a3e73
* build: don't call prereq for any package/symlinks rulesFelix Fietkau2015-05-102-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Most of the time, we want to make sure OpenWrt has been configured and setup before start running make. However, in case of package/symlinks, forcing prereq as a dependency creates multiple issues: *when executed on a clean workspace, it will prompt for user input and open a menuconfig window before executing the feeds command *the only way around that is to provide a .config. However, the "prereq" target would then run a "make defconfig", which will remove all the packages in the .config but from external feeds, as feeds have not been installed yet. The only way to currently work around this, is to generate a fake config by running "make defconfig", then "make package/symlinks", copy the real config (which at this point disregards the previously generated config), and run make defconfig again. Something like this: make defconfig make package/symlinks cp real.config .config make defconfig This change is removing the need for the first defconfig, making the process more logical for OpenWrt users using the package/symlinks target. Signed-off-by: Mathieu Olivari <mathieu@qca.qualcomm.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45657 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add status led found on ew-dorin boardsLuka Perkov2015-05-102-1/+10
| | | | | | Signed-off-by: Catrinel Catrinescu <cc@80211.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45656 3c298f89-4303-0410-b956-a3cf2f4a3e73
* 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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45655 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: remove the persist option, netifd handles reconnectsFelix Fietkau2015-05-091-1/+1
| | | | | | | | Significantly reduces reconnect delay Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45654 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: fix pppoe disconnect issuesFelix Fietkau2015-05-093-0/+143
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45653 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: backport first bcma patches from 4.2Rafał Miłecki2015-05-094-34/+74
| | | | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45652 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: apply mesh parameters after starting authsae/wpa_supplicant (#16697)Felix Fietkau2015-05-091-5/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45651 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: add accidentally left out fib trie backport patchFelix Fietkau2015-05-081-0/+52
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45650 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mt76: include generated mac80211 config file and add an appropriate define ↵Felix Fietkau2015-05-081-0/+5
| | | | | | | | for mesh support (fixes #19474) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45649 3c298f89-4303-0410-b956-a3cf2f4a3e73
* generic: refresh patchesLuka Perkov2015-05-081-2/+2
| | | | | | Signed-off-by: Luka Perkov <luka@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45648 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kirkwood: add support for the Seagate GoflexHomeLuka Perkov2015-05-087-0/+167
| | | | | | | | Add Support for the Seagate GoflexHome <http://wiki.openwrt.org/toh/seagate/goflexhome> Signed-off-by: L. D. Pinney <ldpinney@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45647 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow mktplinkfw calls from the new image code to fail (because of ↵Felix Fietkau2015-05-081-3/+2
| | | | | | | | oversized images) Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: allow tp-link initramfs images to exceed size limitsFelix Fietkau2015-05-081-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@45645 3c298f89-4303-0410-b956-a3cf2f4a3e73