Commit graph

9268 commits

Author SHA1 Message Date
Gabor Juhos
e2ec99889e 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>

SVN-Revision: 33969
2012-10-27 17:11:06 +00:00
Gabor Juhos
7640a7cc24 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>

SVN-Revision: 33968
2012-10-27 15:42:25 +00:00
Imre Kaloz
50be09e1f7 instead of updating the whole file, just add the additional boards
SVN-Revision: 33966
2012-10-27 13:29:36 +00:00
Imre Kaloz
1a4f117398 rename erase size variables
SVN-Revision: 33964
2012-10-27 10:50:55 +00:00
Imre Kaloz
549d5a6e34 add support for Netgear WN802T
SVN-Revision: 33963
2012-10-27 10:48:22 +00:00
Imre Kaloz
cf7aed0a76 don't enforce rootfs location
SVN-Revision: 33962
2012-10-27 10:43:47 +00:00
Imre Kaloz
702fd5cdb5 generate images for the D-Link DWL-3150 as well
SVN-Revision: 33961
2012-10-27 09:42:58 +00:00
Gabor Juhos
3a86affcdd ar71xx: enable sysupgrade for the CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33960
2012-10-27 08:55:42 +00:00
Gabor Juhos
e99d557c08 ar71xx: add profile and build image for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33958
2012-10-27 08:55:40 +00:00
Gabor Juhos
9287e0c863 ar71xx: add user-space part for the CAP4200AG
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33957
2012-10-27 08:55:39 +00:00
Gabor Juhos
d54c9653e9 ar71xx: add support for the Senao CAP4200AG board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33956
2012-10-27 08:55:38 +00:00
Gabor Juhos
3b7cb4eb4a ar71xx: add ath79_wmac_disable_[25]ghz helpers
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33955
2012-10-27 08:55:37 +00:00
Gabor Juhos
e8fc46b7c5 generic: allow to disable [25]GHz support in ath9k via platform data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33954
2012-10-27 08:55:36 +00:00
Gabor Juhos
c92998f9d9 generic: use mtd_read in myloader parser
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33952
2012-10-27 07:57:59 +00:00
Gabor Juhos
269872fe1e ar71xx: use mtd_read in wrt160nl_part
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33951
2012-10-27 07:57:58 +00:00
Gabor Juhos
973eda6077 ar71xx: use mtd_read in tplinkpart
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33950
2012-10-27 07:57:57 +00:00
Gabor Juhos
28f3adc2ed ar71xx: generate 4,8,16M images for the WPE72
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33949
2012-10-27 07:57:55 +00:00
Gabor Juhos
ee9376d153 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>

SVN-Revision: 33946
2012-10-26 18:58:18 +00:00
Gabor Juhos
1127781d40 generic: add missing symbols for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33945
2012-10-26 18:58:15 +00:00
Gabor Juhos
ff481a5518 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>

SVN-Revision: 33944
2012-10-26 18:58:13 +00:00
Gabor Juhos
db5eea6acd ramips: use correct key code for the RFKILL switch on the TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33943
2012-10-26 18:53:44 +00:00
Florian Fainelli
c691d165c7 add 3.6 kernel configuration
SVN-Revision: 33942
2012-10-26 15:24:19 +00:00
Florian Fainelli
9af90aa80c add missing 6345 clock bits patch to 3.6 patches
SVN-Revision: 33941
2012-10-26 15:24:14 +00:00
Florian Fainelli
fad6afdf06 add some more 3.6 config symbols
SVN-Revision: 33940
2012-10-26 15:24:10 +00:00
Florian Fainelli
8d69af7c9f add preliminary support for 3.6 kernel
SVN-Revision: 33936
2012-10-25 21:16:51 +00:00
Hauke Mehrtens
6a699a8ae8 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.

SVN-Revision: 33935
2012-10-25 19:49:20 +00:00
Hauke Mehrtens
d4ef5de604 kernel: add PCI id 14e4:4350 to ssb
* 14e4:4350 is found on a Broadcom BCM43222.
* remove some warnings when using a BCM43222.

SVN-Revision: 33929
2012-10-25 15:50:47 +00:00
Felix Fietkau
1e2962e63c 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
SVN-Revision: 33923
2012-10-25 15:11:45 +00:00
Felix Fietkau
5591188ac3 kernel: refresh config files using kconfig.pl
SVN-Revision: 33922
2012-10-25 15:11:40 +00:00
Hauke Mehrtens
dca633f1c8 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

SVN-Revision: 33920
2012-10-25 14:33:47 +00:00
Florian Fainelli
dea2da55df fix Ethernet DMA for 636x and 6328 after r33916
SVN-Revision: 33918
2012-10-25 11:54:41 +00:00
Florian Fainelli
917670922b add support for the Dynalink RTA770BW board
This board id is used by the Siemens Gigaset SE515 router.

SVN-Revision: 33917
2012-10-24 21:25:22 +00:00
Florian Fainelli
bdfcbb8bee make BCM6345 Ethernet DMA changes runtime checks
The semantics of the DMA engine are identical, we just have a couple of
special case handling.

SVN-Revision: 33916
2012-10-24 21:25:10 +00:00
Florian Fainelli
df6f9072ab ARM: fix XZ decompressor stub build failure on strstr()
SVN-Revision: 33915
2012-10-24 15:57:31 +00:00
Florian Fainelli
b5c27880ee fixup generic 3.6 kernel config
It was not meant to be committed as-is in r33911

