1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-07-04 23:07:19 +03:00
Commit Graph

9719 Commits

Author SHA1 Message Date
juhosg
f194083091 ar71xx: rw2458n - fix flash parts
See #12338. Redwave rw2458 has uboot, not redboot.

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@33867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 18:32:49 +00:00
juhosg
8f88d84f9d ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33864 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-19 17:42:22 +00:00
juhosg
0b26293543 ramips: add profile and build image for the TEW-691GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33852 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:13 +00:00
juhosg
d4c02355a7 ramips: add user-space support for TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33851 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:12 +00:00
juhosg
f6ffd9b551 ramips: rt3883: add initial support for the TRENDnet TEW-691GR board
No wireless support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33850 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:11 +00:00
juhosg
14a626466f ramips: add profile and build image for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33849 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:10 +00:00
juhosg
9431064ef0 ramips: add user-space support for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33847 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:07 +00:00
juhosg
0313e775d6 ramips: rt3883: add initial support for TRENDnet TEW-692GR board
No wireless support.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33846 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:06 +00:00
juhosg
c8bc7ec6c5 ramips: add profile and build image for the DIR-645 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33845 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:04 +00:00
juhosg
2ab0fbc9de ramips: add user space support for the DIR-645
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33844 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:03 +00:00
juhosg
4b6389781e ramips: rt3883: add inital support for the DIR-645 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33843 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:02 +00:00
juhosg
b929e2ef3f ramips: use get_magic_long in sysupgrade image check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33842 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:23:00 +00:00
juhosg
9f961949b6 generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33839 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-18 07:22:56 +00:00
nbd
dda0ebc3e2 ixp4xx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/ixp4xx/base-files/lib/ixp4xx.sh           |   25 ++
 target/linux/ixp4xx/base-files/lib/upgrade/platform.sh |  156 +++++++++++++++++
 target/linux/ixp4xx/image/Makefile                     |   11 +
 3 files changed, 192 insertions(+)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33828 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 22:03:46 +00:00
nbd
287a1bf65a cns3xxx: update FIQ header file and disable RWFO
Update header file appropriately and disable read for ownership

