Commit Graph

11189 Commits

Author SHA1 Message Date
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
Zoltan Herpai
b0b78d541d mxs: rename uboot-imx23 to uboot-mxs
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>

SVN-Revision: 38774
2013-11-12 01:34:30 +00:00
Zoltan Herpai
334bee8ad9 mxs: fix loadaddr for uImages
Signed-off-by: Harald Geyer <harald@ccbib.org>

SVN-Revision: 38773
2013-11-12 01:25:53 +00:00
Hauke Mehrtens
32cbc948a1 brcm47xx: fix netconfig for inverted vlan?ports in nvram
This was observed on the Belkin Share F7D7302.

SVN-Revision: 38769
2013-11-11 23:04:47 +00:00
Hauke Mehrtens
e8d0b52496 linux/brcm47xx : Belkin F7Dx30x board detection
boardnum is unstable, so allow using NULL to make it unchecked.

A method for differentiating F7D3301 from F7D3302 using nvram is
unknown at this point. Reading the first 32bits of magic from the
"linux" mtd partition would do the trick, but these 2 are similar
enough that we don't need separate led/button definitions. Not knowing
which one you have is only a usability issue for upgrading the device:
they expect different magic numbers for their trx images.

Signed-off-by: Cody P Schafer <devel@codyps.com>

SVN-Revision: 38767
2013-11-11 23:04:00 +00:00
Hauke Mehrtens
091e3fde4c brcm47xx: b44: fix logic in BUG_ON()
It is a problem when phydev is not set at this position and not the other way around.

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

SVN-Revision: 38744
2013-11-11 21:23:29 +00:00
Felix Fietkau
e3a335c2c4 ixp4xx: fix usb on cambria boards by using the ehci-platform driver
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 38740
2013-11-11 16:51:01 +00:00
John Crispin
191af20982 ramips: use gpio-button-hotplug in favour of the input variant
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38735
2013-11-11 13:40:20 +00:00
John Crispin
33111eff95 ramips: make the rfkill switch work on fonera20n
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38734
2013-11-11 13:40:17 +00:00
John Crispin
000cefd85e lantiq: DGN3500 fixups
Just fixing up a few things for the Netgear DGN3500.

Signed-off-by: Daniel Gimpelevich <daniel@gimpelevich.san-francisco.ca.us>

SVN-Revision: 38733
2013-11-11 13:15:08 +00:00
John Crispin
5139b2d996 lantiq: rename TDW8970 led adsl->dsl
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38730
2013-11-11 12:19:26 +00:00
John Crispin
dabdc6911a lantiq: update TDW8970.dts to support buttons properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38728
2013-11-11 12:19:18 +00:00
John Crispin
30fafd0617 lantiq: remove old hotplug handler
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 38727
2013-11-11 12:19:15 +00:00
Imre Kaloz
4f59e59e6c add missing option, enable hw rng
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 38722
2013-11-11 11:55:44 +00:00
Gabor Juhos
25756c61bc ar71xx: Use KEY_RESTART key code for the reset button on WD My Net N600 boards
Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38720
2013-11-11 08:10:02 +00:00
Gabor Juhos
3d341e8ca5 ar71xx: add profile and build image for the TL-WA750RE TL-WA850RE range extender
Patch to add profile and build image for the tplink TL-WA750RE/WA850RE board

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38719
2013-11-11 08:04:48 +00:00
Gabor Juhos
d4cc7aac4b ar71xx: add user space support for the TL-WA750RE/WA850RE Range extender
Patch to add user space support for the TL-WA750RE/WA850RE range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38718
2013-11-11 08:04:47 +00:00
Gabor Juhos
79163c8919 ar71xx: Add kernel support for the TP-Link WA750RE / WA850RE range extender
Patch to add kernel support for the TP-LINK WA750RE and the WA850RE
range extender

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
[juhosg: rename and refresh kernel patch]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38717
2013-11-11 08:04:46 +00:00
Gabor Juhos
ec09569b17 ar71xx: ag71xx: fix ag71xx_probe error path
Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 38716
2013-11-11 07:47:00 +00:00
Hauke Mehrtens
aa790ea61f bcm53xx: make bgmac work
This makes bgmac work without sprom and refreshed the patches.

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

SVN-Revision: 38715
2013-11-11 00:15:00 +00:00
Hauke Mehrtens
7444a626e2 kernel: bgmac: make it send and receive some packages on BCM4708
This adds some more code for bgmac core rev 4 and it now restarts all
cores when initializing the first one on BCM4708. I am just able to
send under 100 packages and then DMA TX does not work any more.

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

SVN-Revision: 38714
2013-11-11 00:13:31 +00:00
Hauke Mehrtens
b4a01fc854 kernel: bcma: detect pci ID 0x4313
This pci ID is used by sprom less BCM4313 devices.
This is a backport from the mainline kernel.

This is part of #13551.

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

SVN-Revision: 38713
2013-11-11 00:08:09 +00:00
Hauke Mehrtens
72b47e69c4 kernel: b53: add initial support for switches in BCM5301X
This is also known as BCM470{7,8,9}.

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

SVN-Revision: 38712
2013-11-10 23:29:59 +00:00
Imre Kaloz
28de84d024 add uImage image build
- add building of a standard uImage along with the combined kernel+rootfs
- remove 'old' image build - that was for a very old and obsolete bootloader

To update the bootloader for GW2387,GW2388,GW2391 (NOR Flash) from uboot:
put latest NOR bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_nor.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-nor.bin
 Laguna> erase 0x10000000 +$(filesize)
 Laguna> cp.b 0x800000 0x10000000 $(filesize)
 Laguna> reset

To update the bootloader for GW2380,GW2382,GW2383 (SPI Flash) from uboot:
put latest SPI bootloader on tftp server:

http://svn.gateworks.com/laguna/trunk/images/u-boot_spi.bin

 Laguna> setenv ipaddr <localip>
 Laguna> setenv ipaddr <serverip>
 Laguna> tftpboot 0x800000 laguna/u-boot-spi.bin
 Laguna> erase 0x60000000 +$(filesize)
 Laguna> cp.b 0x800000 0x60000000 $(filesize)
 Laguna> reset

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

SVN-Revision: 38703
2013-11-10 09:57:07 +00:00