aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ath79: dev-eth: fix QCA9561 set phy interface mode and maskJohn Crispin2015-09-161-2/+7
| | | | | | | | | | QCA9563 and QCA9561 are two series of Qualcomm SoC Dragonfly. The only different is QCA9563 w/o internal switch. It has one GMAC with SGMII interface. But they have the same device ID(0x1150). So they share the same codes. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46971 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: uci-defaults: fix ap143 to appropriate groupJohn Crispin2015-09-161-1/+1
| | | | | | Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46970 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: add extra respawn paramsJohn Crispin2015-09-161-0/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46969 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: conversion of init script to procd formatJohn Crispin2015-09-161-13/+18
| | | | | | | | And add respawn param (the main reason for this conversion). Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46968 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: move /var/run creation + chmod earlierJohn Crispin2015-09-161-3/+3
| | | | | | Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46967 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lldpd: remove obsolete/unsupported lldpctl callJohn Crispin2015-09-161-5/+0
| | | | | | | | | | This call is no longer supported. Maybe a come-back for it would be to use a config /etc/lldpd.conf or /etc/lldpd.d/<some-file>.conf Signed-off-by: Alexandru Ardelean <aa@ocedo.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46966 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: add /etc/profile.d supportJohn Crispin2015-09-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | OpenWrt should support an optional /etc/profile.d directory like most other Linux distributions. This allows packages to install their own scripts into /etc/profile.d/ directory. The file suffix should make clear, that these scripts are (sourced) shell-snippets. If the user needs e.g. php or lua, one must make sure that the interpreter is called. The reverse failsafe test makes sure, that the effective returncode is 0. A typcal usecase is the inclusion of private helpers, special variables or aliases, which at the moment needs patching the sourcecode and is not well maintainable. Now the builder can simply add there files. v1 initial work of Hendrik Lüth <hendrik@linux-nerds.de> v2 changes regarding RFC (e.g. thomas.langer@lantiq.com) v3 changes regarding RFC (e.g. mschiffer@universe-factory.net) v4 keep it simple and mimic OpenWrt style Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46965 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: unbreak the atm abiJohn Crispin2015-09-161-7/+7
| | | | | | | | | the lantiq dsl hack to struct atm_trafprm broke the ABI fix this by moving the variables to the end of the struct Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46964 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Fix pinmux functions for MT7621John Crispin2015-09-162-16/+16
| | | | | | | | | The pinctrl-rt2880 code doesn't support multiple functions with the same name. This will result in a incorrect pinmux configuration. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46963 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46962 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: Add UBNT airGateway Pro supportJohn Crispin2015-09-168-3/+88
| | | | | | | | This patch adds kernel and userspace support for the Ubiquiti Networks airGateway Pro. Signed-off-by: Matthew Reeve <mreeve at tenxnetworks.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46961 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fstools: update to latest git revisionJohn Crispin2015-09-161-2/+2
| | | | | | | | jffs2reset was following symlinks making it delete mounts for example. Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46960 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7621/3/8 support to the I2C driverJohn Crispin2015-09-161-9/+34
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46959 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: fix reported vendor nameJohn Crispin2015-09-161-0/+22
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46958 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add proper mt7688 detectionJohn Crispin2015-09-162-2/+116
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46957 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add speed and mode settings to spi-mt7621John Crispin2015-09-161-13/+178
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46956 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add get_direction() callback and irq support to gpio-mt7621John Crispin2015-09-161-12/+188
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: more m7628 pinmux fixesJohn Crispin2015-09-161-0/+131
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46954 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add mt7628 pwm driverJohn Crispin2015-09-161-0/+204
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46953 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make pinctrl work on newer socsJohn Crispin2015-09-161-20/+27
| | | | | | | | newer socs have 2 mux registers Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46952 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the mt7628 spi driver work for both cs linesJohn Crispin2015-09-161-8/+7
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46951 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: make the early_printk code detect which uart is usedJohn Crispin2015-09-161-2/+27
| | | | | | | | only tested on mt7628 Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46950 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mac80211: refresh patchFelix Fietkau2015-09-161-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46949 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ath9k: enable hw manual peak calibration for QCA9561Felix Fietkau2015-09-161-0/+33
| | | | | | | | | | | This patch fix https://lists.openwrt.org/pipermail/openwrt-devel/ 2015-August/034979.html. As the peak detect calibration is set incorrectly. Signed-off-by: Miaoqing Pan <miaoqing@codeaurora.org> Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46948 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omap24xx: remove obsolete kernel 3.3 patchesFelix Fietkau2015-09-1624-12809/+0
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46947 3c298f89-4303-0410-b956-a3cf2f4a3e73
* binutils: fix name of Binutils 2.25.1Hauke Mehrtens2015-09-151-1/+1
| | | | | | | | | | | The Binutils version 2.25.1 was not a Linaro version, but a normal upstream Binutils version, fix the name. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> Reported-by: Alexey Brodkin <Alexey.Brodkin@synopsys.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46946 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ipq806x: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-151-0/+11
| | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently is leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46945 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imx6: add platform_pre_upgrade for sysupgradeRafał Miłecki2015-09-151-1/+11
| | | | | | | | | | | | | | | | We're in process of cleaning nand_do_platform_check. Currently is leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. This can be a bit confusing. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. This follows ar71xx, lantiq and partially bcm53xx. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46944 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ppp: use more reliable way to set script environmentSteven Barth2015-09-154-6/+5
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46942 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: update list on NAND devices in platform_pre_upgradeRafał Miłecki2015-09-151-1/+1
| | | | | | | | Meanwhile BTHOMEHUBV5A board was added. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46941 3c298f89-4303-0410-b956-a3cf2f4a3e73
* omcproxy: use 100ms query response interval by defaultSteven Barth2015-09-151-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46940 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: add platform_pre_upgrade for sysupgradeJohn Crispin2015-09-151-0/+10
| | | | | | | | | | | | | | | | | | | | As explained in recent sysupgrade/nand.sh commits, current NAND sysupgrade is a bit misleading because of nand_do_platform_check behavior. It leaves a special mark in /tmp/sysupgrade-nand-path triggering some diffent code path in nand_upgrade_stage1. The plan is to have the check function only check the image and nothing else. Then platform code (platform_pre_upgrade) should trigger NAND specific upgrade path. This is what this patch implements. Please note that because of current nand_upgrade_stage1 implementation this patch doesn't change any behaior yet. It only prepares lantiq target for changing nand_do_platform_check (it will be possible after preparing all other targets as well). Signed-off-by: Rafał Miłecki <zajec5@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46939 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: update to latest git revisionJohn Crispin2015-09-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46938 3c298f89-4303-0410-b956-a3cf2f4a3e73
* libubox: update to latest git revisionJohn Crispin2015-09-151-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46937 3c298f89-4303-0410-b956-a3cf2f4a3e73
* procd: rework makefile, split ujail/seccompJohn Crispin2015-09-151-25/+25
| | | | | | | | | this need to be applied after my work on ujail (procd git) ujail doesn't depend on seccomp and some archs dont support seccomp Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46936 3c298f89-4303-0410-b956-a3cf2f4a3e73
* mountd: move code to a git repoJohn Crispin2015-09-148-190/+14
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46935 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add TP-LINK TL-WDR3320 v2 supportJohn Crispin2015-09-1410-1/+256
| | | | | | | | | | This patch adds support for TP-LINK TL-WDR3320 v2. This router uses a chinese version 2 firmware header,. Signed-off-by: Weijie Gao <hackpascal@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46934 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: extract ath10k wifi board.bin for the OpenMesh MR1750 boardJohn Crispin2015-09-141-0/+4
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46933 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: create profile and build image for the OpenMesh MR1750 boardJohn Crispin2015-09-142-2/+14
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46932 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/uboot-envtools: add OpenMesh MR1750 supportJohn Crispin2015-09-141-0/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46931 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/om-watchdog: add OpenMesh MR1750 supportJohn Crispin2015-09-141-1/+1
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46930 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: enable sysupgrade for the OpenMesh MR1750John Crispin2015-09-142-1/+8
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46929 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/om-fwupgradecfg-gen.sh: add support for the MR1750John Crispin2015-09-141-2/+2
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46928 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add user-space support for the OpenMesh MR1750 boardJohn Crispin2015-09-144-0/+13
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46927 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: add kernel support for the OpenMesh MR1750 boardJohn Crispin2015-09-143-0/+169
| | | | | | Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46926 3c298f89-4303-0410-b956-a3cf2f4a3e73
* scripts/om-fwupgradecfg-gen.sh: Fix u-boot image md5sum checkJohn Crispin2015-09-141-0/+3
| | | | | | | | | | | The u-boot on Open Mesh devices checks the whole transfered image against a md5sum. This is stored inside the option filemd5sum inside the fwupgrade.cfg. The bootloader will not check it when this setting is missing and could therefore write invalid images to the flash. Signed-off-by: Sven Eckelmann <sven@open-mesh.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46925 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: create sd card image for qemuJohn Crispin2015-09-142-0/+32
| | | | | | | | | | | | | | | | | enables a real rootfs with custom size use qemu with: qemu-system-arm -M realview-pbx-a9 \ -kernel openwrt-realview-vmlinux.elf \ -nographic -m 1024M \ -sd openwrt-realview-sdcard.img \ --append "console=ttyAMA0 root=/dev/mmcblk0p1" modified script from brcm2708 target Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46924 3c298f89-4303-0410-b956-a3cf2f4a3e73
* realview: enable sd card supportJohn Crispin2015-09-141-0/+4
| | | | | | | | qemu can be run with -sd <imagename> Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46923 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ar71xx: assign proper GPIO pin for Ubiquiti Nanostation modelsJohn Crispin2015-09-141-2/+2
| | | | | | | | | | | | | The GPIO pins for "POE passthrough" of Ubiquiti Nanostation models are the following: * Ubiquiti Nanostation M XM: Pin 8 * Ubiquiti Nanostation M XW: Pin 2 The previous definition of the pins was mixed up between XM and XW model. Signed-off-by: Lars Kruse <lists@sumpfralle.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46922 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: Added WIZnet WizFi630A Platform based on Ralink RT5350John Crispin2015-09-147-1/+217
| | | | | | | | This patch is to add the WIZnet WizFi630A board as a new platform. The board is in mini pci express form factor. Signed-off-by: Tobias Welz <tw@wiznet.eu> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46921 3c298f89-4303-0410-b956-a3cf2f4a3e73