Commit Graph

78 Commits (7a962fb55aa836c9bc6f2bdaa75e81ab8c41279c)

Author SHA1 Message Date
Jonas Gorski 2190f090bb mvebu: kirkwood: fix ehci-orion probe if generic-phy isn't enabled
Properly treat -ENOSYS as no PHY, else ehci-orion won't work without
generic phy support.

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

SVN-Revision: 46711
9 years ago
Hauke Mehrtens b1bd85c40e kernel: yaffs2: update to version from 2015-06-02
In addition to the update this also fixes compile problems with kernel 4.1.

This closes #20323.

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

SVN-Revision: 46609
9 years ago
Hauke Mehrtens 3dfacccf6f kernel: cdc_ncm: Add support for moving NDP to end of NCM frame
This patch was missing for kernel 4.0 and 4.1 in r46464. I also
replaced the version in OpenWrt with the version which went upstream
into the Linux mainline kernel.

This closes #20193 and #20192

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

SVN-Revision: 46493
9 years ago
Jonas Gorski 71f2d6f865 kmod-regmap: make regmap-mmio user selectable
REGMAP_MMIO is a hidden symbol, so it cannot be directly selected. If nothing
selects it, it will fail the build with:

ERROR: module '/store/buildbot/slave/slave/rb532/build/build_dir/target-mipsel_mips32_musl-1.1.10/linux-rb532/linux-3.18.19/drivers/base/regmap/regmap-mmio.ko' is missing.
make[2]: *** [/store/buildbot/slave/slave/rb532/build/bin/rb532/packages/base/kmod-regmap_3.18.19-1_rb532.ipk] Error 1

Fix this by adding a description to allow selecting it manually.

Fixes: r46451 ("kmod-regmap: enable MMIO support")
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 46485
9 years ago
Jonas Gorski 02198322b9 kernel: update 4.0 to 4.0.9
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.9

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

SVN-Revision: 46440
9 years ago
Felix Fietkau 473ddd592c kernel: fix sched_getaffinity on MIPS SMP systems (fixes enabling RPS/XPS in netifd with musl)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46420
9 years ago
John Crispin 1b73796895 kernel: fix build with CONFIG_MTD unset
Fixed typo in the patch provided by Hauke:
https://lists.openwrt.org/pipermail/openwrt-devel/2015-July/034274.html

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

SVN-Revision: 46346
9 years ago
Hauke Mehrtens e0402257e5 kernel: update 4.0 to 4.0.8
Changelog:
 * https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.8

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

