Jo-Philipp Wich [Tue, 9 Feb 2016 12:33:25 +0000 (12:33 +0000)]
ubox: fix open() error handling (#21826)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48683
Jo-Philipp Wich [Tue, 9 Feb 2016 12:33:17 +0000 (12:33 +0000)]
x86: preserve partition table on sysupgrade
With this patch sysupgrade will write directly to the partitions
instead of to the main disk. The UUID is copied from the image
to the MBR as well. This prevents the mbr from being completely
overwritten and losing the partition table. The -p option has
been added to maintain the original behavior and overwite the
entire disk with the new image. Tests have been added to ensure
that the image partitions match up with the active partitions.
Signed-off-by: Rob Mosher <nyt-openwrt@countercultured.net>
SVN-Revision: 48682
Felix Fietkau [Mon, 8 Feb 2016 19:18:21 +0000 (19:18 +0000)]
ramips: fix build error on oversized images by putting the dir-860l-b1 size check at the end of the chain
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48681
Felix Fietkau [Mon, 8 Feb 2016 18:44:21 +0000 (18:44 +0000)]
kernel: enable CONFIG_KALLSYMS_UNCOMPRESSED=y
It was enabled ages ago when it was added.
It still saves about 10k after LZMA, so let's enable it again.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48680
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:57 +0000 (14:28 +0000)]
dropbear: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48679
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:50 +0000 (14:28 +0000)]
base-files: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48678
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:42 +0000 (14:28 +0000)]
procd: honor CONFIG_TARGET_INIT_PATH
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48677
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:35 +0000 (14:28 +0000)]
rules.mk: add TARGET_INIT_PATH toplevel variables
Add a new variable TARGET_INIT_PATH which holds the default $PATH variable
value configured in menuconfig.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48676
Jo-Philipp Wich [Mon, 8 Feb 2016 14:28:29 +0000 (14:28 +0000)]
generic: add missing kconfig symbol
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48675
Felix Fietkau [Mon, 8 Feb 2016 13:38:22 +0000 (13:38 +0000)]
mt76: update to the latest version, fixes fragmented rx issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48674
Felix Fietkau [Mon, 8 Feb 2016 13:38:11 +0000 (13:38 +0000)]
mac80211: improve a-msdu rx performance by avoiding unnecessary data copying
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48673
Felix Fietkau [Mon, 8 Feb 2016 13:38:03 +0000 (13:38 +0000)]
mac80211: fix a memory leak in a-msdu rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48672
Felix Fietkau [Mon, 8 Feb 2016 13:37:55 +0000 (13:37 +0000)]
mac80211: update A-MSDU tx patch to the latest version
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48671
Felix Fietkau [Mon, 8 Feb 2016 13:37:47 +0000 (13:37 +0000)]
mac80211: refresh patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48670
Jo-Philipp Wich [Mon, 8 Feb 2016 10:58:34 +0000 (10:58 +0000)]
linux: fix kmod-backlight-pwm
Also remove erroneous =m overrides from kconfig symbol list.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48669
Jo-Philipp Wich [Mon, 8 Feb 2016 10:58:27 +0000 (10:58 +0000)]
x86: remove unrelated config override
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48668
John Crispin [Mon, 8 Feb 2016 09:22:56 +0000 (09:22 +0000)]
brcm2708: add missing symbols
enable CONFIG_PWM
enable the RASPI PWM stuff
fix buildbot w. 4.1
compile tested only
Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
SVN-Revision: 48667
John Crispin [Mon, 8 Feb 2016 08:26:27 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Enable GPIO14 for WPS button
The top half of UARTF on the HLK-RM04 is used for GPIO.
mode 1 mode 2
RIN GPIO14
DSR_N GPIO13
DCD_N GPIO12
DTR_N GPIO11
RXD GPIO10
CTS_N GPIO09
TXD GPIO08
RTS_N GPIO07
This patch applies 3'b101 mode to UARTF:
GPIO14
GPIO13
GPIO12
GPIO11
RXD
CTS_N
TXD
RTS_N
Because the base rt5350.dtsi file forces 3'b000 mode, remove the pin setting from this file and apply it directly to the files that inherit from it (WIZFI630A.dts and WT1520.dtsi). This change makes the rt5350.dtsi file consistent with the mt7620a.dtsi file.
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48665
John Crispin [Mon, 8 Feb 2016 08:26:19 +0000 (08:26 +0000)]
rampis: HLK-RM04 - Setup I2C as GPIO
The I2C function of the RT5350 SoC on the HLK-RM04 is used for GPIO1 and GPIO2.
Take note that the I2C_SD pin is GPIO1 on the RT5350 and is exposed on the HLK-RM04 as GPIO0
Likewise the I2C_SCLK pin is GPIO2 on the RT5350 and is exposed on the HLK-RM04 as GPIO1
group mode 1 mode 2 hlk-rm04 pin & export
i2c i2c_sd gpio1 (pin 8, hlk-rm04:gpio0)
i2c i2c_sclk gpio2 (pin 9, hlk-rm04:gpio1)
reference:
http://www.hlktech.net/product_detail.php?ProId=39
http://cdn.sparkfun.com/datasheets/Wireless/WiFi/RT5350.pdf
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48664
John Crispin [Mon, 8 Feb 2016 08:26:11 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Fix push button functions
The RESET button of the HLK-RM04 is connected to GPIO0, linux function 0x198
The WPS button of the HLK-RM04 is connected to GPIO14, linux function 0x211
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48663
John Crispin [Mon, 8 Feb 2016 08:26:02 +0000 (08:26 +0000)]
ramips: HLK-RM04 - Remove power LED config
The power LED on the HLK-RM04 is hard wired to the power bus and is not under GPIO control, remove the bogus config for it.
(Note that GPIO0 is actually connected to the RESET button.)
Signed-off-by: John Clark <inindev@gmail.com>
SVN-Revision: 48662
John Crispin [Mon, 8 Feb 2016 08:25:53 +0000 (08:25 +0000)]
base-files: For sysfixtime use hwclock if RTC available
On systems that have an RTC prefer it to the file-based time fixup (i.e.
use hwclock when there is a permanent clock instead of the faked up time
logic that is needed when there is not RTC).
We can't rely on hctosys kernel feature either as we're usually using
RTC as kernel modules which are usually being loaded after hctosys was
run, leading in the following error:
hctosys: unable to open rtc device (rtc0)
Signed-off-by: Daniel Dickinson <openwrt@daniel.thecshore.com>
Signed-off-by: Petr Štetiar <ynezz@true.cz>
SVN-Revision: 48661
John Crispin [Mon, 8 Feb 2016 08:25:46 +0000 (08:25 +0000)]
tools/gmp: update to 6.1.0
Update gmp to version 6.1.0, released in November 2015.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 48660
John Crispin [Mon, 8 Feb 2016 08:25:39 +0000 (08:25 +0000)]
tools/cmake: update to 3.4.3
Update cmake to 3.4.3.
Signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>
SVN-Revision: 48659
John Crispin [Mon, 8 Feb 2016 08:25:31 +0000 (08:25 +0000)]
lantiq: VGV7510KW22/VGV7519 update spi pinmux group
With the backport of the kernel 4.5 pinctrl-xway patches (
3551609d &
826bca29) the pinmux group "spi" was splitted into "spi_di", "spi_do" &
"spi_clk". But the no longer existing group "spi" is still used by some
device tree source files.
This fixes the detection of the wireless chipset of the VGV7510KW22.
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48658
John Crispin [Mon, 8 Feb 2016 08:25:22 +0000 (08:25 +0000)]
lantiq: BTHOMEHUBV5A - explicit select the flash device
The stock u-boot doesn't disable unused flash banks. Therefore, the nand
driver tries to initialize a not connected NOR flash and the device
hangs on boot.
Workaround the issue by selecting the second flash bank (NAND).
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
Acked-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
SVN-Revision: 48657
John Crispin [Mon, 8 Feb 2016 08:25:15 +0000 (08:25 +0000)]
lantiq: fix wrong parameter order in xway_nand driver
Signed-off-by: Mathias Kresin <openwrt@kresin.me>
SVN-Revision: 48656
Felix Fietkau [Mon, 8 Feb 2016 08:03:06 +0000 (08:03 +0000)]
relayd: update to the latest version, fixes some more connectivity issues (#21817)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48655
Rafał Miłecki [Mon, 8 Feb 2016 07:30:49 +0000 (07:30 +0000)]
linux-firmware: package BCM4366 firmware
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48654
Rafał Miłecki [Sun, 7 Feb 2016 23:12:38 +0000 (23:12 +0000)]
mac80211: fix flowrings infinite loops in brcmfmac on BCM4366
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48653
Felix Fietkau [Sun, 7 Feb 2016 21:00:11 +0000 (21:00 +0000)]
ar71xx: register only the built-in switch MDIO bus, hook up eth0 to it, should hopefully fix regression reported in #21520
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48652
Felix Fietkau [Sun, 7 Feb 2016 21:00:01 +0000 (21:00 +0000)]
ar71xx: fix MDIO bus probe on QCA956x
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48651
Felix Fietkau [Sun, 7 Feb 2016 20:59:51 +0000 (20:59 +0000)]
ar71xx: fold patch 622-MIPS-ath79-add-support-for-QCA956x-ethernet.patch into files/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48650
Felix Fietkau [Sun, 7 Feb 2016 20:15:21 +0000 (20:15 +0000)]
busybox: fix route tables in ip rule show output
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48649
Felix Fietkau [Sun, 7 Feb 2016 14:30:01 +0000 (14:30 +0000)]
mac80211: merge a fix for minstrel expected throughput reporting
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48648
Felix Fietkau [Sun, 7 Feb 2016 14:29:51 +0000 (14:29 +0000)]
mac80211: merge a few mesh fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48647
Felix Fietkau [Sun, 7 Feb 2016 14:18:43 +0000 (14:18 +0000)]
base-files: set mac address in default network config via device sections
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48646
Felix Fietkau [Sun, 7 Feb 2016 14:18:36 +0000 (14:18 +0000)]
mpc85xx: fix TL-WDR4900 mac address assignment to match original firmware
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48645
Felix Fietkau [Sun, 7 Feb 2016 13:29:34 +0000 (13:29 +0000)]
udev: delete package, it is old and not used by any core packages/targets
udev or eudev will be added to the packages feed instead
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48644
Felix Fietkau [Sun, 7 Feb 2016 13:29:27 +0000 (13:29 +0000)]
iptables: using external kernel tree should not alter patch behaviour.
iptables is the only exception in the package tree, causing patch
behaviour to be inconsistent on this package.
Signed-off-by: Rick van der Zwet <rick.vanderzwet@anywi.com>
SVN-Revision: 48643
Felix Fietkau [Sun, 7 Feb 2016 13:29:16 +0000 (13:29 +0000)]
build: don't add -fno-plt for ARC
Curent ARC toolchain fails to build libstdc++ if -fno-plt is used.
Lots of following error messages appear:
------------------->8------------------
...
staging_dir/toolchain-arc_arc700_gcc-arc-2015.06_uClibc-1.0.9/arc-openwrt-linux-uclibc/bin/ld:
BFD (GNU Binutils) 2.23.2 assertion fail elf32-arc.c:2786
collect2: error: ld returned 1 exit status
------------------->8------------------
In newer binutils (still in development) for ARC rewritten from
scratch this seem to not happen, so once new binutils for ARC hit
the street this patch might be reverted.
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Felix Fietkau <nbd@openwrt.org>
Cc: Jo-Philipp Wich <jow@openwrt.org>
Cc: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 48642
Felix Fietkau [Sun, 7 Feb 2016 13:29:08 +0000 (13:29 +0000)]
ath9k: merge fix for noise floor calibration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48641
Rafał Miłecki [Sat, 6 Feb 2016 17:10:10 +0000 (17:10 +0000)]
mac80211: add first brcmfmac patches for 14e4:4365 BCM4366 support
It's not really supported yet as it still fails with:
brcmfmac: brcmf_pcie_download_fw_nvram: FW failed to initialize
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48640
Rafał Miłecki [Sat, 6 Feb 2016 16:29:12 +0000 (16:29 +0000)]
mtd: detect image format when writing
Recently TRX checking code was changed to detect Seama format and don't
abort whole writing operation because of it. This isn't a good long-term
solution. It's a poor idea to teach every format handler recognizing all
possible formats. Instead it should be handled in a generic code which
should run check depending on the detected format.
This will also allow further improvements like fixing formats other than
TRX after replacing JFFS2.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48639
Felix Fietkau [Fri, 5 Feb 2016 16:43:47 +0000 (16:43 +0000)]
mt76: update to the latest version, adds A-MSDU support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48638
Felix Fietkau [Fri, 5 Feb 2016 16:43:38 +0000 (16:43 +0000)]
mac80211: add A-MSDU tx support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48637
Felix Fietkau [Fri, 5 Feb 2016 16:43:25 +0000 (16:43 +0000)]
mac80211: parse legacy and HT rates in monitor mode injected frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48636
Felix Fietkau [Fri, 5 Feb 2016 15:59:41 +0000 (15:59 +0000)]
relayd: update to the latest version, fixes route table issues when connecting to the router
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48635
Rafał Miłecki [Fri, 5 Feb 2016 12:33:50 +0000 (12:33 +0000)]
bcm53xx: add Netgear R8500 GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48633
Felix Fietkau [Fri, 5 Feb 2016 11:50:50 +0000 (11:50 +0000)]
kernel: add missing config symbol (#21797)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48632
Felix Fietkau [Thu, 4 Feb 2016 20:20:03 +0000 (20:20 +0000)]
procd: update to the latest version, fixes a memory leak in trigger handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48631
Felix Fietkau [Thu, 4 Feb 2016 20:17:25 +0000 (20:17 +0000)]
mac80211: add performance improvements for A-MSDU rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48630
Zoltan Herpai [Wed, 3 Feb 2016 23:57:35 +0000 (23:57 +0000)]
sunxi: update orangepi-plus profile to reflect the real uboot package
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48626
Rafał Miłecki [Wed, 3 Feb 2016 22:32:07 +0000 (22:32 +0000)]
bcm53xx: start working on Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48625
Rafał Miłecki [Wed, 3 Feb 2016 09:38:42 +0000 (09:38 +0000)]
swconfig: support setting SWITCH_TYPE_LINK attributes
Supported syntax is inspired by ethtool. Example usages:
swconfig dev switch0 port 2 set link "duplex half speed 100"
swconfig dev switch0 port 2 set link "autoneg on"
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48624
Rafał Miłecki [Wed, 3 Feb 2016 09:33:56 +0000 (09:33 +0000)]
b53: support setting port link
When dealing with Broadcom hardware we can simply use swconfig's generic
helper, we just need to do some validation of requested state.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48623
Rafał Miłecki [Wed, 3 Feb 2016 09:33:50 +0000 (09:33 +0000)]
b53: provide PHY access to swconfig
Thanks to this change swconfig can access port PHYs e.g. when setting
port link state with a generic helper.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48622
Rafał Miłecki [Wed, 3 Feb 2016 09:33:38 +0000 (09:33 +0000)]
swconfig: add (PHY) generic helper setting port link
It's quite common for switches to have PHY per port so adding a generic
helper setting link state will help many drivers. It just needs an API
to access PHYs which this patch also adds.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48621
Zoltan Herpai [Wed, 3 Feb 2016 01:24:42 +0000 (01:24 +0000)]
sunxi: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48620
Zoltan Herpai [Tue, 2 Feb 2016 23:13:29 +0000 (23:13 +0000)]
packages: uboot-sunxi: fix SATA powerup on Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48619
Zoltan Herpai [Tue, 2 Feb 2016 22:25:05 +0000 (22:25 +0000)]
sunxi: add support for Orange Pi Plus (H3)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>
SVN-Revision: 48618
Felix Fietkau [Tue, 2 Feb 2016 17:14:47 +0000 (17:14 +0000)]
uci: update to the latest version, fixes uci show output for anonymous sections (#21781)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48617
Hauke Mehrtens [Mon, 1 Feb 2016 22:38:28 +0000 (22:38 +0000)]
cyassl: update to wolfssl version 3.8.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48616
Hauke Mehrtens [Mon, 1 Feb 2016 22:37:41 +0000 (22:37 +0000)]
curl: add support for mbedtls
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48615
Hauke Mehrtens [Mon, 1 Feb 2016 22:37:05 +0000 (22:37 +0000)]
curl: update curl to version 7.47.0
This fixes the following security problems:
CVE-2016-0754: remote file name path traversal in curl tool for Windows
http://curl.haxx.se/docs/adv_20160127A.html
CVE-2016-0755: NTLM credentials not-checked for proxy connection re-use
http://curl.haxx.se/docs/adv_20160127B.html
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
SVN-Revision: 48614
Felix Fietkau [Mon, 1 Feb 2016 18:04:00 +0000 (18:04 +0000)]
iproute2: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48613
Felix Fietkau [Mon, 1 Feb 2016 18:03:54 +0000 (18:03 +0000)]
iproute2: Update to version 4.4
Update iproute2 to latest version 4.4 with full MPLS support.
Signed-off-by: André Valentin <avalentin@marcant.net>
SVN-Revision: 48612
Felix Fietkau [Mon, 1 Feb 2016 17:41:29 +0000 (17:41 +0000)]
ramips: add IMAGE_SIZE to DEVICE_VARS, it is used by build templates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48611
Jo-Philipp Wich [Mon, 1 Feb 2016 13:58:43 +0000 (13:58 +0000)]
include: image.mk: use correct flag for fixed mtimes with make_ext4fs (#21768)
The correct flag for fixed mtime is -T, not -t.
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48610
Felix Fietkau [Mon, 1 Feb 2016 13:42:59 +0000 (13:42 +0000)]
include/image.mk: fix missing right parenthesis (#21766)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48609
Felix Fietkau [Mon, 1 Feb 2016 13:33:33 +0000 (13:33 +0000)]
scripts/strip-kmod.sh: remove a few extra sections to slightly reduce kernel module size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48608
Rafał Miłecki [Mon, 1 Feb 2016 12:54:17 +0000 (12:54 +0000)]
bcm53xx: fix bcma-hcd compilation in kernel 4.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48607
Rafał Miłecki [Mon, 1 Feb 2016 12:43:04 +0000 (12:43 +0000)]
bcm53xx: build D-Link DIR-885L image
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48606
Rafał Miłecki [Mon, 1 Feb 2016 12:42:51 +0000 (12:42 +0000)]
bcm53xx: change brcmnand behavior for ECC strength 1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48605
Rafał Miłecki [Mon, 1 Feb 2016 12:42:42 +0000 (12:42 +0000)]
bcm53xx: fix NAND parameters on DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48604
Rafał Miłecki [Mon, 1 Feb 2016 12:42:23 +0000 (12:42 +0000)]
bcm53xx: add brcmnand patch reading flash parameters
It's useful for adding support for new hardware.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48603
Rafał Miłecki [Mon, 1 Feb 2016 12:42:07 +0000 (12:42 +0000)]
bcm53xx: include (build) Seama mtdsplit parser
It's needed for devices using Seama like D-Link DIR-885L.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48602
Rafał Miłecki [Mon, 1 Feb 2016 12:42:00 +0000 (12:42 +0000)]
firmware-utils: add oseama tool for creating Seama entities
It has an important feature (compared to seama) of using multiple input
files, aligning them and padding zeroes until reaching a specified
absolute offset. This is needed for a proper flash layout on NAND. We
want kernel partition to be big enough to handle future updates without
a need to resize it and wipe whole "ubi" partition. It's important as
we don't want to lose block counters.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48601
Rafał Miłecki [Mon, 1 Feb 2016 12:41:53 +0000 (12:41 +0000)]
kernel: mtdsplit: support Seama entity with UBI
Some D-Link routers (e.g. DIR-885L) have NAND and use Seama format. It
means OpenWrt will want to have UBI in Sseama entity and should be able
to detect it.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48600
Rafał Miłecki [Mon, 1 Feb 2016 12:41:47 +0000 (12:41 +0000)]
kernel: mtdsplit: detect UBI partition when looking for rootfs
This allows mtdsplit parsers work with UBI which is very popular on
NAND flases.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48599
Rafał Miłecki [Mon, 1 Feb 2016 12:41:41 +0000 (12:41 +0000)]
kernel: mtdsplit: modify rootfs helpers to provide partition type
Our mtdsplit parsers may want to create partition with name choice based
on partition file system (e.g. SquashFS vs. JFFS2). This patch allows
passing extra argument pointing to variable that will be set properly.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
SVN-Revision: 48598
Felix Fietkau [Mon, 1 Feb 2016 12:31:04 +0000 (12:31 +0000)]
mt76: update to the latest version, fixes tx status information polling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48597
Felix Fietkau [Mon, 1 Feb 2016 12:02:11 +0000 (12:02 +0000)]
gre: Support multicast configurable gre interfaces
UCI paramater multicast is added which allows to toggle multicast support on gre interfaces.
By default multicast support is enabled as gre tunnels are often used in combination with
routing protocols using multicast.
Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Signed-off-by: Nick Podolak <nicholas.podolak@dtechlabs.com>
SVN-Revision: 48596
Felix Fietkau [Mon, 1 Feb 2016 12:02:05 +0000 (12:02 +0000)]
netifd: update to the latest version, adds many fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48595
Jo-Philipp Wich [Mon, 1 Feb 2016 10:43:27 +0000 (10:43 +0000)]
scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
SVN-Revision: 48594
Felix Fietkau [Mon, 1 Feb 2016 10:33:25 +0000 (10:33 +0000)]
scripts/get_source_date_epoch.sh: for SVN use a variant that is compatible with older versions
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48593
Felix Fietkau [Mon, 1 Feb 2016 10:33:15 +0000 (10:33 +0000)]
scripts/portable_date.sh: fix parsing of date strings on non-GNU systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48592
Florian Fainelli [Mon, 1 Feb 2016 01:06:56 +0000 (01:06 +0000)]
kernel: set root on NFS when enabled
Replace the configured root device with a NFS root device and automatic
IP configuration for booting over NFS.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 48591
Florian Fainelli [Mon, 1 Feb 2016 01:06:39 +0000 (01:06 +0000)]
buildroot: add options to build the kernel for NFS boot
Add the basic set of kernel options to allow it from mounting a NFS root
and boot from it.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 48590
Felix Fietkau [Sun, 31 Jan 2016 23:29:41 +0000 (23:29 +0000)]
ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 48589
Felix Fietkau [Sun, 31 Jan 2016 23:29:31 +0000 (23:29 +0000)]
include/image: use SOURCE_DATE_EPOCH if set for squashfs + ext4 images
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 48588
Felix Fietkau [Sun, 31 Jan 2016 23:29:22 +0000 (23:29 +0000)]
include/image: don't save gzip name/timestamp metadata
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
SVN-Revision: 48587
Felix Fietkau [Sun, 31 Jan 2016 23:29:16 +0000 (23:29 +0000)]
build system: have tar use $SOURCE_DATE_EPOCH for --mtime
The --mtime argument to 'tar' sets the modification time for all files within
the archive, which determines the timestamp files will get when they are
extracted. In this case, rootfs and other tarballs will get mtimes which
correspond to the last commit timestamp of the build system, as reported by
git/subversion.
This is a step towards reproducible image builds.
Signed-off-by: bryan newbold <bnewbold@robocracy.org>
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48586
Felix Fietkau [Sun, 31 Jan 2016 23:29:12 +0000 (23:29 +0000)]
package/Makefile: override opkg installation time when SOURCE_DATE_EPOCH set
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48585
Felix Fietkau [Sun, 31 Jan 2016 23:29:07 +0000 (23:29 +0000)]
build: introduce SOURCE_DATE_EPOCH variable
SOURCE_DATE_EPOCH is the date of the last modified file using git/svn
as date source.
See https://reproducible-builds.org/specs/source-date-epoch/
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48584
Felix Fietkau [Sun, 31 Jan 2016 23:28:55 +0000 (23:28 +0000)]
add scripts/portable_date: wrapper around date for bsd/linux
date -r $unix_timestamp on bsd is equal to date -d @$unix_timestamp on
linux. To support reproducible builds and not loosing every timestamp
it's required to convert a unix timestamp into human readable timestamp
./scripts/portable_date $unix_timstamp +%T
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>
SVN-Revision: 48583
Felix Fietkau [Sun, 31 Jan 2016 16:13:23 +0000 (16:13 +0000)]
mac80211: backport skb_free_frag and napi_alloc_frag
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48582
Felix Fietkau [Sun, 31 Jan 2016 12:35:33 +0000 (12:35 +0000)]
cns3xxx: enable CONFIG_PROC_STRIPPED to improve network performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48581
Felix Fietkau [Sun, 31 Jan 2016 12:35:20 +0000 (12:35 +0000)]
cns3xxx: improve ethernet performance by using the page fragment allocation API
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48580
Felix Fietkau [Sun, 31 Jan 2016 12:35:07 +0000 (12:35 +0000)]
cns3xxx: fix ethernet DMA ring allocation issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 48579