Commit graph

31 commits

Author SHA1 Message Date
Felix Fietkau
1d232f354a kernel: mtd: allow partial block erase
This fixes error erasing partial mtd partition which does not start on
eraseblock boundary and allows using fconfig to configure redboot on
devices such as the Gateworks Cambria.

Signed-off-by: Maciej Skrzypek <maciej.skrzypek@flytronic.pl>

SVN-Revision: 41733
2014-07-18 14:36:38 +00:00
Felix Fietkau
daae0b7c93 kernel/3.1{3, 4}: fix AMD USB HDC wakeup quirk disabling
Declare inline placeholder when usb_hcd_amd_remote_wakeup_quirk() not
compiled due CONFIG_PCI_DISABLE_COMMON_QUIRKS.

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41702
2014-07-17 16:44:04 +00:00
Luka Perkov
f9c04c8722 kernel: 3.13: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 41553
2014-07-08 23:27:45 +00:00
Luka Perkov
82abc5c1d9 kernel: ledtrig-netdev: use netdev_notifier_info
Since kernel 3.11, the third parameter passed to notifier_call()
is of type struct netdev_notifier_info. This patch fixes an oops
when setting a netdev LED trigger.

Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 41552
2014-07-08 23:27:44 +00:00
John Crispin
c5461a78d2 kernel/3.1{0, 2, 3, 4}: mtd: m25p80: add support for EON EN25QH128
This flash is used in newer Ubnt UniFi AP Pro

Signed-off-by: Sergey Ryazanov <ryazanov.s.a@gmail.com>

SVN-Revision: 41219
2014-06-16 18:55:01 +00:00
Felix Fietkau
841b730f98 kernel: fix pkt_type filter mask for packet sockets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 41178
2014-06-13 09:34:03 +00:00
Felix Fietkau
2108ca0d9a ubifs: remove obsolete CONFIG_UBIFS_FS_XATTR symbol
550-ubifs-symlink-xattr-support.patch contains a reference to the
by now obsolete config symbol CONFIG_UBIFS_FS_XATTR which leads to
the functionality originally added by the patch in r30794 being
left-out during compile since commit 1bdcc63112a0
("UBIFS: remove xattr Kconnfig option") in v3.5.
Fix this by removing the #ifdef from all affected kernels as XATTR
support is now always enabled for UBIFS as well.

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

SVN-Revision: 40864
2014-05-27 20:34:03 +00:00
Felix Fietkau
32d1e0ed2c kernel: add a ssb backport required for a new mac80211 update
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40833
2014-05-23 18:48:31 +00:00
Steven Barth
874b26933d Add missing bracket in MAP-E FMR kernel support
SVN-Revision: 40830
2014-05-23 08:53:38 +00:00
Steven Barth
3224643614 Add kernel support for MAP-E FMRs
SVN-Revision: 40822
2014-05-22 20:04:48 +00:00
Felix Fietkau
25a1dcb37b generic: remove obsolete symbol export from block2mtd init patch
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40445
2014-04-10 14:43:22 +00:00
Felix Fietkau
f02e3a2a4a x86: try harder to attach block2mtd to fix boot issues on devices with longer delays
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40444
2014-04-10 14:43:17 +00:00
Hauke Mehrtens
64f54741e3 kernel: bgmac: rework patch checking packet length
This bgmac patch was an attempt to fix/workaround bug reported in
https://dev.openwrt.org/ticket/7198 noticed on WNR3500L.
Patch assumed length reported by the hardware was 0 and was trying to
read it until getting a different value. This was actually the opposite.
Lenghts were some invalid & huge values that resulted in skb_over_panic.
For example:
skbuff: skb_over_panic: text:83b21074 len:57222 (...)
skbuff: skb_over_panic: text:87af1024 len:43226 (...)
skbuff: skb_over_panic: text:87af5024 len:8739 (...)

So instead of that not-working patch checking for 0, write a new one
checking for huge values. In case something like that happens, dump
hardware state and drop the packet.

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

