Commit Graph

980 Commits (3a9752bbd2bc00e407b5dcad21789720f40abf0e)

Author SHA1 Message Date
John Crispin 0dc3b44b0d ramips: add Poray M4 4M/8M support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37637
11 years ago
John Crispin 23d3b705df ramips: add Poray M3 support
Signed-off-by: Felix Kaechele <heffer@fedoraproject.org>

SVN-Revision: 37636
11 years ago
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
11 years ago
John Crispin 046b282429 ralink: add mt7620a_mt7610e profile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37633
11 years ago
Felix Fietkau 28d03a9983 kernel: update remaning platforms accidentally left out of r37617
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37619
11 years ago
John Crispin c2600d13d1 ramips: fix indenting of spi partitions inside dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37609
11 years ago
Felix Fietkau 73c4d73d6d build: unify target independent optimization options
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37600
11 years ago
John Crispin 8dd30fa775 ramips: add MPR-A1 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37568
11 years ago
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
11 years ago
John Crispin eb089abd28 ramips: add back dwc_otg driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37566
11 years ago
John Crispin 718b47f0b4 ramips: MPR-A2 should use memory auto detection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37565
11 years ago
John Crispin 115c6f85cf ramips: enable usb phy support on rt5350
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37564
11 years ago
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
11 years ago
John Crispin c4413b6e08 ramips: unbreak asiarf dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37561
11 years ago
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
11 years ago
John Crispin 04aaf7a03e ramips: disable hg255d
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37532
11 years ago
John Crispin 7feebeb193 ramipe: disable HG255D support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37531
11 years ago
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
11 years ago
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
11 years ago
John Crispin 3f3cac6136 ramips: fix HG255D VLAN initial detect issue
Signed-off-by: Leon Xu <ylxu72@gmail.com>

SVN-Revision: 37517
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin ffe389c4c5 ralink: remove dwc_otg from modules.mk
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37498
11 years ago
John Crispin 5525b2136e ralink: set v3.10 as default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37497
11 years ago
Jonas Gorski b1b4e7db13 kernel: move CONFIG_NET_IP_TUNNEL to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 37465
11 years ago
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
11 years ago
John Crispin dd22304691 ramips: make the old dwc driver depend on v3.9
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37357
11 years ago
John Crispin 072e1a254c ramips: add v3.10 kernel config files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37356
11 years ago
John Crispin cb6375c20a ramips: fix ehci/ohci OF binding
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37354
11 years ago
John Crispin 12a099eb07 ramips: update dtsi files to work with dwc2 driver
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37353
11 years ago
John Crispin e8ebcffd02 ramips: add a explicit reset to dwc2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37352
11 years ago
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
11 years ago
John Crispin a0de18807b ramips: add ralink v3.10 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37331
11 years ago
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
11 years ago
John Crispin 89c0392736 ralink: drop v3.8 support
Signed-off-by: John Crispin <blogic@opewnrt.org>

SVN-Revision: 37311
11 years ago
Hauke Mehrtens e574f75d16 kernel: update to kernel 3.9.10 and refresh patches
SVN-Revision: 37274
11 years ago
John Crispin 099188695a ralink: vlan offloading is causing problems. disable it
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37203
11 years ago
John Crispin a6091a5c71 ralink: unbreak ralink i2c support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37202
11 years ago
John Crispin a154693bab ralink: add i2c-ralink kmod info
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37200
11 years ago
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
11 years ago
Felix Fietkau 5986a18c16 ramips: update wlan firmware hotplug script for new eeprom size
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 37112
11 years ago
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
11 years ago
John Crispin 6875316646 ramips: unbreak initramfs generation
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37080
11 years ago
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
11 years ago
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
11 years ago
John Crispin 36209234ab ramips: fix rt2x00 ethernet compile bug
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37043
11 years ago
John Crispin 0d4e00c337 ramips: add missing symbols to rt288x config
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37042
11 years ago
John Crispin 1706c8d29a ramips: fix ethernet stability issue introduced by recent kernel upgrade
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37041
11 years ago
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
11 years ago
John Crispin d3723f93c6 ramips: make rt3883 usb work properly
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37024
11 years ago
John Crispin dca18caa79 ramips: revert gpio regulator dts update
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37021
11 years ago
John Crispin 55fb6f3a05 ralink: update patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 37016
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin 30786d2dd0 ramips: add support for belkin F7C027 wemo/homeautomatisation plug
Signed-off-by: Alexander Couzens <lynxis@fe80.eu>