Note that the FIQ support implements a workaround that provides a performance
boost over the traditional upstream workaround which ensures cache lines
are exclusive on driver CPU using 'read for ownership'.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/config-3.3                                |    2 +-
 target/linux/cns3xxx/patches-3.3/460-cns3xxx_fiq_support.patch |    9 ++++-----
 2 files changed, 5 insertions(+), 6 deletions(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33827 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 22:03:37 +00:00
blogic
b4260e22f3 drop GPIODEV platform code
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33825 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 21:53:37 +00:00
juhosg
a825dd1c0e ar71xx: merge machine support patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33820 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:50 +00:00
juhosg
58363d112d ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33819 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:48 +00:00
juhosg
f2b2ff444e ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33818 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:47 +00:00
juhosg
83c1f2e1ef ar71xx: add a helper function for setting up ETH_CFG register on AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33817 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 18:27:45 +00:00
juhosg
4dde7d6a5f ar71xx: OM2P-HS sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33803 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 08:26:05 +00:00
juhosg
fa44661b24 ar71xx: add support for the OpenMesh OM2P-HS board
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33800 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-17 08:26:01 +00:00
florian
05a3ece84a [mcs814x] nuport-mac: various fixes
- properly check for the link up condition in the phylib adjust callback
- do not assign skb->dev, eth_type_trans() already does it
- handle skb allocation failures in the refill path

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33780 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 21:03:57 +00:00
florian
f3263c9679 [x86] merge the RDC R-321x target as a subtarget of x86
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33779 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-15 18:54:34 +00:00
juhosg
c577fab9a2 ar71xx: fix sysupgrade for jjPlus JWAP003
[juhosg: change commit message]

Signed-off-by: Artur Wronowski <arteqw@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33769 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 16:24:26 +00:00
juhosg
fb432034da ar71xx: ew-dorin: added ethernet switch configuration
Signed-off-by: embedded wireless GmbH <info at embeddedwireless.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33768 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 16:24:25 +00:00
juhosg
250cdc1753 ar71xx: unbreak building images for OpenMesh OM2P/OM2P-LC
Commit r33248 introduced a regression by passing the board name plus
'board=' in the third argument. The board name string has to be put
into the image as identifier of the image type.

[juhosg: fix OpenMesh template instead of use of string substitution]

Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33767 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-14 16:24:22 +00:00
florian
9f6cc2c470 [ar7] add Actiontec PK5000 LEDs
Also share them between the GT701 and the PK5000.

Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33756 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:45 +00:00
florian
9d66bfa760 [ar7] vlynq: rework probing and clocking setup
Handle the different vlynq device versions, and make the vlynq code more
in line with the original vlynq implementation.

Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33755 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:36 +00:00
florian
a89f2c4ad7 [ar7] remove the squashfs alignement define
Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33754 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:30 +00:00
florian
d2419b25b6 [ar7] handle LOADER_MAGIC2 in ar7part
This is required for Actiontec PK5000 devices. Path from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33753 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:25 +00:00
florian
d5c1a967f2 [ar7] increase the flash resource size to its maximum value
CFI detection will reduce the resource size to its real value.

Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33752 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:20 +00:00
florian
e74827b491 [ar7] reinstate the fixed PHY fallback for devices with undetectable switches
At least devices without a switch present on the MDIO bus still get a valid
link and work as expected (such as the Linksys WAG54Gv2).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33751 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:14 +00:00
florian
495bc28ca7 [ar7] enable mvswitch driver
And fix the default network configuration to create the required VLANs.

Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33750 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:09 +00:00
florian
59b99276a0 [ar7] use the second available LED to encore mode boot states
Patch from Daniel Gimpelevich.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33749 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:47:04 +00:00
florian
2d5a1e1716 [ar7] use wpad-mini instead of hostapd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33744 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 17:46:32 +00:00
kaloz
aff9dc0b46 [generic]: add support for new Option modules (GTM66xxWFS/GTM67xxWFS)
Add new device ID's for the hso driver as well as usb storage
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33743 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-13 06:58:42 +00:00
jow
4c317b3026 x86/kvm_guest: enable PCIE support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33741 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-12 16:51:31 +00:00
florian
9a19dd0f67 [ar7] copy initramfs kernel to bin directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 15:45:24 +00:00
blogic
19c78e1905 [kernel] gpiodev/gpioctl RIP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 11:58:09 +00:00
kaloz
b2305bd361 [cns3xxx]: fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 09:51:35 +00:00
kaloz
228bf4df1a The Gateworks System Controller (GSC) is an i2c device that provides system
level monitoring and control of Gateworks boards.  It is used on several
product families spanning several different target architectures (ixp4xx,
cns3xxx, davinci).

Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:59:06 +00:00
kaloz
6c1258a8fb [cns3xxx]: fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33719 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 07:47:27 +00:00
florian
c8c0e0cce1 [ar7] generate vmlinux.srec and vmlinux.bin from srec2bin
Useful for loading the kernel into RAM using ADAM2/PSPBoot.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33718 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-11 06:45:07 +00:00
nbd
eecf5b1752 kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33687 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:31 +00:00
nbd
eaa73bfc36 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33686 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:54:27 +00:00
nbd
05d6e951d1 cns3xxx: Fix GPIO configuration for Gateworks Laguna boards
The Laguna boards do not use all the same pins for SDHCI as the Cavium
reference board.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:39:02 +00:00
nbd
6e65867e28 cns3xxx: Fix laguna arm11mpcore watchdog
The ARM11MPCore Timer/Watchdog registers start at offset 0x600 which is where
all mpcore-wdt boards point the driver base too.  I believe this is wrong
because 0x600 is aliased to the timer/watchdog of the 'current CPU' where
0x700 is CPU0's timer/watchdog, and 0x800 is CPU1's timer/watchdog.  Thus
if your timer/watchdog application is switching between CPU's it can end up
writing to the wrong CPU's registers which results in random board resets
from watchdog timeouts etc.

This patch forces the timer/watchdog driver to use CPU0's registers always.
Its my opinion that other mpcore-wdt boards should be doing the same thing.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33683 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:58 +00:00
nbd
9529ea409f mtd: allow partial block unlock
This allows sysupgrade for devices such as the Gateworks Avila/Cambria
product families based on the ixp4xx using the redboot bootloader with
combined FIS directory and RedBoot config partitions on larger FLASH
devices with larger eraseblocks.

This second iteration of this patch addresses previous issues:
  - whitespace breakage fixed
  - unlock in all scenarios
  - simplification and fix logic bug

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:44 +00:00
nbd
928d2be7b1 ixp4xx: enable OPTIMIZE_FOR_SIZE
Enabling OPTIMIZE_FOR_SIZE cuts the kernel binary down by 50K which is
critical for some small-footprint boards.

Signed-off-by: Tim Harvey <tharvey@gateworks.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-10 11:38:28 +00:00