Commit Graph

1155 Commits (50bd81d3df1da5fede46e2f62c7cce53065c3ec4)

Author SHA1 Message Date
John Crispin 8576ed988b ralink: fix up dts for mt7621 eval board
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-12 14:55:00 +00:00
John Crispin addf7b958d ralink: add support for mt7621 ethernet
somehow all switch ports still come up as 10mbit.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-12 14:54:50 +00:00
John Crispin a54174dffa ralink: more mt7530 fixes
make 1166 wan port work. this broke due to the esw_polling bug

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 11:46:16 +00:00
John Crispin bec227fc64 ralink: fix mdio polling of external phys if only 1 phy exists
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 11:46:09 +00:00
John Crispin dbac7e6034 ralink: remove IC plus phy driver
this driver confuses some boards

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 11:46:02 +00:00
Luka Perkov 3c5a4358eb ralink: DCS-930: enable sound
Camera has microphone; in order to use it by default enable sound support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 00:08:05 +00:00
Luka Perkov 359de534b9 ralink: update DCS-930 dts
* read MAC address from factory partition
* remove port defines since there is only one port (most likely C/P error)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-11 00:05:14 +00:00
Felix Fietkau 77754f4ca4 ramips: fix initramfs image build handling
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 15:40:17 +00:00
Felix Fietkau 71da8ea7c6 ramips: add eeprom data for 802.11ac wlan on WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 14:15:49 +00:00
Felix Fietkau 69382197f9 ramips: add missing size/address-cells to device tree include files
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 14:15:44 +00:00
John Crispin 9f4be55503 ralink: fix a regression that broke pcie on mt7621
i accidentally dropped 2 lines while adding mt7628 support

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 13:45:26 +00:00
Felix Fietkau a7621a43d3 ramips: enable sysupgrade for whr-600d, whr-1166d
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 12:18:58 +00:00
John Crispin 3c0afbc579 ralink: fix the compat string for mt7620a pci
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43211 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-08 12:12:05 +00:00
John Crispin fe2deddd96 ralink: assign default ranges inside the pci driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43207 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-07 10:51:08 +00:00
John Crispin c59e6ee48d ralink: mt7628 does not actually need this fix for the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-07 10:51:00 +00:00
John Crispin 7a875b6831 ralink: improve r43200
r43200 tries to detect if the fixup is needed or not. control the behaviour via
OF instead and disable unused ports.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 12:19:53 +00:00
John Crispin 7996c754bd ralink: only apply ephy1 fixup if the phy is present
this broke e1700 lan2 as the fixup was applied to the phy inside the mt7530.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 11:11:44 +00:00
John Crispin 2fca043064 ralink: tweak e1700 dts file
the current driver code wont know which mt7530 to apply the llllw setting to.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:45 +00:00
John Crispin dde9f5448b ralink: make pci driver handle mt7628
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43198 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:37 +00:00
John Crispin 3d1fb84ada ralink: add support for mt7628
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43197 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:31 +00:00
John Crispin e6a6d7d6d1 ralink: add mt7628 support to the ethernet driver
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43196 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:19 +00:00
John Crispin 0f6eebbe44 ralink: cleanup ethernet Makefile/Kconfig
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43195 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:09 +00:00
John Crispin c4a31fe958 ralink: move ethernet driver to files/
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-06 09:31:03 +00:00
Imre Kaloz dd922e5403 [ramips]: add support for the Linksys E1700
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-05 14:37:13 +00:00
John Crispin ebf8e128cc ralink: add pci bidge node to mt7620a dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 20:20:46 +00:00
John Crispin f80064d9b4 ralink: fix wan port on whr-1166
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 20:20:40 +00:00
John Crispin 305ac83fa3 ramips: add support for Airlink101 AR670W
This is a RT2880-based board, 32MB RAM, 4MB flash. The bootloader
is a hacked u-Boot that reads an LZMA image directly, so we skip
generating the uImage header and enable the lzma mtdsplit parser.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43153 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-03 08:00:13 +00:00
John Crispin e6dfc71dd1 ralink: make sure a mii_bus is loaded before accesing its state
this caused a crash on boot

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43120 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:10:57 +00:00
John Crispin 3a715db92f ralink: load mt7530 driver on the 3 buffalo units
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43119 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 10:10:51 +00:00
John Crispin a0c3e95376 ralink: mt7530 - force wan port up
some bootloaders (linksys e1700) set wonky hw trap values. reset this upon boot to make all ports work.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:44:00 +00:00
John Crispin 5152943391 ralink: fix mt7530 for newer silicon revisions
latest mt7530 silicon seems to have a different phy id.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-30 08:07:49 +00:00
John Crispin a5ef2aabf4 ramips: improve ralink ethernet driver
Change list:
* add tx scatter gather function.
* add software rx vlan offload to let GRO work.
* add jumbo frame support. because use build_skb so max MTU is 3812.
* enable hardware tx vlan.
* enable GRO and remove LRO. because it can improve performance and can work on forwarding.
* enable/fix tx padding function.
* let napi handle tx clean up.
* support ethtool operation. now support message level, hardware status and coalesce.
* ethtool support use mdio to get phy status only on mt7620. need modify dts file and add phy info to support it.

