Commit graph

11370 commits

Author SHA1 Message Date
Hauke Mehrtens
2bc9700c0d bcm53xx: update the ethernet core hacks
The PHY always says there is no link
Instead of doing this dma sync a mdelay does the same trick and it is as unreliable.

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

SVN-Revision: 39202
2014-01-04 18:27:09 +00:00
Hauke Mehrtens
5a55ace3b8 kernel: bgmac: update the driver patches to a version submitted for mainline kernel.
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39201
2014-01-04 18:25:05 +00:00
Zoltan Herpai
815ceabd9d sunxi: emac changes - move emac into module - add into profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39200
2014-01-04 17:33:44 +00:00
Zoltan Herpai
9712b2d6fa sunxi: add sata driver to profiles where appropriate
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39198
2014-01-04 16:39:31 +00:00
Zoltan Herpai
34ca9f355e sunxi: add sata driver for sun[47]i
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39197
2014-01-04 16:30:56 +00:00
Zoltan Herpai
9808a0830b sunxi: move sunxi-sid (security ID) off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39196
2014-01-04 13:46:43 +00:00
Zoltan Herpai
1ffc2deed4 sunxi: move rtc off to module
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39195
2014-01-04 12:47:51 +00:00
Zoltan Herpai
662e5c224c sunxi: add the actual mmc driver
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39194
2014-01-04 11:08:27 +00:00
Zoltan Herpai
78936aa875 sunxi: delete a31 reset for now in lack of the mach split
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39193
2014-01-04 11:02:16 +00:00
Zoltan Herpai
51d5e458a3 sunxi: add support for pcDuino board
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39190
2014-01-04 10:06:17 +00:00
Zoltan Herpai
c98c6ef201 sunxi: add mmc support - add MMC support for sun457i - update kernel config to compile in MMC and ext4 - update kernel cmdline
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39189
2014-01-04 10:02:01 +00:00
Zoltan Herpai
2657412374 sunxi: various fixes - have Kconfig options ordered - add new olinuxino a13-micro board - various fixes for EHCI
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39188
2014-01-04 09:55:41 +00:00
Zoltan Herpai
4a314d1805 sunxi: remove sun6i/7i split for now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39187
2014-01-04 09:49:44 +00:00
Zoltan Herpai
6b61e7786c sunxi: refresh clock framework
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 39186
2014-01-04 09:47:50 +00:00
Luka Perkov
1df5226b04 ixp4xx: upgrade: don't copy extra binaries
hexdump is already added to new temporary file system while less is not used at
all. While at it, remove some trailing whitespaces.

Signed-off-by: Luka Perkov <luka@openwrt.org>
CC: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39181
2013-12-30 23:49:25 +00:00
John Crispin
9715b61b3c ralink: fix tso regression in the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39168
2013-12-27 21:14:49 +00:00
Hauke Mehrtens
8c085f647b brcm47xx: fix cpu wait for BCM4706
This was called to early.

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

SVN-Revision: 39167
2013-12-26 23:30:10 +00:00
Hauke Mehrtens
961d5b4453 brcm47xx: b44: This updates the phylib patches to the version send upstream
This uses a fixed phy instead of a dummy one.

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

SVN-Revision: 39166
2013-12-26 23:27:52 +00:00
Hauke Mehrtens
bc3d934148 kernel: bgmac: update patches
This updates the bgmac backport patch to the current upstream version
and adds some more patches mostly for BCM4707.

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

SVN-Revision: 39165
2013-12-26 23:22:31 +00:00
John Crispin
9739a0b41b ramips: add support for RT-N14U (mt7620n based) board
added dts file and userspace scripts modified to support Asus RT-N14U board

current support status:
usb        works
ethernet   works
buttons    reset, wps
leds       asus:blue:[usb|lan|wan|air|power]
i2c        not tested
uart       not tested
wifi       not yet

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39163
2013-12-25 17:04:50 +00:00
John Crispin
93d8dc870e ramips: add gpio pin 72 in mt7620 chips to dtsi files
describes register set to control last gpio pin on mt7620 platfrom

Signed-off-by: Pavel Löbl <lobl.pavel@gmail.com>

SVN-Revision: 39162
2013-12-25 17:04:34 +00:00
Gabor Juhos
05f8604e2e ar71xx: fix max frame length of the QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39161
2013-12-23 17:05:23 +00:00
Gabor Juhos
76f37c5d46 ar71xx: don't set builtin_switch flag for QCA9558
It makes no sense, the SoC has no built-in switch.

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

SVN-Revision: 39160
2013-12-23 17:05:21 +00:00
Gabor Juhos
dd7c1f8fcd x86/kvm_guest: remove 3.7 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4637/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39159
2013-12-23 17:05:19 +00:00
Gabor Juhos
d720b95ac2 x86/kvm_guest: remove 3.3 support
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/46366/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39158
2013-12-23 17:05:18 +00:00
Gabor Juhos
03e091f3ce x86/kvm_guest: add support for 3.10 and switch to it
Patch-by: Stijn Tintel <stijn@linux-ipv6.be>
Patchwork: http://patchwork.openwrt.org/patch/4635/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39157
2013-12-23 17:05:16 +00:00
Gabor Juhos
f2cd3399f7 ar71xx: allow to use large ethernet frames on AR934x SoCs
The hardware supports large ethernet frames. Override
the maximum frame length and packet lenght mask in the
platform data to allow to use large MTU on the ethernet
interfaces.

Limit the feature to AR934x SoCs for now. It should work
on some other SoCs as well, but those has not been tested
yet.

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

