1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-11 11:08:08 +02:00
Commit Graph

9977 Commits

Author SHA1 Message Date
kaloz
42954b7559 cns3xxx: add PPS support for laguna
Many Laguna products have on-board GPS with Pulse-per-second (PPS)
support.  This patch adds kernel support (statically) and adds
the platform data in laguna board support.
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:42:31 +00:00
kaloz
909210ca4e [cns3xxx]: fixup symbol selection
SMP already selects HAVE_ARM_TWD and HAVE_ARM_SCU,
ARCH_CNS3XXX already selects MIGHT_HAVE_PCI



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34114 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-08 05:40:34 +00:00
luka
1a061108bc cns3xxx: fix coding style in board script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34113 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 23:12:06 +00:00
blogic
9601fbbb43 [ramips] adds fon20n profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34112 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 20:26:31 +00:00
blogic
a7d3fc489a 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:/#

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34111 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 20:26:21 +00:00
blogic
4812414648 ramips: add HAVE_CLK to Kconfig on all ramips socs
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34110 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 20:26:04 +00:00
blogic
814d56421b 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34109 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 20:25:55 +00:00
blogic
d3e1822b67 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34108 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 20:25:34 +00:00
jogo
d336a61384 bcm63xx: Enable endian check support for ath9k pci fixup.
Some ath9k caldatas need to be "endian checked".
This patch allows selecting wether to enable endian check or not.
Endian check is disabled by default.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34105 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 09:01:03 +00:00
kaloz
61c919373e [ixp4xx]: fixup typos in the compex patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-07 07:51:24 +00:00
jogo
e1696ca671 linux: export bcm963xx_tag.h to userspace
Export bcm963xx_tag.h so mtd can use it without using kernel includes.

Signed-off-by: Catalin Patulea <cat@vv.carleton.ca>
[jonas.gorski@gmail.com: fixup bcm63xx patches, completely remove header
 from original location, refresh patches, use  a more matching patch
 number, port to 3.6]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34103 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 15:21:46 +00:00
luka
1cce3e937d cns3xxx: refresh kernel config file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34102 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:43 +00:00
luka
e0dd91dd95 cns3xxx: use files directory
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34101 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 11:16:41 +00:00
blogic
eb5c7edbb6 [lantiq] add OWRTDTB marker patch
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34100 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 10:39:43 +00:00
blogic
d33fedaf9c [lantiq] add support for arv7525
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 07:38:24 +00:00
kaloz
019f172430 [cns3xxx]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34095 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:45:12 +00:00
kaloz
5a8ee8ba9f [cns3xxx]: add default packages
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34094 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 05:39:08 +00:00
jogo
ab0f1978a2 linux: generic: fix split_squashfs for 3.6
_read expects the retlen to be initialized to zero, which the mtd_read
helper does. So fix it by using mtd_read instead of calling _read directly.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34093 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-06 00:48:21 +00:00
jogo
efe94bf411 bcm63xx: fix SPW303V images
SPW303V also needs its CRC fixed up since increasing the image size to
4MB to prevent the dual image mode of CFE.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34091 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 22:50:29 +00:00
juhosg
c35ed1c477 ar71xx: nuke ath79_set_usb_power_gpio helper
It is no longer used.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34088 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:23:28 +00:00
juhosg
5758d2a8ee ar71xx: use gpio_request_one instead of ath79_set_usb_power_gpio
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34087 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:23:27 +00:00
juhosg
b4e8cdb713 kernel: update linux 3.6 to 3.6.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 13:22:09 +00:00
kaloz
cbab54a0a7 [ixp4xx]: use the mainline machname for the compex boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34083 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:38:23 +00:00
juhosg
63e3e838a1 ramips: enable USB power on the DIR-645
Closes #12422.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34082 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:45 +00:00
juhosg
7692f8ee59 linux/3.3: backport an upstream GPIO patch
The backported patch introduces new flags to
automatically export GPIOs when using the
convenience unctions gpio_request_one() or
gpio_request_array().

This will be used by ar71xx/ramips platforms.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34081 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 11:04:43 +00:00
juhosg
0379541133 ramips: add restorefactory to default package set for ALL0239-3G and ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34078 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-05 06:58:53 +00:00
juhosg
fcc9edafeb ar71xx: don't use the unknown LED on the ZCN-1523-5 board
According to #12421, GPIO 1 controls the power
output on the unused lines of the LAN2 port.
Remove the LED definition in order to prevent
possible permanent hardware damage.

