aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* brcm63xx: Livebox 1: add userspace board supportDaniel Gonzalez Cabanelas2016-11-213-0/+12
| | | | | | | | | | Fix configuration files for the Livebox 1 routers. - Add status led - Set eth0 as the LAN port, for coherence with RedBoot and comfortability. - Add led triggers Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Livebox 1: relocate the kernel to fix bootDaniel Gonzalez Cabanelas2016-11-212-2/+2
| | | | | | | | Fix Image generation for the Livebox 1 - missing "relocate-kernel", wrong "LOADADDR", fix it Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Livebox 1: fix part probe nameDaniel Gonzalez Cabanelas2016-11-211-1/+1
| | | | | | | | Fix the DTS file for the Livebox 1 routers: - part probe wrong, it should be RedBoot (uppercase matters) Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Livebox 1: fix led namingDaniel Gonzalez Cabanelas2016-11-211-5/+5
| | | | | | | | Fix the DTS file for the Livebox 1 routers: - leds are totally wrong, fix them. Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: Livebox 1: use button 1 as failsafe buttonDaniel Gonzalez Cabanelas2016-11-211-3/+3
| | | | | | | | Fix the DTS file for the Livebox 1 routers: - no failsafe button, use button 1 for this purpose Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com> Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
* base-files: ignore failure of stopping services on removalJonas Gorski2016-11-211-1/+1
| | | | | | | | | Packages that do a killall <cmd> with the same name as the init script will fail the prerm step when the service isn't running. Do make them removable without having to restart the service, ignore the return code. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* opkg: run prerm scripts for the old version also on upgradeJonas Gorski2016-11-212-1/+74
| | | | | | | | | To make sure we properly restart services on upgrade we need to call the prerm script of the old package, in case the init script changes (or vanishes). Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* base-files: don't modify enabled state of service on upgradeJonas Gorski2016-11-212-11/+13
| | | | | | | | Properly stop/start services on upgrade, but don't change the enabled state. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* opkg: set PKG_UPGRADE also when running scripts for the old packageJonas Gorski2016-11-215-15/+16
| | | | | | | | Allow scripts from the package to be upgraded to be aware of being upgraded. Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io>
* Revert "grub2: add PKG_FIXUP:=autoreconf"John Crispin2016-11-211-1/+0
| | | | | | | | this caused build errors on x86 This reverts commit a0ea22ac430f91ab045431a79b2e2161e66cd56a. Signed-off-by: John Crispin <john@phrozen.org>
* ramips: fix wrong check for MT7621ATAndrew Yong2016-11-211-1/+1
| | | | | | | fix in sdhci Use ralink_soc == MT762X_SOC_MT7621AT instead of CONFIG_SOC_MT7621 which is wrong and breaks builds on mt7620a-similar platforms (MT7621, MT7688) Signed-off-by: Andrew Yong <me@ndoo.sg>
* lantiq: add missing metadata for tp-link imagesFelix Fietkau2016-11-211-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* scripts/getver.sh: treat all commits as local if can't find upstreamRafał Miłecki2016-11-211-1/+1
| | | | | | | | | | | | | | | If something goes wrong and script can't find upstream revision it will return something like: r2220 which looks like a valid upstream revision 2220. We cant' distinguish it from e.g. 2200 upstream commits and 20 local ones. The new format still provides revision number but also points clearly that is may be not the upstream one: r0+2220 Signed-off-by: Rafał Miłecki <rafal@milecki.pl> Acked-by: John Crispin < john@phrozen.org>
* grub2: add PKG_FIXUP:=autoreconfAlexandru Ardelean2016-11-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | The host-side build of grub2 requires this sometimes. This will re-generate the ./configure script from configure.ac. I don't know the conditions of how this reproduces, it just sometimes appears, and sometimes doesn't. Build error ``` <lede-dir>/build_dir/target-x86_64_musl-1.1.15_yogi/host/grub-2.02~beta2/build-aux/missing: line 81: aclocal-1.14: command not found WARNING: 'aclocal-1.14' is missing on your system. You should only need it if you modified 'acinclude.m4' or 'configure.ac' or m4 files included by 'configure.ac'. The 'aclocal' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/> Makefile:3962: recipe for target 'aclocal.m4' failed ``` Adding PKG_FIXUP adds sanity (i.e. autoreconf is used for host & target builds) over just using HOST_FIXUP. Signed-off-by: Alexandru Ardelean <ardeleanalex@gmail.com>
* ramips: Fix sdhci kernel panics on MT7621Andrew Yong2016-11-211-2/+2
| | | | | | | | | | | | | | Enable work-arounds present in the code commented-out but needed to write to sdcard on mt7621 which currently causes kernel to oops when engaging in serious writing to sdcard. With this change applied, there are still occasional warnings thrown by the mmc driver, however, at least it no longer crashes the system and even large writes (full-card dump/erase/write/compare) don't show any corruption. Signed-off-by: Daniel Golle <daniel@makrotopia.org> Rebase to LEDE and added "CONFIG_SOC_MT7621" check to ensure non-MT7621 devices do not face performance regressions. Signed-off-by: Andrew Yong <me@ndoo.sg>
* odhcpd: update to latest git HEADJohn Crispin2016-11-211-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>