Felix Fietkau
6a4878c973
ramips: fix WSR-600DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-03 18:31:27 +00:00
Felix Fietkau
548e7f548c
ramips: fix WSR-1166DHP flash layout
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-03 18:31:17 +00:00
Felix Fietkau
1b5b376132
ramips: fix WSR-{600,1166} names
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-03 18:31:11 +00:00
Felix Fietkau
d172bf4c5b
ramips: fix wsr-1166 sysupgrade support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43816 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-03 18:31:06 +00:00
Felix Fietkau
2b33ca08bf
ramips: on mt7621 only enable xhci for the eval board (still needs patch cleanup to take effect)
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43815 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-03 18:30:57 +00:00
Felix Fietkau
53b2d32f07
ramips: fix WSR-600 image format
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43814 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:45 +00:00
Felix Fietkau
bcd8b914db
ramips: use CONFIG_MTD_SPLIT_UIMAGE_FW instead of CONFIG_MTD_UIMAGE_SPLIT
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43813 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:38 +00:00
Felix Fietkau
e2a4349bbf
ramips: fix image format for WSR-1166
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43812 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:31 +00:00
Felix Fietkau
1e66f2e231
ramips: disable ethernet checksum offloads for mt7621, they are broken
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43811 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:24 +00:00
Felix Fietkau
79b56eb3e4
ramips: use netif_receive_skb instead of napi_gro_receive when rx csum offload is unavailable
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43810 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:18 +00:00
Felix Fietkau
fec6303c57
ramips: rework and fix m25p80 chunked-io support
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43808 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:53:02 +00:00
Felix Fietkau
96027ac290
ramips: split mt7621 spi into a separate driver, increase maximum transfer size
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43807 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 21:52:53 +00:00
Imre Kaloz
e0cc65f36d
[ramips]: honor the bootloader's bootargs
...
Only overwrite the bootloader's bootargs if "chosen" exists in the dtb
Signed-off-by: Imre Kaloz <kaloz@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43802 3c298f89-4303-0410-b956-a3cf2f4a3e73
2015-01-02 16:48:20 +00:00
John Crispin
cf0960f806
ralink: remove partitoon map from mt7621.dtsi
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 15:55:37 +00:00
John Crispin
ff1614a661
add "preinit_regular" diag.sh set_state argument
...
This new argument is used right after starting regular preinit (which
happens if failsafe wasn't triggered). The main purpose of "preinit"
argument is to indicate that failsafe can be triggered, however we were
missing a way to inform user that we don't wait for a trigger anymore.
With this change it's clear when failsafe mode can be triggered.
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43715 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 10:37:00 +00:00
Rafał Miłecki
ce4d73fca1
ramips: update mtd patches to apply after changes from r43700
...
Signed-off-by: Rafał Miłecki <zajec5@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43709 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-15 09:10:43 +00:00
John Crispin
bb4fca721f
ralink: drop old pinmux nodes from dts files
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43701 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-14 08:57:16 +00:00
John Crispin
14147dd72b
ramips:Add support for Aigale Ai-BR100
...
Aigale Ai-BR100 is a router with mt7620a soc.
There are only 2 lights on the board (WAN and WLAN) so I used the wlan light as the status led.
Signed-off-by: 郭传鈜 <gch981213@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-13 08:07:03 +00:00
John Crispin
bf6a13069b
ralink: fix lenovo y1 wan port mapping
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43667 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:17:31 +00:00
John Crispin
bd3fcf0ac5
ralink: make uartf functional on AWM002
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43664 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-12 16:17:03 +00:00
John Crispin
6cdae055c2
ralink: mt7621 was missing a symbol that made the CC builder fail
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43629 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-11 18:54:30 +00:00
Felix Fietkau
6e4472e69e
kernel: refresh patches
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-08 12:04:25 +00:00
John Crispin
f374eae83c
ramips: generate factory images for Nexx devices
...
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43541 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-07 16:53:22 +00:00
John Crispin
a9d4da836c
ralink: mt7621 is a 1004Kc
...
Signed-off-by: L. D. Pinney <ldpinney@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-12-03 20:22:42 +00:00
John Crispin
638693f5e2
ralink: fix pci reset patch
...
sorry, forgot to make target/update before commiting the last patch
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43374 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 20:39:48 +00:00
John Crispin
1b441ed18f
ralink: add proper reset of pci core
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43370 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-24 19:12:35 +00:00
John Crispin
ab806e3a1e
ralink: various fixes to the wm8960 setup code
...
still no sound but the codec is properly detected now, powers up and i can hear
noise on the speakers.
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:20:12 +00:00
John Crispin
c461411b61
ralink: make the dmaengine driver compile under 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:20:02 +00:00
John Crispin
5cd69085ed
ralink: fix tx vlan offload and hardware status
...
hardware status and tx vlan offload support on all targets
except rt5350. so i modify the IS_ENABLE condition only for
mt7621.
support mt7621 hardware status reference by SDK. but i don't
have mt7621. if not work just set mt7621 FE_REG_FE_COUNTER_BASE
to 0 to let software count.
Signed-off-by: michael lee <igvtee@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:19:57 +00:00
John Crispin
0f47bf20de
ralink: support netconsole
...
Signed-off-by: michael lee <igvtee@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:19:49 +00:00
John Crispin
2825bdda9f
ralink: improve tx vlan offload
...
hardware tx vlan offload only support max 16 vids
now use add/delete vlan interface to update vlan id table
when duplicate vlan id index detect.
disable hardware tx vlan offload support.
Signed-off-by: michael lee <igvtee@gmail.com >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:19:43 +00:00
John Crispin
b598129396
ralink: merge the mt7620a/n subtargets
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-19 09:19:38 +00:00
John Crispin
e54a0f4149
ralink: set ralink_soc on mt7621
...
sdhci failed to init because of this
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43293 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-17 21:58:30 +00:00
John Crispin
eec8643009
ralink: fix pcie reset
...
some old mt7620a uboots dont reset the pcie core properly. work around this
issue in the kernel driver.
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43292 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-17 16:27:48 +00:00
Felix Fietkau
7eee8e6e42
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43283 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 12:26:53 +00:00
Felix Fietkau
2c7692a941
ramips: use mediatek,mtd-eeprom instead of ralink for mt76
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 12:26:47 +00:00
Felix Fietkau
494534eb3f
ramips: fix default config breakage on whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-16 11:39:19 +00:00
John Crispin
ad6de5d915
ralink: few updates tot he sdhci probe code
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-15 14:35:32 +00:00
John Crispin
30492476b8
ralink: make the sdhci module build again
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 18:51:41 +00:00
John Crispin
546bd6e2d1
ralink: dont define pm_poweroff
...
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:40 +00:00
John Crispin
13452fd432
ralink: fix bank detection in mt7621 gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:34 +00:00
John Crispin
1449d55589
ralink: enable the proper drivers in the mt7621 config
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:29 +00:00
John Crispin
13c89a7cb6
ralink: fix broken pinmux function naming inside mt7621.c
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:21 +00:00
John Crispin
7ded4f2d0b
ralink: update sdhci driver
...
the new driver handles newer SoCs
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:15 +00:00
John Crispin
aa77ecd2b7
ralink: update pcie driver to load ranges from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:07 +00:00
John Crispin
82d17fb64a
ralink: add a new global ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:53:01 +00:00
John Crispin
170c9f6bb6
ralink: update ethernet driver to use new ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:52:52 +00:00
John Crispin
2983053813
ralink: fix the 10mbit bug on mt7621
...
a missing "val =" caused the AN bit in the phy0 reg to be flushed.
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:52:47 +00:00
John Crispin
7741062f9b
ralink: improve mt7530 support
...
the SDK does a bit of extra init that we did not do yet when using an external mt7530.
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:52:42 +00:00
John Crispin
812305fe4f
ralink: add support for WSR-600/1166
...
Signed-off-by: John Crispin <blogic@openwrt.org >
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2014-11-14 16:52:36 +00:00