Commit graph

10265 commits

Author SHA1 Message Date
Gabor Juhos
93ce462b7e ar71xx: set eth0 mac address to match bottom label of the OM2P LC
Signed-off-by: marek@open-mesh.com
CC: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36723
2013-05-26 16:02:29 +00:00
Gabor Juhos
0842478e44 ar71xx: add TP-LINK TL-MR10U
Small router with 4MB flash, 32MB RAM
http://www.tp-link.com.cn/product_300.html

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36722
2013-05-26 16:02:26 +00:00
Luka Perkov
0998065a53 generic: ar8216: add port mirroring
Tested on Buffalo WZR-600DHP with ar8316 switch. Commands used to mirror both
RX and TX traffic from LAN port 1 to LAN port 4:

$ swconfig dev switch0 set enable_mirror_rx 1
$ swconfig dev switch0 set enable_mirror_tx 1
$ swconfig dev switch0 set mirror_monitor_port 4
$ swconfig dev switch0 set mirror_source_port 1

Signed-off-by: Colin Leitner <colin.leitner@googlemail.com>
Tested-by: Luka Perkov <luka@openwrt.org>

SVN-Revision: 36713
2013-05-24 13:10:22 +00:00
Felix Fietkau
fe7e52e4a4 ar71xx: disable jffs2 by default, it confuses users since many devices have incompatible eraseblock sizes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36679
2013-05-21 09:45:46 +00:00
Jonas Gorski
a01be4a217 kernel: update 3.9 to 3.9.3
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36676
2013-05-20 16:57:00 +00:00
Jonas Gorski
3ac261cd21 ar7: drop obsolete 3.3 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36674
2013-05-20 12:42:44 +00:00
Jonas Gorski
334e6d4e0c ar7: drop obsolete 3.6 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36673
2013-05-20 12:42:41 +00:00
Jonas Gorski
49c81c6e00 ar7: switch to 3.9
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36672
2013-05-20 12:42:38 +00:00
Jonas Gorski
c4b943c82c ar7: add support for 3.9
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36671
2013-05-20 12:42:36 +00:00
Jonas Gorski
4d0fcd0c49 kernel: add some missing symbols/move them to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36670
2013-05-20 12:42:32 +00:00
Jonas Gorski
b751b5893c brcm2708: make it boot on revision 2 raspberry pis
* update the bootcode.bin to the newest version
    - gpu/cpu mem split is now configured through config.txt, so no need
      to create more than one sd card image (just edit the config.txt)
    - bootcode.bin now supports the never revision 2 raspberry pis

  * add a commented prepopulated config.txt for easier config changes
    Taken from <https://github.com/Evilpaul/RPi-config>

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36668
2013-05-20 12:07:03 +00:00
Jonas Gorski
c0435a971e kernel: generic: add 3.10-rc1 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36663
2013-05-19 18:36:15 +00:00
Jonas Gorski
0a62b7c148 bcm63xx: add 3.9 support
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36660
2013-05-19 18:32:13 +00:00
Jonas Gorski
1f4e5f77a0 bcm63xx: Simplify CFE detection.
Check bootloader argument in mtd.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
[jogo@openwrt.org: split into two patches, one for detection,
                   one letting bcm63xxpart use it.]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36659
2013-05-19 18:32:02 +00:00
Jonas Gorski
6e2b85b401 kernel: update 3.9 to 3.9.2
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36658
2013-05-19 18:31:51 +00:00
Jonas Gorski
668604f91d kernel: don't remove of_tables
These are needed for OF setup of clocksource, clocks and irqchips.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36657
2013-05-19 11:27:28 +00:00
Felix Fietkau
56478636aa ar71xx: remove the xfrm.h chunk from the unaligned access hacks, it breaks ipsec
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36646
2013-05-17 07:31:00 +00:00
Felix Fietkau
144cfb65a4 ar71xx: add hard_cfg offset detection for rb2011 support - fixes wlan on some newer devices
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36631
2013-05-13 19:13:33 +00:00
Felix Fietkau
2c5a5d8736 kernel: add missing PHY ID for an AR8327 switch variant
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36630
2013-05-13 19:13:27 +00:00
Felix Fietkau
eea89fea6a build: add config symbols for different ARM arch levels
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36620
2013-05-13 15:04:58 +00:00
Jonas Gorski
526aedb705 kernel: move CONFIG_MIPS_SEAD3 to generic
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36617
2013-05-12 21:41:55 +00:00
Jonas Gorski
ed06d2ad5c bcm63xx: don't build CRAMFS
Don't build the CRAMFS file system module in the kernel, and save some bytes.

No bcm63xx board needs this obsolete file system, neither those ones using
the Redboot bootloader (liveboxes). Thus, there is no need to build it, since it has
been replaced long time ago by squashfs.

Signed-off-by: Daniel Gonzalez <dgcbueu@gmail.com>

SVN-Revision: 36616
2013-05-12 21:41:52 +00:00
Jonas Gorski
ccd7fbba87 led and buttons support for board DWV-S0
Signed-off-by: Gianluca Agliozzo <gianluca05@hotmail.it>
[jogo@openwrt.org: fixup patch so it actually applies]
Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36615
2013-05-12 21:41:50 +00:00
Jonas Gorski
0a907fdb8a bcm63xx: remove defconfig support
All boards use uci-defaults, no need to keep defconfig support.

SVN-Revision: 36610
2013-05-12 11:54:38 +00:00
Jonas Gorski
bbd02c6fb7 kernel: fix CVE-2013-1763 in older kernels
Newer kernels were already fixed by upstream.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36607
2013-05-12 10:55:12 +00:00
Felix Fietkau
0be8dd36dc ar71xx: set mips16 support, tune cflags for 34kc (works well on MIPS 24K as well, but helps a lot for 34K and 74K)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