Notes:
* build and test on rt2880, rt3052, rt3352, rt3662, rt5350 and mt7620a.
* TCP NAT performance improve. test with netperf.
  - rt2880(gigabit) from 5x to 12x Mbps.
  - rt3x5x from 6x to 94 Mbps.
  - rt5250 from 5x to 8x Mbps.
  - rt3662(gigabit) from 6x to 42x Mbps with GRO. 23x Mbps without GRO. 66x Mbps with jumbo frame.
  - mt7620 still 94Mbps.
* TSO function not tested. because i don't have mt7620 with eco >= 5. and the hardware don't support to set MSS. it will have problem.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 19:43:59 +00:00
John Crispin 344d6e184b ralink: fix switch config on mt7530 evb
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 18:51:02 +00:00
John Crispin 13006543e0 ralink: fix a off by 4 bug in mt7530
0x8100000c vs 0x810000c0 int he pvc register this caused the cascade with an external mt7530 to fail.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 18:49:46 +00:00
John Crispin 1968a036e6 ramips: add support for A5-V11 board (resubmit)
(Reposted due to an issue with the patchwork server during original submission)

Unbranded. Silkscreen on PCB is “A5-V11”, believed to be made by Bococom (or at least uses Bococom image encryption - as used on poray devices - but different key)

Signed-off-by: Gareth Bryan <gareth@mx9.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-29 11:01:17 +00:00
John Crispin e3518558b8 ramips: fix filenames in PorayDualSize factory images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-26 17:18:45 +00:00
Felix Fietkau 31b1aae3d8 kernel: makefiles: make use of new var KERNEL_PATCHVER
replace all occurences of LINUX_VERSION with the cleaner
approach. future kernel upgrades must mostly touch only
one file. the only platform left is netlogic, because it
uses a intermediate kernel 3.14.16

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43047 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-24 19:34:02 +00:00
John Crispin 96ea58bf32 ramips: add comments for image/Makefile.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42991 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:51 +00:00
John Crispin 4cd9d06c9c firmware-utils: restore compilation of mkhilinkfw.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42989 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:29:38 +00:00
John Crispin 12fd40cbfd ramips: add support for Nexx WT3020 devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:48 +00:00
John Crispin 06de14dded ramips: sort boards in upgrade/platform.sh alphabetically
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-20 06:28:39 +00:00
Felix Fietkau e99ea7b270 ramips: fix usercfg partition offset for WHR-1166D
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-19 08:45:56 +00:00
John Crispin 81d9f2d585 scripts: fix wrong usage of '==' operator
[base-files] shell-scripting: fix wrong usage of '==' operator

normally the '==' is used for invoking a regex parser and is a bashism.
all of the fixes just want to compare a string. the used busybox-ash
will silently "ignore" this mistake, but make it portable/clean at least.

