Commit graph

10310 commits

Author SHA1 Message Date
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
Gabor Juhos
3467b17e69 ar71xx: rb2011: add switch led control values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36796
2013-05-30 17:38:21 +00:00
Gabor Juhos
4cf6e53ccc ar71xx: rb2011: update RGMII RX/TX delay values
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36795
2013-05-30 17:38:20 +00:00
Gabor Juhos
6da63a8793 ar71xx: rb2011: move NAND nCE init to rb2011_nand_init
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36794
2013-05-30 17:38:17 +00:00
Gabor Juhos
50c59c4797 ar71xx: add user-space support for RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36793
2013-05-30 17:38:15 +00:00
Gabor Juhos
d6554bf66a ar71xx: add kernel support for the RB2011UAS
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36792
2013-05-30 17:38:13 +00:00
Gabor Juhos
8e56b1e742 generic: ar8216: show chip revision in the kernel log
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36791
2013-05-30 16:25:14 +00:00
Gabor Juhos
d19dae6e2d ar71xx: add profile and build image for the Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36790
2013-05-30 16:23:10 +00:00
Gabor Juhos
35b5b38316 ar71xx: add user-space support for TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36789
2013-05-30 16:23:09 +00:00
Gabor Juhos
91d7c3efc1 ar71xx: add kernel support for the TP-LINK Archer C7 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36788
2013-05-30 16:23:07 +00:00
Gabor Juhos
f02765086d ar71xx: add USB workarounds for AR934x/QCA955x SoCs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36787
2013-05-30 16:23:06 +00:00
Gabor Juhos
6ff976a87a ar71xx: add profile and build image for the DIR-601-B1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36786
2013-05-30 16:19:30 +00:00
Gabor Juhos
424c4c0b0a ar71xx: allow to build CameoHornet images for multiple regions
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36785
2013-05-30 16:19:29 +00:00
Gabor Juhos
184dd34b6d ar71xx: allow to override fw version in CameoHornet profile
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36784
2013-05-30 16:19:28 +00:00
John Crispin
e60cb01c45 lantiq: ARV752DPW: fix reboot loop caused by wrong GPIO setting
The GPIO buttons of ARV752DPW are active low.

Treating them as active high caused a reboot loop as a reset-button
press is detected by gpio-button-hotplug/gpio-keys-polled on startup.

This fixes: https://dev.openwrt.org/ticket/12642

Signed-off-by: Rafael Gieschke <rafael@gieschke.de>

SVN-Revision: 36783
2013-05-30 16:01:06 +00:00
John Crispin
c2b1e9eeef lantiq: Fix ar8216 switch configuration
On linux 3.8 the switch is named as "switch0", but the network configuration script names it as "eth0", causing no communication over ethernet due to no proper VLAN config.

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

SVN-Revision: 36782
2013-05-30 16:00:59 +00:00
John Crispin
090a75447b lantiq: DGN3500 support
This requires all the preceding patches and finishes support for the
DGN3500, also removing an obsolete file.

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

SVN-Revision: 36781
2013-05-30 16:00:50 +00:00
John Crispin
a9968d9cb8 lantiq: enable retrieving kernel args from bootloader
This patch is a device tree enhancement that IMHO is worthy of mainline.
It allows the bootloader's commandline to be preserved even when the
device tree specifies one.

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

SVN-Revision: 36780
2013-05-30 16:00:42 +00:00
John Crispin
d1f3751d05 lantiq: wifi calibration from MTD
This patch enables retrieving the wifi calibration data from an MTD
partition. It requires the previous patch.

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

SVN-Revision: 36779
2013-05-30 16:00:32 +00:00
John Crispin
83c3cd4ed9 lantiq: postpone PCI and wifi init
This postpones the initialization of PCI and wifi until after the MTD
initialization, so that calibration data may be loaded from there.

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

SVN-Revision: 36778
2013-05-30 16:00:24 +00:00
John Crispin
b585923cc9 lantiq: fix LED-handling oversights
This reassigns the PPPoE status to the LED that was intended to indicate
it, rather than the DSL sync light.

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

SVN-Revision: 36777
2013-05-30 16:00:15 +00:00
John Crispin
1756047518 ramips: set correct description for rt305x subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36775
2013-05-30 15:59:56 +00:00
Luka Perkov
4b21af4268 imx6: add new target
SVN-Revision: 36753
2013-05-29 01:27:29 +00:00
Luka Perkov
846e3d40a0 kernel: generic: remove upstream patches for 3.10-rc3 and refresh patches
SVN-Revision: 36752
2013-05-29 01:27:27 +00:00
Gabor Juhos
c4d0a49348 ar71xx: typo in detect TL-MR10U/TL-MR11U
At offset 0x40, signature for TL-MR10U/TL-MR11U begin
from 0x00, not 0x10/0x11.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36727
2013-05-26 16:38:00 +00:00
Gabor Juhos
cc7bedf8a3 ar71xx: fix TL-MR10U usb power
MR10U is closer to MR3040 than WR703N. This changes also
enable USB power on GPIO18.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36726
2013-05-26 16:37:59 +00:00
Gabor Juhos
7d2182c455 kernel: update linux 3.9 to 3.9.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36725
2013-05-26 16:02:34 +00:00
Gabor Juhos
46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
2013-05-26 16:02:31 +00:00
Gabor Juhos
93ce462b7e ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Gabor Juhos
0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36722
2013-05-26 16:02:26 +00:00
Luka Perkov
0998065a53 generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:

$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36713
2013-05-24 13:10:22 +00:00
Felix Fietkau
fe7e52e4a4 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36679
2013-05-21 09:45:46 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00