SVN-Revision: 40424
2014-04-08 19:50:17 +00:00
Hauke Mehrtens
bdde12b13a kernel: backport BCM5357 fix for GPIOs
This backports: bcma: gpio: register 32 GPIOs on BCM5357

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40347
2014-03-30 19:08:37 +00:00
John Crispin
bc03add273 kernel: export gluebi info to sysfs
Export the ubi_num and vol_id into the sysfs record of the gluebi-
emulated mtd device. Previously userspace didn't have a way to
map gluebi-emulated devices back to their corresponding ubi volumes.

SVN-Revision: 40306
2014-03-30 09:15:20 +00:00
Imre Kaloz
b8e295aa7b upgrade 3.13 targets to 3.13.7
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 40022
2014-03-26 11:34:39 +00:00
Felix Fietkau
479b0c82a2 kernel/generic: fix define in 642-bridge_port_isolate.patch
Patch 642-bridge_port_isolate.patch needs to be updated
for kernels 3.12, 3.13 and 3.14 as the define for BR_ISOLATE_MODE
conflicts with BR_LEARNING

Signed-off-by: Jonas Eymann <j.eymann@gmx.net>

SVN-Revision: 39955
2014-03-19 14:26:48 +00:00
Luka Perkov
c8b116d930 kernel/generic: drop already upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39855
2014-03-10 01:06:48 +00:00
Imre Kaloz
af63cdf87a upgrade 3.13 targets to 3.13.2, refresh patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org

SVN-Revision: 39582
2014-02-13 13:27:14 +00:00
Imre Kaloz
40ad83f70d keep initramfs the default for us
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39561
2014-02-10 15:30:01 +00:00
Hauke Mehrtens
f4b6bd8d0b kernel: XHCI PCI quirks for kernel 3.12 and 3.13
This adds empty definitions for the PCI quirks functions when they
should not be included in the kernel.
This is based on a patch by Daniel <daniel@makrotopia.org>

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

SVN-Revision: 39534
2014-02-08 16:32:37 +00:00
Hauke Mehrtens
7790ac5ecc kernel: fix bridge compilation on kernel 3.13
The int brnf_call_ebtables in the header should be extern, otherwise
every object file gets its own int and they will conflict when linking
the binary.

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

SVN-Revision: 39533
2014-02-08 15:36:03 +00:00
Hauke Mehrtens
f491623c37 kernel: bgmac: update bgmac to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39465
2014-02-04 22:55:23 +00:00
Hauke Mehrtens
7ae5ff92ae kernel: ssb: update ssb to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39464
2014-02-04 22:54:29 +00:00
Hauke Mehrtens
e0d4a548fb kernel: bcma: update bcma to a version from kernel 3.14-rc1
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39463
2014-02-04 22:53:52 +00:00
Felix Fietkau
4425082339 kernel: add missing changes to 220-gc_sections.patch that were accidentally dropped during porting to 3.13
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39458
2014-02-04 07:35:21 +00:00
Gabor Juhos
a558bb4471 kernel/3.1x: yaffs: fix handling of small-page NAND devices
Since the yaffs code update (r39084), it is not
possible to install OpenWrt on RouterBoards with
small-page NAND chips. Fix the yaffs code to make
it work again.

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

SVN-Revision: 39409
2014-01-28 17:30:25 +00:00
Gabor Juhos
89d60314e7 kernel/3.1x: add split code for LZMA compressed kernel based firmwares
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39387
2014-01-24 17:14:59 +00:00
Zoltan Herpai
2cf8391b75 update ocf patches - as ENT_DEBUG is removed, move the messages into pr_notice
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39350
2014-01-20 15:23:27 +00:00
Imre Kaloz
c89e789913 update/fixup overlayfs patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39349
2014-01-20 14:46:29 +00:00
Imre Kaloz
6bd1a37001 add initial 3.13 support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39348
2014-01-20 13:56:24 +00:00