aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* brcm2708: properly detect the Raspberry Pi ZeroÁlvaro Fernández Rojas2016-06-213-2/+6
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: simplify block size and image offset optionsÁlvaro Fernández Rojas2016-06-211-34/+45
| | | | | | | | Instead of having CFE_EXTRAS for every device that need specific block sizes and image offset, let's define a couple of vars which can be customized for each device. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* brcm63xx: add sysupgrade imagesÁlvaro Fernández Rojas2016-06-212-20/+31
| | | | | | | | | | Some devices require padded images in order to prevent CFE from flashing them to the wrong offset. For small flashes (4/8) this is no big deal, but for larger flashes (16/32) this implies 8 and 16 MB images, which is way too large and some devices aren't capable of flashing them through sysupgrade. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* lantiq: fix typo in new image generationBen Mulvihill2016-06-211-1/+1
| | | | | | | Fix typo in commit a6f7536a73c93794812d5e810fb41c3d0ff1fb27 (new image generation) Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>
* ath10k-ct: Update to latest 10.4.3 CT firmware for 9980 chipsets.Ben Greear2016-06-211-2/+2
| | | | | | This works around regressions added in the 4.7 kernel. Signed-off-by: Ben Greear <greearb@candelatech.com>
* sdk: Fix keeping unset as unsetDaniel Dickinson2016-06-211-15/+40
| | | | | | | | | | | | | | The configuration preservation mechanism fails to keep items was are unset as unset. For busybox this causes issues when building with custom settings in the SDK. Therefore preserve busybox unset settings. In addition we preserve non-package selection unset settings because they may be important for making sure we compile and identical package for packages that are recompiled in the SDK. Now that SDK not longer ships .config this becomes relevant for any use of the SDK. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* ath10k-firmware: fix board-2.bin download URLKevin Darbyshire-Bryant2016-06-211-2/+2
| | | | | | | | | Original URL got 303 redirect which then also dropped the commit id leading to different file revision & MD5 mismatch. Corrected URL & clarified commit ID use in Makefile Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* brcm63xx: merge DSL-274X-F1 profilesJonas Gorski2016-06-211-16/+6
| | | | | | | The only difference is a field in the image tag header, so just define two images for it instead of treating them as separate devices. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: move the bootargs into the dtb filesJonas Gorski2016-06-2184-3/+334
| | | | | | Instead of using a fixed commandline, allow one per device. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: use upstreamed compatible name for the periph intcJonas Gorski2016-06-2111-11/+11
| | | | | | | This makes the eventual migration to bmips easier, as dts files will require less changes. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix external IRQsDaniel Gonzalez2016-06-211-9/+9
| | | | | | | | | | | | | External IRQs are currently broken, fix the BCM6345_EXT_IRQ driver. Since the adoption of the new driver irq-bcm6345-ext, in Chaos Calmer, external IRQs don't work. It seems there were some minor errors at the initial development of the driver. This patch fixes the ticket https://dev.openwrt.org/ticket/21613 Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix single profile selectionÁlvaro Fernández Rojas2016-06-211-0/+1
| | | | | | | Fixes commit c6990347. Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* bcm53xx: backport BCM5301X patches for SRABRafał Miłecki2016-06-205-1/+170
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: backport bgmac changes from net-nextRafał Miłecki2016-06-209-11/+329
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* kernel: rename bgmac patches that went into the same kernelRafał Miłecki2016-06-204-0/+0
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* procd: properly set /dev/snd permission and groupJohn Crispin2016-06-202-2/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* e2fsprogs: Bump to v1.43.1Xotic7502016-06-201-2/+2
| | | | Signed-off-by: Graham Fairweather <xotic750@gmail.com>
* 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>