SVN-Revision: 33914
2012-10-24 15:57:24 +00:00
Florian Fainelli
a6bfca90b0 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

SVN-Revision: 33913
2012-10-24 13:23:20 +00:00
Florian Fainelli
7e856e5a97 make all 3.6 patches apply and build
SVN-Revision: 33911
2012-10-24 13:05:22 +00:00
Florian Fainelli
4afb91a12f swconfig: get rid of the NLA_PUT_* macros
Upstream kernel 3.6 has removed this usage, use the plain functions directly as
intended.

SVN-Revision: 33906
2012-10-24 13:05:04 +00:00
Jo-Philipp Wich
f600ec5b3b x86: allow both old and new grub signatures in sysupgrade
SVN-Revision: 33898
2012-10-23 16:34:00 +00:00
Imre Kaloz
949b46d13d linux 3.6 support (work in progress)
SVN-Revision: 33897
2012-10-23 12:21:34 +00:00
Jonas Gorski
0d2cf5f9e3 kernel: move the bcma fallback sprom fix to generic
bcm63xx needs the bcma fallback sprom fix, too.

SVN-Revision: 33896
2012-10-23 10:57:49 +00:00
Jonas Gorski
0cc4bed41c 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>

SVN-Revision: 33895
2012-10-23 10:57:47 +00:00
Jonas Gorski
d73871fb18 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>

SVN-Revision: 33894
2012-10-23 10:57:44 +00:00
Jonas Gorski
e93725a743 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>

SVN-Revision: 33893
2012-10-23 10:57:39 +00:00
Felix Fietkau
95e642632a 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>

SVN-Revision: 33890
2012-10-22 16:06:29 +00:00
Florian Fainelli
61686a1514 add back support for BCM6345 Ethernet DMA engine
SVN-Revision: 33889
2012-10-22 12:57:22 +00:00
Florian Fainelli
eeed82c04e fix clocks bits for BCM6345
SVN-Revision: 33888
2012-10-22 12:57:14 +00:00
Florian Fainelli
ca25e61c6c refresh 3.3 patches
SVN-Revision: 33887
2012-10-21 21:30:30 +00:00
Jonas Gorski
e6171dfb2c Add F@ST2604 board support.
Add Sagem F@ST2604 board support.

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

SVN-Revision: 33886
2012-10-21 14:35:06 +00:00
Gabor Juhos
f1f388d527 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>

SVN-Revision: 33867
2012-10-19 18:32:49 +00:00
Gabor Juhos
b530d9d2b3 ramips: disable 5GHz on the built in wireless mac of the TEW-69{1,2}GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33864
2012-10-19 17:42:22 +00:00
Gabor Juhos
6ca2970e4b ramips: add profile and build image for the TEW-691GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33852
2012-10-18 07:23:13 +00:00
Gabor Juhos
21180e29f7 ramips: add user-space support for TEW-691GR
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33851
2012-10-18 07:23:12 +00:00
Gabor Juhos
25d53c4c28 ramips: rt3883: add initial support for the TRENDnet TEW-691GR board
No wireless support.

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

SVN-Revision: 33850
2012-10-18 07:23:11 +00:00
Gabor Juhos
462a53c367 ramips: add profile and build image for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33849
2012-10-18 07:23:10 +00:00
Gabor Juhos
d3c368c324 ramips: add user-space support for the TEW-692GR board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33847
2012-10-18 07:23:07 +00:00
Gabor Juhos
7f8b7207c9 ramips: rt3883: add initial support for TRENDnet TEW-692GR board
No wireless support.

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

SVN-Revision: 33846
2012-10-18 07:23:06 +00:00
Gabor Juhos
bf9ae9432b ramips: add profile and build image for the DIR-645 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33845
2012-10-18 07:23:04 +00:00
Gabor Juhos
06edafd079 ramips: add user space support for the DIR-645
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33844
2012-10-18 07:23:03 +00:00
Gabor Juhos
d1a253a2fd ramips: rt3883: add inital support for the DIR-645 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33843
2012-10-18 07:23:02 +00:00
Gabor Juhos
e962c16a88 ramips: use get_magic_long in sysupgrade image check
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33842
2012-10-18 07:23:00 +00:00
Gabor Juhos
0045449b1b generic: add driver for the the RTL8367R{B,-VB} switches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33839
2012-10-18 07:22:56 +00:00
Felix Fietkau
96fa602499 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(+)

SVN-Revision: 33828
2012-10-17 22:03:46 +00:00
Felix Fietkau
879b7a7a9b 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(-)

SVN-Revision: 33827
2012-10-17 22:03:37 +00:00
John Crispin
6993e19532 drop GPIODEV platform code
SVN-Revision: 33825
2012-10-17 21:53:37 +00:00
Gabor Juhos
7a72f01a72 ar71xx: merge machine support patches
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33820
2012-10-17 18:27:50 +00:00
Gabor Juhos
2e1bc1e15b ar71xx: also use the ath79_set_ar934x_eth_cfg helper for DB120
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33819
2012-10-17 18:27:48 +00:00
Gabor Juhos
31387947c8 ar71xx: use the ath79_set_ar934x_eth_cfg helper in machine setup routines
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33818
2012-10-17 18:27:47 +00:00
Gabor Juhos
5ffc08e3dc ar71xx: add a helper function for setting up ETH_CFG register on AR934x
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33817
2012-10-17 18:27:45 +00:00
Gabor Juhos
35a91a4fe8 ar71xx: OM2P-HS sysupgrade support
Signed-off-by: Marek Lindner <lindner_marek@yahoo.de>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 33803
2012-10-17 08:26:05 +00:00
Gabor Juhos
c5a32cfc92 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>