If someone needs that, the power-out feature can
be controlled via the GPIO sysfs interface.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34076 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 22:08:54 +00:00
juhosg
4cded31fbd ar71xx: include mtd layout in the command line for ZCN-1523H-* boards
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34074 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 21:12:20 +00:00
juhosg
8ca4e9217f ar71xx: add missing Makefile entry for the ZCN-1523H-{2,5} boards
Also add the missing ATH79_MACH_ZCN_1523H_5 symbol.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34072 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 20:15:18 +00:00
nbd
de6ad2505c linux-3.6: fix portability of some includes files in tools/ used on the host
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34068 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-04 17:01:15 +00:00
blogic
be00679e41 [lantiq] 3.6 is not the default yet
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34065 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-03 13:29:44 +00:00
blogic
8e4aa59fa5 [lantiq] adds dts files and make devicetree images buildable
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34064 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:47 +00:00
blogic
a3900eb37f [lantiq] update ase target for 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34063 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:41 +00:00
blogic
0681421b1a [lantiq] add subtarget, as of 3.6 we dont seperate xway SoC
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34062 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:36 +00:00
blogic
4f2c17075b [lantiq] adds 3.6 files, patches and config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:26 +00:00
blogic
1048c7b452 [lantiq] move files/ -> files-3.3/
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34060 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:07:02 +00:00
blogic
961508b717 [lantiq] prepare Makefile for 3.6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34059 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-02 20:06:51 +00:00
juhosg
f840df94dd generic: make yaffs work on 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34054 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:23 +00:00
juhosg
f446bd2580 generic: rename jffs2 patches
Make room for the upcoming yaffs patches.
No functional changes.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34053 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-11-01 11:07:16 +00:00
juhosg
7564e5cb37 generic: use mtd_* helpers in the yaffs code
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34046 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 21:17:30 +00:00
kaloz
2c3fbebc9e [cns3xxx]: move PCIe init to subsys init call
ARM Linux PCI/PCIe hardware intialization needs to occur before device_init
as it does not support hotplug.  I have modeled the cns3xxx PCIe init after
other ARM platforms.  Registering it early resolves resource issues occuring
during bus enumeration that occur when a device driver is linked static in
the kernel.
 
Instead of passing in a bitmask to enable the 2 available ports, link detect
is used to enable ports that have a valid link.
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34044 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:16:53 +00:00
juhosg
a7af64893d kernel: update linux 3.6 to 3.6.5
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34042 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 20:09:39 +00:00
juhosg
e0549e6799 generic: split yaffs-3.2-fix patch
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34041 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 19:33:12 +00:00
juhosg
ddec1a3035 generic: replace yaffs-2.6.39 patch
Use backported upstream patches instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34032 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-31 15:12:45 +00:00
juhosg
cfcea07f07 generic: replace yaffs mutex_fix patch
Use a backported patch instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34021 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:24 +00:00
juhosg
1d4021e4e0 generic: replace yaffs symlink fix patch
Use a backported patch instead.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34020 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:23 +00:00
juhosg
c703e25132 generic: rename yaffs patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34019 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 21:16:21 +00:00
florian
65c7837186 [realview] set earlyprintk UART to be the default Realview UART
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34015 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 16:56:10 +00:00
juhosg
34b60fad1a generic: fold yaffs_git_2010_10_20 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34013 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:17 +00:00
juhosg
22c66493c9 generic: fold yaffs_cvs_2009_04_24 patch to generic/files
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34012 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-30 14:58:13 +00:00
juhosg
a93b2c2dcd ar71xx: fix link speed between AR7242 and AR8327 on the RB750GL/RB751G boards
The default pll_1000 value had to be changed
in order to make it working.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33993 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 17:24:30 +00:00
juhosg
30663ebf33 target: refresh all target configs with kconfig.pl
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33987 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:11:05 +00:00
kaloz
dd62b6f0ce add missing 3.6 symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33986 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 10:00:02 +00:00
kaloz
1c8e94dfd4 [orion]: the uImage's filename will hardly change
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33985 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:55:20 +00:00
juhosg
5fb1071671 generic: add more symbols for 3.6
Also refresh the config file with kconfig.pl.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33984 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-29 09:08:59 +00:00
juhosg
df88996997 ar71xx: add initial support for 3.6
The nand subtarget is not working yet.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33983 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 19:52:02 +00:00
juhosg
4e2267ffdd kernel: update linux 3.6 to 3.6.4
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33982 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 18:59:39 +00:00
juhosg
ca706d1e01 ar71xx: remove NO_AUTOINCR flag from the NAND drivers
The flag is not present in 3.6.
Also add compatibility patches for 3.3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33971 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 12:21:15 +00:00
juhosg
ddf35bbead generic: fix crashlog patch for 3.6
kmsg_dump() uses an iterator to receive log buffer
content since 3.5. Change the 'crashlog_do_dump'
function in order to make it compatible with the
new version.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33970 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-28 09:50:50 +00:00
juhosg
c0ed64d3dd ar71xx: ag71xx: fix build_skb arguments for 3.6
Also add a compatibility patch for 3.3

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33969 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 17:11:06 +00:00
juhosg
29e6a46ba2 generic: fix tcp_window_check patch for 3.6
Move the new entry to the end of the tcp_sysctl_table
array to fix the following error:

[    7.670000] sysctl table check failed: net/netfilter/nf_conntrack_tcp_max_retrans No data
[    7.680000] Call Trace:
[    7.680000] [<80273bc4>] dump_stack+0x8/0x34
[    7.680000] [<80128710>] __register_sysctl_table+0x374/0x3a8
[    7.690000] [<868d5034>] nf_conntrack_l4proto_unregister+0x158/0x1a0[nf_conntrack]
[    7.700000] [<868d50e4>] nf_conntrack_l4proto_register+0x68/0x21c[nf_conntrack]
[    7.710000] [<868b237c>] need_ipv4_conntrack+0x35c/0xb60[nf_conntrack_ipv4]
[    7.710000]
[    7.720000] nf_conntrack_l4proto_tcp4 :protocol register failed
[    7.720000] nf_conntrack_ipv4: can't register pernet ops
[    7.780000] nf_nat: Unknown symbol nf_nat_seq_adjust_hook (err 0)
[    7.790000] nf_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.800000] iptable_nat: Unknown symbol nf_nat_packet (err 0)
[    7.810000] iptable_nat: Unknown symbol nf_nat_setup_info (err 0)
[    7.820000] iptable_nat: Unknown symbol nf_nat_icmp_reply_translation (err 0)
[    7.820000] iptable_nat: Unknown symbol need_ipv4_conntrack (err 0)
[    7.840000] ipt_MASQUERADE: Unknown symbol nf_nat_setup_info (err 0)
[    7.860000] nf_nat_ftp: Unknown symbol nf_nat_follow_master (err 0)
[    7.870000] nf_nat_ftp: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)
[    7.890000] nf_nat_irc: Unknown symbol nf_nat_follow_master (err 0)
[    7.900000] nf_nat_irc: Unknown symbol __nf_nat_mangle_tcp_packet (err 0)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33968 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 15:42:25 +00:00
kaloz
935acb6305 [generic]: instead of updating the whole file, just add the additional boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33966 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 13:29:36 +00:00
kaloz
8868e8685e [orion]: rename erase size variables
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:50:55 +00:00
kaloz
30334161c6 [orion]: add support for Netgear WN802T
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:48:22 +00:00
kaloz
01e0dddc7b [orion]: don't enforce rootfs location
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 10:43:47 +00:00
kaloz
ce50548ff6 [brcm47xx]: generate images for the D-Link DWL-3150 as well
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33961 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 09:42:58 +00:00
juhosg
85e0a9fae1 ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:42 +00:00
juhosg
dae476b03f ar71xx: add profile and build image for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:40 +00:00
juhosg
e407ad4e7e ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:39 +00:00
juhosg
1488bdd2d5 ar71xx: add support for the Senao CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:38 +00:00
juhosg
caa3f29617 ar71xx: add ath79_wmac_disable_[25]ghz helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:37 +00:00
juhosg
6021644945 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 08:55:36 +00:00
juhosg
5cd8b64921 generic: use mtd_read in myloader parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:59 +00:00
juhosg
5751fd8e2a ar71xx: use mtd_read in wrt160nl_part
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:58 +00:00
juhosg
584868a74e ar71xx: use mtd_read in tplinkpart
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:57 +00:00
juhosg
68c61e39ad ar71xx: generate 4,8,16M images for the WPE72
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-27 07:57:55 +00:00
juhosg
118178a078 generic: swconfig: use led_set_brightness in LED control code
The 'led_brightness_set' function has
been renamed to 'led_set_brightness'
in recent ernels. Use the new name and
add a compatibility patch for 3.3.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:18 +00:00
juhosg
52ff80a55b generic: add missing symbols for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33945 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:15 +00:00
juhosg
bc21e5bca2 ar71xx: reject TP-Link images containing a bootloader
The original TP-Link firmware images can be flashed via
the sysupgrade command, however those may contain a
bootloader. Flashing such an image via sysupgrade
bricks the board, and it can't be recovered without
a serial console.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33944 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:58:13 +00:00
juhosg
6be2a2971e ramips: use correct key code for the RFKILL switch on the TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 18:53:44 +00:00
florian
2c49bb2a3b [malta] add 3.6 kernel configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:19 +00:00
florian
983fa852ab [brcm63xx] add missing 6345 clock bits patch to 3.6 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:14 +00:00
florian
308bb3f853 [kernel] add some more 3.6 config symbols
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-26 15:24:10 +00:00
florian
0b1b6a0283 [brcm63xx] add preliminary support for 3.6 kernel
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 21:16:51 +00:00
hauke
0cddb5e96a brcm47xx: check for .ELF header in partition parser
The image format for the wgt634u is different from the normal format. 
Without this patch the partition parser detects a 128kb bigger 
partition after every update.