SVN-Revision: 36897
11 years ago
John Crispin 1756047518 ramips: set correct description for rt305x subtarget
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36775
11 years ago
Gabor Juhos 46225b99d9 kernel: update linux 3.8 to 3.8.13
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36724
11 years ago
Jonas Gorski 526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
11 years ago
Gabor Juhos e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
11 years ago
John Crispin 036fb79052 ramips: drop 3.7 support
Signed-off-by; John Crispin <blogic@openwrt.org>

SVN-Revision: 36572
11 years ago
John Crispin 16a17b318a ramips: properly setup the FEATURES variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36571
11 years ago
John Crispin bd6e12d904 ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 36568
11 years ago
John Crispin 899120ddef ramips: enable dsp extensions for rt305x and rt3883
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36567
11 years ago
John Crispin 849ff98669 ramips: fix fypo in ethernet driver rt288x, rt3883
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36565
11 years ago
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
11 years ago
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
11 years ago
John Crispin 6af3b6721b ralink: unbreak uart pinmux handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36562
11 years ago
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
11 years ago
John Crispin 338ff04cab ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36560
11 years ago
John Crispin 65760ede8b ramips: unbreak rt2880 support
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36559
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 8a9fe26f20 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36507
11 years ago
Gabor Juhos f718179af5 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36493
11 years ago
John Crispin eff12a630d ramips: move dlink profile to correct sub folder - 2nd try
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36489
11 years ago
John Crispin 1db4587bc7 ramips: move dlink profile to correct sub folder
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36487
11 years ago
Gabor Juhos 36d4fd70bc kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36453
11 years ago
Gabor Juhos c63bb1a18e ramips: rt3883: fix build error
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36451
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
John Crispin deb3635923 ramips: sync kernel patches with the mips-next tree
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36431
11 years ago
Gabor Juhos 151cadfe32 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36363
11 years ago
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
11 years ago
John Crispin 8001e6a689 fix rt305x gpio
https://dev.openwrt.org/ticket/13359

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

SVN-Revision: 36343
11 years ago
Gabor Juhos 604395650a kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36332
11 years ago
John Crispin d3a46c4b7f update rt2880 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36327
11 years ago
John Crispin 92259c4803 fix up the rt2880 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36326
11 years ago
John Crispin a6424245e6 fix RT-N15 support
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36325
11 years ago
John Crispin 7af1fa46ad update rt2880.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36324
11 years ago
John Crispin fb47fd0d6b unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36293
11 years ago
John Crispin bc7b310959 move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36290
11 years ago
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
11 years ago
John Crispin e468abcae0 remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36288
11 years ago
John Crispin 82c3b7ce26 add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36287
11 years ago
John Crispin f1e9d30ffc add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36286
11 years ago
John Crispin fcd962cc71 set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36285
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos a9d977b2af ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36274
11 years ago
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
11 years ago
Gabor Juhos 909fabe574 ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36272
11 years ago
Gabor Juhos 78ee80f2e8 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36271
11 years ago
Gabor Juhos 30e5bae84a ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36270
11 years ago
Gabor Juhos cd7ce5226d ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36269
11 years ago
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
11 years ago
Gabor Juhos 97635d7a8e ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36264
11 years ago
Gabor Juhos 474264f64c ramips: add PCI node for rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36263
11 years ago
Gabor Juhos 6c8951313c ramips: rt3883: enable PCI support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36262
11 years ago
Gabor Juhos b6b0a8fbee ramips: fix RT3883 PCI driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36261
11 years ago
Gabor Juhos 1700bf5b2e ramips: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36260
11 years ago
Gabor Juhos 6de8743e44 ramips: add missing cpu-feature-override.h files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36259
11 years ago
Gabor Juhos 68875710fd ramips: fix broken patch name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36258
11 years ago
Gabor Juhos 16d0ce52b0 ramips: fix polarity of GPIO buttons for RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36257
11 years ago
Gabor Juhos d1f28c6d1f ramips: add nor-flash node for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36249
11 years ago
Gabor Juhos 0c3c29ca38 ramips: fix pinmux settings for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36248
11 years ago
Gabor Juhos 66fbe78a93 ramips: pinmux fixes
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36247
11 years ago
Gabor Juhos aedf05caa0 ramips: remove trailing whitespaces from dts files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36246
11 years ago
Gabor Juhos 017aabe292 ramips: handle PCI interrupts in plat_irq_dispatch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36245
11 years ago
John Crispin 811f7f9f2d fix typos inside dts files
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>

