summaryrefslogtreecommitdiffstats
path: root/target
Commit message (Collapse)AuthorAgeFilesLines
* fix portmap on switch but no GBits/s on lan and dts rewritedo-work/Edimax-v2Hans Ulli Kroll2016-10-121-138/+126
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* update fix reset buttonHans Ulli Kroll2016-10-111-8/+2
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* ass 5ghz macHans Ulli Kroll2016-10-111-0/+9
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* add more gpiosHans Ulli Kroll2016-10-101-4/+4
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* fix mac addressHans Ulli Kroll2016-10-101-9/+9
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* add rohanHans Ulli Kroll2016-10-101-1/+2
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* change Image sizeHans Ulli Kroll2016-10-101-2/+2
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* update from oPENWRT forum, need authorHans Ulli Kroll2016-10-104-10/+57
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* fix in dts, wrong name compatible stringHans Ulli Kroll2016-10-101-1/+1
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* update nor in DTSHans Ulli Kroll2016-10-101-1/+1
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* add DTSHans Ulli Kroll2016-10-061-0/+179
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* first DTS and updateHans Ulli Kroll2016-10-062-0/+4
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* build integration into LEDEHans Ulli Kroll2016-10-061-0/+20
| | | | Signed-off-by: Hans Ulli Kroll <ulli.kroll@googlemail.com>
* kernel: add missing config symbolsFelix Fietkau2016-09-291-0/+2
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add support for SFPJonas Gorski2016-09-2930-0/+6212
| | | | | | | | Add patches for SFP support and package it for ClearFog. Tested with a Juniper SFP module. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: disable MSI interruptsJonas Gorski2016-09-291-2/+0
| | | | | | | | | | | | | | | | MSI interrupts do not seem to be working on mvebu, and they break ath10k. Since nothing else seems to be using them, especially not mwlwifi, disable them until we can fix MSI interrupts. Works around the following issue: [ 9.001457] ath10k_pci 0000:02:00.0: failed to receive control response completion, polling.. [ 10.001453] ath10k_pci 0000:02:00.0: Service connect timeout [ 10.007126] ath10k_pci 0000:02:00.0: failed to connect htt (-110) [ 10.092224] ath10k_pci 0000:02:00.0: could not init core (-110) [ 10.098177] ath10k_pci 0000:02:00.0: could not probe fw (-110) Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* ramips: Xiaomi MiWiFi Nano: fix status ledCezary Jackiewicz2016-09-292-2/+2
| | | | | | | - add status led for Xiaomi MiWiFi Nano - revert https://github.com/lede-project/source/commit/af1e70b4a730e91ce1668d506ebc5c1c8cf5abf5 , this should not be added. Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* kernel: fix build error in sign-file.c with libresslFelix Fietkau2016-09-291-0/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolsFelix Fietkau2016-09-291-0/+7
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolsFelix Fietkau2016-09-281-1/+3
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ar71xx: Do not use a hardcoded ath10k firmware mac addressMartin Blumenstingl2016-09-281-7/+10
| | | | | | | | | | | | | | | | | | | | | ar71xx has an init-script for special devices where the ath10k OTP calibration data is stored on the PCIe card's EEPROM (and thus can only be read by ath10k). Unfortunately the OTP data uses the default mac address (= all devices come with the same mac address, which leads to problems when you have multiple of these devices in the same network). To work around this the mac address is patched in the firmware during the first boot of the device. To prevent flash wear this was only done if the ath10k firmware matched a hardcoded md5sum. However, if the md5sum does not match this can mean that either the mac address was already patched (which is fine) - unfortunately it can also mean that the firmware version was updated without updating the hardcoded md5sum. Change the "was the mac address already patched" check to actually compare the mac address inside the ath10k firmware. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* kernel: add missing config symbol after rfkill changeFelix Fietkau2016-09-281-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* rfkill: add fake rfkill supportJohn Crispin2016-09-271-0/+87
| | | | | | allow building of modules depending on RFKILL even if RFKILL is not enabled. Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: add support for Cisco Meraki Z1 Cloud Managed Teleworker GatewayChris Blake2016-09-2716-19/+293
| | | | | | | | | This patch adds support for Cisco's Z1. Detailed instructions for the flashing the device can be found in the OpenWrt wiki: <https://wiki.openwrt.org/toh/meraki/z1> Signed-off-by: Chris Blake <chrisrblake93@gmail.com>
* ramips : add support for Newifi D1BangLang Huang2016-09-277-0/+178
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* ramips : add support for PandoraBox D1BangLang Huang2016-09-277-1/+177
| | | | Signed-off-by: BangLang Huang <banglang.huang@foxmail.com>
* uml: set inittab for working consoleAdrian Panella2016-09-271-0/+4
| | | | Signed-off-by: Adrian Panella <ianchi74@outlook.com>
* ramips: Add support for ZBT-CPE102Cezary Jackiewicz2016-09-277-0/+136
| | | | | | | | | | - CPU: MT7620N 580MHz - Flash: 8MB - RAM: 64MB - build-in minipcie slot for modem 3G/4G - one ethernet port 10/100Mbps Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix DEVICE_PACKAGES of Ubiquiti EdgeRouter XMatthias Schiffer2016-09-261-1/+1
| | | | | | | kmod-rt2x00-lib and kmod-mac80211 need to be removed, as they depend on kmod-cfg80211. kmod-rt2800-pci should not be installed anyways. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: clean up DEVICE_PACKAGES of legacy devicesMatthias Schiffer2016-09-261-43/+22
| | | | | | Remove arbitrary or redundant packages from DEVICE_PACKAGES. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* mvebu: add switch config for clearfog proJonas Gorski2016-09-261-0/+3
| | | | | | Check for switch0 existance and add default switch config if found. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* mvebu: add sysupgrade support for clearfogJonas Gorski2016-09-265-8/+79
| | | | | | | | Add and enable sysupgrade support for clearfog boards, based on how the brcm2708 target does it. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: add switch node to clearfogJonas Gorski2016-09-262-1/+22
| | | | | | | | Add a switch node to clearfog to probe and initialize it on Clearfog Pro. This make the switch work and allows using all six switch ports. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvsw61xx: enable SerDes on 6176 if requiredJonas Gorski2016-09-262-0/+59
| | | | | | | | If the cpu port is connected through SGMII we need to enable SerDes for it to work. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvsw61xx: reset phys on probe to enable switch ports on clearfog proJonas Gorski2016-09-262-1/+54
| | | | | | | | The clearfog u-boot does not initialize the switch at all, so we need to power up the phys ourselves. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: replace ClearFog dts files with patches from upstreamJonas Gorski2016-09-267-582/+909
| | | | | | | | Make the dts file match with what is upstream, to ensure it has the latest changes and switching to newer kernels is easier. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* mvebu: enable PCA955x driver for clearfog to enable pcie and usbJonas Gorski2016-09-261-0/+2
| | | | | | | | | Some of the PCIe and USB signals use a GPIO expander on I2C on ClearFog, so enable the driver so that they can be configured to their required values. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* uboot-mvebu: make hidden and be m for clearfog to fix IB failing to add itJonas Gorski2016-09-261-1/+1
| | | | | | | | | | | | | Uboot-mvebu isn't a real package, which will break the image builder when it tries to install it during the packing step. Instead of cleafog selecting it through its default packages, make it default to m if the clearfog profile is selected. This will ensure it is always build, but never added to the rootfs. This fixes creating images for clearfog with IB. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* uboot-mvebu: also install into KDIR to ensure it packaged in IBJonas Gorski2016-09-261-1/+1
| | | | | | | | The clearfog image requires u-boot, so package it into KDIR to make sure it is available in imageBuilder. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Felix Fietkau <nbd@nbd.name>
* ramips: move /lib/ramips.sh include in /etc/init.d/bootcount into start()Matthias Schiffer2016-09-251-1/+2
| | | | | | Enabling the init script offline will print an error otherwise. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add model detection for many Ubiquiti AirMax XM devicesNeal Oakey2016-09-241-0/+36
| | | | | | Signed-off-by: Neal Oakey <neal.oakey@bingo-ev.de> [Matthias Schiffer: minor adjustments] Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* treewide: remove bad local shell variable declarationsJo-Philipp Wich2016-09-245-18/+13
| | | | | | | Local variable declarations outside of functions are illegal since the Busybox update to v1.25.0, therfore remove them from the appropriate places. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ramips: do not "local" variables outside of a functionMartin Blumenstingl2016-09-241-1/+1
| | | | | | | | | Older busybox versions allowed using the local keyword outside of functions, whereas 1.25.0 (which was introduced in 06fa1c46fc32) do not allow this anymore (leading to the following error when executing the script: "file: local: line nn: not in a function"). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* lantiq: do not "local" variables outside of a functionMartin Blumenstingl2016-09-242-5/+5
| | | | | | | | | Older busybox versions allowed using the local keyword outside of functions, whereas 1.25.0 (which was introduced in 06fa1c46fc32) do not allow this anymore (leading to the following error when executing the script: "file: local: line nn: not in a function"). Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* bcm53xx: move BCM53573 USB 2.0 patch to use backports prefixRafał Miłecki2016-09-211-2/+3
| | | | | | It was pushed into the usb-next branch. Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
* kernel: owl-loader for delayed Atheros ath9k fixupChristian Lamparter2016-09-192-0/+277
| | | | | | | | | | | | | | | | | | | | | | | | | Some devices (like the Cisco Meraki Z1 Cloud Managed Teleworker Gateway) need to be able to initialize the PCIe wifi device. Normally, this is done during the early stages of booting linux, because the necessary init code is read from the memory mapped SPI and passed to pci_enable_ath9k_fixup. However,this isn't possible for devices which have the init code for the Atheros chip stored on NAND in an UBI volume. Hence, this module can be used to initialze the chip when the user-space is ready to extract the init code. Martin Blumenstingl made a few fixes and added support for lantiq: kernel: owl-loader: add support for OWL emulation PCI devices kernel: owl-loader: don't re-scan the bus when ath9k_pci_fixup failed kernel: owl-loader: use dev_* instead of pr_* logging functions kernel: owl-loader: auto-generate the eeprom filename as fallback kernel: owl-loader: add a debug message when swapping the eeprom data kernel: owl-loader: add missing newlines in log messages kernel: owl-loader: add support for the lantiq platform These patches have been integrated. Thanks! Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com> Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
* ar71xx: update kernel config symbolsPiotr Dymacz2016-09-191-6/+0
| | | | Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ar71xx: mark U-Boot and radio calibration data partitions as read-onlyPiotr Dymacz2016-09-192-17/+17
| | | | | | | General convention is to keep U-Boot and radio calibration data (ART) mtd partitions marked as read-only. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* kirkwood: fix uimage creation for some kirkwood devicesbobafetthotmail2016-09-191-1/+0
| | | | | | | | | because with the current system I'm getting fake uImages that are actually a renamed zImage, and that's plain wrong. This fixes bug https://bugs.lede-project.org/index.php?do=details&task_id=131 and https://bugs.lede-project.org/index.php?do=details&task_id=139 Signed-off-by: Alberto Bursi <alberto.bursi@outlook.it>
* cns3xxx: eliminate hardcoded kernel/rootfs partition splitFelix Fietkau2016-09-194-171/+36
| | | | | | | | | | | | | | This changes the sysupgrade format. To support upgrades from the old firmware to the new one, legacy images are provided. Because of the old partition split, these have to be specific to the NOR or SPI device. The new sysupgrade images are suitable for begin put on flash directly, and they are independent of NOR vs SPI flash variant. Flashing back to old firmware is supported via using the old full-flash images instead of the old sysupgrade images. Signed-off-by: Felix Fietkau <nbd@nbd.name>