SVN-Revision: 39149
2013-12-20 11:41:23 +00:00
Gabor Juhos
2b220f3550 ar71xx: ag71xx: fix max frame length setup of the built-in switches
The currently used bitmask of the maximum frame length field
is wrong for both models. On AR724x/AR933x the largest frame
size is 2047 bytes, on the AR934x it is 16383 bytes.

Make the MTU setup code model specific, and use the correct
bitmask for both models. Also change the value to the maximum.

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

SVN-Revision: 39148
2013-12-20 11:41:22 +00:00
Gabor Juhos
35d601f974 ar71xx: ag71xx: calculate max frame len register value from the MTU
Set the MAX_FRAME_LEN register to zero in ag71xx_hw_init()
and write the correct value into that from the ag71xx_open()
and ag71xx_fast_reset() functions.

Also recalculate the RX buffer size based on the actual
maximum frame length value to optimize memory allocation.
Additionaly, disallow to change the MTU value while the
interface it running.

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

SVN-Revision: 39147
2013-12-20 11:41:20 +00:00
Gabor Juhos
9e7d77de2d ar71xx: ag71xx: add ag71xx_max_frame_len() helper
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39146
2013-12-20 11:41:18 +00:00
Gabor Juhos
2c4e3cf33a ar71xx: ag71xx: get max_frame_len and desc_pktlen_mask from platform data
This will allow to use SoC specific values for both.

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

SVN-Revision: 39145
2013-12-20 11:41:17 +00:00
Gabor Juhos
9be1e508f9 ar71xx: ag71xx: store descriptor packet length mask in ag71xx struct
The currently used bitmask is not correct for all SoCs.
Introduce a new field in struct ag71xx and store the
bitmask in that. Use the current value for now, it will
be adjusted for each SoCs in further patches.

Aslo use the new field directly in the ag71xx_rx_packets
and ag71xx_hard_start_xmit() functions and remove the
ag71xx_desc_pktlen() helper.

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

SVN-Revision: 39144
2013-12-20 11:41:16 +00:00
Imre Kaloz
21d57f5a40 don't fail if there are no dtbs
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39141
2013-12-20 05:50:24 +00:00
Felix Fietkau
a787a02873 ar71xx: add missing tx gain table flag for buffalo wzr-hp-g450h
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39139
2013-12-19 17:18:12 +00:00
Luka Perkov
5db5354c70 imx6: refresh patches
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39135
2013-12-19 02:03:26 +00:00
Luka Perkov
7632535589 kernel: backport upstream inet fix
Without it in some occasions oops is shown on network restart. Problem was
noticed on imx6 targed.

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

SVN-Revision: 39134
2013-12-19 02:03:25 +00:00
Luka Perkov
1e9161528b imx6: proper fix for io-remap
The previous patch was not the proper fix for PCI devices that require io
resources.  The new patch is the proper fix backported from mainline.

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

SVN-Revision: 39133
2013-12-19 02:03:16 +00:00
Gabor Juhos
2318a46d84 ar71xx: enable images for WD My Net N750
Now that the switch works correctly we can enable the images for this
board.

Flashing from the factory firmware, the factory failsafe loader and
sysupgrade was tested successfully.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4617/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39130
2013-12-17 22:14:13 +00:00
Gabor Juhos
1ebf211340 ar71xx: fix WD My Net N750 switch led cfg
Now that the switch is working correctly I had the chance to actually
test the LED config.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4616/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39129
2013-12-17 22:14:12 +00:00
Gabor Juhos
c72313fd98 ar71xx: implement switch fix for WD My Net N750
The bootloader on the WD My Net N750 disables the ports on it's internal
AR8327N switch by powering them down. The stock firmware then brings the
ports back up again by starting the auto negotiation process on each
port.

This fix implements just that.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4615/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39128
2013-12-17 22:14:11 +00:00
Gabor Juhos
8b712436f3 ar71xx: implement callback in mdio reset
This enables us to add fixups to the board specific code for boards that
require special treatment of PHYs on mdio bus reset.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
http://patchwork.openwrt.org/patch/4614/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39127
2013-12-17 22:14:10 +00:00
Gabor Juhos
ba860e4c3a ar71xx: make ag71xx_mdio_platform_data visible
This enables us to modify the ag71xx_mdio_platform_data from within the
board support files.

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
Patchwork: http://patchwork.openwrt.org/patch/4613/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39126
2013-12-17 22:14:07 +00:00
Gabor Juhos
31de995025 ar71xx: ag71xx: compute the RX buffer size from the maximum frame size
Currently, the AG71XX_RX_PKT_SIZE value limits the received
frame size to 1514/1516 bytes with/without a VLAN header
respectively. However the hardware limit is controlled by
the value the AG71XX_REG_MAC_MFL register which contains
the value of the max_frame_len field.

Compute the RX buffer size from the max_frame_len field
to get rid of the 1514/1516 byte limitation. Also remove
the unused AG71XX_RX_PKT_SIZE definition.

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

SVN-Revision: 39121
2013-12-17 16:27:46 +00:00
Gabor Juhos
b35e0da0f4 ar71xx: ag71xx: store RX buffer size in the ag71xx struct
This allows to change the value dynamically.

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

SVN-Revision: 39120
2013-12-17 16:27:44 +00:00
Gabor Juhos
6072e777e9 ar71xx: ag71xx: store maximum frame length in the ag71xx struct
This will allow to use different values for the
different SoCs.

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