SVN-Revision: 36244
11 years ago
John Crispin 709b19ed9f fix default commandline in dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36243
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
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
11 years ago
Gabor Juhos 348640f4b3 ramips: rt3883: sync 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36217
11 years ago
John Crispin d16de0b69f fix typo pinmmux -> pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36216
11 years ago
Gabor Juhos f78c902cfd kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36215
11 years ago
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
11 years ago
John Crispin e1a74d8ff7 fix typo that made gpiomuxing fail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36212
11 years ago
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
11 years ago
John Crispin 7e54357bd5 fix ALL5002 default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36175
11 years ago
John Crispin 37401dca92 Build WW factory image for DAP-1350
http://patchwork.openwrt.org/patch/3466/

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

SVN-Revision: 36174
11 years ago
John Crispin 910b705155 add Huawei D105
http://patchwork.openwrt.org/patch/3510/

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

SVN-Revision: 36173
11 years ago
John Crispin c1710901c5 add profile for the Edimax 3g-6200NL board
http://patchwork.openwrt.org/patch/3214/

Signed-off-by: Cédric Le Moing <cedric.le-moing@laposte.net>

SVN-Revision: 36172
11 years ago
John Crispin f3643374c4 there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36171
11 years ago
John Crispin 99e0ff1123 make v3.8 the default
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36170
11 years ago
John Crispin c8d5f5e0ef add new image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36169
11 years ago
John Crispin 770b28f146 add the dts files that describe the boards in future
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36168
11 years ago
John Crispin 2328e8389e fix upvel profile names
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36167
11 years ago
John Crispin 94972a5268 fix rt3883 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36166
11 years ago
John Crispin 0716ae8abe fix rt305x config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36165
11 years ago
John Crispin dce4945972 mark rt288x broken until the test hardware arrives in the mail
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36164
11 years ago
John Crispin 46f141637c add patches for v3.8
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36163
11 years ago
John Crispin 4f86ea43ca remove old ralink 3.8 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36162
11 years ago
John Crispin d4db00205d move files to files-3.7
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36161
11 years ago
John Crispin 86a691144b add feature gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36160
11 years ago
Gabor Juhos 07532dca7f kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

SVN-Revision: 36039
11 years ago
John Crispin b22cbac68f make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 35988
11 years ago
Gabor Juhos fe3df4b593 ramips: add profile and build image for the Upvel UR-326N4G board
Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35972
11 years ago
Gabor Juhos d543f4b771 ramips: add user-space support for the Upvel UR-326N4G board
[juhosg: fix mac address setup]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35971
11 years ago
Gabor Juhos 3c2ef04a0e ramips: add kernel support for the Upvel UR-326N4G board
[juhosg: add missing symbols to config-3.{7,8}]

Patch from: Дмитрий Лебедев <lebedev@trendnet.ru>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35970
11 years ago
Gabor Juhos 23b3b3a194 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35860
12 years ago
Gabor Juhos 8798c73860 ramips: set -march=24kec for rt305x and rt3883 to enable use of DSP extension
All known rt305x and rt3883 implementations support at
least the 24kec instruction set which includes the DSP
extension. For rt288x, the previous value mips32r2 is
kept.

The cpu target is now set per sub-archtecture, according
to cpu-feature-overrides.h of each SoC family.

