Commit Graph

808 Commits (e0e36cb5d987c6515f2b9c6ed4e4df6c84f18541)

Author SHA1 Message Date
John Crispin 4ca4cc465d ramips: fix DIR-602D1 flash size
Fix DIR-620D1 flash size.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-06 16:44:47 +00:00
John Crispin 4d3f16b3ea ramips: unbreak gpio handling for uart mux group
this should fix the handling of corner cases

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36543 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-04 11:36:51 +00:00
Gabor Juhos eeea332f33 kernel: update linux 3.8 to 3.8.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36507 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-05-01 22:15:18 +00:00
Gabor Juhos 440bb56dc2 kernel: update linux 3.8 to 3.8.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:43:59 +00:00
John Crispin 7c6b0f4953 ramips: move dlink profile to correct sub folder - 2nd try
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 10:34:20 +00:00
John Crispin ee51015692 ramips: move dlink profile to correct sub folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-30 08:24:26 +00:00
Gabor Juhos 14fec491c7 kernel: update linux 3.8 to 3.8.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:42 +00:00
Gabor Juhos fd01a68863 ramips: rt3883: fix build error
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-26 16:55:28 +00:00
John Crispin 7cea5ae5de 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36436 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:05 +00:00
John Crispin ecff443b65 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36435 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:03:01 +00:00
John Crispin e5adedfdd5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:57 +00:00
John Crispin 77dd775839 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36433 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:53 +00:00
John Crispin a5c6468744 ramips: Add support of D-link DIR-620D1
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>
Acked-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36432 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:48 +00:00
John Crispin de28160be0 ramips: sync kernel patches with the mips-next tree
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36431 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-25 19:02:42 +00:00
Gabor Juhos 5afe312fc7 kernel: update linux 3.8 to 3.8.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36363 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-19 08:07:34 +00:00
John Crispin 1b240db985 [ramips] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-17 11:54:09 +00:00
John Crispin 270bb2883c [ramips] fix rt305x gpio
https://dev.openwrt.org/ticket/13359

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-16 06:58:18 +00:00
Gabor Juhos 9198c2f4ab kernel: update linux 3.8 to 3.8.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36332 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-14 09:25:53 +00:00
John Crispin b4c6d84f6d [ramips] update rt2880 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36327 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 18:57:01 +00:00
John Crispin 9b50a884df [ramips] fix up the rt2880 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 18:56:53 +00:00
John Crispin 49a6ad0207 [ramips] fix RT-N15 support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36325 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 18:56:44 +00:00
John Crispin 147e52a665 [ramips] update rt2880.dtsi
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-12 18:56:36 +00:00
John Crispin 7b7317fc25 [ramips] unbreak portmapping - typo fix
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:39:01 +00:00
John Crispin ffaccbaa81 [ramips] move memory detect node to dtsi files
Signed-of-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36290 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:36 +00:00
John Crispin 77a28db429 [ramips] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36289 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:33 +00:00
John Crispin e61b526322 [ramips] remove bootargs from dts
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:28 +00:00
John Crispin 8fb3d4d8cf [ramips] add ofpart info to the devicetrees
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:24 +00:00
John Crispin 6b65168cf8 [ramips] add sample swconfig portmap
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:20 +00:00
John Crispin 98f2fc0ea1 [ramips] set of_node before registring the switch
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-09 14:19:17 +00:00
Gabor Juhos 42e7765d34 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36276 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 12:34:17 +00:00
Gabor Juhos 3d035c5be5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 12:34:15 +00:00
Gabor Juhos 67f2b85c8b ramips: add profile for the Omnima EMB-HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:04 +00:00
Gabor Juhos 409d825847 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36273 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:03 +00:00
Gabor Juhos c9bcd064dd ramips: add mdio-bus node to rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:02 +00:00
Gabor Juhos c0a94a3105 ramips: fix MDIO/PHY handling
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36271 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 11:12:01 +00:00
Gabor Juhos ed8fffd327 ramips: fix console speed for OMNI-EMB-HPM
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36270 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 08:24:51 +00:00
Gabor Juhos d515b9e7c7 ramips: avoid invalid pointer dereference in pinmux code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36269 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 08:24:50 +00:00
Gabor Juhos ee9470c508 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36268 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-08 07:11:35 +00:00
Gabor Juhos 04b9580dba ramips: add PCI node into RTN56U.dts
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:22 +00:00
Gabor Juhos 170c3c34d7 ramips: add PCI node for rt3883.dtsi
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:21 +00:00
Gabor Juhos 9a5ee56a33 ramips: rt3883: enable PCI support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:20 +00:00
Gabor Juhos c797fdfb4d ramips: fix RT3883 PCI driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 20:56:18 +00:00
Gabor Juhos 2ea7a39705 ramips: refresh patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 17:05:05 +00:00
Gabor Juhos 95f88d23c0 ramips: add missing cpu-feature-override.h files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 17:05:04 +00:00
Gabor Juhos 24a761dac1 ramips: fix broken patch name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 16:26:27 +00:00
Gabor Juhos d16801822a ramips: fix polarity of GPIO buttons for RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 16:24:33 +00:00
Gabor Juhos ae97f7ac24 ramips: add nor-flash node for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:11 +00:00
Gabor Juhos ba1f5717e8 ramips: fix pinmux settings for the RT-N56U
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:10 +00:00
Gabor Juhos c2751b8502 ramips: pinmux fixes
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 14:46:09 +00:00
Gabor Juhos c79885c667 ramips: remove trailing whitespaces from dts files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 13:32:37 +00:00
Gabor Juhos 2ae68184a8 ramips: handle PCI interrupts in plat_irq_dispatch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 13:25:38 +00:00
John Crispin 319f0d0a6e [ramips] fix typos inside dts files
Signed-off-by; Tobias Diedrick <ranma@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:47:03 +00:00
John Crispin 695fe3d0ed [ramips] fix default commandline in dts files
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:46:54 +00:00
Gabor Juhos 00d4fe79c0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 11:37:15 +00:00
Gabor Juhos ec4901457c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-07 08:19:10 +00:00
Gabor Juhos 751af09d01 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 17:19:35 +00:00
Gabor Juhos 4cd0e6b487 ramips: remove spi node from RTN56.dts
The RT-N56U board uses a parallel flash.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36223 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:40 +00:00
Gabor Juhos d4b5e559db ramips: fix ethernet switch node in RTN56U.dts
The RT-N56U uses an RTL8367M switch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36222 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:38 +00:00
Gabor Juhos 64dd914158 ramips: rt3883: enable the RTL8367 driver
That is needed by the Asus RT-N56U board.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36221 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:37 +00:00
Gabor Juhos 764f64149b ramips: rt3883: sync 3.8 config
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 12:37:31 +00:00
John Crispin fa10e8a31a [ramips] fix typo pinmmux -> pinmux
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:46:34 +00:00
Gabor Juhos 67dfec2fa8 kernel: update linux 3.8 to 3.8.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-06 11:40:44 +00:00
John Crispin 7870e47cc0 [ramips] fix dir-615 h1 network config
http://patchwork.openwrt.org/patch/3527/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36213 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 23:37:45 +00:00
John Crispin ed6c67ec18 [ramips] fix typo that made gpiomuxing fail
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36212 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-05 23:10:42 +00:00
John Crispin 381db32e2c [ramips] add profile for tenda w150m board
http://patchwork.openwrt.org/patch/3371/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36176 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:21 +00:00
John Crispin 37b08bf005 [ramips] fix ALL5002 default package selection
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36175 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:16 +00:00
John Crispin 3e76a10173 [ramips] Build WW factory image for DAP-1350
http://patchwork.openwrt.org/patch/3466/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36174 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:12 +00:00
John Crispin 12e2a6d321 [ramips] add Huawei D105
http://patchwork.openwrt.org/patch/3510/

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36173 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:08 +00:00
John Crispin 6e4120f245 [ramips] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36172 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 10:00:03 +00:00
John Crispin dfd8fe4f2d [ramips] there is no ttyS1 console
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36171 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:59 +00:00
John Crispin 209682186d [ramips] make v3.8 the default
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36170 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:55 +00:00
John Crispin 34e756e5c2 [ramips] add new image/Makefile
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36169 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:51 +00:00
John Crispin 8c64c84a1e [ramips] add the dts files that describe the boards in future
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36168 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:46 +00:00
John Crispin e97253bd46 [ramips] fix upvel profile names
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36167 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:41 +00:00
John Crispin 485fd1d19a [ramips] fix rt3883 config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36166 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:37 +00:00
John Crispin 800132d77e [ramips] fix rt305x config-3.8
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36165 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:33 +00:00
John Crispin 35a588e59e [ramips] mark rt288x broken until the test hardware arrives in the mail
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36164 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:16 +00:00
John Crispin 6bb6cbe600 [ramips] add patches for v3.8
Signed-off-by: John Crsipin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36163 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:59:10 +00:00
John Crispin cf9b57476d [ramips] remove old ralink 3.8 patches
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36162 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:48 +00:00
John Crispin 84238ad24d [ramips] move files to files-3.7
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36161 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:44 +00:00
John Crispin fd1af44d07 [ramips] add feature gpio
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36160 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-04-03 09:58:37 +00:00
Gabor Juhos 84da566873 kernel: update linux 3.8 to 3.8.3
Also refresh the related generic/platform patches.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36039 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-15 14:39:51 +00:00
John Crispin 107efb4370 [ramips] make sure errors get sent to /dev/null
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35988 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-12 13:52:40 +00:00
Gabor Juhos 90c84fd003 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35972 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:45 +00:00
Gabor Juhos c40428c0f6 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:43 +00:00
Gabor Juhos 1a059fb489 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-11 21:02:40 +00:00
Gabor Juhos f4b2c62d60 kernel: update linux 3.7 to 3.7.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 13:57:40 +00:00
Gabor Juhos ba05322e57 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35853 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:31 +00:00
Gabor Juhos 1720de2872 ramips: add user-space detection for ALL5002/ALL5003
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:28 +00:00
Gabor Juhos 6d4126a70e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:25 +00:00
Gabor Juhos 80e2673444 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:47:02 +00:00
Gabor Juhos 2d8df9648d ramips: fix whitespace in /lib/ramips.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-03-03 12:46:08 +00:00
Gabor Juhos 2a72ee4515 ramips: add support for 3.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35801 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:42 +00:00
Gabor Juhos 892a009121 ramips: image: don't break make process if mkimage command fails
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:40 +00:00
Gabor Juhos c27eec2666 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35799 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:38 +00:00
Gabor Juhos 22f01b88d1 ramips: remove __dev_{init,exit} annotations
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35798 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-25 21:28:34 +00:00
Jonas Gorski db8c32d235 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-21 11:45:33 +00:00
Gabor Juhos 7b871a4b67 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35652 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-18 09:56:29 +00:00
Gabor Juhos ca34712a7c kernel: update linux 3.7 to 3.7.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-17 21:32:42 +00:00
Gabor Juhos a7a89f31c5 ramips: fix kmod-usb2 package name
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35628 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 17:26:52 +00:00
Gabor Juhos c3986bd99f ramips: use the new macaddr_* helpers instead of maccalc
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35615 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:25 +00:00
Gabor Juhos 74408f4902 ramips: use the mtd_get_mac_* helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35613 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-16 11:50:21 +00:00
Gabor Juhos 240c27a41f kernel: update linux 3.7 to 3.7.8
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-15 07:36:15 +00:00
Gabor Juhos 8601a4452e kernel: update linux 3.7 to 3.7.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-12 09:51:11 +00:00
Gabor Juhos d619b697b5 kernel: update linux 3.7 to 3.7.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35476 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-04 10:02:56 +00:00
Gabor Juhos a3f4ff2b30 ramips: build image for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35468 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:06 +00:00
Gabor Juhos 22e7a34e50 ramips: add user-space support for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35467 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:05 +00:00
Gabor Juhos 85dcbdd9c1 ramips: rt3883: add kernel support for the Omnima EMB HPM board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35466 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:21:01 +00:00
Gabor Juhos 0ac666e92c 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:50 +00:00
Gabor Juhos 850321b03d 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-02 17:01:47 +00:00
Gabor Juhos 7812da82f6 refresh kernel configs
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35434 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-02-01 17:28:40 +00:00
Gabor Juhos 046963da3a kernel: update linux 3.7 to 3.7.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35390 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-29 18:29:45 +00:00
John Crispin 7866042160 [ramips] fix for non-blinking LAN LEDs
https://dev.openwrt.org/ticket/12830

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35359 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 18:06:31 +00:00
John Crispin e2bc9a837c ramips: reset switch on single-port devices
Signed-off-by: Daniel Gole <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-28 17:44:41 +00:00
Gabor Juhos 1ccd35ab43 kernel: update linux 3.7 to 3.7.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-24 17:08:37 +00:00
Gabor Juhos c2aebc74ad 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:07 +00:00
Gabor Juhos f788f62828 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:06 +00:00
Gabor Juhos aa18b01e2e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 17:05:03 +00:00
Gabor Juhos ad8cf9b39e 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:13 +00:00
Gabor Juhos 12980972df 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 15:36:11 +00:00
Gabor Juhos 473bbcc2c2 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-19 08:51:45 +00:00
Jo-Philipp Wich d8c155dfc9 all targets: use numerically prefixed uci-defaults file names to better control order of execution
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35217 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 12:42:53 +00:00
Gabor Juhos 3ab3849ad3 kernel: update linux 3.7 to 3.7.3
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35216 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-18 11:44:42 +00:00
Felix Fietkau 812eea0ebe 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35191 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-17 09:39:44 +00:00
Gabor Juhos ee1ef38cc9 ramips: remove 3.6 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:30 +00:00
Gabor Juhos d4b91fb984 ramips: switch to 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-12 12:25:28 +00:00
John Crispin badcf69908 [ramips] adds support for Edimax BR-6524N
fixes #12754

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-06 11:11:42 +00:00
John Crispin 7f31bad365 [ramips] rt5350 switch support fix
RT5350 frame engine need reset frame engine and embedded switch together.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-02 11:28:21 +00:00
Gabor Juhos 1ecc6972a5 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-30 08:23:48 +00:00
Gabor Juhos 169b4d60bc 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:40 +00:00
Gabor Juhos 8568406448 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:38 +00:00
Gabor Juhos bff7d5f388 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:35 +00:00
Gabor Juhos d2b071d6d3 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:34 +00:00
Gabor Juhos 6d33750ae7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:32 +00:00
Gabor Juhos fe3c9a045f 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:28 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Gabor Juhos de0a8def83 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:41 +00:00
Gabor Juhos 4a82fcedcb ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:38 +00:00
Gabor Juhos aaeed76ded ramips: unify eeprom file name for the built-in wireless MAC
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 16:09:03 +00:00
Gabor Juhos 5c49a64960 ramips: rt3883: fix build error
The cpuport_cfg field has been renamed to port0_cfg.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 13:50:47 +00:00
Gabor Juhos d81e6f3d37 ramips: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:13 +00:00
Gabor Juhos 2463d0f9f9 ramips: convert to use {e,o}hci-platform driver
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 12:11:08 +00:00
Gabor Juhos 53d06e738b 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-20 19:17:17 +00:00
Mirko Vogt f1b359fecb Do not use deprecated path to functions.sh (/etc/functions.sh -> /lib/functions.sh)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34793 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-19 16:07:50 +00:00
Gabor Juhos 8fa14cd324 kernel: update linux 3.6 to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34748 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-18 14:41:16 +00:00
Gabor Juhos 8956ab78d5 ramips: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-17 22:28:11 +00:00
Gabor Juhos 2c0ebd76cf kernel: update linux 3.6 to 3.6.10
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-11 20:14:39 +00:00
John Crispin 24705010ad [ramips] 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34595 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-10 14:13:01 +00:00
Gabor Juhos 77279cff10 kernel: update linux 3.6 to 3.6.9
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34578 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-08 15:01:33 +00:00
Gabor Juhos dab30d99f1 ramips: fix serial console for Belkin F5D8235 v1/v2
Based on a patch from #12533.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34445 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-02 14:16:12 +00:00