Commit Graph

893 Commits

Author SHA1 Message Date
Gabor Juhos
0ebe286761 ramips: use correct parameters in the Seama template
Fixes DIR-645 image generation errors:

  bash: line 0: [: wrgn39_dlob.hans_dir645: integer expression expected
  ...
  bash: wrgn39_dlob.hans_dir645 - 64: syntax error: invalid arithmetic operator (error token is ".hans_dir645 - 64")  make[4]: *** [install] Error 1

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37828
2013-08-23 17:07:26 +00:00
Gabor Juhos
3afc3824ca ramips: update the RT3883 PCI patch
Fix the following warning:

  arch/mips/pci/pci-rt3883.c: In function 'rt3883_pci_probe':
  arch/mips/pci/pci-rt3883.c:458:4: warning: use of 'h' length modifier with 'a' type character [-Wformat]

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37827
2013-08-23 17:07:25 +00:00
John Crispin
dc7164d4ef ramips: DIR-610-A1 Support
http://patchwork.openwrt.org/patch/3933/

Signed-off-by: Flavio Silveira <fggs@terra.com.br>

SVN-Revision: 37785
2013-08-14 19:35:27 +00:00
John Crispin
97a7daa72f ramips: fix typo in network uci_defaults script
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37784
2013-08-14 19:08:55 +00:00
John Crispin
41f62983d3 ramips: dts file cleanup
cleanup some inconsistencies in the dts files

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

SVN-Revision: 37783
2013-08-14 19:08:44 +00:00
John Crispin
36e3424fa5 ramips: add support for dir810l and asus rp-n53
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37780
2013-08-14 18:15:35 +00:00
John Crispin
632a3e3a79 ramips: various updates to the mt7620 dtsi file
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37779
2013-08-14 18:15:26 +00:00
John Crispin
9e5b0cc19c ramips: update v3.10 patches
Sync the patches with those sent upstream for v3.12.

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

SVN-Revision: 37778
2013-08-14 18:15:15 +00:00
Gabor Juhos
9257d556c2 ramips: re-implement PCI mux
Parallel flash access on RT3662/RT3883 based devices
is broken without that. It was fixed already some time
ago, but that change seems lost somewhere.

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

SVN-Revision: 37708
2013-08-05 12:49:19 +00:00
Gabor Juhos
c80dd34924 ramips: allow to build Seama firmware images with arbitrary size
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37707
2013-08-05 12:35:22 +00:00
John Crispin
169e184521 ramips: add Poray IP2202 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37640
2013-08-01 14:31:15 +00:00
John Crispin
ce4228b417 ramips: add Poray X8 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37639
2013-08-01 14:31:09 +00:00
John Crispin
54968110f1 ramips: add Poray X5/X6 Support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37638
2013-08-01 14:31:04 +00:00
John Crispin
0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
2013-08-01 14:30:58 +00:00
John Crispin
23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
2013-08-01 14:30:53 +00:00
John Crispin
aaedf6c8c6 ramips: add basics for Poray devices
This commit adds the basic elements to support Poray brand routers.
It contains a tool to do the encryption/obfuscation that is used in
Poray routers.

Support for Poray devices was worked on by:

Felix Kaechele <heffer@fedoraproject.org>
Luis Soltero <lsoltero@globalmarinenet.com>
Michel Stempin <michel.stempin@wanadoo.fr>

Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37635
2013-08-01 14:30:46 +00:00
John Crispin
046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
2013-08-01 14:30:33 +00:00
Felix Fietkau
28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
2013-07-30 08:00:25 +00:00
John Crispin
c2600d13d1 ramips: fix indenting of spi partitions inside dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37609
2013-07-29 13:10:26 +00:00
Felix Fietkau
73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
2013-07-29 09:38:29 +00:00
John Crispin
8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
2013-07-27 09:23:52 +00:00
John Crispin
13b7ab81cf ralink: gpio driver should not set gpio to input when irq is querired
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37567
2013-07-27 09:23:45 +00:00
John Crispin
eb089abd28 ramips: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37566
2013-07-27 09:23:40 +00:00
John Crispin
718b47f0b4 ramips: MPR-A2 should use memory auto detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37565
2013-07-27 09:23:34 +00:00
John Crispin
115c6f85cf ramips: enable usb phy support on rt5350
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37564
2013-07-27 09:23:29 +00:00
John Crispin
f4c4ca0b00 ralink: switch back to dwc_otg ... dwc2 seems to not work well with 3G modems
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37563
2013-07-27 09:23:24 +00:00
John Crispin
c4413b6e08 ramips: unbreak asiarf dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37561
2013-07-26 15:19:19 +00:00
Gabor Juhos
e9688455f6 kernel: update 3.10 to 3.10.3
Also refresh 3.10 patches.

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

SVN-Revision: 37546
2013-07-26 07:19:58 +00:00
John Crispin
04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
2013-07-25 17:03:08 +00:00
John Crispin
7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
2013-07-25 16:55:48 +00:00
John Crispin
9b2c7be0c4 ramips: important patch for HG255D
r37505 add support for Huawei HG255D, but it only tested under a community hacked u-boot ("lintel u-boot"), which has a different mtd layout compared to origin one. If you install it on a box with origin u-boot, the origin factory part will be destroyed, and your wifi interface will never up!!!

This patch shrink firmware part in mtd layout to exclude origin factory part, and  I will prepare another patch to fix the eeprom extract issue for box with origin u-boot.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37530
2013-07-25 16:01:58 +00:00
John Crispin
3ad136d9e3 ramips: Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
Basic support for the AsiaRF RT5350 based AWM002 module and evaluation board.
http://www.asiarf.com/Smallest-Tiny-Ralink-802-11n-Wireless-AP-Router-Module-Board-AWM002-product-view-375.html

Signed-off-by Jon Smirl <jonsmirl@gmail.com>

SVN-Revision: 37521
2013-07-24 08:54:41 +00:00
John Crispin
3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
2013-07-23 13:07:00 +00:00
John Crispin
0cc1e2acb4 ramips: Add support for Huawei HG255D in trunk
HG255D is a kind of popular low-end home gateway in China, this patch bring the the trunk support for it. It is adapted from a local Chinese community (www.right.com.cn), so credit should given to them.

This patch is tested to work except trivial LED issues.

Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37505
2013-07-22 15:36:39 +00:00
Gabor Juhos
ef944dcb85 kernel: update 3.10 to 3.10.2
Also refresh 3.10 patches.

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

SVN-Revision: 37502
2013-07-22 15:31:13 +00:00
John Crispin
8d0cd50f30 ralink: set remove dwc_otg from default packages and use dwc2 instead
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37499
2013-07-22 13:52:52 +00:00
John Crispin
ffe389c4c5 ralink: remove dwc_otg from modules.mk
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37498
2013-07-22 13:52:44 +00:00
John Crispin
5525b2136e ralink: set v3.10 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37497
2013-07-22 13:52:32 +00:00
Jonas Gorski
b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
2013-07-19 22:58:01 +00:00
John Crispin
8028fb8096 ramips: add sysupgarde support for wl-330n3g
https://dev.openwrt.org/ticket/13891

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

SVN-Revision: 37376
2013-07-17 09:44:57 +00:00
John Crispin
dd22304691 ramips: make the old dwc driver depend on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37357
2013-07-15 21:06:03 +00:00
John Crispin
072e1a254c ramips: add v3.10 kernel config files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37356
2013-07-15 21:05:58 +00:00
John Crispin
cb6375c20a ramips: fix ehci/ohci OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37354
2013-07-15 21:05:47 +00:00
John Crispin
12a099eb07 ramips: update dtsi files to work with dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37353
2013-07-15 21:05:42 +00:00
John Crispin
e8ebcffd02 ramips: add a explicit reset to dwc2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37352
2013-07-15 21:05:36 +00:00
John Crispin
bd78f2b56e ramips: add a patch to make dwc2 work with boards that have an old bootloader
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37339
2013-07-15 11:34:13 +00:00
John Crispin
a0de18807b ramips: add ralink v3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37331
2013-07-15 10:06:55 +00:00
John Crispin
f7cf157712 ramips: disable ill_acc driver by default
The driver seems to be causoing boot rpoblems on some SoCs

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

SVN-Revision: 37314
2013-07-14 18:01:00 +00:00
John Crispin
89c0392736 ralink: drop v3.8 support
Signed-off-by: John Crispin <blogic@opewnrt.org>

SVN-Revision: 37311
2013-07-14 18:00:34 +00:00
Hauke Mehrtens
e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
2013-07-13 22:43:10 +00:00
John Crispin
099188695a ralink: vlan offloading is causing problems. disable it
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37203
2013-07-08 16:34:52 +00:00
John Crispin
a6091a5c71 ralink: unbreak ralink i2c support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37202
2013-07-08 09:01:57 +00:00
John Crispin
a154693bab ralink: add i2c-ralink kmod info
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37200
2013-07-08 09:01:47 +00:00
John Crispin
2da37a713e ramips: fix RT-N13U gpio buttons
https://dev.openwrt.org/ticket/13795

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

SVN-Revision: 37163
2013-07-04 13:31:23 +00:00
Felix Fietkau
5986a18c16 ramips: update wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
2013-06-30 21:03:48 +00:00
Jonas Gorski
0d9f760f27 kernel: update linux 3.9 to 3.9.8
Includes memory allocation fixes as well as several networking fixes.

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

SVN-Revision: 37103
2013-06-30 13:10:12 +00:00
John Crispin
6875316646 ramips: unbreak initramfs generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37080
2013-06-29 08:41:03 +00:00
John Crispin
77b9fd52a6 ramips: fix ethernet driver
make sure the driver does not crash under load

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

SVN-Revision: 37058
2013-06-28 11:22:11 +00:00
Florian Fainelli
6a4f2922f6 targets: prepare for supporting normal and initramfs images
In order to support both normal images and initramfs, ensure that each
target sets KERNELNAME properly so that the generic kernel building code
can copy the corresponding files over $(KDIR) with the appropriate
extension. Update the various paths to the kernel and wrapper images
from $(LINUX_DIR)/arch/$(ARCH)/boot/$(foo) to $(KDIR)/$(foo).

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

SVN-Revision: 37049
2013-06-27 19:58:31 +00:00
John Crispin
36209234ab ramips: fix rt2x00 ethernet compile bug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37043
2013-06-27 16:45:40 +00:00
John Crispin
0d4e00c337 ramips: add missing symbols to rt288x config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37042
2013-06-27 16:45:26 +00:00
John Crispin
1706c8d29a ramips: fix ethernet stability issue introduced by recent kernel upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37041
2013-06-27 16:28:06 +00:00
John Crispin
5063f712a6 ramips: move ESW reset to preinit on RT305x/RT5350
RT305x/RT5350 SoCs require the switch to be reset before touching the ethernet
interface, otherwise the driver will panic.
As we already init the ethernet in preinit we therefor need to reset the switch
before that.

Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 37027
2013-06-24 12:39:28 +00:00
John Crispin
d3723f93c6 ramips: make rt3883 usb work properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37024
2013-06-24 12:06:56 +00:00
John Crispin
dca18caa79 ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37021
2013-06-24 11:09:50 +00:00
John Crispin
55fb6f3a05 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37016
2013-06-23 15:50:49 +00:00
John Crispin
67f5f188b1 base-files: input/button drivers get loaded before preinit by procd
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37000
2013-06-21 16:53:47 +00:00
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
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
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
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
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
John Crispin
036fb79052 ramips: drop 3.7 support
Signed-off-by; John Crispin <blogic@openwrt.org>

SVN-Revision: 36572
2013-05-07 10:58:44 +00:00
John Crispin
16a17b318a ramips: properly setup the FEATURES variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36571
2013-05-07 10:58:30 +00:00
John Crispin
bd6e12d904 ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 36568
2013-05-06 18:23:56 +00:00
John Crispin
899120ddef ramips: enable dsp extensions for rt305x and rt3883
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36567
2013-05-06 16:45:59 +00:00
John Crispin
849ff98669 ramips: fix fypo in ethernet driver rt288x, rt3883
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36565
2013-05-06 16:45:43 +00:00
John Crispin
eddd7f5773 ramips: Update ARC Freestation profile
These devices are actually built around the 8devices Carambola dev board.

ARC FreeStation, Flex mARC, iFlex, and SplitStation devices are
supported with this image, see "ARCFlex Firmware Downloads":
http://www.antennas.com/wiki/index.php?title=ARC-OS_Firmware_Downloads_and_Revision_History

Funnily enough if present the external USB wlan ends up being wlan-0, with the
SoC device being wlan-1.

- Invert port map so special handling of vlan config can be removed.
- Add LED config similar to original ArcOS firmware.
- Add GPIO export for enabling PoE passthrough from ethernet port 0 to port 1
- Get MACs from factory partition.
- Update description to list supported devices.
- Carambola uses RT3050 (not RT3052), though my Carambola CPU
  actually reports itself as being an RT3350 while still having
  RT3050F markings.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36564
2013-05-06 16:45:35 +00:00
John Crispin
4f1ff28f08 ramips: Support setting active_low in devicetree gpio-export
Support setting active_low in devicetree gpio-export.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36563
2013-05-06 16:45:27 +00:00
John Crispin
6af3b6721b ralink: unbreak uart pinmux handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36562
2013-05-06 16:45:20 +00:00
John Crispin
7c04b3bd66 ramips: fix gpio base numbering
make banks 0 based to unbreak userland ABI

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

SVN-Revision: 36561
2013-05-06 16:45:12 +00:00
John Crispin
338ff04cab ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36560
2013-05-06 16:45:04 +00:00
John Crispin
65760ede8b ramips: unbreak rt2880 support
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36559
2013-05-06 16:44:56 +00:00
John Crispin
28bdb9efe9 ramips: fix DIR-602D1 flash size
Fix DIR-620D1 flash size.

Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36558
2013-05-06 16:44:47 +00:00
John Crispin
1c89a60431 ramips: unbreak gpio handling for uart mux group
this should fix the handling of corner cases

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

SVN-Revision: 36543
2013-05-04 11:36:51 +00:00
Gabor Juhos
8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
2013-05-01 22:15:18 +00:00
Gabor Juhos
f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
2013-04-30 10:43:59 +00:00
John Crispin
eff12a630d ramips: move dlink profile to correct sub folder - 2nd try
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36489
2013-04-30 10:34:20 +00:00
John Crispin
1db4587bc7 ramips: move dlink profile to correct sub folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36487
2013-04-30 08:24:26 +00:00
Gabor Juhos
36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
2013-04-26 16:55:42 +00:00
Gabor Juhos
c63bb1a18e ramips: rt3883: fix build error
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36451
2013-04-26 16:55:28 +00:00
John Crispin
e141b73f9d ramips: remove now unneeded user-space board detection
Now that ALL5002 and ALL5003 each got their own DTS and board names, remove
the now no longer needed user-space part which previously differentiated between
ALL5002 and ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3558/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36436
2013-04-25 19:03:05 +00:00
John Crispin
cf3885eb0f ramips: introduce DTS for ALL5003
Prior to the switch to 3.8, ALL5002 and ALL5003 boards shared mach-all5002.c.
With the change to DTS, this is no longer accurate, as ALL5002 is based on
Rt3352 SoC while ALL5003 is based on Rt5350 SoC, therefore the corresponding
rt5350.dtsi need to be included for ALL5003.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Patchwork: http://patchwork.openwrt.org/patch/3557/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36435
2013-04-25 19:03:01 +00:00
John Crispin
978567a89e ramips: set preinit interface to eth0 by default.
This makes any ramips device accessible via ethernet in failsafe mode.

Based on: https://dev.openwrt.org/changeset/36322

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3567/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36434
2013-04-25 19:02:57 +00:00
John Crispin
7bfab6e308 ramips: Add Alpha ASL-26555 support.
This board uses a TrendChip SOC with its own RAM/Flash for ADSL support.
We know both SOCs are connected through ethernet and use some kind of protocol for UART communication, but due to the lack of GPL sources we couldn't get it to work. For this reason the network is configured only for LAN.

There are two versions (Chile 8MB and Spain 16MB).

Wiki: http://wiki.openwrt.org/toh/alpha/asl26555

Signed-off-by: Esteban Benito <estebanjbs@gmail.com>
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3571/
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36433
2013-04-25 19:02:53 +00:00
John Crispin
c7216d0cab ramips: Add support of D-link DIR-620D1
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36432
2013-04-25 19:02:48 +00:00
John Crispin
deb3635923 ramips: sync kernel patches with the mips-next tree
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36431
2013-04-25 19:02:42 +00:00
Gabor Juhos
151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
2013-04-19 08:07:34 +00:00
John Crispin
e3003ea2a9 fix prepare_generic_squashfs
prepare_generic_squashfs was called twice on the generated images breaking mount_root

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

SVN-Revision: 36349
2013-04-17 11:54:09 +00:00
John Crispin
8001e6a689 fix rt305x gpio
https://dev.openwrt.org/ticket/13359

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

SVN-Revision: 36343
2013-04-16 06:58:18 +00:00
Gabor Juhos
604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
2013-04-14 09:25:53 +00:00
John Crispin
d3a46c4b7f update rt2880 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36327
2013-04-12 18:57:01 +00:00
John Crispin
92259c4803 fix up the rt2880 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36326
2013-04-12 18:56:53 +00:00
John Crispin
a6424245e6 fix RT-N15 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36325
2013-04-12 18:56:44 +00:00
John Crispin
7af1fa46ad update rt2880.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36324
2013-04-12 18:56:36 +00:00
John Crispin
fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
2013-04-09 14:39:01 +00:00
John Crispin
bc7b310959 move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36290
2013-04-09 14:19:36 +00:00
John Crispin
48feea4861 Add Netgear WNCE2001 (OF version)
Add Netgear WNCE2001.

This is a small RT3052 device with 4MB spi flash and 32MB ram.
2 built-in antennas, 1x fastE, no USB, reset & wps switch.
On my model the AP/RT switch is unpopulated, but I verified the gpio
mapping for it.
The stock firmware is running an unprotected tftpd which allows you
to read any file from the filesystem.
Serial port is present on testpads (See image on the wiki page).
There are more testpads below the shield near the SoC, which
may have JTAG.

Slight annoyance: The bootloader is checksumming kernel&rootfs, but
can be tricked by zeroing checksum and length fields in the checksum
partition, see
target/linux/ramips/base-files/lib/preinit/04_disable_wnce2001_flash_checksumming

The manufacturer image is very similar to the DAP one, so I slightly
modified mkdapimg to support generating it.

The resulting
openwrt-ramips-rt305x-wnce2001-squashfs-factory-(worldwide|northamerica).bin
can be used to flash from stock to OpenWRT using the stock firmware
upgrade function, without using the serial port.

http://www.netgear.com/landing/wnce2001.aspx
http://wiki.openwrt.org/toh/netgear/wnce2001

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

SVN-Revision: 36289
2013-04-09 14:19:33 +00:00
John Crispin
e468abcae0 remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36288
2013-04-09 14:19:28 +00:00
John Crispin
82c3b7ce26 add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36287
2013-04-09 14:19:24 +00:00
John Crispin
f1e9d30ffc add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36286
2013-04-09 14:19:20 +00:00
John Crispin
fcd962cc71 set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36285
2013-04-09 14:19:17 +00:00
Gabor Juhos
130f67210a ramips: TEW-691GR.dts fixes
* fix pinmux settings
* remove spi node
* add nor-flash node
* enable mdio-bus and add phy handle

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

SVN-Revision: 36276
2013-04-08 12:34:17 +00:00
Gabor Juhos
a4a148f222 ramips: rt3883: enable the AR8216 driver
It is needed for the TEW-69{1,2}GR boards.

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

SVN-Revision: 36275
2013-04-08 12:34:15 +00:00
Gabor Juhos
a9d977b2af ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36274
2013-04-08 11:12:04 +00:00
Gabor Juhos
82705b30b3 ramips: OMNI-EMB-HPM.dts fixes
* add mdio-bus and phy nodes
* set phy-handle for the ethernet node
* define flash partiions
* cleanup flash node properties

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

SVN-Revision: 36273
2013-04-08 11:12:03 +00:00
Gabor Juhos
909fabe574 ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36272
2013-04-08 11:12:02 +00:00
Gabor Juhos
78ee80f2e8 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36271
2013-04-08 11:12:01 +00:00
Gabor Juhos
30e5bae84a ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36270
2013-04-08 08:24:51 +00:00
Gabor Juhos
cd7ce5226d ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36269
2013-04-08 08:24:50 +00:00
Gabor Juhos
4c85227cf4 ramips: TEW-692GR.dts fixes
* fix pinmux settings
* remove spi node
* add PCI node
* add nor-flash node

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

SVN-Revision: 36268
2013-04-08 07:11:35 +00:00
Gabor Juhos
97635d7a8e ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36264
2013-04-07 20:56:22 +00:00
Gabor Juhos
474264f64c ramips: add PCI node for rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36263
2013-04-07 20:56:21 +00:00
Gabor Juhos
6c8951313c ramips: rt3883: enable PCI support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36262
2013-04-07 20:56:20 +00:00
Gabor Juhos
b6b0a8fbee ramips: fix RT3883 PCI driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36261
2013-04-07 20:56:18 +00:00
Gabor Juhos
1700bf5b2e ramips: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36260
2013-04-07 17:05:05 +00:00
Gabor Juhos
6de8743e44 ramips: add missing cpu-feature-override.h files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36259
2013-04-07 17:05:04 +00:00
Gabor Juhos
68875710fd ramips: fix broken patch name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36258
2013-04-07 16:26:27 +00:00
Gabor Juhos
16d0ce52b0 ramips: fix polarity of GPIO buttons for RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36257
2013-04-07 16:24:33 +00:00
Gabor Juhos
d1f28c6d1f ramips: add nor-flash node for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36249
2013-04-07 14:46:11 +00:00
Gabor Juhos
0c3c29ca38 ramips: fix pinmux settings for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36248
2013-04-07 14:46:10 +00:00
Gabor Juhos
66fbe78a93 ramips: pinmux fixes
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36247
2013-04-07 14:46:09 +00:00
Gabor Juhos
aedf05caa0 ramips: remove trailing whitespaces from dts files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36246
2013-04-07 13:32:37 +00:00
Gabor Juhos
017aabe292 ramips: handle PCI interrupts in plat_irq_dispatch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36245
2013-04-07 13:25:38 +00:00
John Crispin
811f7f9f2d fix typos inside dts files
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>

SVN-Revision: 36244
2013-04-07 11:47:03 +00:00
John Crispin
709b19ed9f fix default commandline in dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36243
2013-04-07 11:46:54 +00:00
Gabor Juhos
85675528da ramips: add cfi_cmdset_0002 patches
The parallel flash access on the RT-N56U is broken
without those patches.

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

SVN-Revision: 36242
2013-04-07 11:37:15 +00:00
Gabor Juhos
10d8e4b66c ramips: remove top-level {address,size}-cells properties from .dts files
Those are defined in the SoC specific .dtsi files.

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

SVN-Revision: 36237
2013-04-07 08:19:10 +00:00
Gabor Juhos
756b810178 ramips: fix ethernet switch node in DIR-645.dts
Fix a typo in the node name and add vendor prefix
for the compatible string.

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

SVN-Revision: 36231
2013-04-06 17:19:35 +00:00
Gabor Juhos
1ef39b43dd ramips: remove spi node from RTN56.dts
The RT-N56U board uses a parallel flash.

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

SVN-Revision: 36223
2013-04-06 12:37:40 +00:00
Gabor Juhos
d57e662cda ramips: fix ethernet switch node in RTN56U.dts
The RT-N56U uses an RTL8367M switch.

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

SVN-Revision: 36222
2013-04-06 12:37:38 +00:00
Gabor Juhos
4becd8590c ramips: rt3883: enable the RTL8367 driver
That is needed by the Asus RT-N56U board.

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

SVN-Revision: 36221
2013-04-06 12:37:37 +00:00
Gabor Juhos
348640f4b3 ramips: rt3883: sync 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36217
2013-04-06 12:37:31 +00:00
John Crispin
d16de0b69f fix typo pinmmux -> pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36216
2013-04-06 11:46:34 +00:00
Gabor Juhos
f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
2013-04-06 11:40:44 +00:00
John Crispin
df7af06f1f fix dir-615 h1 network config
http://patchwork.openwrt.org/patch/3527/

Signed-off-by: Daniel Petre <dani@ip6.ro>

SVN-Revision: 36213
2013-04-05 23:37:45 +00:00
John Crispin
e1a74d8ff7 fix typo that made gpiomuxing fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36212
2013-04-05 23:10:42 +00:00
John Crispin
93899a1329 add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/

Signed-off-by: Chi Zhang <zhangchi866@gmail.com>

SVN-Revision: 36176
2013-04-03 10:00:21 +00:00