[juhosg: define ARCH_PACKAGES variable for rt305x/rt3883
in order to differentiate the packages compiled with
the 24Kec option.]

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35853
12 years ago
Gabor Juhos 59ad675ef1 ramips: add user-space detection for ALL5002/ALL5003
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35852
12 years ago
Gabor Juhos 50e51e5ecc ramips: indicate support for ALL5003
add ALL5003 to board description in mach-all5002.c
adapt detection in user-space accordingly
(no functional changes)

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35851
12 years ago
Gabor Juhos 367ab0a40f ramips: enhance user-space board detection
Similar to ar71xx, detect only once and cache the strings in
/tmp/sysinfo/model and /tmp/sysinfo/boardname.

Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35850
12 years ago
Gabor Juhos 1ba2272ca5 ramips: fix whitespace in /lib/ramips.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35849
12 years ago
Gabor Juhos 5412b6f32e ramips: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35801
12 years ago
Gabor Juhos a08646642e ramips: image: don't break make process if mkimage command fails
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35800
12 years ago
Gabor Juhos 275db5b4c4 ramips: remove port_power_off field from ehci_platform_data
It is removed in 3.8. Also add a revert patch for 3.7.

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

SVN-Revision: 35799
12 years ago
Gabor Juhos 5e1d6ce077 ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35798
12 years ago
Jonas Gorski 1cd62d06ca ramips: print image build warnings/errors to stderr
Makes warnings/errors visible when building with V=w/V=1.

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

SVN-Revision: 35721
12 years ago
Gabor Juhos 90011a99f3 ramips: migrate to common led helper functions
[juhosg: migrate to status_led_blink_{preinit,failsafe} helpers]

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35652
12 years ago
Gabor Juhos 3f749d1e8e kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35644
12 years ago
Gabor Juhos 4375dae6d3 ramips: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35628
12 years ago
Gabor Juhos 7fd8525853 ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35615
12 years ago
Gabor Juhos 753d713e92 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35613
12 years ago
Gabor Juhos 162b8e23a5 kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35604
12 years ago
Gabor Juhos bae4bfe3f8 kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35571
12 years ago
Gabor Juhos 08ff976720 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35476
12 years ago
Gabor Juhos 9ed81a91f3 ramips: build image for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35468
12 years ago
Gabor Juhos 813aec6796 ramips: add user-space support for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35467
12 years ago
Gabor Juhos d578f3ac38 ramips: rt3883: add kernel support for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35466
12 years ago
Gabor Juhos b99b2ff553 ramips: add userspace support for the Edimax BR-6425
[juhosg: remove sysupgrade changes]

Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35463
12 years ago
Gabor Juhos 0a42e38bad ramips: add kernel support for the Edimax BR-6425 board
Signed-off-by: Yuval Adam <yuv.adm@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35462
12 years ago
Gabor Juhos fb2e2a56d7 refresh kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35434
12 years ago
Gabor Juhos 562ba537fc kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35390
12 years ago
John Crispin 756a7c5451 fix for non-blinking LAN LEDs
https://dev.openwrt.org/ticket/12830

SVN-Revision: 35359
12 years ago
John Crispin d93706154b ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

SVN-Revision: 35356
12 years ago
Gabor Juhos 15be1c9ee7 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35318
12 years ago
Gabor Juhos ed6d399f8d ramips: add profile and build image for the Tenda 3G300M
Factory image should be used to flash from
original firmware.

[juhosg: use the GENERIC_4M template]

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

SVN-Revision: 35246
12 years ago
Gabor Juhos 9891603eb5 ramips: add user-space support for the Tenda 3G300M
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35245
12 years ago
Gabor Juhos 7eff5d2df0 ramips: add kernel support for the Tenda 3G300M
Ralink RT3052F, 4MB flash, 32MB ram, one USB 2.0, two buttons
and seven leds.

Factory image should be used to flash from original firmware.

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

SVN-Revision: 35244
12 years ago
Gabor Juhos f7a943694f ramips: use MkImage for Hauppauge Broadway, Netcore NW718 and Tenda W306R V2.0
These targets need custom image names specified in the uImage header.
MkImage accepts an optional 4th argument to do exactly that. Reuse the
facility to generate factory images.

Compile-tested, the generated files inspected with "file" utility.

