John Crispin
83381c5c8f
ixp4xx: Don't overwrite memory in wg302v1_fixup()
...
wg302v1_fixup() looks for the ATAG_CMDLINE atag, it doesn't find it and
so it takes the last atag in the list and overwrites non allocated
memory.
The side effects are corrupted vital data and a kernel that doesn't
boot. More details here https://dev.openwrt.org/ticket/18356
The fix appends the fixup to the command line and updates the atag only
when it finds it.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
SVN-Revision: 43320
2014-11-19 14:09:19 +00:00
John Crispin
da5001475c
gemini: add basic nas4220 board support
...
Few notes:
- redboot partitions are unusable
- redboot declares only 16M of RAM, hence the mem arg in cmdline and separate kernel config
- boots fine but only ethernet works for now
- split wiliboard and raidsonic boards into different subtargets
Signed-off-by: Roman Yeryomin <roman@advem.lv>
SVN-Revision: 43319
2014-11-19 14:09:10 +00:00
John Crispin
bd164f233c
mpc85xx: add 3.14 kernel support for mpc85xx platform
...
This patch adds 3.14 kernel support for the mpc85xx platform.
Works fine here with a TL-WDR4900 which seems to be the only
supported device using this platform.
There might be differences depending on HW version, therefore
I'd ask others to test too.
Changes to 3.10
missing config options added to 3.14 config file
patch 001: rebased
patch 100: rebased
patch 110: rebased
patch 120: rebased
patch 130: rebased
patch 140: minor adjustment
patch 200: removed, change went upstream
patch 210: rebased
patch 220: removed, change went upstream
patch 750: new, fixes an issue with ethernet port autoneg being
disabled due to changes in kernel phy handling
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43308
2014-11-19 09:20:55 +00:00
John Crispin
f210f3811a
ar71xx: Added support for D-link DHP-1565 rev. A1
...
Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
SVN-Revision: 43307
2014-11-19 09:20:47 +00:00
John Crispin
6af2109a64
ar71xx: fix switch configuration in Ubiquiti UAP Pro
...
Signed-off-by: Roger Pueyo Centelles <roger.pueyo@guifi.net>
SVN-Revision: 43306
2014-11-19 09:20:18 +00:00
John Crispin
d93dc245e5
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>
SVN-Revision: 43305
2014-11-19 09:20:12 +00:00
John Crispin
989bfd815b
ralink: make the dmaengine driver compile under 3.14
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43304
2014-11-19 09:20:02 +00:00
John Crispin
e1f6d0dd0a
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>
SVN-Revision: 43303
2014-11-19 09:19:57 +00:00
John Crispin
a5f562993e
ralink: support netconsole
...
Signed-off-by: michael lee <igvtee@gmail.com>
SVN-Revision: 43302
2014-11-19 09:19:49 +00:00
John Crispin
9c5dfd9546
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>
SVN-Revision: 43301
2014-11-19 09:19:43 +00:00
John Crispin
510ff1f1b8
ralink: merge the mt7620a/n subtargets
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43300
2014-11-19 09:19:38 +00:00
John Crispin
752745a85a
ralink: set ralink_soc on mt7621
...
sdhci failed to init because of this
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43293
2014-11-17 21:58:30 +00:00
John Crispin
32d4348540
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>
SVN-Revision: 43292
2014-11-17 16:27:48 +00:00
John Crispin
5d2c810101
kernel: add the ubifs EOF marker support to 3.14 kernel
...
Without this patch the UBIFS driver is unable to attach to the mtd
storage and mount the root FS.
Fixes a kernel panic with Netgear WNDR4300/3700v4 devices.
Signed-off-by: Gianluca Anzolin <gianluca@sottospazio.it>
SVN-Revision: 43287
2014-11-17 08:34:03 +00:00
Felix Fietkau
28b26fa603
ramips: disable 2.4 ghz on 802.11ac wifi on WHR-1166D
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43283
2014-11-16 12:26:53 +00:00
Felix Fietkau
b3f2d3d01b
ramips: use mediatek,mtd-eeprom instead of ralink for mt76
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43282
2014-11-16 12:26:47 +00:00
Felix Fietkau
02c319c27a
ramips: fix default config breakage on whr-1166d
...
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43281
2014-11-16 11:39:19 +00:00
John Crispin
c073bf6bdf
ralink: few updates tot he sdhci probe code
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43275
2014-11-15 14:35:32 +00:00
John Crispin
ce1c580efb
ralink: make the sdhci module build again
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43274
2014-11-14 18:51:41 +00:00
John Crispin
76a54a424c
ar8216: fix "unused variable" compiler warning
...
Most likely a copy & paste error when deriving ar8327_sw_set_ports
from ar8xxx_sw_set_ports.
Remove unused variable.
Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
SVN-Revision: 43273
2014-11-14 17:06:09 +00:00
John Crispin
44d703160b
lantiq: Concatenate multiple flash chips for lantiq-flash
...
Signed-off-by: Maikel Bloemendal <openwrt@maikelenyvonne.nl>
Tested-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43272
2014-11-14 17:06:04 +00:00
John Crispin
6fafcba63b
ar71xx: Fix the sys LEDs on the EasyLink M150 and mini
...
Sets the system LED on the EasyLink M150 and mini to lower-case "easylink"
Signed-off-by: L. D. Pinney <ldpinney@gmail.com>
SVN-Revision: 43271
2014-11-14 16:58:29 +00:00
John Crispin
b6f5713b3f
ar71xx: adjust MR900 profile for the OpenMesh MR900v2 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43270
2014-11-14 16:55:32 +00:00
John Crispin
52c267e2f7
ar71xx: add sysupgrade support for OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43267
2014-11-14 16:55:14 +00:00
John Crispin
104be9f803
ar71xx: add user-space support for OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43266
2014-11-14 16:55:04 +00:00
John Crispin
bc333d5399
ar71xx: add kernel support for the OpenMesh MR900v2
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43265
2014-11-14 16:54:58 +00:00
John Crispin
305c1431e3
ar71xx: create profile and build image for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43264
2014-11-14 16:54:50 +00:00
John Crispin
548822cd7a
ar71xx: enable sysupgrade for the OpenMesh MR900
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43261
2014-11-14 16:54:28 +00:00
John Crispin
cfdaa8aefd
ar71xx: add user-space support for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43259
2014-11-14 16:54:15 +00:00
John Crispin
95544f33dd
ar71xx: add kernel support for the OpenMesh MR900 board
...
Signed-off-by: Sven Eckelmann <sven@open-mesh.com>
SVN-Revision: 43258
2014-11-14 16:54:07 +00:00
John Crispin
4b5c23e1e3
lantiq: vgv7519 - set some defaults for leds
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43256
2014-11-14 16:53:53 +00:00
John Crispin
901dddce31
lantiq: set default led configuration from /sys entry later, after per board settings
...
Signed-off-by: Eddi De Pieri <eddi@depieri.net>
SVN-Revision: 43255
2014-11-14 16:53:48 +00:00
John Crispin
7cc72e4b93
ralink: dont define pm_poweroff
...
this makes gpio-poweroff work
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43254
2014-11-14 16:53:40 +00:00
John Crispin
be23eaa8c3
ralink: fix bank detection in mt7621 gpio driver
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43253
2014-11-14 16:53:34 +00:00
John Crispin
6d4282086d
ralink: enable the proper drivers in the mt7621 config
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43252
2014-11-14 16:53:29 +00:00
John Crispin
0767ee848a
ralink: fix broken pinmux function naming inside mt7621.c
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43251
2014-11-14 16:53:21 +00:00
John Crispin
8cde8a05c9
ralink: update sdhci driver
...
the new driver handles newer SoCs
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43250
2014-11-14 16:53:15 +00:00
John Crispin
66463a5b5d
ralink: update pcie driver to load ranges from dts
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43249
2014-11-14 16:53:07 +00:00
John Crispin
7963782b86
ralink: add a new global ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43248
2014-11-14 16:53:01 +00:00
John Crispin
caa29dea2c
ralink: update ethernet driver to use new ralink_soc variable
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43247
2014-11-14 16:52:52 +00:00
John Crispin
bf8bb5b611
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>
SVN-Revision: 43246
2014-11-14 16:52:47 +00:00
John Crispin
194ca6127e
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>
SVN-Revision: 43245
2014-11-14 16:52:42 +00:00
John Crispin
0371dabc13
ralink: add support for WSR-600/1166
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43244
2014-11-14 16:52:36 +00:00
John Crispin
062828aee0
ralink: mt7621 has a different base addr for PVID
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43243
2014-11-14 16:52:30 +00:00
John Crispin
938e1e03fb
ralink: drop some unused code from pci-mt7620a
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43242
2014-11-14 16:52:25 +00:00
John Crispin
bfcdc8711c
ralink: fix up dts for mt7621 eval board
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43238
2014-11-12 14:55:00 +00:00
John Crispin
86e3315ece
ralink: add support for mt7621 ethernet
...
somehow all switch ports still come up as 10mbit.
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43237
2014-11-12 14:54:50 +00:00
John Crispin
45814d150a
ralink: more mt7530 fixes
...
make 1166 wan port work. this broke due to the esw_polling bug
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43236
2014-11-11 11:46:16 +00:00
John Crispin
e399931376
ralink: fix mdio polling of external phys if only 1 phy exists
...
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43235
2014-11-11 11:46:09 +00:00
John Crispin
6623feb572
ralink: remove IC plus phy driver
...
this driver confuses some boards
Signed-off-by: John Crispin <blogic@openwrt.org>
SVN-Revision: 43234
2014-11-11 11:46:02 +00:00