aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* build: rework prepare_rootfs to pass target dir via parameterFelix Fietkau2016-07-292-16/+16
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: add wrapper variable to get the target dir for mkfs commandsFelix Fietkau2016-07-291-8/+10
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: make mkfs template output to $@Felix Fietkau2016-07-291-10/+18
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: move rootfs processing code to include/rootfs.mk so it can be reused ↵Felix Fietkau2016-07-292-74/+80
| | | | | | later Signed-off-by: Felix Fietkau <nbd@nbd.name>
* apm821xx: only attempt to mount /boot on MyBook LiveFelix Fietkau2016-07-291-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix switch configuration for EASY80920Hauke Mehrtens2016-07-284-24/+27
| | | | | | | | The device tree description misses some Ethernet ports and there was no model specified for this board. In addition there was no switch specific default configuration created. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* kernel: fix crashlog issues on various architecturesFelix Fietkau2016-07-281-13/+25
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* lantiq: fix WBMR-300HPD switch port assignmentFelix Fietkau2016-07-281-4/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* octeon: fix image buildJo-Philipp Wich2016-07-281-1/+1
| | | | | | | | | | | | | | After b47f438 "build: remove image prefix from kernel files in KDIR", the kernel image in $(KDIR) has a different name and could not be found by the tar-file build step anymore, leading to the following error on the build servers: cp: cannot stat `.../linux-octeon/lede-octeon-generic-kernel.bin': No such file or directory make[4]: *** [.../linux-octeon/tmp/lede-octeon-generic-ext4-sysupgrade.tar] Error 1 Adjust the path to the source kernel image in order to fix the problem. Signed-off-by: Jo-Philipp Wich <jo@mein.io>
* ar71xx: don't use D-Link DIR-505 status LED as ethernet indicatorMatthias Schiffer2016-07-281-4/+0
| | | | | | | | | The stock firmware uses the single LED as status indicator only. Using the same LED both for status and as ethernet indicator is uncommon, and has been confusing users who were using the device as a WLAN mesh node (so the LED was just off, as no ethernet was connected). Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* ar71xx: add revision detection for D-Link DIR-505 A1/A2Matthias Schiffer2016-07-281-0/+10
| | | | | | The A1 image also works on the A2, correctly set AR71XX_MODEL in this case. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* brcmfmac43430-firmware: update to v7.45.41.26Álvaro Fernández Rojas2016-07-281-3/+3
| | | | Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
* bcm53xx: enable kernel symbols/drivers needed for BCM53573Rafał Miłecki2016-07-281-2/+7
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: backport DTS patches for USB 2.0 and Tenda AC9Rafał Miłecki2016-07-284-2/+321
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* bcm53xx: refresh kernel patchesRafał Miłecki2016-07-282-3/+3
| | | | Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
* ar71xx: add a missing ;; to ar71xx.shJohn Crispin2016-07-241-0/+1
| | | | | | | | commit 42305ae24aa7 ("ar71xx: add support for gl-mifi") was missing a ;; breaking boot up Signed-off-by: John Crispin <john@phrozen.org>
* netifd: Use -x hostname:$hostname instead of -HMerlijn Wajer2016-07-241-1/+1
| | | | | | | | | | | | | | | | | | | | | Passing the hostname is currently broken in since the shipped busybox includes this commit: https://git.busybox.net/busybox/commit/networking/udhcp/dhcpc.c?id=2017d48c0d70bef8768efb42909e605ea8eb5a21 Before: Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is now down Sun Jan 31 18:11:32 2016 daemon.notice netifd: Interface 'wan' is setting up now Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: option -h NAME is deprecated, use -x hostname:NAME Sun Jan 31 18:11:32 2016 daemon.notice netifd: wan (18158): udhcpc: malformed hex string 'WR150' After: Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): udhcpc (v1.23.2) started Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending discover... Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Sending select for xxx.yyy.zzz.xyz... Sun Jan 31 18:11:33 2016 daemon.notice netifd: wan (18169): Lease of xxx.yyy.zzz.xyz obtained, lease time 600 Signed-off-by: Merlijn Wajer <merlijn@wizzup.org>
* base-files: sysupgrade: fix pseudobridge upgradesConn O'Griofa2016-07-241-1/+1
| | | | | | Treat 'relayd' as an essential service to avoid connection interruptions during sysupgrade on devices configured as a pseudobridge. Signed-off-by: Conn O'Griofa <connogriofa@gmail.com>
* b53: allow ports with higher numbers than CPU portRafał Miłecki2016-07-241-2/+1
| | | | | | | | | | | | | | Our code was assuming CPU port uses the highest number. My BCM53573 device has eth0 connected to port 8 and eth1 connected to port 5. While working on support for it I tried to: 1) Enable all ports (including port 8) 2) Set CPU port to 5 I noticed port 8 is not accessible anymore. It was just a development process but it seems like something worth fixing anyway. Signed-off-by: Rafał Miłecki <zajec5@gmail.com> Acked-by: Jonas Gorski <jonas.gorski@gmail.com>
* brcm63xx: fix HG556a C buttondani2016-07-241-1/+1
| | | | | | | One button of the HG556a-C has the wrong GPIO pin defined in the dts file, fix it Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>
* mountd: update to latest git HEADJohn Crispin2016-07-241-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* firewall3: update to latest git HEADJohn Crispin2016-07-241-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ugps: update to latest git HEADJohn Crispin2016-07-241-2/+2
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ramips: unify etc/board.d/01_leds configurationP.Wassi2016-07-241-2/+2
| | | | | | | Introduce an optional parameter at the local set_usb_led and set_wifi_led function such that they can take a triggering device. If no parameter is passed, behaviour is unchanged. Signed-off-by: P.Wassi <p.wassi@gmx.at>
* ar71xx: add support for gl-mifiZhao Gang2016-07-2410-0/+148
| | | | | | | This add initial support for gl-mifi. Product page: http://www.gl-inet.com/mifi/ Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
* ramips: dch-m225 don't have ethernet. default enable wifiMichael Lee2016-07-241-0/+21
| | | | Signed-off-by: Michael Lee <igvtee@gmail.com>
* ramips: remove indentation in etc/board.d/01_ledsPaul Wassi2016-07-241-1/+1
| | | | | Remove indentation at end of line in base-files/etc/board.d/01_leds Signed-off-by: Paul Wassi <p.wassi@gmx.at>
* ramips: add missing i2s aliasJohn Crispin2016-07-241-1/+1
| | | | Signed-off-by: John Crispin <john@phrozen.org>
* ar71xx: clean up legacy-devices.mkMatthias Schiffer2016-07-272-322/+407
| | | | | | | | | Several legacy images were not buildable because of missing profile definitions in legacy-devices.mk since MultiProfile was removed. Update legacy-devices.mk to provide all necessary profiles, and change ordering to match legacy.mk. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
* toolchain/gcc/arc-2016.03: Fix building on hosts with gcc 6.xAlexey Brodkin2016-07-271-0/+153
| | | | | | | | | | | | | On attempt to build ARC toolchain on the host with gcc 6.1 I saw the same failure as described in https://gcc.gnu.org/bugzilla/show_bug.cgi?id=69959 This change adds a back-port of the fix from upstream gcc, see https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=233572 Note the fix is already a part of gcc-5.4 and gcc-6.1 so no need for the same fix for others. Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
* hostapd: backport mesh/ibss HT20/HT40 related fixFelix Fietkau2016-07-276-8/+69
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* fstools: update to latest HEADDaniel Golle2016-07-271-2/+2
| | | | | | | | Fixes duplicate ubiblock entries being listed and improves find_mount_point to also match against a block device's major:minor numbers (needed e.g. for /dev/root). Signed-off-by: Daniel Golle <daniel@makrotopia.org>
* base-files: use procd init for urandom_seedEtienne CHAMPETIER2016-07-272-25/+28
| | | | | | | | | | Previous implementation was blocking the init and breaking halt/reboot/sysupgrade (reported by Daniel Golle) v2: use procd logging, use set -e + trap for error handling Signed-off-by: Etienne CHAMPETIER <champetier.etienne@gmail.com> Tested-by: Daniel Golle <daniel@makrotopia.org>
* mvebu: limit image builds to profile selectionFelix Fietkau2016-07-261-0/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* base-files: remove support of profile-specific base-filesFelix Fietkau2016-07-261-15/+0
| | | | | | | It is incompatible with multi-profile builds and has not been used in-tree anyway. Signed-off-by: Felix Fietkau <nbd@nbd.name>
* ath9k: fix warning in client mode (GH#195)Felix Fietkau2016-07-261-0/+69
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove image prefix from kernel files in KDIRFelix Fietkau2016-07-251-6/+7
| | | | | | | This allows the image builder to change EXTRA_IMAGE_NAME at a later point in time without breaking the build Signed-off-by: Felix Fietkau <nbd@nbd.name>
* build: remove cpio.gz and tar.gz from regular filesystem typesFelix Fietkau2016-07-252-15/+16
| | | | | | | They are not used to produce regular firmware images anyway. Instead, call their build templates directly if enabled in the config Signed-off-by: Felix Fietkau <nbd@nbd.name>
* image: remove shell calls from legacy ubi/ubifs image codeFelix Fietkau2016-07-252-11/+5
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* kirkwood: fix UBIFS_OPTS variable in image buildFelix Fietkau2016-07-251-1/+1
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* Remove existing old link before creating a new oneStefan Weil2016-07-251-1/+2
| | | | | | | This is needed after a kernel update, otherwise the new link is written as linux/linux-$(LINUX_VERSION). Signed-off-by: Stefan Weil <sw@weilnetz.de>
* apm821xx: fix atheros PCIe cards on the MR24Christian Lamparter2016-07-251-9/+12
| | | | | | | | | | | | | | | The consolidation of the MR24 and WNDR4700 subtargets into the nand subtarget broke MR24's atheros wlan. This was because the wndr4700's board code used a pci_fixup routines to supply the ath9k module with the calibration data. This is not necessary on the MR24 as it has standard mini-pcie ports. Hence the two AR9380 mini-pcie cards do not need any calibration data overrides. Cc: chrisrblake93@gmail.com Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* apm821xx: use lzma compression for the initramfs imagesChristian Lamparter2016-07-252-1/+2
| | | | | | | | | | | | | | | | | | | | | | The MR24's u-boot takes it sweet time decompressing the LZMA-packed initramfs image. A user reported that compared to the old gzip method in v2: it "takes a ton longer to decompress like 4\x the old boot time for decompression". This patch also fixes a issue with the WNDR4700's initramfs image getting to big and causing the following u-boot crash during the decompression: "Uncompressing Multi-File Image ... Error: inflate() returned -5 out-of-mem or overwrite error - must RESET board to recover" This patch fixes both issues by reverting the MR24's initramfs compression method back to gzip. And choosing to compress the initramfs within the initramfs image as LZMA by default. Cc: chrisrblake93@gmail.com Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
* ath9k: remove intermediate queueing patch until it is fixed properlyFelix Fietkau2016-07-241-871/+0
| | | | Signed-off-by: Felix Fietkau <nbd@nbd.name>
* iperf3: update to version 3.1.3Hauke Mehrtens2016-07-241-2/+2
| | | | | | | | | | old size: iperf3_3.0.11-1_mips_34kc_dsp.ipk 30147 new size: iperf3_3.1.3-1_mips_34kc_dsp.ipk 33640 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* iperf: update to version 2.0.9Hauke Mehrtens2016-07-241-2/+2
| | | | | | | | | | old size: iperf_2.0.8-1_mips_34kc_dsp.ipk 27911 new size: iperf_2.0.9-1_mips_34kc_dsp.ipk 28681 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* cyassl: update to wolfssl version 3.9.6Hauke Mehrtens2016-07-241-2/+2
| | | | | | | | | | | | Changelog: https://www.wolfssl.com/wolfSSL/Docs-wolfssl-changelog.html old size: libcyassl_3.9.0-1_mips_34kc_dsp.ipk 147552 new size: libcyassl_3.9.6-1_mips_34kc_dsp.ipk 150087 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* curl: update to version 7.50.0Hauke Mehrtens2016-07-242-4/+4
| | | | | | | | | | | | | | Changelog: https://curl.haxx.se/changes.html old sizes: libcurl_7.49.0-1_mips_34kc_dsp.ipk 97569 curl_7.49.0-1_mips_34kc_dsp.ipk 37925 new sizes: libcurl_7.50.0-1_mips_34kc_dsp.ipk 97578 curl_7.50.0-1_mips_34kc_dsp.ipk 38017 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
* openssl: re-enable NPN by defaultFelix Fietkau2016-07-241-1/+1
| | | | | | Several packages rely on it Signed-off-by: Felix Fietkau <nbd@nbd.name>
* openssl: add back the CAST cipher by defaultFelix Fietkau2016-07-241-1/+1
| | | | | | At least netatalk and some ipsec packages use it Signed-off-by: Felix Fietkau <nbd@nbd.name>