[juhosg:
 - keep the factory.bin images to avoid users confusion,
 - use GENERIC_4M template for the W306R V2.0
 - update commit log]

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35243
12 years ago
Gabor Juhos 6aebe6a65d ramips: allow to override image name/suffix in GENERIC_{4,8}M macros
Sysupgrade/KRuImage and BuildFirmware/Generic macros
are changed as well.

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

SVN-Revision: 35242
12 years ago
Gabor Juhos 60dde219d4 ramips: do not stop the build if some targets fail
This becomes crucial when you are using a generic profile to build an image
larger than 4M, e.g. for w502u.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35238
12 years ago
Jo-Philipp Wich 3a2cccda2e all targets: use numerically prefixed uci-defaults file names to better control order of execution
SVN-Revision: 35217
12 years ago
Gabor Juhos 0de21d9747 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35216
12 years ago
Felix Fietkau 576aa2af0c ramips: enable BR6425N in kernel config
Though originally contained in the patch applied in r35020, the move to 3.7 in
r34845 lost the kernel .config option. Reintroduce it to config-3.7.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 35191
12 years ago
Gabor Juhos ff2ce330a5 ramips: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35110
12 years ago
Gabor Juhos d53f8c3ded ramips: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 35109
12 years ago
John Crispin f2f9332350 adds support for Edimax BR-6524N
fixes #12754

Signed-off-by: <rq@akl.lt>

SVN-Revision: 35020
12 years ago
John Crispin 569bbe4970 rt5350 switch support fix
RT5350 frame engine need reset frame engine and embedded switch together.

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

SVN-Revision: 34969
12 years ago
Gabor Juhos fb07876f25 ramips: rt305x: fix garbled name in mach-mzk-w300nh2.c
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34934
12 years ago
Gabor Juhos 6708d68c24 ramips: build firmware image for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34927
12 years ago
Gabor Juhos 8b1ac2ae37 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34926
12 years ago
Gabor Juhos d6d06aceb0 ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34925
12 years ago
Gabor Juhos 76537041eb ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34924
12 years ago
Gabor Juhos 3aad9b4c9b ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34923
12 years ago
Gabor Juhos 3fcb8bb0dd ramips: rt305x: add kernel support for AirLive AIR3GII
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34922
12 years ago
Felix Fietkau 41a039f464 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
SVN-Revision: 34909
12 years ago
Gabor Juhos 69da894432 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34877
12 years ago
Gabor Juhos c5a36f13f0 ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

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

SVN-Revision: 34876
12 years ago
Gabor Juhos 8105c6badd ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34860
12 years ago
Gabor Juhos c81b4475c9 ramips: rt3883: fix build error
The cpuport_cfg field has been renamed to port0_cfg.

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

SVN-Revision: 34859
12 years ago
Gabor Juhos b44cdcde8e ramips: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34845
12 years ago
Gabor Juhos b81667cb23 ramips: convert to use {e,o}hci-platform driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34843
12 years ago
Gabor Juhos e1b5eeeaa4 ramips: Add USB support for DAP-1350 platform.
It seems to work as intended, but only lightly tested.

Patch-by: Bryan Steele <brynet@gmail.com>
SIgned-off-by: Gabor Juhos <juhsog@openwrt.org>

SVN-Revision: 34811
12 years ago
Mirko Vogt e34a4e0c7b Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
SVN-Revision: 34793
12 years ago
Gabor Juhos 44b9898251 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34748
12 years ago
Gabor Juhos fe8efb72ca ramips: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34744
12 years ago
Gabor Juhos 2b378d11c8 kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34639
12 years ago
John Crispin c2ae0ec02a add support for Hauppauge Broadway
This patch introduces OpenWRT support for the base Hauppauge/PCTV Broadway
platform.  It doesn't deal with the TV tuner or transcoder at this point,
but the core functionality is working (Ethernet, wireless, USB, buttons,
LEDs, etc).

Signed-off-by: Devin Heitmueller <dheitmueller@kernellabs.com>

SVN-Revision: 34595
12 years ago
Gabor Juhos 2581173660 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34578
12 years ago
Gabor Juhos e0e43655ce ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

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