This closes #11420

Thank you b.sander for the patch.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 19:49:20 +00:00
hauke
c3f5ead840 kernel: add PCI id 14e4:4350 to ssb
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:50:47 +00:00
nbd
231e652d58 kernel: add a few missing config symbols for x86. added to generic config because of dependencies, so that kernel_menuconfig does not remove them again
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:45 +00:00
nbd
e123d11563 kernel: refresh config files using kconfig.pl
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 15:11:40 +00:00
hauke
288f3f6650 kernel: update bcma and ssb to master-2012-10-18 from wireless-testing
* update the flash driver for bcm47xx to use the stubs already in bcma
* do some misc enhancements to the flash drivers for bcm47xx


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 14:33:47 +00:00
florian
b19dd29d0e [brcm63xx] fix Ethernet DMA for 636x and 6328 after r33916
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-25 11:54:41 +00:00
florian
4adcc0d7ac [brcm63xx] add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 21:25:22 +00:00
florian
ca34e3623f [brcm63xx] make BCM6345 Ethernet DMA changes runtime checks
The semantics of the DMA engine are identical, we just have a couple of
special case handling.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 21:25:10 +00:00
florian
05e75c4408 [kernel] ARM: fix XZ decompressor stub build failure on strstr()
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:31 +00:00
florian
f5e931045c [kernel] fixup generic 3.6 kernel config
It was not meant to be committed as-is in r33911

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 15:57:24 +00:00
florian
04a4114eac [kernel] fix IFF_NO_IP_ALIGN bitmask to contain only 1 bit set
This issue got introduced while porting the patch over 3.6 in r33897

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:23:20 +00:00
florian
eb0c020062 [kernel] make all 3.6 patches apply and build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:22 +00:00
florian
ac3d47a751 [kernel] swconfig: get rid of the NLA_PUT_* macros
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-24 13:05:04 +00:00
jow
b134b73b39 x86: allow both old and new grub signatures in sysupgrade
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 16:34:00 +00:00
kaloz
1c3d05cf73 [generic]: linux 3.6 support (work in progress)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 12:21:34 +00:00
jogo
c373dbfcfb kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:49 +00:00
jogo
7cd7ca6312 [bcm63xx] add support for Comtrend AR5381u.
Router: Comtrend AR5381u.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:47 +00:00
jogo
684208010e [bcm63xx] add support for Comtrend AR5387un.
Router: Comtrend AR5387un.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:44 +00:00
jogo
dd5d4b005b [bcm63xx] add support for HomeStation ADB P.DG A4001N.
Router: HomeStation ADB P.DG A4001N.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo: fix subject, indentation in patch]
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-23 10:57:39 +00:00
nbd
280fdff36e x86: correct image magic for grub2 images
Sysupgrade broke on x86 when grub2 superceded grub.  This patch
corrects tha magic_word to be expected in grub2 combined images.