SVN-Revision: 39117
2013-12-17 15:18:16 +00:00
Gabor Juhos
ea89cc9250 ar71xx: ag71xx: use mdio bus name in ar7240_probe messages
The ar7240_probe function uses the network device name
in the kernel log messages, however the name is not yet
initialized when the ar7240_probe function is called.
Use the mdio bus name in the messages to avoid ugly
log lines like the following one:

  eth%d: Found an AR7240/AR9330 built-in switch

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39116
2013-12-17 15:12:52 +00:00
Gabor Juhos
0d7a6748e1 ag71xx: ag71xx: use device name for debugfs entry
The ag71xx debugfs code uses the network device name
for the device specific debugfs directory. Since r38689
'ar71xx: ag71xx: fix a race involving netdev registration'
the debugfs initialization happens before the ethernet
device gets registered and the network device name contains
'eth%d' at this point. If the board setup code registers
multiple ag71xx devices, the debugfs code tries to create
the device specific dir with the same name which causes
an error like this:

  eth0: Atheros AG71xx at 0xba000000, irq 5, mode:GMII
  ag71xx ag71xx.0: connected to PHY at ag71xx-mdio.1:04 [uid=004dd041, driver=Generic PHY]
  ag71xx: probe of ag71xx.0 failed with error -12

Use the device name for the debugfs directory to avoid the
collisions. Also add an error message and change the return
code if the debugfs_create_dir call fails.

Reported-by: Ronald Wahl <ronald.wahl@raritan.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39115
2013-12-17 15:12:50 +00:00
Luka Perkov
b27f84034b imx6: ventana: add canbus utils
Some of the Gateworks Ventana boards have CAN bus support, therefore
we will install the userspace utils.

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

SVN-Revision: 39113
2013-12-17 02:47:20 +00:00
Luka Perkov
7802f4619b imx6: ventana: add default kernel modules for GSC
All Gateworks Ventana boards have a Gateworks System Controller
which emulates the following:
 - ds1672 RTC
 - pca953x GPIO expander
 - hardware monitor
 - at24 eeprom

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

SVN-Revision: 39112
2013-12-17 02:47:18 +00:00
Luka Perkov
325a4f5b6e imx6: add rtc feature support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39111
2013-12-17 02:47:17 +00:00
Luka Perkov
ccf1ee93d9 imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39109
2013-12-17 02:47:15 +00:00
Gabor Juhos
5237a50089 ar71xx: add initial support for the Mikrotik RB911G/RB912UAG boards
It is only on RB911G-5HPnD and RB912UAG-5HPnD boards.
The LEDs and the USB port is not working yet.

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

SVN-Revision: 39102
2013-12-16 18:08:51 +00:00
Gabor Juhos
8461ffccc1 ar71xx: add NAND driver for the Mikrotik RB91x boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39097
2013-12-16 12:57:24 +00:00
Gabor Juhos
d7a0184446 ar71xx: rb2011: use board name from the hardware config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39096
2013-12-16 12:41:48 +00:00
Gabor Juhos
26ca95fefa ar71xx: rb2011: simplify setup code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39095
2013-12-16 10:28:42 +00:00
Gabor Juhos
59b6cf1e70 ar71xx: rb2011: use the new RouterBOOT helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39094
2013-12-16 10:28:41 +00:00
John Crispin
6218da5a41 ralink: fix dir810 networking
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39093
2013-12-16 10:16:33 +00:00
Gabor Juhos
627651dfca ar71xx: rb95x: use the rb_get_wlan_data helper
Also remove unused RB_* defines.

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

SVN-Revision: 39092
2013-12-16 10:11:02 +00:00
Gabor Juhos
16565ec94b ar71xx: add some RouterBOOT specific helper functions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39091
2013-12-16 10:11:01 +00:00
Gabor Juhos
0601b5f404 kernel: define RB_ID_HW_OPTIONS in include/linux/routerboot.h
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39090
2013-12-16 10:11:00 +00:00
Gabor Juhos
c92a4a427e ar71xx: refresh m25p80 patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39089
2013-12-16 10:10:58 +00:00
Gabor Juhos
728c2c6cff ar71xx: rb95x: nuke rb95x_gpio_init
Set up the chipselect GPIO directly in rb95x_nand_init
instead.

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

SVN-Revision: 39087
2013-12-16 08:17:40 +00:00
Gabor Juhos
852e0f33db kernel/3.1[02]: add Winbond W25X05 SPI flash support
It is used on newer RouterBOARDs.

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

SVN-Revision: 39086
2013-12-16 08:16:09 +00:00
Gabor Juhos
f1eabfb23b kernel: remove obsolete yaffs options from target configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39085
2013-12-16 07:51:21 +00:00
Gabor Juhos
7e3644d3cf kernel: update yaffs code
Use the latest version of the yaffs code. Fetched from the
yaffs2 git tree and it is based on the following commit:

  commit bc76682d93955cfb33051beb503ad9f8a5450578
  Merge: 3a8580e ffa781d
  Author: Charles Manning <cdhmanning@gmail.com>
  Date:   Thu Jul 11 17:46:25 2013 +1200

      Merge branch 'master' of ssh://www.aleph1.co.uk/home/aleph1/git/yaffs2

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

SVN-Revision: 39084
2013-12-16 07:51:19 +00:00
Gabor Juhos
85755deaf6 kernel/3.9: remove yaffs patches
It is not used by any platform.

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

SVN-Revision: 39083
2013-12-16 07:42:43 +00:00
Gabor Juhos
542e732058 kernel/3.6: remove yaffs support
It is not used by any platform.

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

SVN-Revision: 39082
2013-12-16 07:42:42 +00:00
Gabor Juhos
c05dc6f745 kernel/3.3: remove yaffs support
It is not used by any platform.

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