SVN-Revision: 34445
12 years ago
Gabor Juhos 44131bd785 ramips: rt305x: add profile and build image for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34407
12 years ago
Gabor Juhos d3994b7408 ramips: rt305x: add user-space support for the Asus RT-N13U
Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34406
12 years ago
Gabor Juhos 0ec59e6235 ramips: rt305x: add kernel support for the Asus RT-N13U Wireless-N300 Router
The work has been backported from openwrt-dreambox with
some modifications & code cleanup.

* updated config-3.3
* updated config-3.6
* renamed rt-n13 to rt-n13u
* fixed mach-rt-n13u.c

[juhosg: move user-space support and image generation into separate
patches]

Signed-off-by: Amit Mendapara <mendapara.amit@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34405
12 years ago
Gabor Juhos c2f018fca2 remove common symbols from 3.6 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34404
12 years ago
Gabor Juhos 1f516235ea remove common symbols from 3.3 configs
The removed symbols are present in the generic configuration.

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

SVN-Revision: 34403
12 years ago
Gabor Juhos 3a4d0ebd5c kernel: update linux 3.6 to 3.6.8
Also refresh the affected patches.

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

SVN-Revision: 34402
12 years ago
Gabor Juhos 57b7879a4e ramips: ramips_eth: use Kconfig definition to enable debug
The Kconfig identifier to enable debugging in the driver was different from the
actually used one. Fix that.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34332
12 years ago
Gabor Juhos 21d5df8700 ramips: add DIR-615 D userspace support
Commit 7c8edac25f23c4fc14239fdc293caa1317649944 introduced new machine and
Makefile changes to build images for this target. However, without the userspace
bits a ramips machine can't use wifi as the necessary "eeprom" data is to be
extracted by a hotplug script; also, sysupgrade support and default led
configuration are missing.

An IRC user reported these changes allowed him to use wifi on his hardware.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34331
12 years ago
Gabor Juhos dd092fd10c ramips: set clk_is_20mhz for rt2x00 on RT3352/RT5350
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34270
12 years ago
Gabor Juhos ff1e854511 kernel: update linux 3.6 to 3.6.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 34227
12 years ago
John Crispin dd8c625424 previous commit pushed 1 file too many ;)
SVN-Revision: 34179
12 years ago
John Crispin ced0cf3a94 move ethernet hw init to init/uninit functions
This should fix the stalled irq problem seen by several people.
This is not the real fix, but rather moves the bug to the un/init patch of the driver.
The real bug still needs to be fixed, but this workaround should be suffcient to make
the ethernet stable.

SVN-Revision: 34177
12 years ago
John Crispin 6090ddc896 adds fon20n profile
SVN-Revision: 34112
12 years ago
John Crispin 3991526989 ramips: use kernel 3.6.6
## Booting image at 80800000 ...
   Image Name:   MIPS OpenWrt Linux-3.6.6
   Created:      2012-11-06  14:19:54 UTC

 System Control Status = 0x20440000
   Image Type:   MIPS Linux Kernel Image (lzma compressed)
   Data Size:    3560768 Bytes =  3.4 MB
   Load Address: 80000000
   Entry Point:  80000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
No initrd
## Transferring control to Linux (at address 80000000) ...
## Giving linux memsize in MB, 32

Starting kernel ...