SVN-Revision: 33800
2012-10-17 08:26:01 +00:00
Florian Fainelli
254d851d8a 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

SVN-Revision: 33780
2012-10-15 21:03:57 +00:00
Florian Fainelli
60ecd5fe04 merge the RDC R-321x target as a subtarget of x86
SVN-Revision: 33779
2012-10-15 18:54:34 +00:00
Gabor Juhos
f1283d8583 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>

SVN-Revision: 33769
2012-10-14 16:24:26 +00:00
Gabor Juhos
1944f7b916 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>

SVN-Revision: 33768
2012-10-14 16:24:25 +00:00
Gabor Juhos
62ab2b0da6 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>

SVN-Revision: 33767
2012-10-14 16:24:22 +00:00
Florian Fainelli
e4bebad4f7 add Actiontec PK5000 LEDs
Also share them between the GT701 and the PK5000.

Patch from Daniel Gimpelevich.

SVN-Revision: 33756
2012-10-13 17:47:45 +00:00
Florian Fainelli
d78371f5c0 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.

SVN-Revision: 33755
2012-10-13 17:47:36 +00:00
Florian Fainelli
0f04f7479c remove the squashfs alignement define
Patch from Daniel Gimpelevich.

SVN-Revision: 33754
2012-10-13 17:47:30 +00:00
Florian Fainelli
ec4e61e558 handle LOADER_MAGIC2 in ar7part
This is required for Actiontec PK5000 devices. Path from Daniel Gimpelevich.

SVN-Revision: 33753
2012-10-13 17:47:25 +00:00
Florian Fainelli
e5a65db1b5 increase the flash resource size to its maximum value
CFI detection will reduce the resource size to its real value.

Patch from Daniel Gimpelevich.

SVN-Revision: 33752
2012-10-13 17:47:20 +00:00
Florian Fainelli
7205421c5b 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).

SVN-Revision: 33751
2012-10-13 17:47:14 +00:00
Florian Fainelli
3794a6a9dd enable mvswitch driver
And fix the default network configuration to create the required VLANs.

Patch from Daniel Gimpelevich.

SVN-Revision: 33750
2012-10-13 17:47:09 +00:00
Florian Fainelli
99598d2473 use the second available LED to encore mode boot states
Patch from Daniel Gimpelevich.

SVN-Revision: 33749
2012-10-13 17:47:04 +00:00
Florian Fainelli
31c324f451 use wpad-mini instead of hostapd
SVN-Revision: 33744
2012-10-13 17:46:32 +00:00
Imre Kaloz
c24df51736 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>

SVN-Revision: 33743
2012-10-13 06:58:42 +00:00
Jo-Philipp Wich
4cfd3dc8ed x86/kvm_guest: enable PCIE support
SVN-Revision: 33741
2012-10-12 16:51:31 +00:00
Florian Fainelli
e7b2a4170c copy initramfs kernel to bin directory
SVN-Revision: 33726
2012-10-11 15:45:24 +00:00
John Crispin
ba6751058b gpiodev/gpioctl RIP
SVN-Revision: 33725
2012-10-11 11:58:09 +00:00
Imre Kaloz
88a740ff80 fix (really this time) laguna UART config
Properly terminate the correct platform resource for laguna UARTs

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

SVN-Revision: 33721
2012-10-11 09:51:35 +00:00
Imre Kaloz
9b22ca8042 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>

SVN-Revision: 33720
2012-10-11 07:59:06 +00:00
Imre Kaloz
31c2f1a4d2 fix non terminated uart resources for laguna
Resolves crashes when probing multiple serial devices

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

SVN-Revision: 33719
2012-10-11 07:47:27 +00:00
Florian Fainelli
bc3b111cfd generate vmlinux.srec and vmlinux.bin from srec2bin
Useful for loading the kernel into RAM using ADAM2/PSPBoot.

SVN-Revision: 33718
2012-10-11 06:45:07 +00:00
Felix Fietkau
d0ec348ded kernel: fq_codel: dont reinit flow state
Keep fq_codel flow state around after queue empty.

SVN-Revision: 33687
2012-10-10 11:54:31 +00:00
Felix Fietkau
f933719138 kernel: dont delay acks after ECN CE
Bugfix from linux head - don't delay acks from ECN congestion
experienced in some situations.

SVN-Revision: 33686
2012-10-10 11:54:27 +00:00
Felix Fietkau
85871f283a 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>

SVN-Revision: 33684
2012-10-10 11:39:02 +00:00
Felix Fietkau
6bb7409e5a 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>

SVN-Revision: 33683
2012-10-10 11:38:58 +00:00
Felix Fietkau
f570c806ef 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>

SVN-Revision: 33681
2012-10-10 11:38:44 +00:00
Felix Fietkau
cae6f4ddb4 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>