this patch does not change the behavior/logic of the scripts.

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-14 12:21:11 +00:00
John Crispin ab41ed7d55 ralink: Build 8M image for 7Links PX-4885
7Links PX-4885 (clones) can also be purchased with 8MB flash.
Creating images for these routers, use dtsi for common part

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-13 19:41:36 +00:00
John Crispin 789decc87e ralink: various i2c related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:53 +00:00
John Crispin 784895b84e ramips: add support for Nexx WT1520
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-10 08:56:43 +00:00
John Crispin a7658d45cd ralink: various i2c fixes
the driver did not handle all states correctly causing a deadlock of the i2c hw block.

Signed-off-by: Ing.Michele Mogioni <michele.mogioni@unimc.it>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 20:05:13 +00:00
John Crispin 23246db9e0 ramips: D-Link DIR-810L: make led naming consistent with other boards
Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42789 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:36 +00:00
John Crispin 16c7f3c21e ralink: Add missing code to free GPIO on Ralink SoC
Signed-off-by: schildt@ibr.cs.tu-bs.de
Acked-by: info@gerhard-bertelsmann.de

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42788 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:26 +00:00
John Crispin 5f9a01b40f ramips: Support for RAMIPS based Tripmate HT-TM02 board
Provides support for the Tripmate HT-TM02 personal router including LEDs and
reset button. “Mode” switch is not supported. New profile includes full set
of packages required to enable LEDs, USB, and LUCI. Patches were applied
against trunk snapshot r42649. Functionality has been tested in AP, basic wifi
client, wifi router, and routed client modes - all good.

Signed-off-by: Ron Curry <wingspinner@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42785 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-10-06 04:52:07 +00:00
John Crispin 9d4a086a64 ramips: D-Link DIR-810L. Add support for SoC 2.4 GHz wireless and fix leds naming
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 11:07:08 +00:00
John Crispin ea10c39f14 ralink: drop dwc_otg support. dwc2 seems stable
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42617 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-19 10:52:37 +00:00
John Crispin 0547b47537 ralink: drop 3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42481 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-12 06:50:46 +00:00
Luka Perkov e5441232a8 kernel: update 3.14 to 3.14.18
Targets were build tested and patches are refreshed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-10 21:40:19 +00:00
John Crispin f0f9e6052f ralink: dwc_otg->dwc2
the old dwc_otg driver is starting to fall apart and fails on newer 3g
modems and some storage devices. switch to the upstream dwc2 driver which
is no longer in staging/.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:33:16 +00:00
John Crispin 3bafd52ff5 ralink: add dwc2 device_reset() call
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-09-08 17:32:52 +00:00
John Crispin 50bbe0d6ba target: set myself as maintainer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-30 09:59:18 +00:00
John Crispin 329599d565 ralink: DIR-645 picks up incorrect MAC address in DTS file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 09:19:56 +00:00
John Crispin 6a0b094558 ramips: unbreak i2c for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-28 06:05:36 +00:00
John Crispin f0d235bb34 ralink: set 3.14 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-26 13:12:12 +00:00
John Crispin bea4338ed0 ralink: the mt7620 evb has a usb port
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:13 +00:00
John Crispin 75682e78bf ralink: a few 3.14 related fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:09 +00:00
John Crispin 9ed14a5233 ralink: fix mt7620 ohci 3.14
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42291 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:05 +00:00
John Crispin 999bf69541 ralink: fix mt7620 ohci 3.10
the ohci phy was not reset properly

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:31:01 +00:00
John Crispin 96657d8737 ralink: mt7620 has obchi/ehci and not dwc2
fix the default package selection

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 16:30:57 +00:00
John Crispin 6c505b7533 ramips: enable second SPI for VoCore
This patch enables the second SPI as spidev and also fixes some typos.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42277 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:46 +00:00
John Crispin 724cfaaddc ramips: second spi device on rt5350
This is based on Jon Smirl's patch with the following changes:
- Set CS polarity as low by default.
- Add support for changing CS polarity.
- Add support for changing LSB/MSB.
- Add support for changing SPI mode.
- Fix indentations.

