summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* ramips: remove duplicate i2c dts infoMichael Lee2016-06-204-24/+0
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: update i2c driversMichael Lee2016-06-202-371/+611
| | | | | | | | | | | | | | | | | * add rt_i2c structure to store driver data * rewrite read/write check function and add i2c error status check. so we don't need to wait until time out. * add 10 bits address support. according to the data sheet i think it is possible. but i haven't verify it. * the most important is start transfer only need once. otherwise it cause I2C_STARTERR status. * add set i2c clock speed register by dts options "clock-frequency". not just hard code it. * add mt7621 i2c driver. i just copy i2c-ralink.c and change register names. and the hardware don't support error status. so i remove it. but the logic is the same. Signed-off-by: Michael Lee <igvtee@gmail.com>
* ipq806x: fix MAC_POWER_SEL switch configurationJosh Bendavid2016-06-205-6/+6
| | | | | | Fixes instability/corruption on the ethernet interface connected to port0 on the switch. Signed-off-by: Josh Bendavid <joshbendavid@gmail.com>
* lantiq: BTHOMEHUBV5A - use the power event code for the restart buttonMathias Kresin2016-06-201-1/+1
| | | | | | | | | | The restart event code is used in LEDE to trigger a factory reset on long press as well. By using the power event code, the restart functionality can be used without being prone to trigger a factory reset. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: diag - switch off the power led on failsafeMathias Kresin2016-06-201-0/+4
| | | | | | | | | | | | | | This patch is a follow up to commit 4cf3fd4 "add support for indicating the boot state using three leds". At the time of writing the patch, I wasn't aware that it's possible to switch info failsafe after boot (factory reset). Enabling the failsafe led without disabling the running led causes an unexpected led colour on devices using a single multicolour led to indicate the boot state. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix build of NAND sysupgrade imagesMathias Kresin2016-06-201-57/+45
| | | | | | | | | | | | | The *_UBIFS_OPTS variables need to be prefixed with DEVICE_ to match the profile name. The conditions need to be evaluated after the *_UBIFS_OPTS are set, otherwise the variables are always empty. Do not append or pass the DEVICE_ prefixed profile name to the images. Use the name that is passed by the Image/Build/Profile/ step. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: ltq-atm: fix xrx200 dependsMathias Kresin2016-06-201-1/+1
| | | | | | This one was missed by abc346db0e191ebeeb122ce26d1831469fadee1c. Signed-off-by: Mathias Kresin <dev@kresin.me>
* fstools: fix missing dependencyJohn Crispin2016-06-181-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* bcm53xx: properly support sysupgrade using Seama on NAND devicesRafał Miłecki2016-06-201-1/+48
| | | | | | It updates kernel and then formats UBI without loosing erase counters. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mtd: support -c (datasize) option for fixseama commandRafał Miłecki2016-06-203-7/+9
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename B53 symbols to avoid upstream kernel conflictRafał Miłecki2016-06-2013-52/+52
| | | | | | | | | In kernel 4.7 there is upstreamed b53 driver using (mostly?) the same symbols as our b53 does. Change our symbols so both drivers can coexist in kernel tree. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* kernel: mtdsplit: calculate kernel partition precisely for SeamaRafał Miłecki2016-06-201-2/+2
| | | | | | | | | So far "kernel" partition didn't contain just a kernel. It also included Seama header and meta data. This was making kernel update complex and it wasn't trivial to read kernel size. Fix it by making "kernel" parition contain just a kernel image. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* uboot-envtools: add support for ZBT-WG2626Daniel Golle2016-06-191-1/+2
| | | | Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* kernel: backport cosmetic ubifs patchDaniel Golle2016-06-181-0/+42
| | | | | | | | | | | | | | | Despite the MS_SILENT flag being set when probing for ubifs rootfs a logline indicating an error is generated during boot: UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19 This leads to confusion and there shouldn't be lines containing the word 'error' twice in a bootlog if actually everything is fine (just the rootfs happens to be something else than ubifs) The patch added has been submitted and was accepted upstream, see: http://lists.infradead.org/pipermail/linux-mtd/2016-June/068056.html http://patchwork.ozlabs.org/patch/637491 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* lantiq: clean up / fix LegacyDevice template handlingFelix Fietkau2016-06-171-15/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: get rid of ifneq() checks inside command templatesFelix Fietkau2016-06-171-34/+34
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: add a separate step for building kernel images for LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: run LegacyDevice prepare once instead of once per filesystemFelix Fietkau2016-06-171-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image.mk: fix make variable/command context leakage between LegacyDevice ↵Felix Fietkau2016-06-171-0/+1
| | | | | | templates Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: small fix for legacy profile buildsJohn Crispin2016-06-171-36/+7
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* octeon: fix image buildJo-Philipp Wich2016-06-171-1/+1
| | | | | | | | | | | The generic sysupgrade image attempted to use the wrong filesystem type due to premature variable interpolation leading to the following error on the buildbot system: cp: cannot stat `.../root.squashfs': No such file or directory make[4]: *** [.../tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* mt76: update to the latest version, fixes a SMPS handling issueFelix Fietkau2016-06-171-2/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* medaitek: convert the NAND target to UBIJohn Crispin2016-06-177-192/+62
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* procd: update to latest git headJohn Crispin2016-06-171-2/+2
| | | | | | fixes !root perms of /var/{run,lock,state} Signed-off-by: John Crispin <john@phrozen.org>
* base-files: remove fstab symlinkJohn Crispin2016-06-172-1/+2
| | | | | | the symlink no longer gets used since we switched to the block-mount tool. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: WDR4300: Fixed default VLAN orderDavid Pinilla Caparrós2016-06-171-1/+1
| | | | | | Reordered the VLANs so the LAN ports are set to VLAN 1 and the WAN port is set to VLAN 2, as in the other routers in the config file. Moreover, this model had this VLAN mapping in OpenWRT Chaos Calmer. It seems that the VLAN were switched when fixing a bug in the port mapping ( OpenWRT changeset 47799 ) Signed-off-by: David Pinilla Caparrós <dpinitux@gmail.com>
* Revert "ramips: update i2c drivers"John Crispin2016-06-172-611/+371
| | | | | | | | This reverts commit d8202a84096831d4e6e2a522476bd6a0d46e6413. the commit broke I2C on various boards. Signed-off-by: John Crispin <john@phrozen.org>
* ipq806x: activate ATAG DTB mangle and EA8500 rootblock in dtsAdrian Panella2016-06-173-1/+190
| | | | | | | | | | | | | | The command-line arguments provided by the boot loader will be appended to a new device tree property: bootloader-args. If there is a property "append-rootblock" in DT under /chosen and a root= option in bootloaders command line it will be parsed and added to DT bootargs with the form: <append-rootblock>XX. Only command line ATAG will be processed, the rest of the ATAGs sent by bootloader will be ignored. This is usefull in dual boot systems, to get the current root partition without afecting the rest of the system. Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* cns3xxx: fix RX softIRQ loopKoen Vandeputte2016-06-171-2/+2
| | | | | | | | | | Already reschedule when 1 or more frames came in. Checking for a full queue could produce a re-schedule loop as the checked RX ring location could contain undefined values depending on activity in previous loops. Signed-off-by: Koen Vandeputte <koen.vandeputte@ncentric.com>
* netlogic: R.I.PJohn Crispin2016-06-1710-370/+0
| | | | | | | I asked florian and he is ok with this. i think no one apart from him has access to these boards. Signed-off-by: John Crispin <john@phrozen.org>
* mountd: update to latest git HEADJohn Crispin2016-06-171-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: convert remaining legacy targets to the new image generation codeJohn Crispin2016-06-178-98/+101
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ath10k: merge some more pending upstream fixesFelix Fietkau2016-06-173-2/+128
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Revert "ar71xx/cpe510: use second wifi calibration table"Alexander Couzens2016-06-161-1/+1
| | | | | | | | Using the high power table can damage the device in some cases. This reverts commit bf27ac019c137e7baf90ca6ef0e40945ae871797. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* uhttpd: update to the latest version, adds some extensions to handler script ↵Felix Fietkau2016-06-161-2/+2
| | | | | | support Signed-off-by: Felix Fietkau <nbd@nbd.name>
* uclient: update to the latest version with better help and DELETERafał Miłecki2016-06-161-2/+2
| | | | | | | This slightly improves output of help messages and supports sending message body for DELETE. Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* package-ipkg: do not include feeds.mk at metadata dump time to speed up scanningFelix Fietkau2016-06-161-1/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* include/feeds.mk: allow installation from feed packages that are installed ↵Felix Fietkau2016-06-161-1/+1
| | | | | | but no longer in feeds.conf Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package-ipkg.mk: fix Provides for packages with multiple PROVIDES entriesMatthias Schiffer2016-06-161-1/+1
| | | | Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* hostapd: fix breakage with non-nl80211 driversFelix Fietkau2016-06-152-15/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* tools/cmake: fix parallel build with Make 4.2+Matthias Schiffer2016-06-151-2/+3
| | | | | | | | Avoid using the --parallel argument to the CMake bootstrap, as that doesn't allow us to remove the -j argument. Instead, pass the HOST_JOBS arguments in MAKEFLAGS. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* build: don't add -j for parallel builds with Make 4.2+Matthias Schiffer2016-06-152-2/+2
| | | | | | | | | | | | | | | | | | Make usually passes -j and jobserver arguments as part of MAKEFLAGS. LEDE removes MAKEFLAGS to have better control of the build, and re-adds the jobserver arguments with -j to the Make commandline where desired. Make 4.2+ behave differently with these arguments passed on the commandline than in MAKEFLAGS: -j will override the jobserver argument and the job count will be unlimited. Moving the flags to MAKEFLAGS will need many packages to be changed and tested; therefore, we opt for a less invasive change for now and just remove -j for Make 4.2+, as the jobserver argument alone is enough to enable parallel builds for these Make versions. Signed-off-by: Jo-Philipp Wich <jo@mein.io> Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* hostapd: fix compilation error in wext backendJo-Philipp Wich2016-06-151-0/+10
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* scripts: feeds: fix version detection for Make >= 4.2.1Jo-Philipp Wich2016-06-151-1/+4
| | | | Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Revert "lantiq: Use correct macaddr generating logic for the DGN3500"Felix Fietkau2016-06-151-5/+0
| | | | | | | This reverts commit 492964e741f1e0254b6ed7c0a095551a31d25dc9, which makes no sense. /etc/board.d cannot be used for system init stuff. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostap-driver: mark as broken, it causes extra bloat in hostapd and is ↵Felix Fietkau2016-06-151-1/+1
| | | | | | probably not used anymore Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mt76: update to latest version, adds survey support for mt76x2Felix Fietkau2016-06-151-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: implement fallback for incomplete survey dataFelix Fietkau2016-06-151-0/+45
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: update to version 2016-06-15Felix Fietkau2016-06-1523-115/+115
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* hostapd: Update to version 2016-05-05Michal Hrusecky2016-06-158-103/+180
| | | | | | Fixes CVE-2016-4476 and few possible memory leaks. Signed-off-by: Michal Hrusecky <Michal.Hrusecky@nic.cz>