SVN-Revision: 33679
2012-10-10 11:38:28 +00:00
Felix Fietkau
f14b8d43f2 ixp4xx: add missing reboot handlers (fixes #11577)
SVN-Revision: 33672
2012-10-09 15:38:55 +00:00
Felix Fietkau
856fba88d9 x86: remove the reboot=bios command line parameter (#12193)
SVN-Revision: 33671
2012-10-09 15:20:11 +00:00
Jonas Gorski
fbe0af3237 bcm63xx: remove bcm_tag usage in kernel
Fixes #12292.

SVN-Revision: 33670
2012-10-09 08:08:49 +00:00
Jonas Gorski
6a000ba37a bcm63xx: fix 963281TAN image names
it's a 6328, not a 6348.

SVN-Revision: 33665
2012-10-08 13:08:40 +00:00
Jonas Gorski
997ace7e5e 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.

SVN-Revision: 33655
2012-10-08 09:59:50 +00:00
Jonas Gorski
f16ea6be3f bcm63xx: fix entering failsafe through button
gpio_keys_polled needs to be loaded in preinit for buttons to work for
entering failsafe.

SVN-Revision: 33653
2012-10-08 09:59:44 +00:00
Felix Fietkau
e5bb1a1bc7 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(-)

SVN-Revision: 33650
2012-10-07 23:24:02 +00:00
Felix Fietkau
68449e2e01 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(-)

SVN-Revision: 33649
2012-10-07 23:23:58 +00:00
Felix Fietkau
6b778f57aa 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(+)

SVN-Revision: 33648
2012-10-07 23:23:52 +00:00
Felix Fietkau
bca070dfbe 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>

SVN-Revision: 33647
2012-10-07 23:23:47 +00:00
Felix Fietkau
22b86fec7c ixp4xx: patch cleanup
roll all avila patches into a single patch (no code changes)

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

SVN-Revision: 33646
2012-10-07 23:23:43 +00:00
Felix Fietkau
d660734a1b ixp4xx: Add HSS audio driver for Avila product family
Add ixp4xx HSS audio driver for Avila

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

SVN-Revision: 33645
2012-10-07 23:23:39 +00:00
Felix Fietkau
ce692ed043 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>

SVN-Revision: 33644
2012-10-07 23:23:34 +00:00
Felix Fietkau
21d182b9e5 ixp4xx: patch cleanup
roll all cambria patches into a single patch (no code changes)

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

SVN-Revision: 33643
2012-10-07 23:23:29 +00:00
Felix Fietkau
d3567cc886 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>

SVN-Revision: 33642
2012-10-07 23:23:25 +00:00
Felix Fietkau
1abbe676d1 x86: rename the iso file to openwrt-x86-generic.iso
SVN-Revision: 33641
2012-10-07 23:05:39 +00:00
Felix Fietkau
0dd7644ec7 x86: remove grub-legacy
SVN-Revision: 33640
2012-10-07 23:01:56 +00:00
Felix Fietkau
a1bcd25082 x86: add grub2 iso support
SVN-Revision: 33639
2012-10-07 23:01:52 +00:00
Felix Fietkau
53cc34e517 x86/generic: enable cdrom + iso9660 support
SVN-Revision: 33638
2012-10-07 23:01:47 +00:00
Gabor Juhos
befb648642 ar71xx: build image for the TL-WR841N/ND v8
SVN-Revision: 33623
2012-10-04 20:16:06 +00:00
Gabor Juhos
02a85dfd85 ar71xx: user-space support for TL-WR841N/ND v8
SVN-Revision: 33622
2012-10-04 20:16:05 +00:00
Gabor Juhos
196c6c5b45 ar71xx: add support for the TL-WR841N/ND v8 board
SVN-Revision: 33621
2012-10-04 20:16:03 +00:00
Hauke Mehrtens
07234dc8bd 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.

SVN-Revision: 33620
2012-10-04 15:45:54 +00:00
Hauke Mehrtens
2819890839 use memcmp in mem size detection as suggested by blogic
SVN-Revision: 33619
2012-10-04 15:42:12 +00:00
Florian Fainelli
5e0df9582b fix typo in 05_set_ether_mac_rdc preinit script (#11166)
SVN-Revision: 33618
2012-10-04 12:36:50 +00:00
Gabor Juhos
d832cd11f8 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>

SVN-Revision: 33614
2012-10-04 06:34:09 +00:00
Florian Fainelli
47c5c4df1c add Default and Gumstix PXA profiles
Gumstix builds a fake flash image for usage in qemu

SVN-Revision: 33609
2012-10-03 16:15:05 +00:00
Florian Fainelli
48daf407a6 advertise jffs2 feature
SVN-Revision: 33607
2012-10-03 16:12:57 +00:00
Florian Fainelli
bb7ac8ae7d remove broken flag
SVN-Revision: 33606
2012-10-03 16:12:39 +00:00
Florian Fainelli
8f44ba1ae2 fix build with latest gpiolib changes
SVN-Revision: 33605
2012-10-03 16:12:03 +00:00
Florian Fainelli
d504b6251c more convertions to {read,write}_relaxed I/O accessors
SVN-Revision: 33604
2012-10-03 16:10:47 +00:00
Felix Fietkau
a2e1dce829 cns3xxx: add missing kernel config symbol
SVN-Revision: 33603
2012-09-30 15:31:34 +00:00
Hauke Mehrtens
9f083117d1 refresh patches
SVN-Revision: 33602
2012-09-30 11:45:53 +00:00
Hauke Mehrtens
642fe7f10a 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.

SVN-Revision: 33601
2012-09-30 11:45:31 +00:00
Hauke Mehrtens
42952fd94f 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.

SVN-Revision: 33600
2012-09-30 11:44:44 +00:00
Hauke Mehrtens
2d40590a23 run make kernel_oldconfig
SVN-Revision: 33599
2012-09-30 11:44:04 +00:00
Hauke Mehrtens
e5eefed084 ignore the last page on bcma based SoCs
SVN-Revision: 33598
2012-09-30 11:43:40 +00:00
Hauke Mehrtens
c9feffc332 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.

SVN-Revision: 33597
2012-09-30 11:43:13 +00:00
Hauke Mehrtens
4d5c75a54e improve the check for the memory size
This will hopefully fix bug #9360 and #9097 in trunk.

SVN-Revision: 33596
2012-09-30 11:42:16 +00:00
John Crispin
f3cab53f27 dont explicitly select wireless-tools. rely on the drivers that need them to have the right dependency
SVN-Revision: 33593
2012-09-28 21:54:31 +00:00
John Crispin
0afc7b9b6d add support for adm6996 phy
SVN-Revision: 33592
2012-09-28 21:38:02 +00:00
John Crispin
9dc218f88f tapi was not registeredproperly for most arcadyan boards
SVN-Revision: 33591
2012-09-28 20:57:06 +00:00
Imre Kaloz
c53936bb4b Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33581
2012-09-28 17:35:35 +00:00
Imre Kaloz
2f2115c436 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33580
2012-09-28 17:34:18 +00:00
Imre Kaloz
70729bb4a5 USB iso mode fixes
Resolves an issue where isochronouse USB would cause the driver to hang as
well as scheduling issues.

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

SVN-Revision: 33579
2012-09-28 17:31:22 +00:00
Gabor Juhos
170cd7a19a ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
SVN-Revision: 33575
2012-09-27 20:05:42 +00:00
Gabor Juhos
a0df3fa315 generic: enable CONFIG_USB_EHCI_TT_NEWSCHED
This feature was experimental in old kernels but
that flag has been removed in 2.6.36. Additionally,
the option is enabled by default since then.

See: http://www.spinics.net/lists/linux-usb/msg31993.html

SVN-Revision: 33574
2012-09-27 20:05:39 +00:00
Gabor Juhos
e3bcbeb427 ramips: add memory detection code for RT5350
SVN-Revision: 33571
2012-09-27 10:18:15 +00:00
Gabor Juhos
80d2da9f0f ramips: allow to use custom code for memory size detection
SVN-Revision: 33570
2012-09-27 10:18:14 +00:00
Florian Fainelli
4ea68a13e3 include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
Required for recent (e)glibc systems

SVN-Revision: 33569
2012-09-27 09:21:01 +00:00
Imre Kaloz
68f8db6731 fix ncores for single-core systems.
For cns3xxx SCU_CONFIGURATION always shows multipe cores but SCU_CPU_STATUS
shows which ones are active.

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

SVN-Revision: 33566
2012-09-27 08:07:17 +00:00
Imre Kaloz
9ace6ace8f add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33565
2012-09-27 08:06:13 +00:00
Imre Kaloz
7dd6b04c28 fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>

SVN-Revision: 33564
2012-09-27 08:05:19 +00:00
Florian Fainelli
caf900f0e4 remove kmod-spi-bitbang
This is no longer a dependency of kmod-spi-bcm63xx

SVN-Revision: 33562
2012-09-26 20:11:37 +00:00
Gabor Juhos
579e9cded8 generic: add upstream commit id to codel patches and refresh those
SVN-Revision: 33560
2012-09-26 14:17:17 +00:00
Florian Fainelli
eb97933e2a backport the upstream entropy changes (#11951)
SVN-Revision: 33559
2012-09-26 12:54:01 +00:00
Florian Fainelli
4a67ccb163 get rid of the IRQF_SAMPLE_RANDOM flag
SVN-Revision: 33558
2012-09-26 12:53:58 +00:00
Florian Fainelli
c27c0d1ff0 add wmbus-repeater to the dLAN USB Extender profile
SVN-Revision: 33556
2012-09-25 20:56:50 +00:00
Florian Fainelli
c7cf4def64 enable multicast and advanced ip routers configs
SVN-Revision: 33555
2012-09-25 20:53:34 +00:00
Florian Fainelli
d95f612340 add kmod-usb-serial-ftdi to the dLAN USB Extender profile
SVN-Revision: 33554
2012-09-25 20:50:20 +00:00
John Crispin
d8c04821c3 make uci-defaults switch detection work on rt5350
SVN-Revision: 33549
2012-09-25 14:47:18 +00:00
John Crispin
34d57ebd8b add ethernet support for rt5350
SVN-Revision: 33548
2012-09-25 14:47:08 +00:00
John Crispin
af0cd76937 make ramips ethernet use a register mapping table
SVN-Revision: 33547
2012-09-25 14:46:58 +00:00
Hauke Mehrtens
0818180715 activate failsafe on all ports of the switch and not just port 0.
Sometimes the port 0 was the WAN port or there could be some device
where the port 0 is not wired to an actual Ethernet port. Now telnet in
failsafe will listen on all ports of the switch so user do not have to
search for the correct port any more. This change will make the switch
leak traffic between the WAN and the LAN port, but you should not use
failsafe while connected to a untrusted network.

SVN-Revision: 33544
2012-09-25 14:04:59 +00:00
Gabor Juhos
ffc0ea6c5d ar71xx: create 'fat' images for the DIR-825/TEW-673GRU boards
With these images, it is possible to use the 'unused'
partition of the flash. The 'fat' images can be installed
with the sysupgrade command. When a 'fat' image is
installed from a regular one, the platform specific
sysupgrade script copies the calibration data to the
end of the flash. Likewise, when a regular image is
installed  from the 'fat' version the sysupgrade script
copies the calibration data back to the original location.

SVN-Revision: 33540
2012-09-25 12:57:41 +00:00
Gabor Juhos
e7b1949d87 ar71xx: automatically find WLAN calibration data on TEW-673GRU
SVN-Revision: 33539
2012-09-25 12:57:40 +00:00
Gabor Juhos
8ed8e51e74 ar71xx: automatically find WLAN calibration data on DIR-825-B1
SVN-Revision: 33538
2012-09-25 12:57:38 +00:00
Gabor Juhos
e2504a977a ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
SVN-Revision: 33537
2012-09-25 12:49:43 +00:00
John Crispin
394a560a9a unbreak port mapping detection
SVN-Revision: 33536
2012-09-25 09:51:48 +00:00
Gabor Juhos
e70ad61e44 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

SVN-Revision: 33535
2012-09-24 18:45:56 +00:00
Felix Fietkau
493b7c7f3c x86: avoid using grub prepare when using grub2
SVN-Revision: 33525
2012-09-23 09:59:56 +00:00
Felix Fietkau
999252dccc x86-generic: enable a few more common kernel options/drivers
SVN-Revision: 33516
2012-09-22 23:29:20 +00:00
Felix Fietkau
b968dcd52e kernel: increase log buffer size
SVN-Revision: 33515
2012-09-22 23:10:42 +00:00
Felix Fietkau
0260262f0b x86: enable usb storage support for the generic subtarget to support booting from usb devices
SVN-Revision: 33514
2012-09-22 21:15:59 +00:00
Felix Fietkau
52e8ee0666 x86: add support for building grub2 images
SVN-Revision: 33513
2012-09-22 20:10:42 +00:00
Felix Fietkau
ce4244c8af x86: split generic image building into a separate script
SVN-Revision: 33511
2012-09-22 20:10:35 +00:00
Felix Fietkau
6c02dd2b04 x86: rename gen_image_x86.sh to gen_image_grub.sh
SVN-Revision: 33510
2012-09-22 20:10:31 +00:00
Felix Fietkau
d6ca46cd25 cns3xxx: fix ethernet driver tx completion and queue stop/start
SVN-Revision: 33504
2012-09-22 00:34:53 +00:00
Felix Fietkau
fb71465a4e cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
SVN-Revision: 33503
2012-09-22 00:34:49 +00:00
Imre Kaloz
ed3597d927 move gpio stuff into the right file
SVN-Revision: 33502
2012-09-21 05:40:04 +00:00
Imre Kaloz
a74cf6f9a8 refresh patches
SVN-Revision: 33501
2012-09-21 05:38:16 +00:00
Felix Fietkau
15159604d9 cns3xxx: add a small optimization for rx offload
SVN-Revision: 33500
2012-09-21 00:13:12 +00:00
Felix Fietkau
a1c016fe16 cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
SVN-Revision: 33499
2012-09-21 00:13:08 +00:00
Felix Fietkau
029aaf4514 cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
SVN-Revision: 33498
2012-09-20 20:27:18 +00:00
Felix Fietkau
c4a419b445 kernel: enable perf events when enabling profiling, fixes oprofile on arm
SVN-Revision: 33497
2012-09-20 20:27:14 +00:00
Hauke Mehrtens
fd7b2b5141 deactivate mips wait instruction for MIPS 74K on Broadcom SoCs
When not removing support for the wait instruction, when ruining on the
BCM4706 SoC the system stops after msleep() without an exception. I
haven't seen this problem on the other Broadcom SoCs with a 74K CPU,
but in the Broadcom SDK it is deactivated for all CPUs of this type.

SVN-Revision: 33496
2012-09-20 14:51:57 +00:00
Felix Fietkau
1067ccf9f7 cns3xxx: remove the broken flag
SVN-Revision: 33493
2012-09-19 23:50:25 +00:00
Felix Fietkau
2db9e9f624 cns3xxx: fix kernel config
SVN-Revision: 33492
2012-09-19 23:50:22 +00:00
Felix Fietkau
34d30654ae cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
SVN-Revision: 33491
2012-09-19 23:50:18 +00:00
Felix Fietkau
eff9405752 cns3xxx: fix ethernet tx checksum offload
SVN-Revision: 33490
2012-09-19 23:50:15 +00:00
Felix Fietkau
dd1fb8289f cns3xxx: merge ethernet driver changes from gateworks
SVN-Revision: 33489
2012-09-19 23:50:12 +00:00
Felix Fietkau
190b4344a3 cns3xxx: build images for the old boot loader and the new one (default to the new one)
SVN-Revision: 33488
2012-09-19 23:50:09 +00:00
Felix Fietkau
59b1d018b1 cns3xxx: fix the ethernet driver makefile
SVN-Revision: 33487
2012-09-19 23:50:06 +00:00
Felix Fietkau
c9139c150c cns3xxx: reorganize patches, fix pcie io space init order
SVN-Revision: 33486
2012-09-19 23:50:02 +00:00
Felix Fietkau
7cd4968d0e cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
SVN-Revision: 33485
2012-09-19 23:49:58 +00:00
Felix Fietkau
2f39fa872a cns3xxx: add missing callbacks for the laguna machine support
SVN-Revision: 33484
2012-09-19 23:49:50 +00:00
Florian Fainelli
57bd95734d brcm47xx/profiles/PS-1208MFG: remove reference to non-existing package
The package block-hotplug doesn't exist, refer to block-mount instead.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33474
2012-09-19 15:13:33 +00:00
Florian Fainelli
136eb6815c omap24xx/profiles/n810: remove reference to non-existing package
The package block-hotplug doesn't exist, removing reference to it.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33473
2012-09-19 15:13:30 +00:00
Hauke Mehrtens
db18fa388d update fix-boot patch.
Do not change the code any more but use the kconfig options

SVN-Revision: 33463
2012-09-19 10:18:36 +00:00
Hauke Mehrtens
eeb3ad1860 update gpio patches
SVN-Revision: 33462
2012-09-19 10:17:51 +00:00
Gabor Juhos
79ffd1032a ar71xx: fix a typo in TEW-637GRU image names
SVN-Revision: 33460
2012-09-18 14:32:25 +00:00
Gabor Juhos
9a11f882d7 ar71xx: revert DIR-825-B1 wholeflash image support.
It should be implemmented in a cleaner way.

This reverts the following commits:
[ar71xx] dir-825-b1: Fix wholeflash images
[ar71xx] dir825b1: Add image for DIR-825-B1 that uses the whole flash"

SVN-Revision: 33459
2012-09-18 14:30:57 +00:00
Florian Fainelli
ee16fea079 disable VFPv4 probing
This will make the kernel crash on systems using qemu < 1.1.0. Until fixed
disable VPFv4 capability probing.

SVN-Revision: 33458
2012-09-18 10:00:56 +00:00
Florian Fainelli
4d2fb44f0c partially revert r33403
The target CFLAGS were also accidentally changed

SVN-Revision: 33457
2012-09-18 10:00:46 +00:00
Gabor Juhos
a7c5c4390a ar71xx: register the NAND flash controller device on DB120
SVN-Revision: 33455
2012-09-17 20:30:57 +00:00
Gabor Juhos
7c85646176 ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
SVN-Revision: 33454
2012-09-17 20:30:55 +00:00
Gabor Juhos
3bdf0bc36f ar71xx: ar934x_nfc: increase DMA retry count
SVN-Revision: 33453
2012-09-17 20:30:54 +00:00
Gabor Juhos
b7cb43f6a6 ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
SVN-Revision: 33452
2012-09-17 20:30:53 +00:00
Gabor Juhos
96dde2e591 ar71xx: ar934x_nfc: fix RNDOUT operation
SVN-Revision: 33451
2012-09-17 20:30:51 +00:00
Gabor Juhos
338b698fb6 ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
SVN-Revision: 33450
2012-09-17 20:30:50 +00:00
Daniel Dickinson
0f254b4b67 dir-825-b1: Fix wholeflash images: Attempting to flash a wholeflash (-openwrt) image from the normal image would brick (but recoverable via emergency flash) the router if the wholeflash image was larger than the maximum size for a normal image. First we rename the -openwrt images to -wholeflash since -openwrt is really too generic. We also revert the changes to the regular dir-825-b1 image, which now is the same as before, but add a -towholeflash image which is almost the same as the regular dir-825-b1 image, but copies caldata to new location and allows flashing of images that use the full flash (except u-boot, u-boot-env, and caldata paritition space) (these are the -wholeflash images).
SVN-Revision: 33447
2012-09-17 14:17:12 +00:00
Felix Fietkau
e8893fdf7a ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
SVN-Revision: 33446
2012-09-17 11:17:29 +00:00
Felix Fietkau
ed14ffc7da ar71xx: fix WP543 image builds
SVN-Revision: 33413
2012-09-15 10:21:21 +00:00
John Crispin
223db72385 D-Link DAP-1350; Avoid bricking esw config
This is a patch to connect eth0.1 (lan) to the only
ethernet connector available.

D-Link DAP-1350 goes bricked with AA 12.09-beta.

This is because the current esw configuration for the
board connects eth0.2 (wan) to the *ONE and ONLY*
ethernet connector available, preventing initial access
to the board through 192.168.1.1 on eth0.1 after flashing,
effectively bricking the board.

There are things that should be done to make this board
really useful, but for AA 12.09, this one liner is
indispensable.

Signed of by Yoichi Shinoda <shinoda@jaist.ac.jp>

SVN-Revision: 33411
2012-09-15 09:28:28 +00:00
John Crispin
bf355f8ee9 ramips/rt3883: fix a typo in the ASUS profile
Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33410
2012-09-15 09:20:50 +00:00
Florian Fainelli
a2b29c591e partially revert r33403
SVN-Revision: 33409
2012-09-14 15:44:25 +00:00
Florian Fainelli
0d464a8ac3 set DEVICE_TYPE to developerboard
SVN-Revision: 33408
2012-09-14 15:37:51 +00:00
Florian Fainelli
42846febb9 fix sparc32 assembler failures with newer toolchains
SVN-Revision: 33407
2012-09-14 15:37:40 +00:00
Florian Fainelli
39ddc9105c refresh patches so they apply cleanly
SVN-Revision: 33406
2012-09-14 15:37:12 +00:00
Florian Fainelli
4128b8e189 set DEVICE_TYPE to developperboard
SVN-Revision: 33403
2012-09-14 15:36:33 +00:00
Florian Fainelli
2254fc2673 set DEVICE_TYPE to developperboard
SVN-Revision: 33402
2012-09-14 15:36:30 +00:00
Gabor Juhos
61dc6e65c0 ar71xx: merge machine support patches
SVN-Revision: 33389
2012-09-13 07:26:28 +00:00
Gabor Juhos
5804b9d1b7 ar71xx: register the NAND controller device on the RB2011
SVN-Revision: 33388
2012-09-13 07:26:26 +00:00
Gabor Juhos
4fd67c3cd4 ar71xx: add device registration code for the AR934x NAND flash controller
SVN-Revision: 33387
2012-09-13 07:26:25 +00:00
Gabor Juhos
10cd35c0e7 ar71xx: package the AR934x NAND driver module
SVN-Revision: 33386
2012-09-13 07:26:23 +00:00
Gabor Juhos
1e5fdbeae5 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
SVN-Revision: 33385
2012-09-13 07:26:22 +00:00
Gabor Juhos
acaf597f4a generic: add MTD_NAND_AR934X symbol
SVN-Revision: 33384
2012-09-13 07:26:21 +00:00
Gabor Juhos
43147ffec5 generic: move GENERIC_PWM symbol into the generic config
SVN-Revision: 33383
2012-09-13 06:38:31 +00:00
Gabor Juhos
40a5f5c16e ar71xx: define NAND controller base address and register size for AR934X/QCA955x
SVN-Revision: 33382
2012-09-12 19:06:38 +00:00
Gabor Juhos
0a42b02126 ramips/rt305x: add initial support for Rt5350 SoC
Somehow detecting the RAM size in common/setup.c doesn't
work here, it always detects 64M and then crashes on devices
with less RAM.
Probably using MEMC_REG_SDRAM_CFG1 to know the RAM size is how
it could be, for now I use the mem=32M kernel parameter to get
stuff working.

Signed-off-by: Daniel Golle <dgolle@allnet.de>

SVN-Revision: 33381
2012-09-12 19:03:12 +00:00
Hauke Mehrtens
95c141aaac add gpio sysfs entries
This fixes #10256

SVN-Revision: 33369
2012-09-11 15:04:20 +00:00
Gabor Juhos
4ee5b528de ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
SVN-Revision: 33362
2012-09-10 14:38:01 +00:00
Gabor Juhos
2e0e38ad69 ar71xx: fix QCA955X_EHCI_SIZE
SVN-Revision: 33360
2012-09-10 14:32:54 +00:00
Florian Fainelli
a36bdb2417 fix ixp4xx_hss build failure (#12162)
SVN-Revision: 33356
2012-09-10 08:53:21 +00:00
Jo-Philipp Wich
caa66bd150 fix description of nand/Ath5k profile (#12149)
SVN-Revision: 33352
2012-09-09 21:40:26 +00:00
Gabor Juhos
aa2f4d4c8d ar71xx: add initial support for RB2011UAS-2HnD
SVN-Revision: 33349
2012-09-09 14:05:32 +00:00
Gabor Juhos
3686e18727 ar71xx: use routerboot_find_tag to find wlan data offset on RB751
SVN-Revision: 33348
2012-09-09 14:05:30 +00:00
Gabor Juhos
ccabe4a1b4 ar71xx: add RouterBoot related helper routines
SVN-Revision: 33347
2012-09-09 14:05:28 +00:00
Gabor Juhos
2323120d5e generic add WLAN calibration data ID to routerboot.h
SVN-Revision: 33346
2012-09-09 14:05:26 +00:00
Gabor Juhos
44bf7c7cc1 ar71xx: define MTD partitions for RB2011
SVN-Revision: 33345
2012-09-09 14:05:24 +00:00
Gabor Juhos
6ae5ec16e0 ar71xx: add preliminary support for Mikrotik RB2011L
This patch adds preliminary support for the Mikrotik RB2011L.
The NAND flash is not yet supported, so only the initramfs
kernel can be used for now.

[juhosg: remove unnecessary PCI/USB related stuff, the board
does not use that, update commit message]

Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>

SVN-Revision: 33344
2012-09-09 14:05:22 +00:00
Gabor Juhos
94bac7366c ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
SVN-Revision: 33343
2012-09-09 14:05:20 +00:00
Gabor Juhos
7592057774 ar71xx: add dynamic MDIO clock calculation
SVN-Revision: 33342
2012-09-09 14:05:17 +00:00
Gabor Juhos
f3ecbea052 adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

SVN-Revision: 33341
2012-09-09 11:55:42 +00:00
Jonas Gorski
7708138183 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

SVN-Revision: 33340
2012-09-09 11:54:56 +00:00
Gabor Juhos
88a5478781 ar71xx: use the RLE library for RB751
SVN-Revision: 33338
2012-09-08 17:51:56 +00:00
Gabor Juhos
73df240bb3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

SVN-Revision: 33337
2012-09-08 17:51:54 +00:00
Gabor Juhos
f4be8a76de ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
SVN-Revision: 33335
2012-09-08 13:39:09 +00:00
Gabor Juhos
70d00ac64e ar71xx: refresh kernel patches
SVN-Revision: 33334
2012-09-08 13:39:04 +00:00
Florian Fainelli
6771d63284 use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

SVN-Revision: 33330
2012-09-08 09:51:05 +00:00
Daniel Dickinson
c3b7139ab2 dir825b1: Add image for DIR-825-B1 that uses the whole flash (must first be flashed with the 'standard' image) and an image to revert the change to allow reversion to stock firmware.
SVN-Revision: 33326
2012-09-06 18:15:26 +00:00