I tested it on a VoCore. Works fine connected to a second flash, but fails to detect MMC/SD cards due to SPI clock speed.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-25 06:35:42 +00:00
John Crispin 7e47cb16bd ramips: fix OMNI-PLUG.dts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-21 06:41:27 +00:00
John Crispin ddd46bfee0 ramips: add omni plug leds
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42201 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 16:09:21 +00:00
John Crispin 3d2aca3002 ramips: Add support for Omnima MiniPlug
This patch adds support for the Omnima MiniPlug RT5350 based board, 8MB SPI flash

Signed-off-by: Ivan Ignjatic<ivan@omnima.co.uk>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42200 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 16:06:48 +00:00
John Crispin 743beb18ff ramips: fix switch config for Edimax 3G-6200n
Switch in Edimax 3G-6200n also require full switch reset, not only vlan definitions. Tested on Edimax 3G-6200n.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42194 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:10:04 +00:00
John Crispin 568b0f9dd3 ralink: clean up HAME profiles, remove unnecessary packages.
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42192 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:46 +00:00
John Crispin b8834bbbcd ramips: add mpr-a1 to default profile
Add hame mpr-a1 to default ramips profile.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:43 +00:00
John Crispin d27b8331d4 ramips: Hame: change LED name mpr-x -> hame
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42190 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:39 +00:00
John Crispin da5540a0f0 ramips: make use of the new board detection layer
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42186 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:09:20 +00:00
John Crispin 262de18485 ramips: add a workaround to fix failsafe on RT5350
Due to TCP connections not working when VLAN is disabled, this is
needed to get failsafe functional.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42179 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:52 +00:00
John Crispin 5c9513e815 ramips: enable additional GPIOs on HAME MPR-A1
According to the pcb tracing results[1] by anton.rad[2] MPR-A1s expose
6 unused GPIOs, only one of them working as configured in the current
DTS. This patch enables GPIO22-26.

Tested on hardware.

[1] http://i.imgur.com/kHVW2Ox.jpg
[2] https://forum.openwrt.org/viewtopic.php?pid=222698#p222698

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42178 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:48 +00:00
John Crispin ff9e0a51d2 ralink: add back the gpio_export_named() patch for 3.14
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-18 13:08:33 +00:00
John Crispin a02de007a4 ralink: add 3.14 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42040 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 14:41:19 +00:00
John Crispin d035c266a1 ralink: revert r37163
https://dev.openwrt.org/ticket/17071

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42036 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-07 12:38:20 +00:00
John Crispin 4051d796da ramips: add profile for easyacc wizard8800
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 14:31:18 +00:00
John Crispin 9c07fe9383 firmware-utils: made mkdir615h1 work for all Senao-produced devices as mksenaofw and cleaned up some of its formatting
Signed-off-by: Forest Crossman <cyrozap@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:13:58 +00:00
John Crispin 4107981069 ramips:support Lenovo AC1200 Wireless router
Lenovo AC1200 series has two types, Y1 and Y1S.
Y1S has 256MB DDR2, Y1 only has 128MB and Y1 have no Giga Port.

Signed-off-by: Lintel <lintel.huang@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-03 11:13:52 +00:00
John Crispin a3ea08a825 ramips: Add support for VoCore
This is based and tested on VoCore Alpha, but other stuff like status/eth LEDs are present on the final board revision + VoDock.
All GPIOs are exported, except spi/i2c.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 20:51:24 +00:00
John Crispin c6ded2d17c ramips: Add support for SPI_CS1 pinmux
This patch adds support for setting SPI_CS1 as Chip Select, Watchdog reset output and GPIO#27.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 20:51:14 +00:00
John Crispin f8d6bdb4e2 ramips: add support for easyacc wizard8800
Signed-off-by: Sebastian Wendel <s.wendel@sourceindex.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 11:19:50 +00:00
John Crispin 8d427a547c ramips: Fix LEDs on the Kingston MLW221
LED Fix up for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-08-01 11:19:39 +00:00
John Crispin 75dce52759 ramips: correct typo ubsphy -> usbphy
This appears to be a typo.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:36 +00:00
John Crispin 9d70478008 ramips: fix mode switch gpio for AsiaRF AWM eval board
Fix a typo: gpio 21 is already used for the WPS led.  Gpio 20 is the
right one (tested) for the mode switch.  Confirmed that
/sys/kernel/debug/gpio state followed the position of the switch.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:32 +00:00
John Crispin 49f28a2ed3 ramips: add ethernet macaddr to dts for AWM003-EVB
Follows the pattern of http://patchwork.openwrt.org/patch/5970/

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-28 15:26:23 +00:00
John Crispin ece0d44fe5 ramips: add support for Kingston MLW221
This patch adds support for the Kingston Mobilelite Wireless (MLW-221)