SVN-Revision: 36600
2013-05-09 23:32:46 +00:00
Jonas Gorski
0b03ff2028 kernel: make zlib and lzo modules selectable
Fixes building kmod-lib-zlib and kmod-lib-lzo if nothing depends on them.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36592
2013-05-09 20:50:07 +00:00
Hauke Mehrtens
0b161c6f9e kernel: b53: use correct oops for bcm5365 switch
SVN-Revision: 36589
2013-05-09 20:01:58 +00:00
Jonas Gorski
98f6dc1b43 kernel: allow building zsmalloc as a module again
zsmalloc was changed to a bool because of missing exports in the kernel,
but we already export the required symbol, so change it back to tristate.

Closes #13481.

Signed-off-by: Jonas Gorski <jogo@openwrt.org>

SVN-Revision: 36587
2013-05-09 19:19:36 +00:00
Gabor Juhos
cb3d71ca8e ar71xx: use combined kernel image in the CameoHornet template
This allow us to increase the kernel partition size,
and ensures, that the -factory image still usable via
the original interface.

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

SVN-Revision: 36584
2013-05-08 17:11:10 +00:00
Gabor Juhos
f938a798f8 ar71xx: add profile and build image for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36582
2013-05-08 17:07:19 +00:00
Gabor Juhos
852b8e9490 ar71xx: add user-space model detection for the RNX-N360RT board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36581
2013-05-08 17:07:18 +00:00
Gabor Juhos
c70694e755 ar71xx: add profile and build image for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36580
2013-05-08 17:03:43 +00:00
Gabor Juhos
33a2cbfd5c ar71xx: add user-space support for Netgear WNDAP360
[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36579
2013-05-08 17:03:42 +00:00
Gabor Juhos
10b3ca5ccb ar71xx: add kernel support for Netgear WNDAP360
Here is corrected version (only thing not working are wifi LEDs).

[juhosg: this has been created from the following patch:
http://patchwork.openwrt.org/patch/3620/ ]

Signed-off-by: Jacek Kikiewicz <jaceq@aol.pl>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36578
2013-05-08 17:03:34 +00:00
Gabor Juhos
39467e78e7 kernel: update linux 3.9 to 3.9.1
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36577
2013-05-08 08:53:55 +00:00
Gabor Juhos
e57c7d6c12 kernel: update linux 3.8 to 3.8.12
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36576
2013-05-08 08:53:53 +00:00
Gabor Juhos
d09ba5ef10 ar71xx: Fix AP135 partition layout
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

SVN-Revision: 36575
2013-05-08 08:53:49 +00:00
John Crispin
eb10f052ce lantiq: enable portmaps again and set max port to 2
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36573
2013-05-07 10:58:52 +00:00
John Crispin
036fb79052 ramips: drop 3.7 support
Signed-off-by; John Crispin <blogic@openwrt.org>

SVN-Revision: 36572
2013-05-07 10:58:44 +00:00
John Crispin
16a17b318a ramips: properly setup the FEATURES variable
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36571
2013-05-07 10:58:30 +00:00
John Crispin
bd6e12d904 ramips: fix memory detection rt5350
Signed-off-by: Felix Kaechele <felix@fetzig.org>

SVN-Revision: 36568
2013-05-06 18:23:56 +00:00
John Crispin
899120ddef ramips: enable dsp extensions for rt305x and rt3883
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36567
2013-05-06 16:45:59 +00:00
John Crispin
849ff98669 ramips: fix fypo in ethernet driver rt288x, rt3883
Signed-off-by: Serge Vasilugin <vasilugin@yandex.ru>

SVN-Revision: 36565
2013-05-06 16:45:43 +00:00
John Crispin
eddd7f5773 ramips: Update ARC Freestation profile
These devices are actually built around the 8devices Carambola dev board.

ARC FreeStation, Flex mARC, iFlex, and SplitStation devices are
supported with this image, see "ARCFlex Firmware Downloads":
http://www.antennas.com/wiki/index.php?title=ARC-OS_Firmware_Downloads_and_Revision_History

Funnily enough if present the external USB wlan ends up being wlan-0, with the
SoC device being wlan-1.

- Invert port map so special handling of vlan config can be removed.
- Add LED config similar to original ArcOS firmware.
- Add GPIO export for enabling PoE passthrough from ethernet port 0 to port 1
- Get MACs from factory partition.
- Update description to list supported devices.
- Carambola uses RT3050 (not RT3052), though my Carambola CPU
  actually reports itself as being an RT3350 while still having
  RT3050F markings.

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

SVN-Revision: 36564
2013-05-06 16:45:35 +00:00
John Crispin
4f1ff28f08 ramips: Support setting active_low in devicetree gpio-export
Support setting active_low in devicetree gpio-export.

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

SVN-Revision: 36563
2013-05-06 16:45:27 +00:00
John Crispin
6af3b6721b ralink: unbreak uart pinmux handling
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36562
2013-05-06 16:45:20 +00:00
John Crispin
7c04b3bd66 ramips: fix gpio base numbering
make banks 0 based to unbreak userland ABI

Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36561
2013-05-06 16:45:12 +00:00
John Crispin
338ff04cab ramips: add gpio base properties to dtsi files
Signed-off-by: John Crispin <blogic@openwrt.org>

SVN-Revision: 36560
2013-05-06 16:45:04 +00:00
John Crispin
65760ede8b ramips: unbreak rt2880 support
Signed-off-by: John Crsipin <blogic@openwrt.org>

SVN-Revision: 36559
2013-05-06 16:44:56 +00:00