[    0.000000] Linux version 3.6.6 (daniel@localhost.localdomain) (gcc version 4.6.4 20121001 (prerelease) (Linaro GCC 4.6-2012.10) ) #2 Tue Nov 6 16:19:48 IST 2012
[    0.000000] bootconsole [early0] enabled
[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
[    0.000000] Ralink RT3052 id:1 rev:2 running at 384.00 MHz
[    0.000000] Determined physical RAM map:
[    0.000000]  memory: 02000000 @ 00000000 (usable)
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x00000000-0x01ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x00000000-0x01ffffff]
[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
[    0.000000] Kernel command line:  console=ttyS1,57600n8 board=ALL0239-3G mtdparts=physmap-flash.0:192k(u-boot)ro,64k(u-boot-env)ro,64k(factory)ro,896k(kernel),6976k(rootfs),7872k@0x50000(firmware) rootfstype=squashfs,jffs2
[    0.000000] PID hash table entries: 128 (order: -3, 512 bytes)
[    0.000000] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000000] __ex_table already sorted, skipping sort
[    0.000000] Writing ErrCtl register=0000c388
[    0.000000] Readback ErrCtl register=0000c388
[    0.000000] Memory: 27048k/32768k available (2015k kernel code, 5720k reserved, 498k data, 2676k init, 0k highmem)
[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS:48
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.000000] console [ttyS1] enabled, bootconsole disabled
[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
[    0.090000] pid_max: default: 32768 minimum: 301
[    0.100000] Mount-cache hash table entries: 512
[    0.110000] NET: Registered protocol family 16
[    0.120000] MIPS: machine is Allnet ALL0239-3G
[    0.140000] bio: create slab <bio-0> at 0
[    0.150000] Switching to clocksource MIPS
[    0.160000] NET: Registered protocol family 2
[    0.170000] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    0.180000] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    0.200000] TCP: Hash tables configured (established 1024 bind 1024)
[    0.210000] TCP: reno registered
[    0.220000] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.230000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.240000] NET: Registered protocol family 1
[    5.460000] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    5.470000] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    5.490000] msgmni has been set to 52
[    5.500000] io scheduler noop registered
[    5.510000] io scheduler deadline registered (default)
[    5.520000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    5.530000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
[    5.550000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
[    5.560000] physmap platform flash device: 00800000 at bf000000
[    5.580000] physmap-flash.0: Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x000001 Chip ID 0x001000
[    5.600000] Amd/Fujitsu Extended Query Table at 0x0040
[    5.610000]   Amd/Fujitsu Extended Query version 1.3.
[    5.620000] number of CFI chips: 1
[    5.620000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
[    5.640000] Creating 6 MTD partitions on "physmap-flash.0":
[    5.650000] 0x000000000000-0x000000030000 : "u-boot"
[    5.660000] 0x000000030000-0x000000040000 : "u-boot-env"
[    5.680000] 0x000000040000-0x000000050000 : "factory"
[    5.690000] 0x000000050000-0x000000130000 : "kernel"
[    5.700000] 0x000000130000-0x000000800000 : "rootfs"
[    5.710000] mtd: partition "rootfs" set to be root filesystem
[    5.730000] split_squashfs: error occured while reading from "physmap-flash.0"
[    5.740000] 0x000000050000-0x000000800000 : "firmware"
[    5.760000] ramips-wdt ramips-wdt: timeout value must be 0 < timeout <= 33, using 33
[    5.780000] TCP: cubic registered
[    5.780000] NET: Registered protocol family 17
[    5.790000] 8021q: 802.1Q VLAN Support v1.8
[    5.820000] Freeing unused kernel memory: 2676k freed
[    6.490000] Button Hotplug driver version 0.4.1
- preinit -
Press the [f] key and hit [enter] to enter failsafe mode
- regular preinit -
- init -

Please press Enter to activate this console. [   10.150000] Compat-drivers backport release: compat-drivers-2012-09-04-2-gddac993
[   10.170000] Backport based on wireless-testing.git master-2012-09-07
[   10.180000] compat.git: wireless-testing.git
[   10.210000] cfg80211: Calling CRDA to update world regulatory domain
[   10.230000] cfg80211: World regulatory domain updated:
[   10.240000] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
[   10.250000] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.270000] cfg80211:   (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.280000] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
[   10.300000] cfg80211:   (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.310000] cfg80211:   (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
[   10.430000] NET: Registered protocol family 10
[   10.760000] PPP generic driver version 2.4.2
[   10.820000] l2tp_core: L2TP core driver, V2.0
[   10.840000] l2tp_netlink: L2TP netlink interface
[   10.870000] sit: IPv6 over IPv4 tunneling driver
[   10.920000] ip_tables: (C) 2000-2006 Netfilter Core Team
[   11.060000] NET: Registered protocol family 24
[   11.090000] nf_conntrack version 0.5.0 (464 buckets, 1856 max)
[   11.230000] l2tp_ppp: PPPoL2TP kernel driver, V2.0
[   11.410000] ip6_tables: (C) 2000-2006 Netfilter Core Team
[   14.510000] device eth0.1 entered promiscuous mode
[   14.520000] device eth0 entered promiscuous mode
[   14.530000] IPv6: ADDRCONF(NETDEV_CHANGE): eth0.1: link becomes ready
[   14.550000] br-lan: port 1(eth0.1) entered forwarding state
[   14.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.560000] br-lan: port 1(eth0.1) entered forwarding state
[   16.600000] ramips-wdt: timeout value 60 must be 0 < timeout <= 33, using 33

BusyBox v1.19.4 (2012-11-06 13:40:37 IST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 BARRIER BREAKER (Bleeding Edge, r34079)
 -----------------------------------------------------
  * 1/2 oz Galliano         Pour all ingredients into
  * 4 oz cold Coffee        an irish coffee mug filled
  * 1 1/2 oz Dark Rum       with crushed ice. Stir.
  * 2 tsp. Creme de Cacao
 -----------------------------------------------------
root@OpenWrt:/#

SVN-Revision: 34111
12 years ago
John Crispin 480892226d ramips: add HAVE_CLK to Kconfig on all ramips socs
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 34110
12 years ago
John Crispin feb31be6af ramips: add linux-3.6 configuration for ramips socs
Signed-off-by: Daniel Golle <dgolle@allnet.de>

 create mode 100644 target/linux/ramips/rt288x/config-3.6
 create mode 100644 target/linux/ramips/rt305x/config-3.6
 create mode 100644 target/linux/ramips/rt3883/config-3.6

SVN-Revision: 34109
12 years ago
John Crispin ca1fcaed5b ramips: port patches to linux-3.6
Signed-off-by: Daniel Golle <dgolle@allnet.de>

 create mode 100644 target/linux/ramips/patches-3.6/001-mips-add-cp0-compare-irq-function.patch
 create mode 100644 target/linux/ramips/patches-3.6/010-mtd_fix_cfi_cmdset_0002_erase_status_check.patch
 create mode 100644 target/linux/ramips/patches-3.6/011-mtd-cfi_cmdset_0002-force-word-write.patch
 create mode 100644 target/linux/ramips/patches-3.6/100-mips-ralink-core.patch
 create mode 100644 target/linux/ramips/patches-3.6/101-rt288x_serial_driver_hack.patch
 create mode 100644 target/linux/ramips/patches-3.6/102-rt288x-pci-driver-hook.patch
 create mode 100644 target/linux/ramips/patches-3.6/103-ethernet.patch
 create mode 100644 target/linux/ramips/patches-3.6/104-ramips-watchdog-driver.patch
 create mode 100644 target/linux/ramips/patches-3.6/105-ramips-spi-driver.patch
 create mode 100644 target/linux/ramips/patches-3.6/105-usb_dwc_otg.patch
 create mode 100644 target/linux/ramips/patches-3.6/106-rt3883-pci-support.patch
 create mode 100644 target/linux/ramips/patches-3.6/200-rt3883-ehci-glue.patch
 create mode 100644 target/linux/ramips/patches-3.6/201-rt3883-ohci-glue.patch

SVN-Revision: 34108
12 years ago
Gabor Juhos a0dd47bbed ramips: enable USB power on the DIR-645
Closes #12422.

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

SVN-Revision: 34082
12 years ago
Gabor Juhos 829aaedcbf ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 34078
12 years ago
Gabor Juhos e91dc2e5b3 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33987
12 years ago
Gabor Juhos db5eea6acd ramips: use correct key code for the RFKILL switch on the TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33943
12 years ago
Gabor Juhos b530d9d2b3 ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33864
12 years ago
Gabor Juhos 6ca2970e4b ramips: add profile and build image for the TEW-691GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33852
12 years ago
Gabor Juhos 21180e29f7 ramips: add user-space support for TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33851
12 years ago
Gabor Juhos 25d53c4c28 ramips: rt3883: add initial support for the TRENDnet TEW-691GR board
No wireless support.

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

SVN-Revision: 33850
12 years ago
Gabor Juhos 462a53c367 ramips: add profile and build image for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33849
12 years ago
Gabor Juhos d3c368c324 ramips: add user-space support for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33847
12 years ago
Gabor Juhos 7f8b7207c9 ramips: rt3883: add initial support for TRENDnet TEW-692GR board
No wireless support.

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

SVN-Revision: 33846
12 years ago