http://wiki.openwrt.org/toh/kingston/mlw221

Signed-off-by: L. D. Pinney <ldpinney@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41841 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:22 +00:00
John Crispin daa1915f32 ramips: ethernet mac cleanup
Compile tested all subtargets and profiles.
Unfortunately I don't own any board affected by these changes, so no run tests.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:09 +00:00
John Crispin ae01f16016 ramips: fix vlan configuration for asiarf avm003
The earlier r41797 change was missing this part, to enable the right
vlan configuration.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41838 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:36:01 +00:00
John Crispin 3de76baafb ramips: fix sysupgrade for asiarf awm003
Since the earlier r41797 change, the board_name for awm003 has been
miscalculated, and sysupgrade has been broken.  This seems to fix it.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41837 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-26 20:35:46 +00:00
John Crispin 36c386697d ramips: fix gpio mapping on MZK-750DHP
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 07:49:54 +00:00
John Crispin 0ea149bba2 ramips: fix missing inclusion of system.sh for mtd_get_mac_binary and friends.
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-23 07:49:50 +00:00
John Crispin ea7c3bba1b ramips: add a profile for AWM003
same as AWM002 but with 64mb RAM

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41797 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-22 09:58:21 +00:00
John Crispin a7911af6ef kernel: update to 3.10.49
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41776 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:31:11 +00:00
John Crispin 1522d47c21 ramips: fix mac address partitions on ASL-26555
ASL-26555 16MB: caldata is present on uboot-env and devdata, but the proper one seems to be the devdata, since mac address corresponds to Amper, the real manufacturer, meanwhile the caldata on  uboot-env corresponds to D-Link.
ASL-26555 8MB: caldata is only present on uboot-env, but its mac address corresponds to Alpha, the real manufacturer.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-20 17:30:28 +00:00
John Crispin fc41c343df ramips: soc wmac eeprom cleanup
Move eeprom extraction from scripts to dts files.
Additionally there are few other changes like:
- whitespace fixes
- add partition labels where needed
- BR6524N board doesn't exist (lost in translation?)
- fix Edimax 3g-6200nl model
- add wmac eeprom to dts for Asus RT-N14U board

Compile tested all subtargets and their profiles.
Run tested on:
- Asus RT-N15
- Asus RT-N14U
- Buffalo WHR-600D
- Argus ATP52B
- Sparklan WCR-150GN

