Commit Graph

33958 Commits (be9e991b8806841a1c209ed7e2864d48da0de1b5)
 

Author SHA1 Message Date
Felix Fietkau be9e991b88 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
8 years ago
Felix Fietkau 522bba5e42 ath9k: merge fix for noise floor calibration
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48641
8 years ago
Rafał Miłecki d99cdd4fef 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
8 years ago
Rafał Miłecki b5c41ad28c 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
8 years ago
Felix Fietkau 18bcbbfd45 mt76: update to the latest version, adds A-MSDU support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48638
8 years ago
Felix Fietkau b0c782be70 mac80211: add A-MSDU tx support
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48637
8 years ago
Felix Fietkau 351be0fdec mac80211: parse legacy and HT rates in monitor mode injected frames
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48636
8 years ago
Felix Fietkau 2d7840b505 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
8 years ago
Rafał Miłecki 406a288a3b bcm53xx: add Netgear R8500 GPIOs
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48633
8 years ago
Felix Fietkau 0fddb7f767 kernel: add missing config symbol (#21797)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48632
8 years ago
Felix Fietkau a39c7cde3e procd: update to the latest version, fixes a memory leak in trigger handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48631
8 years ago
Felix Fietkau ba1672bf2b mac80211: add performance improvements for A-MSDU rx
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48630
8 years ago
Zoltan Herpai 42cd31a777 sunxi: update orangepi-plus profile to reflect the real uboot package
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48626
8 years ago
Rafał Miłecki 3b76c7cf0b bcm53xx: start working on Netgear R8500
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48625
8 years ago
Rafał Miłecki 6219b3deae 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
8 years ago
Rafał Miłecki 6831bac31f 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
8 years ago
Rafał Miłecki b3c3542515 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
8 years ago
Rafał Miłecki 19b9e14c47 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
8 years ago
Zoltan Herpai 8ebc9e7539 sunxi: bump to 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48620
8 years ago
Zoltan Herpai 87b150dc05 packages: uboot-sunxi: fix SATA powerup on Bananapro
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48619
8 years ago
Zoltan Herpai a9c21dd395 sunxi: add support for Orange Pi Plus (H3)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48618
8 years ago
Felix Fietkau 9237cebfc7 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
8 years ago
Hauke Mehrtens 6329349cd0 cyassl: update to wolfssl version 3.8.0
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48616
8 years ago
Hauke Mehrtens 3a2e25bc77 curl: add support for mbedtls
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48615
8 years ago
Hauke Mehrtens 969ec949a8 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
8 years ago
Felix Fietkau 29044db278 iproute2: refresh patches
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48613
8 years ago
Felix Fietkau 6af8f1429d 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
8 years ago
Felix Fietkau afdb24e3ae ramips: add IMAGE_SIZE to DEVICE_VARS, it is used by build templates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48611
8 years ago
Jo-Philipp Wich f6b399c8ab 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
8 years ago
Felix Fietkau dc476f5fa4 include/image.mk: fix missing right parenthesis (#21766)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48609
8 years ago
Felix Fietkau 86625a148a 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
8 years ago
Rafał Miłecki a8c2701866 bcm53xx: fix bcma-hcd compilation in kernel 4.4
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48607
8 years ago
Rafał Miłecki 8095667532 bcm53xx: build D-Link DIR-885L image
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48606
8 years ago
Rafał Miłecki 88deb4aec1 bcm53xx: change brcmnand behavior for ECC strength 1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48605
8 years ago
Rafał Miłecki f188b6d512 bcm53xx: fix NAND parameters on DIR-885L
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48604
8 years ago
Rafał Miłecki 701dba093f 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
8 years ago
Rafał Miłecki 78abece62f 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
8 years ago
Rafał Miłecki 590c7825c1 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
8 years ago
Rafał Miłecki 9220dd5d36 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
8 years ago
Rafał Miłecki 4156f292c1 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
8 years ago
Rafał Miłecki e1491b341b 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
8 years ago
Felix Fietkau 704473864e mt76: update to the latest version, fixes tx status information polling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48597
8 years ago
Felix Fietkau b3c9321b9e 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
8 years ago
Felix Fietkau 208b3098f0 netifd: update to the latest version, adds many fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48595
8 years ago
Jo-Philipp Wich 78e5e56201 scripts: fix GNU data invocation
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 48594
8 years ago
Felix Fietkau 18ba1305d5 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
8 years ago
Felix Fietkau 64ec9dc2a1 scripts/portable_date.sh: fix parsing of date strings on non-GNU systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48592
8 years ago
Florian Fainelli d9fab87607 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
8 years ago
Florian Fainelli 312367665a 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
8 years ago
Felix Fietkau 411515b368 ar71xx/image: use SOURCE_DATE_EPOCH for mksquashfs-lzma
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 48589
8 years ago