aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
* lantiq: Update to the latest DSL driver / application versionsJohn Crispin2015-09-149-546/+316
| | | | | | | | | | | Thanks to Sylwester Petela for testing my patch (successfully on an ADSL connection) and for pointing out some configuration mistakes. Others (including me) have also successfully tested this extensively on VDSL connections. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: sysupgrade: quote source image nameJohn Crispin2015-09-141-2/+2
| | | | | | | | | | | | | | | | | | | get_image() eval a filename without quoting it, resulting in errors with filenames containing characters that need to be escaped. $ sysupgrade -T -f ./cfg\(12\).tar.gz img.bin; echo $? Image check 'platform_check_image' failed. Invalid config file. Please use only .tar.gz files 1 $ mv cfg\(12\).tar.gz cfg_12.tar.gz $ mv img\(1\).bin img.bin sysupgrade -T -f ./cfg_12.tar.gz img.bin; echo $? 0 Enclose the content of $from in double quotes. Signed-off-by: Adrien Schildknecht <adrien+dev@schischi.me> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46919 3c298f89-4303-0410-b956-a3cf2f4a3e73
* ramips: add support for Planex DB-WRT01John Crispin2015-09-147-0/+111
| | | | | | | | | | This patch add support for Planex DB-WRT01. DANBOARD route on the MT7620A SoC with two Ethernet port and a 802.11n 2.4 GHz radio. DANBOARD is Cartoon character. Signed-off-by: YuheiOKAWA <tochiro.srchack@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46918 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: get more status information from xDSLJohn Crispin2015-09-141-12/+400
| | | | | | | | | Signed-off-by: Florian Eckert <Eckert.Florian@googlemail.com> Signed-off-by: Helge Mader <hmader@tdt.de> Tested-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Tested-by: Andre Heider <a.heider@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46917 3c298f89-4303-0410-b956-a3cf2f4a3e73
* kernel: dwc2: Add missing config symbol definitionJohn Crispin2015-09-141-1/+2
| | | | | | | | | DWC2 driver has config symbol CONFIG_USB_DWC2_DEBUG_PERIODIC which should be defined for the module build. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46916 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Add AR9 compatibility bits to DWC2 driverJohn Crispin2015-09-142-4/+6
| | | | | | | | | | | | Add AR9 DTS definition to be recognized by the DWC2 driver. The same driver parameters can be mostly used except that some boards seem to erroneously report OTG HNP/SRP capability of the USB HCD. Forcing the HNP/SRP off allows these boards to work with the DWC2 as well. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46915 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Introduce DWC2 compatible DTS definitions for AR9 USBJohn Crispin2015-09-141-1/+10
| | | | | | | | | | | | Since the AR9 USB is very similar to the VR9 USB it too can be used with the upstream DWC2 driver. Here are the DTS definitions which make it compatible with the DWC2 driver. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46914 3c298f89-4303-0410-b956-a3cf2f4a3e73
* lantiq: Initialize USB on AR9 platformJohn Crispin2015-09-142-4/+6
| | | | | | | | | | Based on the ltq-hcd driver the AR9 USB can be initialized the same way as the VR9 platform. Use the same initialization bits for both platforms. Signed-off-by: Antti Seppälä <a.seppala@gmail.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46913 3c298f89-4303-0410-b956-a3cf2f4a3e73
* imagebuilder: store package lists in cache directoryJo-Philipp Wich2015-09-141-0/+2
| | | | | | | | | | Force opkg to store the downloaded repository indizes into the cache directory as well, this way the IB can be used in an offline setting once all required files have been cached. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46912 3c298f89-4303-0410-b956-a3cf2f4a3e73
* opkg: expose lists_dir option as command line argumentJo-Philipp Wich2015-09-142-3/+43
| | | | | | | | | | | | Expose the "lists_dir" configuration file option as command line switch so that we can override it for the Image Builder environment. Also add a more standard PKG_MAINTAINER variable while touching the Makefile. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46911 3c298f89-4303-0410-b956-a3cf2f4a3e73
* tools/make-ext4fs: prefer static linkingJo-Philipp Wich2015-09-141-4/+8
| | | | | | | | Link zlib statically on Linux systems. Signed-off-by: Jo-Philipp Wich <jow@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@46909 3c298f89-4303-0410-b956-a3cf2f4a3e73