Few problems noted:
- many boards didn't have wmac eeprom information defined at all
- several boards don't have any patitions defined (see FIXME comments in dts)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-17 10:55:31 +00:00
John Crispin 7a53c25db1 ramips: basic support for Planex MZK-750DHP
some gpios are still missing.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41654 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 17:10:39 +00:00
John Crispin 5e24285604 ramips: squelch mdio debugging info on rt2880 ethernet
Use pr_debug rather than pr_info since it is only relevant
for debugging.

Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 17:05:40 +00:00
John Crispin 082806a4a4 ramips: fix port mapping and extract wmac eeprom on ZBT-WA05 board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41634 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:32 +00:00
John Crispin 6789a0e1d3 ramips: extract mac address from flash on WHR-600D board
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41633 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:28 +00:00
John Crispin c431856e5c ramips: extract default lan_mac from eth0
The default case of ramips_setup_macs() is useful when mtd-mac-address is defined in dts.
But lan_mac is not set by default, this results in lan and wan having the same mac.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41632 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-14 07:38:23 +00:00
John Crispin 8fbe1896f9 ramips: add support for WR8305RT board
Signed-off-by: Jorge Vargas <jorge.vargas@sosvia.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41584 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-12 06:54:03 +00:00
John Crispin cba7db1e96 ramips: add support for Zbtlink WA05 router
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 22:02:28 +00:00
John Crispin 0f59f0f358 target/linux/*: more dead package cleanups
found 2 more

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:15:50 +00:00
John Crispin fb6da76b11 target/linux/*: more dead package cleanups
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 20:05:43 +00:00
John Crispin 9de9667c6e ralink: wpa does not exist, use wpad-mini instead
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-10 19:16:19 +00:00
John Crispin 970192986d ramips: add missing rt3352 usb phy node to dts
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:30 +00:00
John Crispin 292bfa7d04 ramips: fix target rt5350 only have 28 gpios
Signed-off-by: michael <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41475 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 16:37:26 +00:00
John Crispin e72b4b2291 ralink: make xhci platform depend on mt7621
this broke CONFIG_ALL builds for mt7620

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41471 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 14:32:43 +00:00
John Crispin a78345d9f5 ralink: add Wansview NCS601W IP Camera
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-02 07:42:44 +00:00
John Crispin 4b1bad3e63 ralink: register wifi firmware for WRTnode
After r41444 wifi working on WRTnode. Tested.

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 18:17:55 +00:00
John Crispin 127563a4b3 ramips: set default vid of each vlan, so it won't need be set explicitly.
Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41448 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 13:18:27 +00:00
John Crispin 5058f19e84 ramips: add WHR-1166 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:42 +00:00
John Crispin 54175f29c3 ramips: sync the WHR-600D flash layout with that of the vendor FW
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:38 +00:00
John Crispin 11a85aabcc ramips: add wmac to mt7620a device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:33 +00:00
John Crispin 5094a89e3c ramips: add wmac to mt7620n device tree
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41444 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:30 +00:00
John Crispin 6f2759acdf ramips: enable wmac clock for mt7620
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41443 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-07-01 10:26:25 +00:00
John Crispin 275b1c0474 ralink: refresh kernel patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41353 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 13:47:50 +00:00
John Crispin 9944858776 kernel: update 3.10.36->3.10.44
205-fix-headers_install.patch is obseleted by upstream commit 3246a0352e3d58380b9386570f1db1faf7edf8a8

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41351 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 13:47:42 +00:00
John Crispin 57cfd35772 ralink: fix up WRTNode vs WRTNODE in the dts file
https://dev.openwrt.org/ticket/16899

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-26 11:43:26 +00:00
John Crispin 770d0b80da ralink: Update MT7530 switch driver.
- Support set VLAN ID of each vlan.
- Support untag feature.
- Replace register address with C MACRO.
- There are 8 ports for MT7530 actually.

Signed-off-by: Xiongfei Guo <xfguo@credosemi.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41331 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-24 18:14:14 +00:00
John Crispin e6af58406e ramips: cleanup some rt305x profiles
move both asus boards to asus.mk
rename HW5503G profile to HW550-3G to match name in image/Makefile
(fixes #16599)

Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-19 14:13:07 +00:00
John Crispin bbb8942009 ramips: RT-N56U support fixes and factory image creation
Signed-off-by: Mikko Hissa <mikko.hissa@werzek.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:57:20 +00:00
John Crispin 5bbd82ea7c ramips: fixes XDXRN502J reset button
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:53 +00:00
John Crispin c138d72719 ramips: add vlan configuration for asiarf awm002-evb
Without this, the ports all end up on vlan 1.  This enables a separate
WAN port that works.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:48 +00:00
John Crispin 10132c1857 ramips: restore AWM002-EVB profile in asiarf.mk
In a recent revision (r41177) John Crispin removed the profile for the
AsiaRF AWM002 eval board while adding another AsiaRF board.  This
patch restores AWM002 and also corrects a misspelling and an
apparently errant reference to an Allnet ALL0239-3G device.

Signed-off-by: Galen Seitz <galens@seitzassoc.com>
Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-16 18:54:42 +00:00
John Crispin 90ee91f93d ramips: add asiarf awapn2403 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41177 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-13 09:16:15 +00:00
Felix Fietkau d933a4ee27 ramips: fix rt2x00 handling of default packages for subtargets
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41145 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-11 17:01:19 +00:00
John Crispin c554d57d38 ralink: fix asiarf/awm002 switch setup
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:44:57 +00:00
John Crispin cef164b23e ralink: add seama image can be upgrade by sysupgrade
generate sysupgrade image by combine two images.
one is kernel image with seama header.
another is root fs image.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:49 +00:00
John Crispin 38c81b2552 target/linux/*/base-files/lib/upgrade/platform.sh - wrong check for ARGC
ARGC is a 'C-ism', but not known/valid in shell-syntax - insert the correct
var $# (=number of args) here. under normal conditions this had no impact,
but we should at least correct it. the error was observable like this:

root@box:~ [ -e "/etc/functions.sh" ] && . /etc/functions.sh
root@box:~ [ -e "/lib/functions.sh" ] && . /lib/functions.sh
root@box:~ . /lib/upgrade/platform.sh
root@box:~ . /lib/upgrade/common.sh
root@box:~ platform_check_image /tmp/myfirmware.bin
ash: bad number
root@box:~ echo $?
0

Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:22 +00:00
John Crispin 8a723aceb1 ramips: add missing profile for DIR-615-D
Signed-off-by: Daniel Golle <daniel@makrotopia.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:07 +00:00
John Crispin 6695dc87b5 ramips: fix not set lan/wan mac address
The first switch case is default case. Then it will only
match default case. cause not update the lan/wan mac address.
And in the default switch case the param lan_mac is empty.
it will case error message 'arithmetic syntax error' when
call macaddr_add function.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:43:04 +00:00
John Crispin 67a8c469a9 ralink: Add support for samsung cy-swr1100 wireless router
It is base on rt3662 soc with dual band 802.11n
wireless router. Use rtl8367R switch chip.
This patch adds a profile for this board.
It use seama image header. so i also enable it
on kernel config.

Signed-off-by: michael lee <igvtee@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:52 +00:00
John Crispin 27f53b6560 ramips: Support for Teltonika RUT5XX
Hi Hartmut,

Thanks for your feedback, I have reformated the patch accordingly.

Added support for Teltonika RUT5XX hardware.

Signed-off-by: Steffen Weinreich <steve@weinreich.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:42:48 +00:00
John Crispin 0764f95460 ralink: Enable Asus RT-N10+ in menuconfig targets
This patch adds "Asus RT-N10+" as a target option in menuconfig. The device has been supported for a while but is currently missing a profile (.mk).
Signed-off-by: Randolph Kuntz <8D961920@galaxymail.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-06-02 12:41:45 +00:00
John Crispin 83cb143edd ralink: add dir-645 to the eeprom hotplug script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40561 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:52:56 +00:00
John Crispin 3baabfda99 ramips: register clock device for the WMAC on RT3883
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40557 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-23 07:51:57 +00:00
John Crispin 522d86d5bb 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:51 +00:00
John Crispin f4e347c404 ramips: build factory-compatible image for AR725W
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40552 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:42 +00:00
John Crispin 6bf0d7f058 ramips: add Airlink101 AR725W userland support
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40550 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:35 +00:00
John Crispin e43d64217f ramips: Add Airlink101 AR725W board support
Signed-off-by: Claudio Leite <leitec@staticky.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-22 08:08:31 +00:00
John Crispin b7957c0e8f ralink: add port_init for rt2880
Forgotten patch to fix ethernet for rt2880.
Based on previously submitted patch from Claudio.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-13 18:01:08 +00:00
John Crispin f1174041ad Fix Asus rt-n15 board support
* gpio leds and buttons
* ethernet

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40494 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:04 +00:00
John Crispin 55fa3fbfeb rt2880 DT fixes
* add pinctrl
* fix ethernet port
* make wifi available by default

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:22:00 +00:00
John Crispin 1cd890aa1b Fix pinmux-rt2880
The last arg to FUNC() is count, not last pin.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@40492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-04-12 21:21:56 +00:00