SVN-Revision: 39081
2013-12-16 07:42:41 +00:00
Gabor Juhos
6928b4121f ar71xx/mikrotik: disable unused MTD options
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39080
2013-12-16 07:39:22 +00:00
Gabor Juhos
d208d3fe1a ar71xx: add dummy rle_decode function if CONFIG_RLE_DECOMPRESS is not set
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39079
2013-12-16 07:37:31 +00:00
Gabor Juhos
7038fd9c52 ar71xx: add userspace support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: remove the image generation part until the ethernet
         switch issue is resolved]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39078
2013-12-16 07:16:43 +00:00
Gabor Juhos
3dc1cbb167 ar71xx: add kernel support for WD My Net N750
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>
[juhosg: use a separate patch for kernel changes]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39077
2013-12-16 07:16:42 +00:00
Gabor Juhos
aeaff0090c generic: ar8216: Enable jumbo frames on AR8327 by default
This patch enables jumbo frames on AR8327 switch by default.
I have tested it on TP-Link TL-WDR3600.

Signed-off-by: Piotr Dymacz <pepe2k@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39076
2013-12-15 22:18:04 +00:00
Gabor Juhos
749c44b24d ar71xx: build image for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4507/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39075
2013-12-15 21:34:20 +00:00
Gabor Juhos
3af206abb3 ar71xx: add user-space support for the TP-Link TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4508/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39074
2013-12-15 21:34:19 +00:00
Gabor Juhos
fd393c0b05 ar71xx: add kernel support for the TL-WA901ND v3 board
Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39073
2013-12-15 21:34:18 +00:00
Gabor Juhos
9ce06f2ac8 ar71xx: move TL-WA801ND v2 setup code
The TL-WA801ND v2 board has only one LAN port which makes
it more similar to the TL-WR[78]50RE devices. Move the
board setup code into the mach-tl-wax50re.c file.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39072
2013-12-15 21:34:17 +00:00
Gabor Juhos
40f081ad08 ar71xx: refactor TL-WAx50RE setup code
This way it is a bit easier to add other TP-LINK devices based on the
Atheros AP123 reference board with one LAN port.

