Commit graph

10342 commits

Author SHA1 Message Date
John Crispin
e6ef318802 base-files: diag does not need to insmod any drivers, procd already did it for us
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36999
2013-06-21 16:53:43 +00:00
John Crispin
39df8d1a45 brcm47xx: dont manually insmod switch drivers
Signed-off-by: John Crispin <bloic@openwrt.org>

SVN-Revision: 36993
2013-06-21 16:53:15 +00:00
John Crispin
2be717560a ar71xx: drop procd_init console hack
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36992
2013-06-21 16:53:11 +00:00
Imre Kaloz
c228ed04a1 increase kernel partition size to fix boot issues
SVN-Revision: 36982
2013-06-21 10:57:05 +00:00
Florian Fainelli
4ef56823e0 brcm63xx: reduce the number of Ethernet DMA channels from 16 to 8
We currently used 16 DMA Ethernet channels, but the hardware only
supports up to 8 (with 2 per enet and the remaining for USB slave).

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36979
2013-06-20 18:47:36 +00:00
Felix Fietkau
2a5e1910d5 linux-3.8: backport a leds-gpio.c crash fix (fixes #13721)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36968
2013-06-18 22:23:38 +00:00
Florian Fainelli
28535aad38 brcm63xx: refresh 3.9 patches
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36958
2013-06-18 10:54:28 +00:00
Florian Fainelli
a9d4bdee43 brcm63xx: provide a default sane MAC address for Cable Modem devices
Cable modem devices currently poke at some random location in RAM and
may end up having an invalid MAC address which is not suitable. Provide
a default one which is sane.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36957
2013-06-18 10:54:24 +00:00
Florian Fainelli
8ae2b1155d brcm63xx: create initramfs HCS images
Cable Modem devices cannot load an ELF file directly so we need to
provide them with a HCS image even when targetting initramfs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36954
2013-06-17 22:57:04 +00:00
Florian Fainelli
0ce75bc440 brcm63xx: simplify HCS image creation
$(KDIR)/vmlinux is already a binary image, there is no need to create
another one.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36949
2013-06-17 19:32:56 +00:00
Florian Fainelli
78a66975d6 brcm63xx: remove support for 3.8 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36948
2013-06-17 19:32:47 +00:00
Florian Fainelli
d2894412d8 brcm63xx: switch to 3.9 kernel
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36947
2013-06-17 19:32:42 +00:00
Florian Fainelli
f03bbaf065 brcm63xx: fix missing antislash in BCM6345 ethernet patch
This would cause build failure when disabling support for particular
CPUs.

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36946
2013-06-17 19:32:35 +00:00
Felix Fietkau
d3a7b5633c kirkwood: disable the CONFIG_IP_ADVANCED_ROUTER kernel config override (#13702)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36937
2013-06-15 11:50:50 +00:00
Hauke Mehrtens
9492d445de brcm47xx: run make kernel_oldconfig for 3.9 kernel config
SVN-Revision: 36928
2013-06-12 14:51:50 +00:00
Hauke Mehrtens
87f994d16d brcm47xx: remove support for kernel 3.6
SVN-Revision: 36927
2013-06-12 14:48:45 +00:00
Hauke Mehrtens
990423f3ef brcm47xx: add initial support for kernel 3.9
SVN-Revision: 36926
2013-06-12 14:47:53 +00:00
Steven Barth
46d199d1e8 linux: add ipv6 failed-policy routing action (by Jonas Gorski)
SVN-Revision: 36911
2013-06-11 09:27:53 +00:00
John Crispin
76c79f50d7 lantiq: Fixes to athxk EEPROM loading
Use platform data array for storing ath5k EEPROM instead of creating another one.
EEPROM size is 2048 words (2 bytes), so we must read 4096 bytes from flash.
No need to keep the checksum fix now that the EEPROM is loaded completely.
Add a manual eeprom swap for ath9k and keep the endian way.
Use mac-offset property retrieved from the DTS.

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

SVN-Revision: 36901
2013-06-10 08:25:12 +00:00
John Crispin
7638caf35d lantiq: make kernel_oldconfig
Seems the existing kernel config for 3.8 was cp'ed from 3.7; this patch
is the result of "make kernel_oldconfig" with defaults for new options.

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

SVN-Revision: 36900
2013-06-10 08:25:07 +00:00
John Crispin
f7daed8b9a lantiq: diag.sh with both red and green power LEDs
This provides a boot LED sequence suitable for devices with both red and
green LEDs for power. This assumes no "default-on" settings in the
device tree.

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

SVN-Revision: 36899
2013-06-10 08:25:02 +00:00
John Crispin
fc9532aeaa ramips: add HAME MPR-A2 support
This patch adds support for HAME MPR-A2 router using a DTS file.
The platform is Ralink RT5350.
http://wiki.openwrt.org/toh/hame/mpr-a2

Signed-off-by: Dmitry Shmygov <shmygov@rambler.ru>

SVN-Revision: 36898
2013-06-10 08:24:56 +00:00
John Crispin
30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
2013-06-10 08:24:50 +00:00
Luka Perkov
da7590cd21 lantiq: fix formating in .dts files
Signed-off-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36882
2013-06-08 11:36:07 +00:00
Felix Fietkau
ab529a529b ar71xx: disable routerboard support in the generic subtarget, enable it for the nand subtarget only
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36879
2013-06-07 13:42:50 +00:00
Felix Fietkau
1ace51360f kernel/generic: add a few missing kernel config symbols
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36878
2013-06-07 13:42:39 +00:00
Florian Fainelli
2b9d084af9 brcm63xx: add user-space support for Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36877
2013-06-06 22:22:20 +00:00
Florian Fainelli
42e69f45c7 brcm63xx: add kernel space and image support for the Netgear CVG834G
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36876
2013-06-06 22:22:14 +00:00
Florian Fainelli
966d47989b brcm63xx: add Broadcom cable modem firmware format header
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36875
2013-06-06 22:22:09 +00:00
Florian Fainelli
600b59642e brcm63xx: add support for BCM3368
Add support for the Broadcom BCM3368 cable modem chipset, includes:
- Ethernet
- SPI
- UARTs
- GPIOs
- PCI

Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 36874
2013-06-06 22:21:58 +00:00
Jonas Gorski
1beaf031d1 target: don't build jffs2 nor images by default
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36863
2013-06-05 20:58:59 +00:00
Jonas Gorski
dd9a24663b omap24xx: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36862
2013-06-05 20:58:55 +00:00
Jonas Gorski
e7b504ce8e kirkwood: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36861
2013-06-05 20:58:53 +00:00
Jonas Gorski
9f7ef8d5f0 target: split jffs2 NAND out of jffs2
Make jffs2_nand a separate option so this can be triggered without forcing
jffs2 images for nor targets.

Adds a new NAND_BLOCKSIZE variable that allows setting the generated layout
in <page_size>:<block_size> pairs.

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

SVN-Revision: 36860
2013-06-05 20:58:03 +00:00
Imre Kaloz
799bdc990a there's no reason to have these generic files in the bin dir either
SVN-Revision: 36852
2013-06-05 06:46:41 +00:00
Imre Kaloz
28e8b8dc05 only copy uImages to the bin dir on ramdisk builds
SVN-Revision: 36851
2013-06-05 06:17:12 +00:00
Imre Kaloz
e161581d45 don't copy the zImages to the bin dir, factory u-boots can't use them
SVN-Revision: 36850
2013-06-05 06:04:48 +00:00
Gabor Juhos
5bb2e8030d ar71xx: add support for WIFI button on tp-link tl-mr3220v2
The TP-LINK TL-MR3220 v2 has a button on the left side
labeled "WIFI". This is GPIO 24. This patch adds the
support for this button.

Signed-off-by: Vittorio Gambaletta <openwrt@vittgam.net>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36848
2013-06-04 13:25:54 +00:00
Gabor Juhos
d187e3c32e generic: add port mirroring/monitoring capability to rtl8366rb switch
This patch adds swlib attributes to the RTL8366RB switch/PHY found in the
TL-WR1043ND router that allow to mirror ethernet packets to a monitor port.

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36847
2013-06-04 13:25:52 +00:00
Imre Kaloz
a0e412a616 versioned files and dirs still make no sense when you support only a single kernel...
SVN-Revision: 36836
2013-06-04 11:29:01 +00:00
Imre Kaloz
3a56df33ad refresh patches
SVN-Revision: 36835
2013-06-04 11:24:42 +00:00
Imre Kaloz
8170c9cfb0 add some more symbols
SVN-Revision: 36834
2013-06-04 11:23:27 +00:00
Imre Kaloz
812bb43a47 move DT2 related kernel options into the harddist subtarget
SVN-Revision: 36833
2013-06-04 11:19:41 +00:00
Imre Kaloz
58fa46c90c drop support for the dns323
SVN-Revision: 36832
2013-06-04 11:13:18 +00:00
John Crispin
e9ef65175d lantiq: revert [36779] as it caused a regression
submitter was informed of a endinaess swap regression and replied with "works on my board"

revert the patch and make arv7518 wifi work again

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

SVN-Revision: 36807
2013-05-31 13:25:07 +00:00
Gabor Juhos
da66ea52ec ar71xx: register USB port for RB2011U* devices
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36801
2013-05-30 17:38:31 +00:00
Gabor Juhos
23bcceb058 ar71xx: create a separated network interface for the RB2011UAS SFP port
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36800
2013-05-30 17:38:30 +00:00
Gabor Juhos
151dca0935 ar71xx: make the SFP port usable on RB2011*S boards
The port 6 of the switch is connected to the SFP
cage on the RB2011*S boards. Add a helper function
to correctly initialize the switch configuration
data on those boards to make the SFP port usable.

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

SVN-Revision: 36799
2013-05-30 17:38:28 +00:00
Gabor Juhos
a1f91282b4 generic: ar8216: allow to specify SGMII config via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36798
2013-05-30 17:38:26 +00:00
Gabor Juhos
c170d3c3e4 generic: ar8216: add get_port_link callback
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36797
2013-05-30 17:38:22 +00:00