Commit Graph

11688 Commits

Author SHA1 Message Date
Hauke Mehrtens
f5e5477c81 kernel: modify mtd related patches for 3.14
The change is the same as ("kernel/generic: modify mtd related
patches"). Since these files are under files directory, not a files
directory of specific kernel version, better to also change them. So
it will avoid adding files to future specific files directory
(e.g. files-3.14) for this mtd related change.

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40732
2014-05-08 21:52:04 +00:00
Hauke Mehrtens
c09007c1af kernel/generic: modify mtd related patches for 3.14
Function register_mtd_parser always returned 0 (at least since v3.3)
before being changed to return void in v3.14-rc1~65^2~93 (mtd: make
register_mtd_parser return void), so it's not needed to check the
return value of this function. Also add __init flag to caller.

This fix compile errors in 3.14 kernel like:
drivers/mtd/mtdsplit_seama.c: In function 'mtdsplit_seama_init':
drivers/mtd/mtdsplit_seama.c:99:2: error: void value not ignored as it ought to be
  return register_mtd_parser(&mtdsplit_seama_parser);
  ^

Signed-off-by: Zhao, Gang <gamerh2o@gmail.com>

SVN-Revision: 40731
2014-05-08 21:51:36 +00:00
Felix Fietkau
5ab4fe9c0e lantiq: strip FCS from received ethernet frames on XRX200
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40719
2014-05-07 18:36:58 +00:00
Florian Fainelli
21b14da88f rb532: Fix ext4 and squashfs images
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40717
2014-05-07 01:16:14 +00:00
Felix Fietkau
6142d061b5 lantiq: support loading the dsl firmware from a flash partition as a raw gzipped tarfile
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40715
2014-05-06 21:06:22 +00:00
Felix Fietkau
4919affbd4 x86_64: enable high res timers by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40698
2014-05-05 18:44:46 +00:00
Felix Fietkau
59fc308945 x86: enable high res timers by default
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40697
2014-05-05 18:44:38 +00:00
Felix Fietkau
b4d93a52cf ar71xx/ath9k: fix reading the WMAC revision on AR953x (fixes #15581)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 40695
2014-05-04 23:26:20 +00:00
Zoltan Herpai
0c2f0c6a3b mxs: rename files so that profiles are sorted alphabetically
While at it, make spelling at little bit more consistent,
at least for my taste :-)

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 40679
2014-05-03 14:56:25 +00:00
Zoltan Herpai
18a7636c9f mxs: fix typo in patch filename
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 40678
2014-05-03 14:37:02 +00:00
Hauke Mehrtens
c4ecc47f41 kernel: unify the two kmod-usb-mxs-phy packages
There are two packages with the name kmod-usb-mxs-phy in OpenWrt which
causes warnings on every build.

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

SVN-Revision: 40663
2014-05-02 21:13:21 +00:00
Hauke Mehrtens
d064b747af kernel: add missing config options
These options are missing and were spotted by the buildbots.

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

SVN-Revision: 40661
2014-05-02 21:08:22 +00:00
Zoltan Herpai
96446df6a6 octeon/mpc83xx: remove CONFIG_NETWORK_FILESYSTEMS override
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40642
2014-05-01 18:49:58 +00:00
Hauke Mehrtens
e2cd04bfb3 kernel: fix compile error with gcc-4.8 and kernel 3.3
With gcc-4.8 I get a compile error with kernel 3.3.
This patch fixes this problem by backporting a patch from a more recent kernel version.

  CC      arch/mips/mm/page.o
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:108:6: error: 'copy_page' alias in between function and variable is not supported
 void copy_page(void *to, void *from) __attribute__((alias("copy_page_array")));
      ^
arch/mips/mm/page.c:102:12: error: 'copy_page_array' aliased declaration [-Werror]
 static u32 copy_page_array[0x540 / 4];
            ^
arch/mips/mm/page.c:89:6: error: 'clear_page' alias in between function and variable is not supported
 void clear_page(void *page) __attribute__((alias("clear_page_array")));
      ^
arch/mips/mm/page.c:84:12: error: 'clear_page_array' aliased declaration [-Werror]
 static u32 clear_page_array[0x120 / 4];
            ^
cc1: all warnings being treated as errors
make[7]: *** [arch/mips/mm/page.o] Error 1

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

SVN-Revision: 40619
2014-05-01 13:07:44 +00:00
Zoltan Herpai
5e47b57e57 sunxi: various a13 changes - add rtl8192cu into A13 Olinuxino profile - make wlan0 the default interface
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40617
2014-05-01 10:23:55 +00:00
Zoltan Herpai
3bcb308b22 sunxi: add rtl8192cu to pcDuino profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40616
2014-05-01 10:02:43 +00:00
Zoltan Herpai
c754682724 sunxi: add default network config for missing boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40612
2014-04-30 22:04:34 +00:00
Zoltan Herpai
e87a753a10 sunxi: add rtl8188eu into pcduino v3 profile
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40610
2014-04-30 21:54:47 +00:00
Zoltan Herpai
186b5655d0 sunxi: add board support for LinkSprite pcDuino v3
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40606
2014-04-30 19:50:15 +00:00
Hauke Mehrtens
31ccc84c37 kernel: add missing config options
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40599
2014-04-29 21:03:00 +00:00
Hauke Mehrtens
fe38dcf8f3 at91: Add AT91 board and model name to /tmp/sysinfo
From 9158e3282db592e78fb32a2c8a0903ef21b97f5c Mon Sep 17 00:00:00 2001
 From: Owen Kirby <osk@exegin.com>
 Date: Fri, 11 Apr 2014 18:28:56 -0700
 Subject: [PATCH 3/3] [at91] Add AT91 board and model name to /tmp/sysinfo.

This patch extracts the board name and model information from the /proc/device-tree
node in order to provide something a little more friendly on the LuCI sysinfo page
than just "AT91SAM9 (Device Tree)"

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40598
2014-04-29 21:02:40 +00:00
Hauke Mehrtens
b5f9e1632b at91: AT91SAM9G20-EK fixes
From 272f548fe8d0b811e0589e535f650f0507f6bccd Mon Sep 17 00:00:00 2001
 From: Owen Kirby <osk@exegin.com>
 Date: Fri, 11 Apr 2014 17:59:55 -0700
 Subject: [PATCH 2/3] [at91] AT91SAM9G20-EK fixes.

While testing the 3.10 kernel update, I found that the out-of-the-box device tree for the
the AT91SAM9G20EK uses a UBIFS rootfs and stores the DTB separately from the zImage.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40597
2014-04-29 21:02:05 +00:00
Hauke Mehrtens
f6cd23364b Update AT91 kernel to 3.10.34
From 2064e6d069ec8df7f5e988547fe7f2a1a7ad890f Mon Sep 17 00:00:00 2001
 From: Owen Kirby <osk@exegin.com>
 Date: Thu, 10 Apr 2014 19:02:15 -0700
 Subject: [PATCH 1/3] [at91]  Update AT91 kernel to 3.10.34.

This patch updates the kernel of the AT91 target to version 3.10.34.

Signed-off-by: Owen Kirby <osk@exegin.com>

SVN-Revision: 40596
2014-04-29 21:00:50 +00:00
Felix Fietkau
a12ad3ecf1 atheros: remove useless get_c0_compare_int fix
Remove get_c0_compare_int fix which is useless for latest kernels.

Tested on Ubnt Bullet2, which could successfully boot without this
workaround.

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

SVN-Revision: 40593
2014-04-29 16:19:36 +00:00
Felix Fietkau
2603c9045d cns3xxx: ethernet - revert: clean up tx descs only when needed
This reverts commit 0772ab938c0aedd7f4cc7127059d6ce8cf929dfa.

Trying to optimize calls to eth_complete_tx in this fasion causes a regression
where when sending only the tx queue can get disabled until a packet is
received. This original call to eth_schedule_poll() is scheduled so it
should not cause a performance issue.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40592
2014-04-29 15:52:12 +00:00
Hauke Mehrtens
b6ad77229f kernel: deactivate fs cache config option
r40587 added some kernel config options, on which these two ones depend.
This fixes the build of the buildbots.

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

SVN-Revision: 40588
2014-04-28 21:40:09 +00:00
Zoltan Herpai
eccbcc7936 mxs: enable usbgadget feature for Duckbills
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Acked-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40585
2014-04-28 07:43:29 +00:00
Hauke Mehrtens
1c2dbe4e94 bcm53xx: add default config for switch
This scripts adds a default config for the switch.

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

SVN-Revision: 40565
2014-04-23 22:02:18 +00:00
Hauke Mehrtens
d89aa2c3d6 bcm53xx: add initial support for kernel 3.14
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 40564
2014-04-23 21:53:50 +00:00
John Crispin
4a7a0d2536 ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 40561
2014-04-23 07:52:56 +00:00
John Crispin
720a0a1df1 ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40557
2014-04-23 07:51:57 +00:00
John Crispin
cd5f3584e2 ramips: Add support for the 7Links PX-4885 wireless router.
The 7Links PX-4885 is a small battery-powered wireless router.
It is based on a RT5350F WiSoC and features one ethernet port and one
USB port. It is a Hame MPR-A1 clone, except it has different GPIOs,
a different battery and more RAM (32 MB).
This patch adds a profile for this board, the corresponding device tree
file and the adequate base-files changes (incl. sysupgrade).

Signed-off-by: Hugo Grostabussiat <bonstra@bonstra.fr.eu.org>

SVN-Revision: 40554
2014-04-22 08:08:51 +00:00
John Crispin
4f3c740110 lantiq: BT Home Hub 2B - overlayfs on top of ubi
BT Home Hub 2B: use overlayfs on top of ubi.

Signed-off-by: Ben Mulvihill <ben.mulvihill@gmail.com>

SVN-Revision: 40553
2014-04-22 08:08:46 +00:00
John Crispin
284ada8a3e ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40552
2014-04-22 08:08:42 +00:00
John Crispin
cb91087991 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40550
2014-04-22 08:08:35 +00:00
John Crispin
2b2d274bfa ramips: Add Airlink101 AR725W board support
Signed-off-by: Claudio Leite <leitec@staticky.com>

SVN-Revision: 40549
2014-04-22 08:08:31 +00:00
John Crispin
5836cde0e0 Fix vr9_phy22f_a2x.bin firmware linking
vr9_phy22f_a2x.bin needs to be linked in order to get ethernet support.

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

SVN-Revision: 40543
2014-04-22 08:08:06 +00:00
John Crispin
1b96cf30a9 linux/generic: add MIB counters and port status to ADM6996 switch
This patch adds port status information and MIB counters to the ADM6996
switch driver.

The driver supports also the older ADM6996L-variant, but I'm not able to
test this patch on that chip. According to the datasheet the same
registers exist there as well, so I think it should work, but any
feedback is appreciated.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 40542
2014-04-22 08:08:02 +00:00
John Crispin
cdc53e2ec9 lantiq: fix maximum ethernet header length
The total ethernet frame length should be written to the hardware
register LTQ_ETOP_IGPLEN instead of just the value of the MTU. This
patch fixes network issues on various Danube boards, especially when
VLAN tagging is enabled.

Signed-off-by: Matti Laakso <malaakso at elisanet.fi>

SVN-Revision: 40541
2014-04-22 08:07:53 +00:00
Zoltan Herpai
248678fccd add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40540
2014-04-21 18:16:03 +00:00
Zoltan Herpai
86e77c57f2 add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40539
2014-04-21 18:14:17 +00:00
Zoltan Herpai
d2b3c52238 add missing symbols in prepping for afs patchset
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40538
2014-04-21 18:13:19 +00:00
Luka Perkov
b58e65f2ee imx6-gateworks: enable new canbus packages
The canbus package was recently changed to a more active project. This patch
updates the default package names to include the same functionality as before.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 40531
2014-04-19 21:39:04 +00:00
John Crispin
c4aae8fbc5 lantiq: ARV7519RW22: several fixes
- Fix ethernet ports.
- Clean DTS files.
- WiFi is lantiq based (not supported yet), remove ath9k.

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

SVN-Revision: 40519
2014-04-16 12:01:09 +00:00
Zoltan Herpai
ba62f78e2e sunxi: remove mainlined patches
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 40512
2014-04-14 21:36:39 +00:00
Gabor Juhos
1374e5a721 ar71xx: rb91x: fix ethernet packet loss issues
The RB91x boards are suffering from ethernet packet loss after a cold
boot. The cause of the problem is that the AR8035 PHYs requires special
register settings to work reliably on these boards.

Enable the RGMII TX, RX delays and disable SmartEE functionality of
the AR8035 PHYs. Also enable the RXD delay in the ETH_CFG register
to fix the issue.

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

SVN-Revision: 40509
2014-04-13 20:41:52 +00:00
Gabor Juhos
46a8af4c47 ar71xx/mikrotik: enable the AT803x PHY driver
It will be used on the RB91x boards.

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

SVN-Revision: 40508
2014-04-13 20:41:51 +00:00
Gabor Juhos
02ea5b9e56 ar71xx: allow to configure AR803x PHYs via platform data
Add a patch for the at803x phy driver, in order to be able
to configure some register settings via platform data.

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

SVN-Revision: 40507
2014-04-13 20:41:50 +00:00
Gabor Juhos
27dec09907 ar71xx: add phy_mmd_{read,write} helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40506
2014-04-13 20:41:48 +00:00
Gabor Juhos
6a0f8ea201 ar71xx: enable console on the RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 40505
2014-04-13 20:41:42 +00:00