Signed-off-by: Russell Senior <russell@personaltelco.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-22 16:06:29 +00:00
florian
63d3f006df [brcm63xx] add back support for BCM6345 Ethernet DMA engine
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-22 12:57:22 +00:00
florian
02755b4c1f [brcm63xx] fix clocks bits for BCM6345
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-22 12:57:14 +00:00
florian
577eacbdb0 [kernel] refresh 3.3 patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 21:30:30 +00:00
jogo
12fc0a21be [bcm63xx] Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-21 14:35:06 +00:00
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
nbd
f00886da07 ixp4xx: add missing reboot handlers (fixes #11577)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33672 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 15:38:55 +00:00
nbd
6553b8c201 x86: remove the reboot=bios command line parameter (#12193)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33671 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 15:20:11 +00:00
jogo
361733d48c bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33670 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-09 08:08:49 +00:00
jogo
70cabf6f3f bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33665 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 13:08:40 +00:00
jogo
e260ab73e0 firmware-utils: move bcm_tag.h here
Since there is only one user of bcm_tag.h left, we can safely move it
into the firmware-utils directory, replacing the symlink.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33655 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 09:59:50 +00:00
jogo
237a13773f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33653 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-08 09:59:44 +00:00
nbd
04e21aac75 cns3xxx: add sysupgrade support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/base-files/lib/cns3xxx.sh          |   22 ++
 target/linux/cns3xxx/base-files/lib/upgrade/platform.sh |  122 ++++++++++++++++
 target/linux/cns3xxx/image/Makefile                     |   19 +-
 3 files changed, 159 insertions(+), 4 deletions(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33650 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:24:02 +00:00
nbd
91100227a1 cns3xxx: add GW2383 board support
Add GPIO/LED support for Gateworks GW2383

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

 target/linux/cns3xxx/patches-3.3/300-laguna_support.patch |   18 +++++++++++++-
 1 file changed, 17 insertions(+), 1 deletion(-)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33649 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:58 +00:00
nbd
1b103111a5 cns3xxx: fix gpio access and add gpio IRQ support
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

 target/linux/cns3xxx/patches-3.3/470-gpio_irq.patch |  536 ++++++++++++++++++++
 1 file changed, 536 insertions(+)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33648 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:52 +00:00
nbd
dcb25b7b8a ixp4xx: update Gateworks Avila board support
Several new features for newer boards:
 - add additional UARTs present on some boards
 - add additional LEDs present on some boards
 - add HSS audio device codec present on some boards
 - add support for GSC present on some boards
 - add per model setup support for newer boards
 - set FLASH window per-model for boards with larger FLASH

Some fixes:
 - add IRQ mapping for additional PCI devices (USB Host)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33647 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:47 +00:00
nbd
a750833ad3 ixp4xx: patch cleanup
roll all avila patches into a single patch (no code changes)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33646 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:43 +00:00
nbd
1a32f40f07 ixp4xx: Add HSS audio driver for Avila product family
Add ixp4xx HSS audio driver for Avila

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33645 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:39 +00:00
nbd
6957e756d9 ixp4xx: update Gateworks Cambria board support
Several new features for newer boards:
 - add irq mapping for additional devices
 - add platform data for i2c bus to SFP modules
 - add additional UARTs present on some boards
 - increased R/W delay for expansion bus UARTs
 - add additional LEDs present on some boards
 - add GPIO exports and configuration
 - add ENET switch config present on some boards
 - add support for GSC present on some boards
 - added per model setup support for newer boards

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:34 +00:00
nbd
8969cb6c15 ixp4xx: patch cleanup
roll all cambria patches into a single patch (no code changes)

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33643 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:29 +00:00
nbd
520e13d5a6 ixp4xx: split out new UART I/O to its own patch
This is being done for general cleanup

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33642 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:23:25 +00:00
nbd
821655e4a8 x86: rename the iso file to openwrt-x86-generic.iso
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33641 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:05:39 +00:00
nbd
48e426d185 x86: remove grub-legacy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33640 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:56 +00:00
nbd
1be0626273 x86: add grub2 iso support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33639 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:52 +00:00
nbd
3d4fd91c66 x86/generic: enable cdrom + iso9660 support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33638 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-07 23:01:47 +00:00
juhosg
3819c1dced ar71xx: build image for the TL-WR841N/ND v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33623 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:06 +00:00
juhosg
2a77bb1d80 ar71xx: user-space support for TL-WR841N/ND v8
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33622 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:05 +00:00
juhosg
685e1a417d ar71xx: add support for the TL-WR841N/ND v8 board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33621 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 20:16:03 +00:00
hauke
c155089844 [brcm47xx]: bcma: do not initialize deactivated PCIe cores
Before it was tried to initialize the deactivated PCIe core in client
mode, but this causes the SoC to hang. Just do not initialize it at all
and ignore the core it is not working and nothing is connected to it
when the specific bit is set in the boardflags.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33620 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:45:54 +00:00
hauke
351a9e7953 [brcm47xx]: use memcmp in mem size detection as suggested by blogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33619 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 15:42:12 +00:00
florian
e10dff6c2e [rdc] fix typo in 05_set_ether_mac_rdc preinit script (#11166)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33618 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 12:36:50 +00:00
juhosg
5d370d02a9 ramips: add image for ALL0256N-8M
The new version of the ALL0256N now got 8MB SPI NOR flash instead of 4MB.
In order to expose the whole amount of flash, add another image which contains
the corresponding GENERIC_8M mtdparts.

[juhosg: change suffix from '8m' to '8M']

Patch by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33614 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-04 06:34:09 +00:00
florian
b6d73b966b [pxa] add Default and Gumstix PXA profiles
Gumstix builds a fake flash image for usage in qemu

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33609 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:15:05 +00:00
florian
09c7ab130e [pxa] advertise jffs2 feature
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33607 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:12:57 +00:00
florian
28d64148e8 [pxa] remove broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33606 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:12:39 +00:00
florian
ffee55d944 [pxa] fix build with latest gpiolib changes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33605 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:12:03 +00:00
florian
8eed7abf41 [mcs814x] more convertions to {read,write}_relaxed I/O accessors
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33604 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-10-03 16:10:47 +00:00
nbd
db72b8cfc1 cns3xxx: add missing kernel config symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33603 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 15:31:34 +00:00
hauke
46d98a975d [kernel] refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33602 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:53 +00:00
hauke
bd7b515b16 [brcm47xx]: bcma: use fallback sprom if sprom on card was not valid
Sometimes the PCIe card indicates that it has a sprom somewhere and we
are able to read the memory region, but it is empty and not valid. In
these cases we should try to use the fallback sprom as a last chance.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33601 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:45:31 +00:00
hauke
6f8cf8b4c0 [brcm47xx]: bcma: initialize sprom earlier
The chip common and the PCIe code are accessing the sprom struct which
is not filled when these cores are initialized. Fix this by adding an
early initialize and fill the sprom struct before accessing it in other
code.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33600 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:44 +00:00
hauke
ea60258a5f [brcm47xx]: run make kernel_oldconfig
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33599 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:44:04 +00:00
hauke
ea8a5ad7cc [brcm47xx]: ignore the last page on bcma based SoCs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33598 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:40 +00:00
hauke
43594d67bf [brcm47xx]: Fix reading sprom from nvram without a prefix
The bcma based SoCs with a ieee80211 core on the SoC and an other
connected via PCIe or USB store the sprom for the SoC with a sb/1/
prefix. The SoC with just one wifi core do not use prefixes. The
BCM4706 do not use a prefix for the SoC part at all, because the prefix
is the path to the ieee80211 core and there is non on the BCM4706.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33597 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:43:13 +00:00
hauke
bdb7b30f11 [brcm47xx]: improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33596 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-30 11:42:16 +00:00
blogic
552688c8bf [kernel] dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33593 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 21:54:31 +00:00
blogic
4991a16db1 [atheros] add support for adm6996 phy
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33592 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 21:38:02 +00:00
blogic
786e0389eb [lantiq] tapi was not registeredproperly for most arcadyan boards
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33591 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 20:57:06 +00:00