Based-on: http://patchwork.openwrt.org/patch/4506/
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39071
2013-12-15 21:34:15 +00:00
Gabor Juhos
e2fc4dc4e7 ar71xx: build firmware image for the TL-WA801ND v2
Patch to add the profile for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4502/
[juhosg: change subject]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39065
2013-12-15 20:39:12 +00:00
Gabor Juhos
3e994a81d4 ar71xx: add user space support for the TL-WA801ND v2
Patch to add the user space support for the TL-WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4501/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39064
2013-12-15 20:39:11 +00:00
Gabor Juhos
e3e559fd52 ar71xx: add kernel support for the TL-WA801ND v2 board
Patch to add kernel support for the TP-LINK WA801ND v2

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Patchwork: http://patchwork.openwrt.org/patch/4500/
[juhosg:
  - the TL-WA801ND v2 does not have a sliding switch, it uses a push button
    for WPS instead. Use the tl_mr3420v2_gpio_keys array to reflect that,
  - rename kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 39063
2013-12-15 20:39:10 +00:00
Hauke Mehrtens
36197755dc brcm47xx: deactivate early printk support
This breaks some devices where the serial console is not at port 0 but
somewhere else.

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

SVN-Revision: 39060
2013-12-15 19:19:16 +00:00
Hauke Mehrtens
952db22551 kernel: update kernel 3.10 to 3.10.24
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 39059
2013-12-15 19:16:30 +00:00
Imre Kaloz
e504547e4c upgrade 3.12 targets to 3.12.5
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39055
2013-12-14 17:37:14 +00:00
Imre Kaloz
96d5726e92 drop the bootscript, new u-boots won't need it
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39051
2013-12-14 16:29:35 +00:00
John Crispin
b4b0a55aab ralink: add mt7621 support
there are still various missing pieces for full support.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39040
2013-12-13 10:53:34 +00:00
Imre Kaloz
6985994d88 add a default profile file
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39037
2013-12-12 10:08:15 +00:00
Luka Perkov
ceb57f139d imx6: add canbus support for Ventana boards
GW5400, GW5300, and GW5200 have CAN bus option.

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

SVN-Revision: 39034
2013-12-11 10:56:11 +00:00
Luka Perkov
2bbd43d065 imx6: add flexcan support
backport upstream changes to 3.10:
 - 0060-flexcan.patch:
   - add flexcan pinctrl and devicetree config
 - 0061-can-flexcan-use-correct-clock-as-base-for-bit-rate-c.patch
   - fix a clock issue
 - 0062-ARM-i.MX6q-fix-the-wrong-parent-of-can_root-clock.patch
   - fix a clock issue

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

SVN-Revision: 39033
2013-12-11 10:56:09 +00:00
John Crispin
0ef939c93b ralink: add TSO
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39019
2013-12-09 17:29:29 +00:00
John Crispin
09a933ed73 ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39018
2013-12-09 17:29:24 +00:00
John Crispin
a65c9e5b20 ralink: add mt7620a gdma info to dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39017
2013-12-09 17:29:19 +00:00
John Crispin
d203784841 ralink: add asoc modules
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39016
2013-12-09 17:29:14 +00:00
John Crispin
be10895651 ralink: add partially working asoc driver. codec is not fully functional yet
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39015
2013-12-09 17:29:08 +00:00
John Crispin
231eca9375 ralink: add helper that identifies the mt7620 ECO
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39014
2013-12-09 17:29:03 +00:00
John Crispin
833943b410 ralink: add dma engine support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 39013
2013-12-09 17:28:43 +00:00
Luka Perkov
c8753ca97c imx6: add support for GW53xx
The Gateworks GW53xx family of products is based on the Freescale
i.MX6DL SoC and offers a small form-factor with peripherals such as:

 * i.MX6DL
 * NAND FLASH
 * 4x PCIe
 * 4x USB EHCI (1x front-panel; 3x PCIe sockets)
 * 1x USB OTG
 * 1x uSD
 * LVDS connector (VLDS for display, PWM/GPIO for backlight, i2c for touch)
 * HDMI Audio/Video out
 * Analog Video in
 * Digital IO
 * Gateworks System Controller
 * Accelerometer
 * Canbus
 * Optional GPS
 * Industrial temp (-40C to +85C)
 * DC input voltage 8 to 42V (Passive PoE and 802.3af)

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

SVN-Revision: 39012
2013-12-09 11:30:23 +00:00
Luka Perkov
7523aa05c1 imx6: add DMA/SDMA support for 3.12
DMA and SDMA support are needed for ssi based audio.  Note that the sdma
firmware is no longer required for ssi audio.

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

SVN-Revision: 39011
2013-12-09 11:30:22 +00:00
Luka Perkov
c9ee51ad38 imx6: drop upstreamed patch
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 39010
2013-12-09 11:30:20 +00:00
Luka Perkov
47d1215dc7 kernel: added defines for 3.12
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 39009
2013-12-09 11:30:19 +00:00
Felix Fietkau
7a260c3620 ath9k: merge initval and tx gain table updates, calibration fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 39001
2013-12-08 14:48:30 +00:00
Jo-Philipp Wich
7d725aab9a generic: workaround arptables arpt_arp structure padding issue (#14577)
Linaro GCC 4.6-2013.05 incorrectly pads the arpt_arp structure on
at least the ar71xx target, resulting in a two bytes shorter struct
in the kernel compared to what arptables userspace expects.

When comparing sizeof(struct arpt_arp) in kernel and userspace, the
former yields 162 byte, while the latter is 164 byte.

As a consequence, the subsequent target_offset and next_offset
members of the parent arpt_entry structure contain invalid values
when processed by the arptables binary, leading to bad memory
accesses in the populate_cache() procedure, subsequently causing a
segfault.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38999
2013-12-06 15:42:35 +00:00
Jo-Philipp Wich
21ee73c920 generic: fix occasional "execvp: /bin/sh: Argument list too long" is kernel header install phase (#12907)
Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>

SVN-Revision: 38998
2013-12-06 15:37:55 +00:00
Hauke Mehrtens
94f7ae90f8 brcm47xx: misc cleanups
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>

SVN-Revision: 38980
2013-12-01 18:12:57 +00:00
Hauke Mehrtens
c48f285147 brcm47xx: deactivate mips wait instruction only for BCM4706
The wait instruction is only broken on the BCM4706 and not on the other
similar SoCs.

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

SVN-Revision: 38979
2013-12-01 18:05:08 +00:00
Hauke Mehrtens
cbbfc5f1e6 brcm47xx: config: set CONFIG_HZ=100 and CONFIG_IP_ROUTE_VERBOSE
This sets both values to the OpenWrt default values. There is no reason
to use some brcm47xx specific values here.

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

SVN-Revision: 38978
2013-12-01 17:34:27 +00:00
Hauke Mehrtens
3fb7e8b851 brcm47xx: add vectored interrupts
This adds support for vectored interrupts in this SoC.
This is supported by the 74K cpus.

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

SVN-Revision: 38975
2013-12-01 16:37:58 +00:00
Hauke Mehrtens
25ca004f24 brcm47xx: add cpu overwrites
bcm47xx misses cpu overwrites for the features of the CPUs used in
these SoCs.
Instead of manually checking, it is now known at compile time for some
options and the compiler is able to remove the checks and optimize the
code.

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

SVN-Revision: 38974
2013-12-01 16:36:38 +00:00
Hauke Mehrtens
d7ebbd0ac7 brcm47xx: use "firmware" partition name
Some time ago, after switching to the mainline bcm47xxpart driver
following patch has been applied:

commit 03cef8725d2062335ffc3de50fc037b294fd458c
Author: hauke <hauke@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date:   Sat Apr 6 22:22:26 2013 +0000

    brcm47xx: use old partition names again for kernel 3.8

    This fixes sysupgrade. The partition names are used all over the Internet in various howtos.

    Thank you russell for spotting this problem.

I propose to revert this change and make sysupgrade use "firmware"
instead. This makes brcm47xx compatible with widely used ar71xx and
after all "firmware" sounds like a much better name for... the firmware.

This change doesn't affect "sysupgrade" usage, because it never takes a
partition name as a parameter. This change only affects users using mtd
tool directly. Hopefully there are not many howtos using "mtd" command.

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

SVN-Revision: 38973
2013-12-01 16:32:32 +00:00
Gabor Juhos
f1ef0b92be kernel: update 3.10 to 3.10.21
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38972
2013-12-01 09:59:53 +00:00
Luka Perkov
f51d78f4f2 ar71xx: merge board specific patches into one
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38971
2013-11-30 19:48:05 +00:00
Gabor Juhos
9c4c620a11 kernel: refresh kernel configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38970
2013-11-30 18:31:10 +00:00
Gabor Juhos
e629881e2d ar71xx: update Userspace support for the WA850/WA750
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38969
2013-11-30 18:31:08 +00:00
Gabor Juhos
6688857d39 ar71xx: Update profile for the wa750/wa850 to include rssileds by default
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38968
2013-11-30 18:31:06 +00:00
Gabor Juhos
6ad568902e ar71xx: use cybertan_check_image for image verification on the WRT160NL
That function provides a slightly improved sanity check than the
currently used solution.

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

SVN-Revision: 38967
2013-11-30 18:31:04 +00:00
Gabor Juhos
1fa75d430a ar71xx: sysupgrade for My Net Wi-Fi Range Extender
This patch enables the convenient sysupgrade feature for
WD's Wi-Fi Range Extender.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4341/
[juhosg:
  - rename 'mynet_rext_check_image' function to 'cybertan_check_image'
    and move that into platform.sh,
  - remove the the model specific 'platform_do_upgrade_mynet_rext' function,
  - drop the mynet-rext.sh script,
  - remove the image/Makefile change,
  - update commit message]
[christian:
  - check all 8 bytes of the firmware/device magic]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38966
2013-11-30 18:31:03 +00:00
Gabor Juhos
3674062469 ar71xx: image: unify CyberTAN macros
Make the Image/Build/CyberTAN macro more generic,
and use simple wrappers for the GZIP/LZMA variants.
This simplifies the Makefile a bit, and allows to
build sysupgrade images for the devices which are
using LZMA compressed uImages.

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

SVN-Revision: 38965
2013-11-30 18:31:01 +00:00
Gabor Juhos
cb67115b4c ar71xx: image: fix CyberTAN sysupgrade images
In the current sysupgrade images, the CRC32 value of
the TRX header covers the whole rootfs data. Due to
this, the CRC value should be changed during sysupgrade
otherwise the bootloader refuses to load the image on
the next boot.

Change the image generation to create sysupgrade images
where the CRC32 value covers the kernel data only. This
allows to skip the 'fixtrx' step during sysupgrade on
the target.

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

SVN-Revision: 38964
2013-11-30 18:30:59 +00:00
John Crispin
2370126b9b ramips: Fix initial network configuration for few boards
Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 38960
2013-11-30 08:36:56 +00:00
John Crispin
f8fe6a090a ramips: Fix dts typos
Signed-off-by: Roman Yeryomin <roman@advem.lv>

SVN-Revision: 38959
2013-11-30 08:36:47 +00:00
Gabor Juhos
a6ecce827a ar71xx: build image for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38958
2013-11-29 20:51:16 +00:00
Gabor Juhos
7db7757bf2 ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38956
2013-11-29 20:51:13 +00:00
Gabor Juhos
bc2d7b8193 ar71xx: add kernel support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38955
2013-11-29 20:51:12 +00:00
Gabor Juhos
fd892350c2 ar71xx: add profile and build image for the Sitecom WLR-8100
- partitions on factory fw are a bit strange
  - unknown contained some strings in factory
  - unknown2 contains some atheros (2nd art ?)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4149/
[juhosg: edit commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38954
2013-11-29 20:18:50 +00:00
Gabor Juhos
a0ad2a0f86 ar71xx: fix switch port map for the Sitecom WLR-8100
There was no way to determine a working config, because
the switch (ar8337) was not working previously.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4470/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38953
2013-11-29 20:18:49 +00:00
Gabor Juhos
c378d5e953 generic: ar8216: add AR8337N switch support
This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.

since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38952
2013-11-29 20:18:48 +00:00
Gabor Juhos
74a353f64f generic: ar8216: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38951
2013-11-29 20:18:46 +00:00
Gabor Juhos
c1fb0e5e39 ar71xx: rssi leds for My Net WiFi Range Extender
The device has three extra LEDs which indicate the quality
of the wireless link. Thanks to rssileds, this feature now
works out of the box.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4462/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38950
2013-11-29 20:18:45 +00:00
Gabor Juhos
981e3b354a ar71xx: improve support for the My Net Wi-Fi Range Extender device
This patch improves support for the device considerably.

1. The wifi didn't work in the initial release. This was because
the WMAC of the AR9340 is not connected to the antennas.
(However, it can pick up wifi signals, if they are strong enough!)
Instead there's a dedicated AR9300 chip on the same board, which
works.

2. Ethernet throughput is improved. iperf shows that the hardware
can sustain more than 200Mbit/s and no longer drops any packages
when the link is under load.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4461/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38949
2013-11-29 20:18:44 +00:00
Gabor Juhos
1167f92ac6 ag71xx: add F1E specific feature bit definitions to AR934X register file
The F1E Phy (AR8035?) requires additional bits to be
set in order to provide a fast and reliable connection
over gigabit links.

When enabled, the link doesn't suffer anymore from a small
package loss under load and the performance is improved
quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4460/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38948
2013-11-29 20:18:43 +00:00
Gabor Juhos
cad5257732 ar71xx: user space support update tl-wr842n_v2 add default led support
Small update to uci_defaults/01_leds, to support the usb led

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38947
2013-11-29 20:18:42 +00:00
Gabor Juhos
af4873e41c ar71xx: Kernel support update tl-wr842n_v2 added missing usb led
Just a small oversight my part, added the support for the USB led
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38946
2013-11-29 20:18:40 +00:00
Imre Kaloz
08a62d8d8a tunr on some additional features
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38942
2013-11-29 10:58:40 +00:00
Imre Kaloz
5de876bc78 there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38940
2013-11-29 10:25:43 +00:00
Imre Kaloz
8adb3fb74d initialize wl12xx from the device tree
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38934
2013-11-27 12:51:35 +00:00
Imre Kaloz
9a0d644f9e add device tree based initialization to wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38933
2013-11-27 12:40:07 +00:00
Imre Kaloz
dcae3ef009 refresh/rename patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38932
2013-11-27 12:34:41 +00:00
Imre Kaloz
cf8a186553 fix gpio interrupt-cells property on AM335x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38931
2013-11-27 12:33:06 +00:00
Imre Kaloz
c7d102816c refresh patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38930
2013-11-27 12:31:05 +00:00
Imre Kaloz
9100d559b5 make the wl12xx glue code available with compat-wireless, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38929
2013-11-27 12:29:13 +00:00
Imre Kaloz
412b772e24 add TI wireless symbols and enable the platform glue by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38928
2013-11-27 12:25:20 +00:00
John Crispin
bb2b428a5c ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38917
2013-11-26 09:51:57 +00:00
John Crispin
6295f38c8f ralink: add mac address detection for Asus RT-G32 b1
http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38910
2013-11-25 14:09:08 +00:00
John Crispin
93e9a71538 base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38909
2013-11-25 08:34:55 +00:00
John Crispin
8ee2b91ddd ralink: fix up the mt7530 driver to work properly with gmac2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38905
2013-11-25 08:34:23 +00:00
John Crispin
d84238ad26 ralink: add LRO support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38904
2013-11-25 08:34:12 +00:00
John Crispin
f732ed4500 ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38903
2013-11-25 08:34:01 +00:00
John Crispin
5b437e204f ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38902
2013-11-25 08:33:42 +00:00
Luka Perkov
6cbad59ead kirkwood: include ext4 support by default
Several users reported that they would like this feature.

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

SVN-Revision: 38901
2013-11-24 23:07:34 +00:00
Luka Perkov
a48520f0f3 kirkwood: kernel: add missing config option
Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

SVN-Revision: 38900
2013-11-24 17:53:34 +00:00
Luka Perkov
770a285ee3 kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

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

SVN-Revision: 38898
2013-11-23 15:55:12 +00:00
Luka Perkov
746ace4baf kirkwood: add support for iomega iconnect
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>

SVN-Revision: 38897
2013-11-23 15:55:10 +00:00
Imre Kaloz
c11bd50d77 For now vdi and vmdk images should be x86 only
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38896
2013-11-22 14:39:53 +00:00
Imre Kaloz
4242b42880 VMWare and VirtualBox images should select what they need, not depend on it..
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38892
2013-11-22 09:54:36 +00:00
Imre Kaloz
4c65eebf06 rationalize target image options
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38891
2013-11-22 09:44:14 +00:00
John Crispin
776c6c50ce lantiq: move patch to proper folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38884
2013-11-20 17:53:36 +00:00
John Crispin
d823c20f05 lantiq: update default mii modes
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38881
2013-11-20 16:56:58 +00:00
John Crispin
06ada4b10f lantiq: fix an endless loop in the vmmc platform code
this was caused by not honoured error return codes of of_gpio_count()

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38878
2013-11-20 16:56:32 +00:00
Zoltan Herpai
2bc70cfbac mxs: build/profile-related changes - change uImage creation to use zImage - update image Makefile for further boards with u-boot support - add profile for OLinuXino Micro/Nano boards
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38876
2013-11-20 10:23:49 +00:00
John Crispin
d175740783 ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38872
2013-11-19 21:13:24 +00:00
John Crispin
40109bb89b ralink: add missing CONFIG_ symbol to mt7620n
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38867
2013-11-19 16:33:43 +00:00
Felix Fietkau
17e6b3ae8d mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38865
2013-11-19 13:00:37 +00:00
Luka Perkov
35b6be4a65 imx6: build images for ventana boards that are supported
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38859
2013-11-18 22:23:43 +00:00
Luka Perkov
c108ddb209 imx6: merge all gateworks boards into one profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38858
2013-11-18 22:23:42 +00:00
Luka Perkov
f552d290c6 imx6: add support for more then one nand type per profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38857
2013-11-18 22:23:40 +00:00
Luka Perkov
69beb313c6 imx6: refresh kernel config
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38856
2013-11-18 22:23:39 +00:00
Imre Kaloz
d38c28b58c make default packages selected for real
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38850
2013-11-18 12:05:11 +00:00
John Crispin
82e6242798 ralink: add support for ralink mt7620 nand eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38848
2013-11-18 09:35:41 +00:00
John Crispin
a17e5159ac ralink: improve mt7620n detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38847
2013-11-18 09:35:32 +00:00
John Crispin
f307b35c8b ralink: add mt7620 nand driver
This is a minor rework of the SDK driver. This driver needs a full rewrite.

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38846
2013-11-18 09:35:23 +00:00
John Crispin
9d4eb0ac91 ralink: make all none 3x5x boards default to a vlan1/2 setup
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38845
2013-11-18 09:35:14 +00:00
John Crispin
3d547b740a ralink: make usb work on the mt7530 eval kit
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38844
2013-11-18 09:34:46 +00:00
Hauke Mehrtens
f4cd36d825 at91: fix typo in network file
This closes #14474.

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

SVN-Revision: 38842
2013-11-17 17:14:32 +00:00
Hauke Mehrtens
6d4132b7a4 kirkwood: add missing kernel config CONFIG_REGMAP=y
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 38837
2013-11-17 16:05:09 +00:00
Hauke Mehrtens
eea5c0b166 kernel: backport get_cycles() fix
get_cycles() is used in some places as one part of the seed for the
kernel PRNG.

This backports the following commit from mainline linux kernel:
9c9b415c50bc298ac61412dff856eae2f54889ee

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

SVN-Revision: 38834
2013-11-17 15:52:14 +00:00
John Crispin
269cbfa06a ralink: add mt7620n dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38829
2013-11-17 13:22:01 +00:00
John Crispin
5c2e867460 ramips: fix wmr300 network detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38828
2013-11-17 13:14:46 +00:00
Zoltan Herpai
9269e58b2a kernel: add fix to block2mtd driver for modified error logging
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38827
2013-11-17 11:57:57 +00:00
Zoltan Herpai
3a99e895ff kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38826
2013-11-17 11:55:23 +00:00
John Crispin
dce9b292bf ralink: add mt7620n support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38823
2013-11-16 20:28:52 +00:00
Zoltan Herpai
c4d8ddf1dc kernel: add missing symbols for 3.12
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38820
2013-11-16 11:52:30 +00:00
Luka Perkov
dd0e3a58c6 sunxi: remove old kernel config after 3.12 upgrade (r38811)
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 38819
2013-11-16 10:17:38 +00:00
Imre Kaloz
e4eef7e620 replace the TI patch with a smaller patchset
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38816
2013-11-15 12:23:17 +00:00
Gabor Juhos
1f34789015 ar71xx: add profile for the WR842N/ND v2
Patch to add the profile for the TP-LINK WR842N/ND v2
Small update, because of a change in the Makefile.

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4382/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38815
2013-11-15 10:11:25 +00:00
Gabor Juhos
ed036155ee ar71xx: add user space support for the TL-WR842N/ND v2
Patch to add the user space support for the TL-WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4354/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38814
2013-11-15 10:11:24 +00:00
Gabor Juhos
625cf61c5b ar71xx: Add kernel support for the WR842N/ND v2
Patch to add kernel support for the TP-LINK WR842N/ND v2

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4352/
[juhosg: refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38813
2013-11-15 10:11:20 +00:00
Gabor Juhos
67eded254a ar71xx: wndr4300: set official mac addresses
Get the factory assigned mac addresses stored in the caldata
partition and asign them to lan and wan interfaces. Also put
the correct mac addresses into the WiFi eeprom files to ensure
that the ath9k driver will use the correct ones.

Signed-off-by: Stefan Agner <stefan@agner.ch>
Patchwork: http://patchwork.openwrt.org/patch/4350/
[juhosg:
  - move WiFi MAC address setup to the firmware hotplug file,
  - use the official MAC address for the 2.4GHz as well,
  - remove uci-defaults.sh modifications,
  - update commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38812
2013-11-15 08:21:59 +00:00
Zoltan Herpai
f58bfd1df4 sunxi: rework target - update kernel to 3.12 - add patches for clocks, i2c, usb, sid, rtc - support common image for A10/A13/A20 - add support for a couple boards - most drivers are configured into the kernel as of now
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38811
2013-11-14 23:12:52 +00:00
Felix Fietkau
2077361f12 kernel: backport an upstream fix to improve TCP performance for wifi drivers
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38810
2013-11-14 22:01:24 +00:00
Felix Fietkau
ff17114ba1 ar71xx: Unifi AP Pro sysupgrade patch
The current implementation of mtd will not append the backup
file created by sysupgrade to the correct partition, as mtd will append
the data to first jffs2 partition it finds. As the kernel is also
stored on a jffs2 partition (which resides before the overlay
partition), the data will be appended to this partition.

To fix this problem, a new option

-s <number>             skip the first n bytes when appending data to the jffs2 partiton, defaults to "0"

is added to mtd.

Signed-off-by: Peter Wagner <tripolar@gmx.at>

SVN-Revision: 38807
2013-11-14 19:38:54 +00:00
Felix Fietkau
9aca892304 ramips: use dd bs=4096k instead of bs=4M to make it more portable
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38806
2013-11-14 19:16:04 +00:00
Felix Fietkau
f38e6c782c ar71xx: use the new padjffs2 padding on Ubiquiti UAP-PRO to make the boot loader stop searching after the kernel partition
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38805
2013-11-14 19:04:48 +00:00
Hauke Mehrtens
a3752801df bcm53xx: this ARM SoC does not have a FPU, use soft float.
model name      : ARMv7 Processor rev 0 (v7l)
Features        : swp half thumb fastmult edsp tls

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

SVN-Revision: 38796
2013-11-13 22:26:08 +00:00
Hauke Mehrtens
4abd860ab2 brcm47xx: swap also early boot console if necessary.
Some devices are using tty1 as the default console, also swap the early
boot console in such case. This is needed for the WGT634U.

Thank you Russell for reporting this.

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

SVN-Revision: 38794
2013-11-13 18:38:18 +00:00
Hauke Mehrtens
0cdab0237d kernel: b53: fix untagged shift for BCM5365
The BCM5365 needs a shift of 7 bits and not 6 bits like the BCM5325 for
the untagged ports.

Thank you Russell for reporting this and testing the patch.

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

SVN-Revision: 38793
2013-11-13 18:04:39 +00:00
Felix Fietkau
682e134b02 ramips: select kmod-rt2800-soc by default (if available)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38784
2013-11-13 10:29:10 +00:00
Zoltan Herpai
65f747a42d mxs: - update uboot-mxs to 3.10 - enable building uboot for imx23 along sbImage by default - (doc updated)
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38781
2013-11-12 14:39:32 +00:00
Zoltan Herpai
036f4ed4db mxs: bump kernel to 3.12 - remove DCP patch as it's in mainline now (dts patch will stay) - refresh Duckbill patch - update kmod-usb-chipidea
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38780
2013-11-12 12:48:10 +00:00
Zoltan Herpai
f1fddbc36b mxs: add basic board runtime detection support
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38777
2013-11-12 10:19:26 +00:00
Zoltan Herpai
eb144d3056 mxs: duckbill: adjust leds to final hardware
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

SVN-Revision: 38775
2013-11-12 09:38:14 +00:00