aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* ltq-hcd: drop packageMathias Kresin2016-11-2717-21402/+0
| | | | | | | Since ffd7c155008bff4b08197dfd710d7a1386313f98 it isn't used anymore on any supported target. Signed-off-by: Mathias Kresin <dev@kresin.me>
* gpio-button-hotplug: add more buttonsMathias Kresin2016-11-271-15/+24
| | | | | | The keycodes are used by some boards. Signed-off-by: Mathias Kresin <dev@kresin.me>
* treewide: fix button keys codes used in dtsMathias Kresin2016-11-2722-26/+27
| | | | | | Use keycodes that matches the intended use case based on the label. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: add size checks/append metadata where missingMathias Kresin2016-11-273-30/+22
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: fix Airlink AR670W factory imageMathias Kresin2016-11-272-8/+7
| | | | | | | Move the mkwrgimg build step to the makefile. It will be required by other boards as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* mvebu: fix typo in image metadata supportMathias Kresin2016-11-271-2/+2
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ipq806x: more dts cleanupMathias Kresin2016-11-278-110/+80
| | | | | | | | | | | | | | | | | | | | | | | Remove the wifi5g LED from the the d7800, r7500 and r7800. Albeit this GPIO is mentioned in the GPL tarball, it doesn't do anything. The 2.4/5 GHz LEDs are connected to the wifi chips and not be controlled from the the userspace. Use the LEDs names/colours as they are used in the board manuals. Merge redundant LED configurations. Use the phy[0|1]tpt trigger for the wireless LEDs. Remove the workarounds for the not controllable wireless LEDs. Fix spi compatible strings and remove superfluous spi-max-frequency parameters. If there are two power leds, use one for indicating normal operation and one for failsafe/upgrade. Keep the on/off state of the main power led during boot. Use the usb pinmux settings from the nbg6817 gpl sources. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ipq806x: clean up dts filesHenryk Heisig2016-11-279-284/+533
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Set the pinmux to the values found in the GPL tarballs of the boards. Remove pinmux which are is not used (like nand pinmux for spi flash boards). This allows to use the wan orange led of the C2600 which had a wrong pinmux before. Might fix buttons or leds of other boards as well. Fix the LED color and the ledswitch key code of the C2600. Rename the ledgnr to ledswitch. Add support for indication the boot state using LEDs to the D7800, NBG6817, R7500 and R7500v2. Change GPIO active to readable values in D7800, EA8500, R7500, R7500v2 and R7800. Change gpioexport to gpio pinmux. Add proper "drive strenght" to i2c4_pins and use it for RPM on C2600, D7800, EA8500, R7500, R7500v2. Remove pcie pinmux from D7800. Move pinctrl to correct place in NBG6817 and R7800. Signed-off-by: Henryk Heisig <hyniu@o2.pl>
* firmware-utils: Fix build failure in mkmerakifw.c FS#298Florian Fainelli2016-11-261-9/+9
| | | | | | | | | Earlier compilers such as GCC 4 do not like anynomous unions, make it a named union "u", and update the code where relevant. Fixes FS#298 Fixes: a72e1692b8b3 ("firmware-utils: Add support for the Cisco Meraki MX60/MX60W") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* ipset: Add InstallDev to provide libipset as libraryJulian Kornberger2016-11-261-1/+8
|
* lantiq: specify the PCIe controller's interrupt, size and address cellsMartin Blumenstingl2016-11-261-2/+10
| | | | | | This allows adding devices to the PCIe controller in the .dts files. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* lantiq: Register the device tree node with the PCIe controllerMartin Blumenstingl2016-11-261-1/+9
| | | | | | | This allows specifying PCI devices as children of the PCIe controller node to pass configuration data to them. Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
* ramips: Add missing chunked-io directive to W2914NSV2.dtsiYong-hyu, Ban2016-11-261-0/+1
| | | | | | | | | Fix bug that LEDE failed to boot with this message: WARNING: CPU: 2 PID: 1 at drivers/spi/spi-mt7621.c:214 mt7621_spi_transfer_one_message+0x28c/0x620() Signed-off-by: Yong-hyu, Ban <perillamint@gentoo.moe>
* ramips: SamKnows SK-WB8 DTS cleanupAndrew Yong2016-11-261-11/+6
| | | | | | Use gpio.h definition of GPIO_ACTIVE_HIGH and GPIO_ACTIVE_LOW. Remove unused backup partition to increase available JFFS space. As long as U-Boot env variable "bootcount" is < 3 (reset to 0 after boot by init script) SamKnow's U-Boot will not attempt to boot from the backup flash address (0xe30000). Signed-off-by: Andrew Yong <me@ndoo.sg>
* kernel: fix typo in input-gpio-encoder package titleAvi H. D2016-11-261-1/+1
| | | | | | Line 115, 'rotary' was misspelled as 'rotay' Signed off by: Avinash Duduskar <strykar@hotmail.com>
* tools/cmake: update to 3.7.0Hannu Nyman2016-11-263-6/+6
| | | | | | | Release notes at https://cmake.org/cmake/help/v3.7/release/3.7.html Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/quilt: update to 0.65Hannu Nyman2016-11-262-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | User-visible changes since 0.64 are as follows: - Translation fixes - Project settings have priority - Reject binary files in patches - Fix a race condition in diff_file - Performance: Optimizations to the setup command - Performance: Optimizations to the bash completion script - Test suite: Improve the edit test case - Test suite: Make the symlink test more robust - Test suite: Test backup failure - Test suite: Test the header command with hard links - diff: Report diff failures - edit: Fix a corner case bug - mail: Fix the help text - push: Fix the synopsis - refresh: Do not remove symlinks - refresh: Break links to read-only patch files - refresh: Always preserve modification time - setup: Report failed look-ups in inspect-wrapper - quilt.el: Fix quilt-editable when patches are stored in subdirs - bash_completion: Handle spaces in file names - bash_completion: Update the list of commands - bash_completion: Add new command options - bash_completion: Fix handling of mail, new, push options - guards: Simplify the help text - guards: Include the file name also in the "Not found" case - guards: Add support for an external filelist in --check mode - guards: Report which config file has problem in --check mode - guards: Documentation update - guards: Clarify a user message Note to packagers: the Makefile was modified to take configure's --sysconfdir into account as other projects do. As a result, setting --prefix=/usr will no longer put the configuration files under /etc. You now need to explicitly pass --sysconfdir=/etc. If you don't, configuration files will go under /usr/etc, which is not what you want. This is somewhat less intuitive, but also more consistent with what other projects are doing. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* tools/scons: update to 2.5.1Hannu Nyman2016-11-261-2/+2
| | | | | | | | | RELEASE 2.5.1 - Mon, 03 Nov 2016 13:37:42 -0400 - Add scons-configure-cache.py to packaging. It was omitted - Use memoization to optimize PATH evaluation across all dependencies per node. Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* Revert "mvebu: simplify etc/board.d/02_network"Felix Fietkau2016-11-251-1/+5
| | | | | | | This reverts commit 539ae47103b7de5cecb1a94beab0acb97ef7df1d. According to reports, this introduces a regression on WRT3200ACM Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ramips: remove kmod-ledtrig-usbdev from recently added devicesMathias Kresin2016-11-241-2/+2
| | | | | | None of the devices uses an usb led at all. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ar71xx: move DomyWifi DW33D to nand subtargetPiotr Dymacz2016-11-243-15/+11
| | | | | | | | | This device uses NAND FLASH, so it should be kept in nand subtarget. Also, inlcude in packages kmod-usb-ledtrig-usbport instead of obsolete kmod-ledtrig-usbdev. Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
* ipq806x: add support for TP-Link Archer VR2600vSebastian Quilitz2016-11-248-2/+467
| | | | | | | | | | | | | | | | | | This router is similar to the C2600. Ethernet on WAN + LAN, switch, sysupgrade, LEDs, buttons and WiFi on 2G + 5G do work. The xDSL modem and the POTS/DECT interface are not supported yet. It is not possible to flash LEDE via the TP-Link webinterface. The image need to be signed. The first 0x200 bytes of the image is the TP-Link header including the signature. The signature is not validated by the bootloader. The LEDE image is zeroed in this area. To install LEDE it is necessary to solder a four pin header to JP2. Connect a serial interface to this header and interrupt the autostart of kernel. Transfer the sysupgrade image via TFTP and write it to the serial flash at 0x320000. Signed-off-by: Sebastian Quilitz <zeraphim@x-pantion.de>
* remove bogus dev/null that was accidentally introduced while applying a patchFelix Fietkau2016-11-241-0/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove another redundant KCONFIG entry in virt.mkFelix Fietkau2016-11-241-3/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: fix virtualization kmod dependencies and kconfig symbolsFelix Fietkau2016-11-241-18/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: remove kmod-vhost_net, fixes build breakageFelix Fietkau2016-11-241-18/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* sunxi: enable CONFIG_VHOST_NET like on x86Felix Fietkau2016-11-241-2/+1
| | | | | | | Other virtualization options are already enabled, so this is only a small addition Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kernel: add missing config symbolsFelix Fietkau2016-11-241-0/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* libnl-tiny: Remove GENL_ID_GENERATEFlorian Fainelli2016-11-241-1/+1
| | | | | | | | | | | This constant was always defined to 0, and recently got removed in upstream commit a07ea4d9941af5a0c6f0be2a71b51ac9c083c5e5 ("genetlink: no longer support using static family IDs") Fixes libnl-tiny builds with latest upstream kernels. Fixes: d723f2573af3 ("libnl-tiny: remove include/linux overrides to fix various build issues") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
* target: sunxi: enable builtin crypto-hw module sun4i-ssYousong Zhou2016-11-241-0/+5
| | | | | | | CONFIG_CRYPTO_DEV_SUN4I_SS was previously set to y but did not take effect because of the absence of CONFIG_CRYPTO_HW=y Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* build: find_md5: ignore non-existent files or directoriesYousong Zhou2016-11-241-1/+1
| | | | | | | Targets like malta can have no patches/ directory available and this commit tries quash "no such file or directory" messages from `find` Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* apm821xx: make it possible to update the dtb partition on the WNDR4700Christian Lamparter2016-11-242-6/+6
| | | | | | | | | | | | | | | | | | | | Currently, the device-tree partition is marked as read-only. Hence, userspace tools like mtd can't write into the partition. This however will be necessary in case the DTB needs to be updated. This patch also adds the kernel.dtb image, so the compiled DTB is exported as a file and available in the binary directory along the firmware images. Note: the u-boot does expects the dtb to be a uimage. To update the dtb manually: 1. copy the generated dtb to the router. 2. mtd erase /dev/mtd2 3. mtd write wndr4700.dtb /dev/mtd2 Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* target: sunxi: enable kvm supportYousong Zhou2016-11-241-16/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | Unlike x86, kvm for arm has to be built into the kernel. The kernel config was prepared with the following command make kernel_menuconfig CONFIG_TARGET=platform Then enable ARM_LPAE, VIRTUALIZATION, KVM in that order Other config changes are done by the build system. The following text tries to explain some of them, for archive purposes probably... - BUILD_BIN2C. It was dropped probably because the prompt is empty and no other config option selects it. bin2c is a host executable for converting binary content to a piece of c code for inclusion - CRYPTO_DEV_SUN4I_SS. It was dropped because the dependency CRYPTO_HW was not enabled. Setting that aside, packaging it as a loadbable module in lieu of other sunxi specific modules seems more appropriate - PGTABLE_LEVELS. It was changed from 2 to 3 because 3 is the default when ARM_LPAE is enabled - HAVE_KERNEL_GZIP, etc.. These are enabled in generic config - SCHED_INFO, ZLIB_INFLATE. These were dropped probably for the same reason as for BUILD_BIN2C Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* package: add kernel packages for kvm virtualizationYousong Zhou2016-11-241-0/+105
| | | | Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* toolchain: gcc: disable ifunc on *-musl by defaultYousong Zhou2016-11-242-0/+76
| | | | | | | | Otherwise the built binaries may fail with Error relocating /usr/bin/qemu-system-x86_64: unsupported relocation type 37 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* build: scan.mk: remove not used variable SCAN_STAMPYousong Zhou2016-11-241-2/+2
| | | | | | | It was left behind since rewrite of metadata scanning done with commit bdc9419 in July 2007 Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
* uml: clean up the kernel config and add squashfs+ext4/f2fs supportFelix Fietkau2016-11-245-20/+23
| | | | | | Replaces plain ext4 images Signed-off-by: Felix Fietkau <nbd@nbd.name>
* package/utils/fuse: update to 2.9.7Paul Wassi2016-11-245-74/+5
| | | | | | | | Update fuse+libfuse to upstream 2.9.7. Drop the patch for CVE-2015-3202, which is already integrated in the newer version. Rework the other patches. Also switch PKG_SOURCE from @SF to libfuse's github releases. Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* mvebu: simplify etc/board.d/02_networkPaul Wassi2016-11-241-5/+1
| | | | | | | Unify switch configuration on Linksys WRTxx00AC series. LAN = eth0, WAN = eth1 Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* mvebu: use image metadata for firmware validationFelix Fietkau2016-11-242-22/+6
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: write protect vgv7519 u-boot and u-boot-env partitionsEddi De Pieri2016-11-231-0/+2
| | | | Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* uboot-envtools: make it not sharedEddi De Pieri2016-11-231-0/+2
| | | | | | | | | | | | uboot-envtools have some stuff related to the cpu. This should fix following error on lantiq soc: Downloading http://downloads.lede-project.org/snapshots/packages/mips_24kc/base/uboot-envtools_2015.10-1_mips_24kc.ipk. Configuring uboot-envtools. //usr/lib/opkg/info/uboot-envtools.postinst: .: line 10: can't open '/lib/ar71xx.sh' Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* uboot-lantiq: vgv7519 fix tftp loading of big kernel/image sizeEddi De Pieri2016-11-231-1/+3
| | | | | | | | | | | | | | | | | | On my board: Bytes transferred = 7084442 (6c199a hex) Image Name: MIPS OpenWrt Linux-3.10.49 Created: 2014-11-11 17:40:00 UTC Image Type: MIPS Linux Kernel Image (lzma compressed) Data Size: 7084378 Bytes = 6.8 MiB Load Address: 80002000 Entry Point: 80002000 Verifying Checksum ... OK Uncompressing Kernel Image ... LZMA: uncompress or overwrite error 7 - must RESET b ROM VER: 1.0.5 CFG 01 Signed-off-by: Eddi De Pieri <eddi@depieri.net>
* ramips: Add device DLINK DWR-512-BGiuseppe Lippolis2016-11-235-0/+142
| | | | | | | | | | | | | | | | | | | | | | The Dlink DWR-512-B modem is a ralink 5350 processor based embedding a 3G mini-pcie router. The oem JBOOT bootloader has to be replaced by a RT5350 SDK U-Boot such as https://github.com/stevenylai/ralink_sdk - U-Boot configured for the RT5350 256MiB SDR. Main reason to change the bootloader is the encrypted header used to store the kernel image. In this way an image can only be generated using the propietary binboy tool (included in the GPL distribution from Dlink). The binboy tool doesn't allow to modify the kernel/rootfs partition scheme. This is considered a big constraint (limited kernel size and inefficient usage of flash space). For interested people I pubblished the details of my investigation about the encrypted firmware header here: http://lists.infradead.org/pipermail/lede-dev/2016-October/003435.html Signed-off-by: Giuseppe Lippolis <giu.lippolis@gmail.com>
* ramips: do not append metadata to CY-SWR1100 factory imageMathias Kresin2016-11-231-1/+1
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: cleanup dts files of mt7621 based boardsMathias Kresin2016-11-2320-184/+130
| | | | | | | | | | | | | | | | | | | | Fix a typo in mt7621.dtsi compatible string. Disable spi, sdhci and pci in mt7621.dtsi and enable the nodes in the indiviual board dts files. The nodes require further device specific configuration anyway. Remove the m25p80@0 spi child node from mt7621.dtsi and add the chunked-io parameter to the individual board dts files. Fix the spi flash compatible string for the WNDR3700V5. Drop the mt7621-eval-board compatible string for all boards which are not the eval board. Drop the linux,modalias parameter from spi flash node. Remove the xhci node from board files, it is already enabled in dtsi. Disable xhci for boards not having usb ports populated. Signed-off-by: Mathias Kresin <dev@kresin.me>
* ramips: order mt7621.mk alphabeticalMathias Kresin2016-11-231-94/+94
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* ath10k-ct-firmware: Update to latest firmwares.Ben Greear2016-11-221-6/+6
| | | | | | | | | | | | The 10.1 includes a good many stability fixes related to the effort of backporting upstream 10.2 firmware. Also enables 802.1q vlan support. Successfully tested on apu2. The 10.4 firmwares including new backported code as well as stability fixes. 10.4 has been tested on Fedora x86-64 platforms, but not on LEDE specifically since I had issues compiling LEDE for my 9980/9984 AP hardware. Signed-off-by: Ben Greear <greearb@candelatech.com>
* ath10k-ct: Update to latest.Ben Greear2016-11-221-2/+2
| | | | | | Fixes locking issue, quietens some potential message floods. Signed-off-by: Ben Greear <greearb@candelatech.com>
* netifd: update to the latest versionFelix Fietkau2016-11-221-3/+3
| | | | | | Fixes config reload on bridge MAC address changes Signed-off-by: Felix Fietkau <nbd@nbd.name>