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

10081 Commits

Author SHA1 Message Date
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
kaloz
295c473ae4 Add FIQ support for cns3xxx
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33581 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:35:35 +00:00
kaloz
57ce687d38 Update board support for Gateworks Laguna Product family
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33580 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:34:18 +00:00
kaloz
07511ec793 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33579 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-28 17:31:22 +00:00
juhosg
6d33dda889 ar71xx: avoid possible NULL pointer dereference in ath79_init_{,local}_mac
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33575 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:42 +00:00
juhosg
da91b54f0f 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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33574 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 20:05:39 +00:00
juhosg
c4723d07e6 ramips: add memory detection code for RT5350
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 10:18:15 +00:00
juhosg
4110f0d379 ramips: allow to use custom code for memory size detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33570 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 10:18:14 +00:00
florian
ea2de79f86 [uml] include sys/resource.h in arch/um/os-Linux/start_up.c (#12155)
Required for recent (e)glibc systems

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33569 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 09:21:01 +00:00
kaloz
f1b159c402 [cns3xxx]: 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>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33566 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:07:17 +00:00
kaloz
1bf2f96f67 [cns3xxx]: add i2c retries
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33565 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:06:13 +00:00
kaloz
b966239c03 [cns3xxx]: fix pcie abort handling
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33564 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-27 08:05:19 +00:00
florian
c5fa20650a [brcm63xx] remove kmod-spi-bitbang
This is no longer a dependency of kmod-spi-bcm63xx

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33562 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 20:11:37 +00:00
juhosg
07d80167c0 generic: add upstream commit id to codel patches and refresh those
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33560 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 14:17:17 +00:00
florian
ee1a7a743e [kernel] backport the upstream entropy changes (#11951)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33559 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 12:54:01 +00:00
florian
62bcd38cc3 [targets] get rid of the IRQF_SAMPLE_RANDOM flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33558 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-26 12:53:58 +00:00
florian
237dcc5119 [mcs814x] add wmbus-repeater to the dLAN USB Extender profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33556 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:56:50 +00:00
florian
e47c1f32bb [mcs814x] enable multicast and advanced ip routers configs
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33555 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:53:34 +00:00
florian
9b1b55700d [mcs814x] add kmod-usb-serial-ftdi to the dLAN USB Extender profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33554 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 20:50:20 +00:00
blogic
01886f51dd [ramips] make uci-defaults switch detection work on rt5350
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33549 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:47:18 +00:00
blogic
e9a777ed10 [ramips] add ethernet support for rt5350
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33548 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:47:08 +00:00
blogic
90960d25b1 [ramips] make ramips ethernet use a register mapping table
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33547 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:46:58 +00:00
hauke
98837afb76 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33544 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 14:04:59 +00:00
juhosg
a23e652340 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.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33540 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:57:41 +00:00
juhosg
417602ac1e ar71xx: automatically find WLAN calibration data on TEW-673GRU
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33539 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:57:40 +00:00
juhosg
bb4a32bb81 ar71xx: automatically find WLAN calibration data on DIR-825-B1
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33538 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:57:38 +00:00
juhosg
39348acc10 ar71xx: add missing backslash to uci-defaults/leds (closes #12240)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33537 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 12:49:43 +00:00
blogic
ba6ee81454 [ramips] unbreak port mapping detection
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33536 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-25 09:51:48 +00:00
juhosg
a7bf55a712 ar71xx: use different machtype and setup for the TL-MR3040
Should fix #12211. Compile tested only.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33535 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-24 18:45:56 +00:00
nbd
476060c78a x86: avoid using grub prepare when using grub2
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33525 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-23 09:59:56 +00:00
nbd
9fab9ffb98 x86-generic: enable a few more common kernel options/drivers
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33516 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:29:20 +00:00
nbd
02074f1f37 kernel: increase log buffer size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33515 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 23:10:42 +00:00
nbd
5e6024e9f9 x86: enable usb storage support for the generic subtarget to support booting from usb devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33514 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 21:15:59 +00:00
nbd
e2b0f224fb x86: add support for building grub2 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33513 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:42 +00:00
nbd
e3c123c82b x86: split generic image building into a separate script
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:35 +00:00
nbd
ea979190c1 x86: rename gen_image_x86.sh to gen_image_grub.sh
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33510 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 20:10:31 +00:00
nbd
cc4fec07c7 cns3xxx: fix ethernet driver tx completion and queue stop/start
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33504 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:53 +00:00
nbd
ddbfaa46f7 cns3xxx: implement ethernet fraglist tx support for improved bridging performance with jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33503 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-22 00:34:49 +00:00
kaloz
e3342242df [cns3xxx]: move gpio stuff into the right file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33502 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:40:04 +00:00
kaloz
053d207b3c [generic/3.3]: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33501 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 05:38:16 +00:00
nbd
42b2ad0d3b cns3xxx: add a small optimization for rx offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33500 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:12 +00:00
nbd
9097df315e cns3xxx: fix ethernet port lookup for multi-descriptor jumbo frames
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33499 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-21 00:13:08 +00:00
nbd
1a638ea9ad cns3xxx: fix ethernet packet alignment issues (hw has an alignment requirement of 64), fix skb fragment chaining
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33498 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:18 +00:00
nbd
6c383cf512 kernel: enable perf events when enabling profiling, fixes oprofile on arm
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33497 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 20:27:14 +00:00
hauke
beb93dd4a3 [brcm47xx]: 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.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33496 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-20 14:51:57 +00:00
nbd
7abd95f8ec cns3xxx: remove the broken flag
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33493 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:25 +00:00
nbd
2f58535c56 cns3xxx: fix kernel config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33492 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:22 +00:00
nbd
bae52cf056 cns3xxx: fix ethernet jumbo-frame support, use single-page rx buffers and skb fragment lists
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33491 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:18 +00:00
nbd
c206ff5a5d cns3xxx: fix ethernet tx checksum offload
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:15 +00:00
nbd
7cb76ea6ab cns3xxx: merge ethernet driver changes from gateworks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33489 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:12 +00:00
nbd
2a134ef25a cns3xxx: build images for the old boot loader and the new one (default to the new one)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33488 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:09 +00:00
nbd
d6c5497a48 cns3xxx: fix the ethernet driver makefile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33487 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:06 +00:00
nbd
d898c2926f cns3xxx: reorganize patches, fix pcie io space init order
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33486 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:50:02 +00:00
nbd
21cd9bc80a cns3xxx: move virtual io addresses to vmalloc space to fix kernel BUG() calls
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33485 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:58 +00:00
nbd
77da9ae1d3 cns3xxx: add missing callbacks for the laguna machine support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33484 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 23:49:50 +00:00
florian
b385661768 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33474 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:33 +00:00
florian
5714253063 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33473 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 15:13:30 +00:00
hauke
49bdd0278a [brcm47xx]: update fix-boot patch.
Do not change the code any more but use the kconfig options


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33463 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:18:36 +00:00
hauke
11e47465cc [brcm47xx]: update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-19 10:17:51 +00:00
juhosg
484998f83f ar71xx: fix a typo in TEW-637GRU image names
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33460 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:32:25 +00:00
juhosg
0cfc5d05b3 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"

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33459 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 14:30:57 +00:00
florian
b079ac667f [realview] disable VFPv4 probing
This will make the kernel crash on systems using qemu < 1.1.0. Until fixed
disable VPFv4 capability probing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33458 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 10:00:56 +00:00
florian
d68d56b155 [realview] partially revert r33403
The target CFLAGS were also accidentally changed

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33457 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-18 10:00:46 +00:00
juhosg
a384f7bf1b ar71xx: register the NAND flash controller device on DB120
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33455 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:57 +00:00
juhosg
88d42e3e5a ar71xx: ar934x_nfc: remove unused oob parameter of ar934x_nfc_send_read
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33454 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:55 +00:00
juhosg
52f5b88b84 ar71xx: ar934x_nfc: increase DMA retry count
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33453 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:54 +00:00
juhosg
5c9038f12e ar71xx: ar934x_nfc: optimize READOOB operation on large page devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33452 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:53 +00:00
juhosg
56caae5b72 ar71xx: ar934x_nfc: fix RNDOUT operation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33451 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:51 +00:00
juhosg
5cf642fa6f ar71xx: ar934x_nfc: fix READ{0,1} operation on large page devices
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33450 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 20:30:50 +00:00
cshore
4e7d8aa302 [ar71xx] 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).
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33447 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 14:17:12 +00:00
nbd
6cd281447f ar71xx: add missing code for ar933x WMAC reset that was left out during the ar71xx->ath79 migration, should fix wifi stability issues on ar933x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33446 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-17 11:17:29 +00:00
nbd
9d164b87ca ar71xx: fix WP543 image builds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33413 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 10:21:21 +00:00
blogic
8d4ebc34f0 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33411 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 09:28:28 +00:00
blogic
d41175cdb1 ramips/rt3883: fix a typo in the ASUS profile
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33410 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-15 09:20:50 +00:00
florian
f85f3848d7 [realview] partially revert r33403
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33409 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:44:25 +00:00
florian
933cabf6c9 [leon] set DEVICE_TYPE to developerboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33408 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:51 +00:00
florian
d15b926afd [leon] fix sparc32 assembler failures with newer toolchains
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33407 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:40 +00:00
florian
d88f9818d8 [leon] refresh patches so they apply cleanly
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33406 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:37:12 +00:00
florian
e2f7aae0b9 [realview] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33403 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:33 +00:00
florian
79df2ee02b [malta] set DEVICE_TYPE to developperboard
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33402 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-14 15:36:30 +00:00
juhosg
f74bd75daa ar71xx: merge machine support patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33389 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:28 +00:00
juhosg
e9a522de9e ar71xx: register the NAND controller device on the RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33388 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:26 +00:00
juhosg
39bdbbc7fc ar71xx: add device registration code for the AR934x NAND flash controller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33387 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:25 +00:00
juhosg
8788b410ee ar71xx: package the AR934x NAND driver module
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33386 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:23 +00:00
juhosg
ce47c98d07 ar71xx: ar934x_nfc: experimental NAND Flash Controller driver for AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33385 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:22 +00:00
juhosg
9edd5a0ba0 generic: add MTD_NAND_AR934X symbol
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33384 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 07:26:21 +00:00
juhosg
93a698140f generic: move GENERIC_PWM symbol into the generic config
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33383 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-13 06:38:31 +00:00
juhosg
e96ea88268 ar71xx: define NAND controller base address and register size for AR934X/QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33382 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:06:38 +00:00
juhosg
de071d14f7 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33381 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-12 19:03:12 +00:00
hauke
c96bed78c2 [brcm47xx]: add gpio sysfs entries
This fixes #10256


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33369 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-11 15:04:20 +00:00
juhosg
29f447b9fd ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on QCA955x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33362 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:38:01 +00:00
juhosg
e1ee097247 ar71xx: fix QCA955X_EHCI_SIZE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33360 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 14:32:54 +00:00
florian
405e94ce42 [generic] fix ixp4xx_hss build failure (#12162)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33356 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-10 08:53:21 +00:00
jow
20856122c5 [ar71xx] fix description of nand/Ath5k profile (#12149)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33352 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 21:40:26 +00:00
juhosg
4b7be33ba5 ar71xx: add initial support for RB2011UAS-2HnD
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33349 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:32 +00:00
juhosg
25dbd4639c ar71xx: use routerboot_find_tag to find wlan data offset on RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33348 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:30 +00:00
juhosg
d0d14675bb ar71xx: add RouterBoot related helper routines
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33347 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:28 +00:00
juhosg
2622bc18da generic add WLAN calibration data ID to routerboot.h
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33346 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:26 +00:00
juhosg
4834938a89 ar71xx: define MTD partitions for RB2011
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33345 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:24 +00:00
juhosg
775e69dfac 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>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33344 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:22 +00:00
juhosg
527f8049cd ar71xx: use dynamic clock dividers on the 2nd MDIO of AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33343 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:20 +00:00
juhosg
c4b6e540e4 ar71xx: add dynamic MDIO clock calculation
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33342 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 14:05:17 +00:00
juhosg
38ca354ccc adm5120: move common routerboot definitions into a separate header file
Those will be used on the ar71xx platform as well.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33341 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:55:42 +00:00
jogo
5e5c7d5aa1 bcm63xx: fix WPS button polarity for Alice Gate VoIP 2 + Wifi
Fixes booting the device with button hotplug enabled (#10785).

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33340 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-09 11:54:56 +00:00
juhosg
3868d762d1 ar71xx: use the RLE library for RB751
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33338 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:56 +00:00
juhosg
6142d590e3 ar71xx: add library code for RLE decoding
It will be used for the MikroTik boards.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33337 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 17:51:54 +00:00
juhosg
41be3a0bd3 ar71xx: fix CPU/DDR frequency calculation for SRIF PLLs on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33335 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:09 +00:00
juhosg
6f0a45267a ar71xx: refresh kernel patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33334 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 13:39:04 +00:00
florian
08b17128a1 [mcs814x] use the recommended ARM I/O accessors
use {read,write}l_relaxed instead of the plain __raw_{read,write}l variants.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33330 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-08 09:51:05 +00:00
cshore
60244743f9 [ar71xx] 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.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33326 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 18:15:26 +00:00
luka
507c46269b lantiq: fix sx76x default uci network configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33324 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-06 00:09:46 +00:00
florian
d6378b5278 [mcs814x] add some ohci workarounds to make ohci work
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33323 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:19:29 +00:00
juhosg
dddb52eedf ramips: Add missing andmask to ramips_esw register read for recv_good value.
Add missing andmask to ramips_esw register read for recv_good value.

Without the mask, recv_bad leaks into the recv_good packet count.
Didn't notice the bug before since you don't usually get bad
packets, so I only saw it when I was playing with overlength packets
earlier...

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33322 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:43 +00:00
juhosg
07073dcb27 ramips: Use doubletagging to disable ramips_esw vlan by default, it seems more reliable.
Use doubletagging to disable ramips_esw vlan by default, it seems
more reliable.

Daniel Golle found an issue where sometimes (possibly only for
RT3352) the default vlan disable method (clearing en_vlan, untag,
doubletag and putting all ports into vlan 0) doesn't work and the
packets get sent out vlan-tagged with vlan 0.

Instead switch to using the doubletagging method (allow doubletagged
packets, put all ports into vlan 0 with untag enabled) by default.

Unless someone figures out a way to really globally disable vlan for
this switch, this seems like the best (most reliable) option.

I did some tests regarding maximum packet size and did not see any

difference between the two methods, both allow for slightly bigger packets
than the ramips_main.c ethernet driver (ping stops going through
above "ping -s 1472" (1514 bytes), on the switch packets are recv_good until
"ping -s 1490", or about 1532 bytes).

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33321 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 20:08:42 +00:00
blogic
e937e774c9 [x86] add missing kvm_guest kernel options
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33319 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:38:42 +00:00
juhosg
34d7147aef ar71xx: use correct fractional dividers for {CPU,DDR}_PLL on AR934x
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33318 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:26:50 +00:00
juhosg
b4336504ba ar71xx: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33317 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:51 +00:00
juhosg
cb29036b4a ramips: add rssileds to package set in profile for devices which got them.
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33316 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-05 19:22:48 +00:00
florian
8e3e58e908 [mcs814x] enable CFI command set 0002 FORCE_WORD_WRITE
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33315 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:51 +00:00
florian
902cbf7fcc [mcs814x] pad squashfs image
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33314 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:46 +00:00
florian
cfcbecc91d [mcs814x] add Generic and dLAN USB Extender profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33313 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 20:25:40 +00:00
florian
cfcb04f63c [mcs814x] nuport-mac: disable MAC RX and TX during interface close
Fixes sporadic crashes while reconfiguring the network interface.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33312 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-09-03 10:26:01 +00:00
juhosg
311f77fe3e Revert "ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240"
That was based on assumptions.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33310 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:55 +00:00
juhosg
32b0679079 ar71xx: all0315n: fix ethernet according to vendor info
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33309 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:54 +00:00
juhosg
ddc3f6ec51 ar71xx: add RSSI LEDs of ALL0315N to uci-defaults/leds
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33308 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:53 +00:00
juhosg
0802aeffc1 ramips: add kmod-usb-ohci to defaults packages in profile of ALL5002
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33307 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:51 +00:00
juhosg
c4ce5d343d ramips: make built-in switch transparent for ALL0256N and ALL5002
This allows them to transparently communicate with an external VLAN switch.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33305 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:47 +00:00
juhosg
2a86045d51 ramips: Power down phy on disabled switch ports
Power down phy on disabled switch ports.

Haven't measured this myself yet, but according to this
http://www.8devices.com/community/viewtopic.php?f=6&t=156
it can save about 300mW of power.

[juhosg: fix checkpatch warning]

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33304 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:45 +00:00
juhosg
0464c077a4 ramips: Add support for 8devices Carambola dev board.
Add support for 8devices Carambola dev board.

The Carambola is a small RT3050-based development board with two
ethernet ports, on-board chip antenna, usb and plenty of accessible
gpio ports, sold by 8devices.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33303 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:43 +00:00
juhosg
4cf75bc115 ramips: Rename POC registers
Rename POC registers.

The current code uses POC1-POC3.

The datasheet uses:
POC1: Port Control 0
POC1: Port Control 1
POC2: Port Control 2

So the first POC1 is a typo that should have been POC0, rename the
registers to POC0-POC2 accordingly.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33302 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:41 +00:00
juhosg
1bac05a581 ramips: Minor ramips_esw.c cleanup
Stop handling VLAN setup in the kernel.
Removes the obsolete RT305X_ESW_VLAN_CONFIG_BYPASS option I added for
WL-351 and add some extra comments.
Also removes the en_vlan per-port flag that isn't very useful really, it now
is only controlled by the global enable_vlan flag.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33301 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:40 +00:00
juhosg
90dab951da ramips: Add switch setup to uci network defaults
Add switch setup to uci network defaults.

The 'lan' attribute is used to decide into which vlan to put the
port.
Currently 'disable' is never set, but the intention is to use this
for devices like the 8devices Carambola, which only has two ports
hooked up to the SoC.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33300 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:38 +00:00
juhosg
746f915308 ramips: Add swconfig support to ramips_esw.c
Add swconfig support to ramips_esw.c

This patch adds swconfig support for ramips_esw:

Tested on both D-LINK DIR-300 B1 and Sitecom WL-351 (external
rtl8366rb on internal port 5).
I've made sure that in the enable_vlan=0 case it behaves like a dumb
switch, so external switches should work fine with vlans and
verified this on the WL-351.

The current state shown by swconfig is always read directly from HW
registers, new settings only show after 'swconfig dev rt305x set apply'.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33299 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:36 +00:00
juhosg
d6de6b1e83 ramips: ramips_esw.c indentation cleanup
Minor indentation cleanup.

Prepare for the main swconfig patch by cleaning up indentation a bit.

Signed-off-by: Tobias Diedrich <ranma+openwrt@tdiedrich.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33298 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:35 +00:00
juhosg
80cd7e164b ar71xx: image: fix Profile name for TL-WA701 (closes #12094)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33295 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:37:30 +00:00
juhosg
1631af0254 ar71xx: Buffalo WZR-HP-AG300H LED support
An improved LED support for Buffalo WZR-HP-AG300H.

There will be two new packages to go with this patch
(ar922x-led-fix-hotplug and ar922x-led-fix-init).
These packages essentially perform the same task of
disabling "JTAG over GPIO pins" function which is
currently required for LEDs on AR922x emac GPIO to work,
and are both considered a temporary fix that circumvent
this problem.

[juhosg: add the hotplug script from the proposed
ar922x-led-fix-hotplug package to ar71xx/base-files]

Signed-off-by: Yoichi Shinoda <shinoda@jaist.ac.jp>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33294 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-29 10:11:55 +00:00
juhosg
c4f6306026 gemini: fix bus ids for PHY devices (closes: #12082)
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33288 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 18:09:57 +00:00
juhosg
8bdd622adf ar71xx: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33287 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:38 +00:00
juhosg
54b8dcd696 ar71xx: generate image for ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33286 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:37 +00:00
juhosg
cedfbc3c41 ar71xx: sysupgrade for the ALL0315N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33285 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:36 +00:00
juhosg
61de747998 ar71xx: rename all0258n.sh to allnet.sh
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33284 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:35 +00:00
juhosg
9432be698b ar71xx: detect ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33282 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:32 +00:00
juhosg
2065e21ba2 ar71xx: add support for the Allnet ALL0315N board
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33281 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:31 +00:00
juhosg
aec6c8f610 ar71xx: only allow RGMII mode on the 2nd ethernet MAC of the AR7240
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33280 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-27 14:55:26 +00:00
juhosg
2ab17c92ac generic: add support for the EON EN25Q64 SPI flash chip
It is used in some TL-WDR4310 devices. Closes #12077.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33275 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 09:27:56 +00:00
juhosg
dbf3c1bc27 ar71xx: unbreak building images for TL-WR1041N-v2, TL-WR2543N
Commit 4878806326 (r33251) introduced a
regression with board= kernel command line parameter incorrectly
initialised.

The faulty builds propogated to the snapshots download area. This makes
the device unbootable and TP-Link users have to attach the serial to
recover.

Here is the q&d way i used to identify MIPS boards that didn't have a
corresponding entry in the image/Makefile:

for i in `find ../files/arch/mips/ath79/ -type f -exec cat {} \; \
	| sed -n '/MIPS_MACHINE/ { s/^[^"]*"\([^"]*\)".*$/\1/; p; }'`; do
		grep -q ,$i, Makefile || echo $i;
done > missing-boards.new

Reported-by: Casper on IRC
Signed-off-by: Paul Fertser <fercerpav@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33274 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 08:15:11 +00:00
juhosg
c76c0db809 ar71xx: image: fix TL-WR1043ND board id (#12079)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33272 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-26 06:30:37 +00:00
blogic
8686fda525 [kirkwood] Enable eSATA sheevaplug
OpenWRT runs in a eSATA sheevaplug like a charm. This patch just enables
CONFIG_MACH_ESATA_SHEEVAPLUG so the proper MACHINE_START definition
is compiled in.

Signed-off-by: Unai Uribarri <unaiur@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-24 06:15:06 +00:00
juhosg
a67ed5995a ar71xx: image: group and sort {Single,Multi}Profiles
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33264 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:17:47 +00:00
juhosg
069b91b062 ar71xx: image: group and sort mtdlayout definitions
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33263 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:14:35 +00:00
juhosg
9b5adee41c ar71xx: image: use the MultiProfile helper for the Madwifi profile
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33262 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:11:25 +00:00
juhosg
435453d8a3 ar71xx: image: automatically build a list of SingleProfiles
Use that for Default/Minimal profiles.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33261 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:08:15 +00:00
juhosg
c867446b4a ar71xx: image: use the new helpers for the ZyXEL images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33260 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:05:05 +00:00
juhosg
4f6630ddb2 ar71xx: image: use the new helpers for the Zcomax images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33259 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 13:01:55 +00:00
juhosg
3645b6d44e ar71xx: image: use the new helpers for the WRT400 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33258 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:58:45 +00:00
juhosg
072e9e5744 ar71xx: image: use the new helpers for the WZRHPG30XNH images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33257 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:55:35 +00:00
juhosg
fe826b8e2c ar71xx: image: use the new helpers for the WHRHPG300N images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33256 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:52:25 +00:00
juhosg
41d5b181ae ar71xx: image: use the new helpers for the UBNTXM images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33255 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:49:15 +00:00
juhosg
cdddcb4ede ar71xx: image: use the new helpers for the UBNT images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33254 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:46:06 +00:00
juhosg
08ae5bbdaa ar71xx: image: use the new helpers for the TPLINKOLD images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33253 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:42:56 +00:00
juhosg
3af6ef2080 ar71xx: image: use the new helpers for the TPLINK-LZMA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33252 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:39:46 +00:00
juhosg
4878806326 ar71xx: image: use the new helpers for the TPLINK images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33251 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:36:35 +00:00
juhosg
2df83311ab ar71xx: image: use the new helpers for the Planex images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33250 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:33:25 +00:00
juhosg
89b72fa088 ar71xx: image: use the new helpers for the PB4X images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:30:15 +00:00
juhosg
cd5096a452 ar71xx: image: use the new helpers for the OpenMesh images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:27:06 +00:00
juhosg
c5fd4a67fa ar71xx: image: use the new helpers for the Netgear images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33247 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:23:56 +00:00
juhosg
57b7bec0b0 ar71xx: image: use the new helpers for the MyLoader images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:20:46 +00:00
juhosg
55c69ab521 ar71xx: image: use the new helpers for the DIR825B1 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33245 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:17:36 +00:00
juhosg
449961173c ar71xx: image: use the new helpers for the CyberTAN images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33244 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:14:26 +00:00
juhosg
98d04da6fa ar71xx: image: use the new helpers for the Cameo933x images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33243 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:11:17 +00:00
juhosg
fb9ba483e0 ar71xx: image: use the new helpers for the Cameo913x images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:08:07 +00:00
juhosg
9073bd44bb ar71xx: image: use the new helpers for the Cameo7240 images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33241 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:04:57 +00:00
juhosg
768c8436a9 ar71xx: image: use the new helpers for the AthGzip images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33240 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 12:01:47 +00:00
juhosg
1c1bce03f5 ar71xx: image: use the new helpers for the AthLzma images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33239 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:58:37 +00:00
juhosg
35070c0487 ar71xx: image: use the new helpers for the ALFA images
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33238 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:55:27 +00:00
juhosg
15ae10b4f4 ar71xx: image: add a few helper functions
These functions will be used to simplify the Makefile.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33237 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:52:18 +00:00
juhosg
0f07b6e127 ar71xx: image: pass mtdlayout as a separate parameter for the ALFA template
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33236 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-23 11:49:07 +00:00
hauke
7ef43e5fe3 [brcm47xx] update profiles
* add profile for BCM4705 based SoC using tg3 instead of b44
* remove redundant 105-Atheros.mk
* reorder


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33235 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 21:54:06 +00:00
juhosg
1d7b7628b0 ar71xx: add profile and build image for the TEW-712BR
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33234 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:18:44 +00:00
juhosg
73fc90f4ec ar71xx: TEW-712BR user space support
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33232 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:12:24 +00:00
juhosg
616abf736e ar71xx: add support for the TRENDnet TEW-712BR board
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33231 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 20:09:13 +00:00
juhosg
7229c99fe8 ar71xx: fix serial clock calculation on AR933x
Closes #12031.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33230 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 19:11:10 +00:00
juhosg
7560aeed3f ramips: fix board parameter for the NBG-419N (#12061)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33229 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 17:55:12 +00:00
juhosg
e56ca07f84 ar71xx: fix comment style in mach-tl-wr2543n.c
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33227 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:42:59 +00:00
juhosg
13378c7f3c ar71xx: fix mtd layout of the AP113
The 'mtdparts=' prefix and the name of the flash device is missing.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33226 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:39:46 +00:00
juhosg
e93bbe322d ramips: add profile for Allnet devices
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33225 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:36:35 +00:00
juhosg
d27564d094 ar71xx: add ALL0305 board alias
For the pure convenience of having a correctly named
image and system name in /proc/cpuinfo , until we can
do that by having system names in DTS...

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33224 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 12:33:22 +00:00
juhosg
1244bd5f56 ramips: add RSSI leds for uci-defaults for ALL0256N
Signed-off-by: Daniel Golle <dgolle@allnet.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33220 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:46:30 +00:00
juhosg
1eb25d5c4f ar71xx: add support for TP-Link TL-WDR3600
The TL-WDR3600 is identical to the TL-WDR4300 with the exception that is has
only two antennas.

[juhosg: remove the custom machine type, change the board name instead]

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33219 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:43:18 +00:00
blogic
deae75dd41 [tools] tools/firmware-utils/ptgen option to use MB rounding
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33218 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:22:38 +00:00
blogic
fdbde13d03 add led defintion for the WR2543 5GHz WLAN LED
Signed-off-by: Andy Leiserson <andy@leiserson.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33215 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-22 09:10:24 +00:00
hauke
c06e6983c0 [brcm47xx] remove unused file
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33210 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 15:45:18 +00:00
hauke
b7397011b8 [brcm47xx] make brcm47xx build only with bcma or only with ssb support.
There are some ifdefs missing so when only ssb or only bcma was
selected in the kernel config it did not build.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33209 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 14:08:35 +00:00
hauke
95f384c9a9 [brcm47xx] update gpio patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33208 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-18 11:51:35 +00:00
juhosg
6f559fde75 ramips: add board alias for the ALL0239-3G
Generate image for the ALL0239-3G which can be flashed through the
chipset-vendor SDK based firmware's web-interface and bootloader.

The bootloader seems to ignore uImage checksum errors, but does complain about
them once the 0xDEADC0DE was replaced by an actual JFFS2 page.

I'm working on implementing fixtrx for uImage in the mtd package to solve this.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33206 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:07 +00:00
juhosg
cf26194ba9 ramips: add support for D-Link DIR-615 H1
rt2x00 still needs some patching as the radio doesn't come to life.
Installation via webflash.

[juhosg: fix whitespace issues, remove rt305x_register_usb
from machine setup because the board has no USB port]

Signed-off-by: Mikko Hissa <mikko.hissa@uta.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33205 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-17 17:56:05 +00:00
juhosg
79c262e038 ar71xx: setup WLAN LED for the TL-WA901ND v2
Closes #11889.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33202 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-08-16 07:11:30 +00:00