Commit Graph

1998 Commits (a5dd378a0e2d7240607fe6652bf039dc32be5c79)

Author SHA1 Message Date
Felix Fietkau 0fddb7f767 kernel: add missing config symbol (#21797)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48632
9 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
9 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
9 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
9 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
9 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
9 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
9 years ago
Rafał Miłecki ddc8437f08 kernel: support bgmac on BCM47094
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48564
9 years ago
Rafał Miłecki e9479e62b0 kernel: backport more 4.6 bcma stuff needed for new chipsets
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48516
9 years ago
Felix Fietkau aff2ee7e4a kernel: change the OF mtd mac address patch to prefer mtd-mac-address over other properties
Fixes MAC address on TL-WDR4900

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48512
9 years ago
Luka Perkov 401b201d04 generic: mark CONFIG_SUNXI_SRAM as not set
It is marked like this on most targets.

Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 48507
9 years ago
Luka Perkov 9aebe0f782 generic: 4.4: refresh patches
Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>

SVN-Revision: 48506
9 years ago
Hauke Mehrtens a29c7ca3d9 kernel: update kernel 4.3 to version 4.3.4
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48498
9 years ago
Hauke Mehrtens 4807ca67d6 kernel: update kernel 4.1 to version 4.1.16
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48497
9 years ago
Hauke Mehrtens 85e523e126 kernel: update kernel 3.18 to 3.18.26
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48496
9 years ago
Felix Fietkau e8e4b6eed8 kernel: fix a small bug in the MIPS highmem fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48482
9 years ago
Felix Fietkau 68fef14e46 kernel: disable CONFIG_USERFAULTFD, it is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48481
9 years ago
Rafał Miłecki 02abeb3b0a kernel: mtdsplit: document Seama splitter a bit
Rename kernel_size variable as it includes whole entity size, not just a
kernel size. Also update comments to match it and describe better what
are we checking/looking for.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48480
9 years ago
Hauke Mehrtens 1c7c997019 kernel: add some missing kernel config options
The built bots found these missing kernel configuration options.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48477
9 years ago
Jonas Gorski 96afb90f3f generic: fix relocate build with binutils 2.25.1
The new .abiflags section was kept, pushing the appended arguments to
the wrong offset and causing it to read the section instead, making
it fail on boot.

Fix this by dropping this section as well as the other sections.

Closes #21679.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48474
9 years ago
Jonas Gorski a9b4952be1 swconfig: simplify init code
Directly return the return value of genl_register_family_with_ops()
instead of storing it in a temporary variable, then returning it.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48472
9 years ago
Jonas Gorski 38719ecca4 swconfig: drop linux < 3.13 code paths
The oldest kernel we support is 3.18, no need to keep code paths
for older kernels.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48471
9 years ago
Felix Fietkau e756c2bb07 kernel: fix MIPS highmem breakage
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48468
9 years ago
Felix Fietkau 4b7e52125f kernel: add a fix for deadlocks on dump_stack
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48461
9 years ago
Felix Fietkau 84a7bc3d57 Revert "kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore"
This reverts commit r48335

The workaround is incomplete and cannot cover all possible cases. The
only real solution to this problem is to disable this feature on
ARM11MPcore entirely.

Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48460
9 years ago
Felix Fietkau c28fb1f4fc x86_64: Add missing symbols
Update to kernel 4.4 missed some symbols, fix that.

SVN-Revision: 48453
9 years ago
Rafał Miłecki 529d527e2c kernel: backport bcma stuff sent for 4.6
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 48449
9 years ago
Felix Fietkau c18d6739bc kernel: switch to SLUB by default in 4.4 (for improved performance)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48442
9 years ago
Felix Fietkau f85594f56f kernel: fix module load issue in the dma-buf debloat patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48409
9 years ago
Zoltan Herpai 4e3813c79d kernel: add missing symbols for 4.4
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 48376
9 years ago
Felix Fietkau e62802752e kernel: fix keyring reference leak (CVE-2016-0728)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48372
9 years ago
Felix Fietkau 20ba5a01cf kernel: modularize dma shared buffer code to eliminate kernel bloat
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48371
9 years ago
John Crispin ed72c5f846 ar71xx: add support for Netgear WPN824N
Add support for Netgear WPN824N.
Hardware specs:
  * AR7240, 4 LAN ports, 1 WAN port
  * AR9285 WLAN
  * 32 MB RAM
  * 4 MB Flash
  * 16 LEDs (LAN, WAN and Power/Status contain two LEDs for dual color
    effect)
  * 3 Buttons (not supported)

Signed-off-by: Hartmut Knaack <knaack.h@gmx.de>

SVN-Revision: 48356
9 years ago
Felix Fietkau 999d8c87b2 kernel: add patch to fix the ccp-crypto module
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48348
9 years ago
Felix Fietkau 5abaa5e5a6 kernel: add missing symbol for 4.4
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48346
9 years ago
Felix Fietkau 10557694bb kernel: add missing symbols for 4.1
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 48342
9 years ago
Felix Fietkau 9c7d5fb570 kernel: work around CONFIG_CPU_SW_DOMAIN_PAN breakage on ARM11 MPCore
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48335
9 years ago
Felix Fietkau fcfc7eb2ae kernel: fix uninitialized variable in bridge multicast-to-unicast patch on 4.4
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48327
9 years ago
Felix Fietkau 85ba5805e4 kernel: fix a build regression in the ld-version script fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48324
9 years ago
Felix Fietkau a168e972fb kernel: fix MIPS linux-4.4 build on non-GNU systems
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48310
9 years ago
Jonas Gorski 2b3b4c95f1 b53: update header register difinitions
BCM531x5 has two pontential cpu ports, and header mode can be enabled
independently on both.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 48302
9 years ago
Felix Fietkau f8d2ec6e9d ar8327: add IGMP Snooping support
This add support for IGMP Snooping on atheros switches (disabled by default),
which avoids flooding the network with multicast data.

Tested on TL-WDR4300: disabling IGMP Snooping results in multicast flooding
on each specific port, enabling it back again prevents each port from
receiving all multicast packets.

Partially based on: http://patchwork.ozlabs.org/patch/418122/

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 48268
9 years ago
Felix Fietkau 7703e14bc4 kernel: mtdsplit_squashfs: Align with the erase-block size
On most image types the rootfs ends at an erase-block. However, at least
with brnImages this is not the case: while the partitions are aligned
with the erase-block size there is a 12 byte footer at the end of the
partition which must not be touched by any filesystem. This lead to a
rootfs_data partition which was not aligned properly (and thus ended up
being readonly):
	0x000000480000-0x00000085a800 : "rootfs_data" (128 KiB EB)

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48263
9 years ago
Felix Fietkau 651083bbd9 kernel: mtdsplit: add support for EVA images
This allows splitting EVA images (usually found in fritz devices). The
firmware will be split into a kernel and a separate rootfs partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48262
9 years ago
Felix Fietkau bdd2772f1d kernel: mtdsplit: add support for brnImages
This adds brnImage (used with the brnboot bootloader) firmware parsing
support. brnboot verifies the integrity of the firmware stored on the
"Code Image" partitions by looking at the 12 byte footer at the very end
of the partition. This footer contains the checksum of the original
brnImage (kernel + rootfs/squashfs) and must not be touched (by our JFFS2
rootfs_data - otherwise the image will not be bootable anymore).

Big thanks to Mathias Kresin for analyzing the brnImage structure and
finding out the information how to keep images valid even when adding a
nested rootfs_data partition.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>

SVN-Revision: 48261
9 years ago
Felix Fietkau d475624f64 arc770: move arc patches to target/linux/generic
Given those patches are relevant to any ARC platform and even
ISA version it makes perfect sense for patches to exist
in one place instead of being duplicated for each new ARC-based ASIC.

Note this is a prerequisite for upstreaming of ARC HS38 support in
OpenWRT.

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: 48241
9 years ago
Felix Fietkau 7f11532c58 kernel: compile out SNMP MIB related counting if debloat-proc is active - improves network stack performance
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48239
9 years ago
Felix Fietkau 09ad818ffc kernel: backport perf build fixes to 4.1
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 48231
9 years ago
Felix Fietkau 021f3834a7 kernel: remove obsolete config symbols from 4.4
Only remove old symbols for 4.4 since older Kernels might be
removed sooner/later and 4.4 is the next LTS

build tested against:
 omap 4.4 CONFIG_ALL_KMODS
 x86_64

List of enabled & orphaned symbols:

-CONFIG_ARPD=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
-CONFIG_CAVIUM_OCTEON_HELPER=y
-CONFIG_DEFAULT_MESSAGE_LOGLEVEL=4
-CONFIG_DISABLE_DEV_COREDUMP=y
-CONFIG_EXPERIMENTAL=y
-CONFIG_EXT4_FS_XATTR=y
-CONFIG_GENERIC_HARDIRQS=y
-CONFIG_GENERIC_TIME=y
-CONFIG_HOTPLUG=y
-CONFIG_INITRAMFS_COMPRESSION_NONE=y
-CONFIG_INLINE_SPIN_UNLOCK=y
-CONFIG_LEDS_GPIO_OF=y
-CONFIG_LEDS_GPIO_PLATFORM=y
-CONFIG_MFD_SUPPORT=y
-CONFIG_MISC_DEVICES=y
-CONFIG_MTD_CHAR=y
-CONFIG_NETDEV_1000=y
-CONFIG_NET_ETHERNET=y
-CONFIG_NET_PCI=y
-CONFIG_NET_VENDOR_SILICOM=y
-CONFIG_SCSI_MULTI_LUN=y
-CONFIG_UIDGID_STRICT_TYPE_CHECKS=y
-CONFIG_USB_ARCH_HAS_EHCI=y
-CONFIG_USB_ARCH_HAS_OHCI=y
-CONFIG_USB_DEVICEFS=y
-CONFIG_USB_EZUSB=y

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

SVN-Revision: 48230
9 years ago
Hauke Mehrtens de18003b6e kernel/3.18: update to version 3.18.25
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 48225
9 years ago