SVN-Revision: 46300
9 years ago
John Crispin 8f0e96ee11 mips: Free memory when load_module fails (#14453)
The mips reloc patch introduced new allocations which were done before
add_unformed_module but never freed them in case of an error. A new hook in
Linux 3.19 called module_arch_freeing_init can be used for freeing memory
which were allocated during this init phase.

The problem can be seen when trying to load a module (via busybox insmod)
when it was already loaded.

    free -m
    for i in `seq 1 100`; do
        /sbin/insmod /lib/modules/*/ath9k.ko >& /dev/null
    done
    free -m

This simple loop would leak ~3.2 MB.

Signed-off-by: Sven Eckelmann <sven@open-mesh.com>

SVN-Revision: 46247
9 years ago
John Crispin 8fa677d7b0 generic: mtd backport for Spansion S25FL164K
Backport for the Spansion S25FL164K
It's a 8 MiB flash chip with 4 KiB erase sectors.

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

SVN-Revision: 46237
9 years ago
John Crispin b9463ce786 generic: Allow configuring an increment with mtd-mac-address
This is useful if the device also has an ethernet WAN interface with a
separate mac address (that is derived from the LAN mac address).

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

SVN-Revision: 46220
9 years ago
Jonas Gorski 04053a1217 kernel: generic: add missing arm machtypes
Some machtypes were dropped when 4.0 support was added, and the
incomplete patch was taken over to 4.1.

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

SVN-Revision: 46187
9 years ago
Jonas Gorski fa401693d9 kernel: improve uapi headers coexistence with musl
Make some network uapi headers detect if they are included after
not only glibc but also musl headers.

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

SVN-Revision: 46161
9 years ago
Jonas Gorski 831d1c8b45 kernel: update 4.0 to 4.0.7
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.6
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.7

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

SVN-Revision: 46151
9 years ago
Rafał Miłecki 51042bc517 kernel: make USB_XHCI_PLATFORM selectable
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 46079
9 years ago
Jonas Gorski 0f5b1a3eca kernel: update 4.0 to 4.0.5
Changelog:
* https://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.0.5

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

SVN-Revision: 46063
9 years ago
Felix Fietkau 6585c532bd kernel: add linux 4.0 overlayfs locking fix by Miklos Szeredi
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 46019
9 years ago
Rafał Miłecki a1340b5cce kernel: backport config-related bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45927
9 years ago
Felix Fietkau 5a64d5337b kernel: adjust mips highmem offset to avoid the need for -mlong-calls on systems with >256M RAM
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45891
9 years ago
Rafał Miłecki 6bc9e00e94 kernel: backport ssb fix for WRT350N v1 (BCM4705) reboots
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45865
9 years ago
Imre Kaloz 588acc2cba generic/4.0: update to 4.0.4
Update kernel sources and refresh some patches.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45761
9 years ago
Steven Barth 53098a8aa5 generic/4.0: fix error during kernel patch application
Commit 5168c9a5702648eb690d32ec821647aca80aeba9 introduced a regression
during patch application on the 4.0 kernel. Some of the patched content
doesn't match the actual code, therefore leading to the following error:
  Applying patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch
  patching file net/ipv6/ip6_output.c
  Hunk #1 FAILED at 886.
  1 out of 1 hunk FAILED -- rejects in file net/ipv6/ip6_output.c
  patching file net/ipv6/route.c
  Hunk #1 succeeded at 2247 (offset 2 lines).
  Patch generic/667-ipv6-Fixed-source-specific-default-route-handling.patch does not apply (enforce with -f)

This change just adapts the actual patch to fix what is in kernel 4.0
and make it apply cleanly.

Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org>

SVN-Revision: 45705
9 years ago
Steven Barth 1296956908 linux: backport IPv6 SAS fixes for source-specific routes
Signed-off-by: Steven Barth <steven@midlink.org>

SVN-Revision: 45699
9 years ago
Rafał Miłecki 260383aeb1 kernel: backport struct ssb_sprom changes submitted by MIPS tree
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45677
9 years ago
Felix Fietkau ac0e2479dc mtd: remove the warning about read-only caused by size vs. block boundary mismatch
Since the kernel/rootfs split handling was modified 2 years ago by r37283 (
https://dev.openwrt.org/changeset/37283 ) and by the subsequent checkins,
users have seen rather scary mtd errors in the log at every boot. The message
ends "-- forcing read-only", which looks a bit error-like. That error has
been mentioned in some forum threads, when users have noticed this message
instead of some actual error.

[    2.940000] 0x000000070000-0x000000ff0000 : "firmware"
[    2.970000] 2 netgear-fw partitions found on MTD device firmware
[    2.970000] 0x000000070000-0x000000188440 : "kernel"
[    2.980000] mtd: partition "kernel" must either start or end on erase
block boundary or be smaller than an erase block -- forcing read-only
[    2.990000] 0x000000188440-0x000000ff0000 : "rootfs"

The patch removes the rather useless warning message.

signed-off-by: Hannu Nyman <hannu.nyman@iki.fi>

SVN-Revision: 45669
9 years ago
Felix Fietkau 9ebb99cb98 kernel: fix regression in backtrace module info change (#19631)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45665
9 years ago
Felix Fietkau 53827cdc82 kernel: when KALLSYMS is disabled, print module address + size for matching backtrace entries
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45655
9 years ago
Felix Fietkau a13783f8c3 kernel: fix pppoe disconnect issues
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45653
9 years ago
Rafał Miłecki 3a6cdac37c kernel: backport first bcma patches from 4.2
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45652
9 years ago
Imre Kaloz aea93173d1 generic/4.0: update to 4.0.1
Also refresh one patch.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45601
9 years ago
Imre Kaloz f86c07d8d4 The ability to read MAC addresses from MTD is useful for other targets besides ramips and lantiq as well.
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

SVN-Revision: 45596
9 years ago
Felix Fietkau 51d0476ab0 kernel: implement RENAME_EXCHANGE support for jffs2 - overlayfs requires it
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45580
9 years ago
Rafał Miłecki e175b199f8 kernel: backport rest of bgmac patches to 4.0
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45573
9 years ago
Rafał Miłecki 6bfb1a4b11 kernel: backport few bgmac patches to 4.0
I still need to test following patch before backporting:
bgmac: leave interrupts disabled as long as there is work to do

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

SVN-Revision: 45571
9 years ago
Imre Kaloz c7d5fee204 generic/4.0: bump to final version
Linux 4.0 was released on 2014-04-12

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45559
9 years ago
Jonas Gorski 0dfba24e9a kernel: refresh generic patches
Refresh patches to remove the trailing whitespaces caused by an old
diffutils version on osx.

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

SVN-Revision: 45506
9 years ago
Felix Fietkau d0ba3bb1e2 kernel: finally remove layer7 filter support
it has been non-functional for years and caused numerous memleaks and
crashes for people that tried to enable it.
it has no maintained upstream source, and it does not look like it's
going to be fixed any time soon

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

SVN-Revision: 45423
9 years ago
Imre Kaloz 6cfe1539da generic: make sure we only try to mangle bootargs we do have
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45393
9 years ago
Felix Fietkau 1a797043e5 kernel: revert section sorting change from r41951
It currently does not seem to make a difference anymore, except by
increasing compressed kernel image size

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

SVN-Revision: 45385
9 years ago
Felix Fietkau 9428c5609b kernel: add jffs2 RENAME_WHITEOUT support, fixes overlayfs renames (#19432)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45362
9 years ago
Gabor Juhos 1630498e4c kernel: remove ATHEROS_AR{231X,71XX} config symbols from the patches
Those don't exist anymore.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45314
9 years ago
Rafał Miłecki a9d2a1aa29 kernel: backport ssb patches up to changes queued for 4.1
Signed-off-by: Rafał Miłecki <zajec5@gmail.com>

SVN-Revision: 45306
9 years ago
Imre Kaloz 8100b227a9 generic/4.0: upgrade to 4.0-rc7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45305
9 years ago
Gabor Juhos 298a46c0b3 kernel: add support for the MX25L512E and SI25CD512 SPI flash chips
These are used on some MikroTik boards.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45295
9 years ago
Imre Kaloz 9bb302ff9e generic/4.0: upgrade to 4.0-rc6
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45198
9 years ago
Imre Kaloz 17fb965d6b generic: add CONFIG_MANGLE_BOOTARGS and disable it by default
Enabling this option renames the bootloader supplied root=
and rootfstype= variables, which might have to be know but
would break the automatisms OpenWrt uses.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 45196
9 years ago
Gabor Juhos 82f0308be9 kernel: update yaffs code to the latest version
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit 7e5cf0fa1b694f835cdc184a8395b229fa29f9ae
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Aug 7 11:25:05 2014 +1200

    yaffs-direct: Basic tests. Add lpthread flag for background gc support

    Signed-off-by: Charles Manning <cdhmanning@gmail.com>

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 45188
9 years ago
Steven Barth 7e7f329ccf kernel/generic: (try) fixing MAP-E patch broken in 4.0
Now it at least compiles, otherwise untested.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

SVN-Revision: 45145
9 years ago
Felix Fietkau 795e7cf60d kernel: fix linux/spi/spidev.h portability issues with musl
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 45105
9 years ago
Luka Perkov 3012319505 generic: drop old kirkwood mach types
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 45043
9 years ago