aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* lantiq: do not build images which exceed the flash sizeMathias Kresin2016-05-271-42/+46
| | | | | | | | | | The user benpicco in #openwrt reported that images are build which are bigger that the available flash size. He provided a proof of concept fix and gave permission to me to send it for inclusion. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: VGV7510KW22 - remove NOR SPL leftoversMathias Kresin2016-05-271-6/+2
| | | | | | Missed this one with my last cleanup patch. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7510KW22 - enable the IP101A phyMathias Kresin2016-05-272-5/+23
| | | | | | | | | | | | The RJ45 WAN port is used for xDSL as well as the IP101A. The pins 1,2,3,6 of the RJ45 are connected to the IP101A and the pins 4,5 are connected to the xdsl chip. Drop the ip101a-rst node. It can't be controlled and is not required at all. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7510KW22 - fix pinmux configurationMathias Kresin2016-05-271-25/+1
| | | | | | | | | | | The STP pinmux was initially added in assumption LAN2 led is driven by it. It worked somehow because STP group and gphy0 led0 share the GPIO. Do it the right way by adding the gphy0 led0 the gphy function. According to the author, the SPI node is a copy & paste leftover. Which makes sense since nothing is connected to the SPI bus on this device. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: Add Arcadyan VGV7519 supportMathias Kresin2016-05-272-1/+309
| | | | | | | | | | | | | | | | Based on a submission to the uboot-lantiq repo by Eddi De Pieri. Major cleanup and addition of brnboot second stage u-boot was done by me. The second stage brnboot u-boot is untested, since the brnboot prompt is secured by a still unknown password. But should work. The former ram values are replaced with the ram values extracted from the original brnboot. The old ones didn't worked with the ramboot image. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: vrx200 - lzma compress gphy firmwareMathias Kresin2016-05-272-18/+29
| | | | | | | | | | | | The default bootloader partition of some devices is to small for an u-boot with uncompressed gphy firmware(s). Instead of increasing the bootloader partition size, in compare to the stock firmware, compress the firmware. This would allow the bootloader of at least the FritzBox 3370 as well as the bootloader of the VGV7510KW22 to fit into the bootloader partition of the stock firmware. Signed-off-by: Mathias Kresin <dev@kresin.me>
* uboot-lantiq: vrx200 - add support for dual nor flashMathias Kresin2016-05-272-12/+30
| | | | | | | | Based on a submission to the uboot-lantiq repo by Eddi De Pieri. Devices like the xrx200 Arcadyan VGV7519 are using two NOR flash chips. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - fix brn partition layoutMathias Kresin2016-05-271-4/+50
| | | | | | | | | Use the brnboot partition layout as it is listed in the OpenWrt wiki article for this board. Configure the brnboot root selector for this device as well. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - get mac address from board_config partitionMathias Kresin2016-05-271-2/+3
| | | | | | | Use the mac address stored in the board_config partition instead of a static one. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - add vlan supportMathias Kresin2016-05-272-1/+3
| | | | | | Add the lantiq,switch property to enable vlans and setup them up. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - add second usb portMathias Kresin2016-05-271-0/+5
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - cleanup pinmux configurationMathias Kresin2016-05-271-15/+3
| | | | | | | | | | | | Cleanup the pinmux configuration by removing the unused spi node. Nothing is connected to the SPI bus on devices. The stp_out pinmux child node covers the same GPIOs as the already used stp group. The same applies to the gphy-leds_out pinmux node and the "gphy0 led1" as well as "gphy1 led0" groups. Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: VGV7519 - remove/merge redundant parts in dtsMathias Kresin2016-05-273-68/+21
| | | | Signed-off-by: Mathias Kresin <dev@kresin.me>
* lantiq: fix ARV4518PWR01 networkMohammed Berdai2016-05-271-0/+4
| | | | | | | | This patch fixes the missing Lan interface config in the file /etc/config/network for ARV4518PWR01/A which results in eth0 and br-lan being down and therefore no way to access the router unless via UART-TTL. Signed-off-by: Mohammed Berdai <mohammed.berdai@gmail.com>
* mac80211: brcmfmac: return -ENFILE if interface existsRafał Miłecki2016-05-301-1/+1
| | | | | | | This makes brcmfmac compatible with mac80211 which uses dev_alloc_name (and so returns -ENFILE on error). Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* mac80211: change default SSID from Lede to LEDERafał Miłecki2016-05-291-1/+1
| | | | | | | | | | LEDE project seems to be using "LEDE" as its acronym everywhere. To keep things consistent adjust default wireless SSID. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jo-Philipp Wich <jo@mein.io> Acked-by: John Crispin <john@phrozen.org> Acked-by: Alexander Couzens <lynxis@fe80.eu>
* ramips: add backported MT7628 pinmux fixesÁlvaro Fernández Rojas2016-05-294-2/+220
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* download.pl: Rework URLsDaniel Engberg2016-05-281-15/+32
| | | | | | | | Provide HTTPS URL when possible, try to keep 8 mirrors per entry and spread over several locations of the world. Since most active contributors are in US/CA and/or EU prioritize mirrors that are within those regions if possible. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kernel: fix dependency chain of kmod-igbJo-Philipp Wich2016-05-281-1/+1
| | | | | | | | | | | The igb kmods selects kmod-i2c-algo-bit which in turn is invisible until kmod-i2c-core gets selected, causing kmod-igb to be hidden from menuconfig as well. Let kmod-igb select kmod-i2c-core as well in order to make it visible in menuconfig right away. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* util-linux: fix breakageDirk Neukirchen2016-05-281-7/+25
| | | | | | | | | | | | | | | | | | | | | | | | | - install correct libs to staging/usr/lib fixes eudev, nfs-kernel-server the lib*.a seem broken - use the correct .so files and remove .a libs - some build breakage was observed with parallel builds: text-utils/more-more.o: In function `putstring': more.c:(.text+0x1f4): undefined reference to `tputs' text-utils/more-more.o: In function `initterm': more.c:(.text+0x1b74): undefined reference to `setupterm' more.c:(.text+0x1f0c): undefined reference to `tparm' more.c:(.text+0x20ac): undefined reference to `tigetnum' more.c:(.text+0x20c8): undefined reference to `tigetflag' more.c:(.text+0x20ec): undefined reference to `tigetstr' more.c:(.text+0x2148): undefined reference to `PC' text-utils/more-more.o: In function `reset_tty': more.c:(.text+0x2630): undefined reference to `tputs' - fix line length Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* base-files: rework postinstall uci-defaults handlingJo-Philipp Wich2016-05-271-5/+4
| | | | | | | | | | | | | | | Some package postinstall operations, e.g. those emitted by the LuCI build system, source and delete the uci-defaults themselves upon package insteall, causing the generic defaults apply code to trigger shell errors like: .../luci-app-ddns.postinst: .: line 130: can't open './40_luci-ddns' Rework the generic apply code to check the existence of the uci-defaults script before trying to source it, use sed to prefilter the list of entries from the control file and perform the directory change in a subshell, avoiding the need for cd $OLDPWD. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* util-linux: fix sfdiskDirk Neukirchen2016-05-271-86/+85
| | | | | | | | | | | | | | | | | | reported by reproducible openwrt project[1]: we package some libtool shell script - add missing dependencies - fix paths - make in InstallDev does not seem to be necessary tested (cal,dmesg,sfdisk) on x86 qemu VM with allyesconfig [1]: https://reproducible.debian.net/openwrt/openwrt.html [Jo-Philipp Wich: fix double slash in sfdisk path, reword commit message] Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: add GPIO pin for usb power switch for RouterBOARD 912Cezary Jackiewicz2016-05-271-0/+4
| | | | | | | RB912 has one usb shared between external USB and miniPCIe slot. GPIO52 can reroute power to external USB (=1) or internal miniPCIe slot (=0) Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* mediatek: more mtd fixesJohn Crispin2016-05-251-0/+62
| | | | | | this fixes full builds when ALL_KMODS is selected Signed-off-by: John Crispin <john@phrozen.org>
* lantiq: fix regression in VG3503J.dtsJohn Crispin2016-05-241-0/+2
| | | | | | | | 9d0608eef3e5b9fca - "lantiq: VG3503J - merge profiles" resulted in the dts file missing the version string. Signed-off-by: John Crispin <john@phrozen.org>
* procd: Update to latest headAlexey Brodkin2016-05-241-2/+2
| | | | | | | | This includes a fix for building against uClibc: http://git.openwrt.org/?p=project/procd.git;a=commit;h=9a6f83d3c168523ac7b898ae481c2fd8c501d6a6 Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com> Cc: John Crispin <john@phrozen.org>
* mediatek: update mtd backportJohn Crispin2016-05-241-626/+423
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* sdk: remove redundant symbol declarationJo-Philipp Wich2016-05-241-7/+0
| | | | | | | | Commit d79f8909c1bde8376c82537798ce363797033cf9 introduced CONFIG_ALL, CONFIG_ALL_KMODS and CONFIG_ALL_NONSHARED as menuconfig choices to the SDK, therefor we can drop the hardcoded CONFIG_ALL symbol declaration now. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* sdk: stop shipping a .configJo-Philipp Wich2016-05-241-1/+0
| | | | | | | | | | | | | | | | Now that the most important options are exposed via menuconfig in the SDK we can stop shipping a (possibly outdated) copy of .config from the emitting buildroot. Leaving out .config has two positive side effects: - A simple "make" run without any prior config will launch menuconfig, forcing interactive users to make appropriate choices - Buildbot systems (e.g. our phase2 builder) can issue a "make defconfig" to obtain a .config enabling all packages by default Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* iproute2: Use URL aliasDaniel Engberg2016-05-241-1/+1
| | | | | | Remove hardcoded URLs and use alias instead. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* iw: Use URL aliasDaniel Engberg2016-05-241-1/+1
| | | | | | Remove hardcoded URL and use alias instead. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* kirkwood: add missing kernel symbolJo-Philipp Wich2016-05-241-0/+1
| | | | | | | The query for ARMADA_THERMAL is stalling the kconfig process and as long as we do not package it, simply disable the symbol. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* jsonfilter: allow empty pathsJo-Philipp Wich2016-05-241-2/+2
| | | | | | | Allow path specifications to refer to just '@' or '$' which is useful for exporting the keys or array indizes of the toplevel object to the shell. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* dropbear: Fix incorrect CONFIG_TARGET_INIT_PATH.Dario Ernst2016-05-241-2/+2
| | | | | | | Fix a „semantic typo“ introduced in b78aae793e20e06defa1e75ab4d30dbb6807c139, where TARGET_INIT_PATH was used instead of CONFIG_TARGET_INIT_PATH. Signed-off-by: Dario Ernst <Dario.Ernst@riverbed.com>
* x86: generalize partition discovery for sysupgradeJo-Philipp Wich2016-05-243-26/+55
| | | | | | | | | | | | | | | Generalize the partition discovery in sysupgrade in order to fix sysupgrade and config backup/recovery on MMC block devices which use a different naming scheme compared to mtdblock or sd* devices. The change also adds the find applet to the ramdisk utilities so that upgrade code can rely on it. The commit is based on the initial submission by Russell Senior at http://patchwork.ozlabs.org/patch/625440/ . Signed-off-by: Russell Senior <russell@personaltelco.net> Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* Centralize setting of all version info to include/version.mkHannu Nyman2016-05-243-3/+3
| | | | | | | | | Centralize setting all version information in include/version.mk * Set RELEASE env variable in include/version.mk instead of toplevel.mk. Stop exporting the variable. * Remove hardcoded release name from /etc/banner Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
* busybox: sysntpd - Support for NTP servers received via DHCP(v6)Hans Dedecker2016-05-242-7/+54
| | | | | | | | | | The busybox ntpd utility currently uses ntp servers specified in uci. This patch allows the ntpd utility to use NTP servers received via DHCP(v6) Following uci parameters have been added: use_dhcp : enables NTP server config via DHCP(v6) dhcp_interface : use NTP servers received only on the specified DHCP(v6) interfaces; if empty all interfaces are considered Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
* dnsmasq: Set the default dhcp lease file and resolv fileDaniel Dickinson2016-05-241-4/+12
| | | | | | | | Instead of making assumptions about the leasefile and resolv file make sure we use what the user configures, but fall back to defaults if no configuration is specified Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
* sdk: Allow to change ALL* package settings in SDKDaniel Dickinson2016-05-241-0/+16
| | | | | | | | | | | | It is desirable to be able to use ./scripts/feeds install -a when in the SDK without being forced to build a great number of packages that are not actually wanted. We therefore add the option of changing the various ALL package build options so that we can default to packages not being built unless we select them. Signed-off-by: Daniel Dickinson <lede@daniel.thecshore.com>
* usbutils: Use github aliasDaniel Engberg2016-05-241-1/+1
| | | | | | Instead of hardcoding URL to Github use alias. Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>
* dnsmasq: update to dnsmasq v2.76Kevin Darbyshire-Bryant2016-05-244-10/+28
| | | | | | | Update to dnsmasq2.76. Refresh patches. Add new patch to fix musl 'poll.h' location warning. Signed-off-by: Kevin Darbyshire-Bryant <kevin@darbyshire-bryant.me.uk>
* conntrack: enable support for netfilter conntrack zonesAlin Năstac2016-05-241-0/+1
| | | | | | | Storage of such zones is provided by a nf_ct_ext struct, hence conntrack memory foot print will not be increased if zones are not used. Signed-off-by: Alin Năstac <alin.nastac@gmail.com>
* ramips: Add status led for Xiaomi MiWiFi NanoCezary Jackiewicz2016-05-231-1/+2
| | | | Signed-off-by: Cezary Jackiewicz <cezary@eko.one.pl>
* ramips: fix timing issues when using MT7621 spiJohn Crispin2016-05-231-3/+6
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* scripts/download.pl: Use CDN for kernel downloadsPetr Štetiar2016-05-231-2/+2
| | | | | | More info at https://www.kernel.org/introducing-fastly-cdn.html Signed-off-by: Petr Štetiar <ynezz@true.cz>
* package: spidev_test: update location for >Kernel 4.5Dirk Neukirchen2016-05-231-0/+9
| | | | | | | | - document indirect source code fixup affecting spidev_test v2: check against old Kernel versions Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
* mvebu: configure switch on WRT1200AC and WRT1900ACv2/SClaudio Leite2016-05-231-6/+4
| | | | | | Also collapses the three identical configurations into one block. Signed-off-by: Claudio Leite <leitec@staticky.com>
* ar71xx/cpe510: use second wifi calibration tableAlexander Couzens2016-05-231-1/+1
| | | | | | | The cpe510 has two calibration tables. The first calibration table requires to modify ath9k driver to work (patched tx gain table). Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* ar71xx/cpe510: split profile into 2 profiles cpe210 and cpe510Alexander Couzens2016-05-238-10/+43
| | | | | | | Split profile into 2GHz and 5GHz. The 5GHz devices are quite "special". The 2 GHz works perfect. Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
* image.mk: remove obsolete SUBTARGETS variableFelix Fietkau2016-05-231-1/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>