Commit Graph

25498 Commits (8568406448bbc76e68204064656eac2a10b5bd7b)

Author SHA1 Message Date
Gabor Juhos 8568406448 ramips: add user-space support for the Planex MZK-W300NH2 Router
Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:38 +00:00
Gabor Juhos bff7d5f388 ramips: rt305x: add kernel support for the Planex MZK-W300NH2 Router
This is a Japanese market router, for details check
http://www.planex.co.jp/product/router/mzk-w300nh2/. It has only 16MB
RAM, but base OpenWRT install worked fine for days without issues.
Even an image with built-in Luci worked, but don't expect smooth
experience, due to the lack of RAM. Wifi was not extensively tested,
but seems it is working. GPIO LEDs & buttons, factory flash image and
switch config are confirmed working. Tested against revision 34882 +
this patch.

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Samir Ibradžić <sibradzic@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/3077/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:35 +00:00
Gabor Juhos d2b071d6d3 ramips: build image for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:34 +00:00
Gabor Juhos 6d33750ae7 ramips: add user-space support for Airlive AIR3GII
Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:32 +00:00
Gabor Juhos fe3c9a045f ramips: rt305x: add kernel support for AirLive AIR3GII
AirLive AIR3GII is Ralink RT5350F based device with
100Mbps switch, USB port, 4MB flash and 32MB ram.

Works: ethernet (LAN & WAN), wps button, led, USB, sysupgrade
Does not work: wifi (chip RT5350), reset button

[   13.390000] phy0 -> rt2800_init_eeprom: Error - Invalid RT chipset 0x5350 detected.
[   13.400000] phy0 -> rt2x00lib_probe_dev: Error - Failed to allocate device.

Other problem: LAN leds is reverse (lights when not cable
connected and vice versa)

[juhosg: move user-space support and image generation changes into
separate patches]

Signed-off-by: Cezary Jackiewicz <cezary.jackiewicz@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/2913/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 17:50:28 +00:00
Gabor Juhos 76d465b18f ar71xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34920 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:31 +00:00
Gabor Juhos b0c73c52bc ar71xx: Build the AP135 images
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34919 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:28 +00:00
Gabor Juhos 23d30c887d ar71xx: Add userspace support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:27 +00:00
Gabor Juhos 78720628cc ar71xx: Add support for AP135
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 16:02:24 +00:00
Gabor Juhos d1ec292ab4 ar71xx: use a backported patch to fix AR933x UART baud rate calculation
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 13:52:38 +00:00
Felix Fietkau 5a81cbc7e3 cmake.mk: add support for overriding the source dir, and define the cmake prefix path to avoid picking up host libraries for target builds (patch by Henning Rogge)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 11:12:31 +00:00
Steven Barth fc35fadc1b ipv6-support: Use more consistent default values
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-29 10:12:31 +00:00
Felix Fietkau 2066816243 ar71xx: change the unaligned access hack to assume an alignment of 2 bytes, slightly improves performance and code size
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:30:24 +00:00
Felix Fietkau 52db048af3 mac80211: refresh patches
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:57 +00:00
Felix Fietkau ff6fdc0f9b mac80211: assume 2-byte aligning for 802.11 packets, slightly improves code size and performance
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 21:05:49 +00:00
Felix Fietkau c28528a913 mips: use -mno-branch-likely for kernel and userspace, saves ~11k kernel size after lzma and ~12k squashfs size in the default configuration
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 19:17:19 +00:00
Steven Barth 7bd61ec3c9 ipv6-support: Updated functionality
* Add site-border feature again
* Add option to always announce a default router

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:22 +00:00
Steven Barth fc3fe40330 6distributed: Add null-route for delegated prefix
* Fixes forwarding loops for unused subprefixes

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:17 +00:00
Steven Barth d9720b53f1 6relayd: Announce DNS search domain via DHCPv6
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-28 12:02:12 +00:00
Felix Fietkau 4706d2fcd1 kernel: remove the cisco SIP NAT patch, at least on 3.6 it crashes
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 22:59:51 +00:00
Hauke Mehrtens 1c1842cb5d brcm47xx: bcma: correct M25P32 serial flash ID
Thank you Rafał Miłecki.


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 19:18:40 +00:00
Felix Fietkau 29e5082560 uci: update to latest version (adds list delete support), enable parallel build
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 17:37:10 +00:00
Steven Barth 1f93761a65 ipv6-support: Remove site-border feature
* was causing routing problems
* will be reimplemented using firewall

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:53 +00:00
Steven Barth 97f157187d Remove site-border routing filter due to problems
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 15:47:47 +00:00
Steven Barth 81dbe78117 ipv6-support:
* Automatically detect and propagate MTU from upstream interfaces
* Add site-border feature (RFC 6204, ULA-4)
* Fix a typo

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:17 +00:00
Steven Barth 969eddef42 6distributed: feature update
* Add feature to decrease IPv6-specific MTU on-demand
* Add commands to enable / disable a site-border

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:12 +00:00
Steven Barth 5d14d45927 6relayd: Advertise IPv6-specific MTU instead of generic
* Fixes announced MTU when using tunnels

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:07 +00:00
Steven Barth 625d2318ae base-files: Fix a typo in config_list_foreach
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-27 14:10:01 +00:00
Gabor Juhos f05d5c0c05 mpc83xx: add support for 3.7
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:54 +00:00
Gabor Juhos b3e98b2ff9 mpc83xx: nuke 3.3 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:51 +00:00
Gabor Juhos 47f58d1702 mpc83xx: switch to 3.6.11
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:50 +00:00
Gabor Juhos 5169dcd9ba mpc83xx: add support for 3.6
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:48 +00:00
Gabor Juhos b21cebc6e0 mpc83xx: create package for the rbppc_cf module
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:47 +00:00
Gabor Juhos f12c128739 generic: more missing symbols for 3.{6,7}
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34887 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 10:40:41 +00:00
Gabor Juhos 907e67ea6a ar71xx: build image for the AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:37 +00:00
Gabor Juhos c75b77b225 ar71xx: add user-space support for AP136-020
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:36 +00:00
Gabor Juhos 02a40a7483 ar71xx: add kernel support for the AP136-020 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:34 +00:00
Gabor Juhos 5662c6a1b4 ar71xx: rename AP136 to AP136-010
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-26 09:50:31 +00:00
Gabor Juhos e6d9174a4d ar71xx: dynamically set AR8327's PAD configuration on AP136
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:32 +00:00
Gabor Juhos 2e918d7ca5 generic: ar8216: add sgmii_delay_en field to ar8327_platform_data
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:31 +00:00
Gabor Juhos 17bb18be18 ar71xx: ag71xx: show PHY interface mode in dmesg
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-25 18:45:29 +00:00
Gabor Juhos de0a8def83 ramips: fix ASUS WL-330N3G MAC address
The ASUS WL-330N and WL-330N3G has the MAC address stored at
offset 4, not 40. This is verified by reading original ASUS
firmware GPL_WL-330N3G_source.1028/user/rc/common_ex.c and
GPL_WL-330N_source.1021/user/rc/common_ex.c.

Tested on WL-330N3G, it now gets the same MAC as is printed on
the label on the router.

Signed-off-by: Jan Kardell <jan.kardell@arkub.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34877 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:41 +00:00
Gabor Juhos 4a82fcedcb ramips: fix wifi EEPROM extraction on DIR-615-Dx models
Patch from #12636.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-24 06:52:38 +00:00
Jo-Philipp Wich a6a3bd8d57 base-files: ipcalc.sh: fix broken calculations on 64bit systems
Calculate complements by using awk's xor() function with a mask of 0xffffffff
instead of relying on the compl() function which appears to produce broken
results on certain 64bit architectures.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 22:18:43 +00:00
Imre Kaloz f19b976355 [cns3xxx]: add nol2x0 cmdline to disable l2x0 cache
L2 cache via L2X0 cache controller available on some ARM boards can
provide a performance boost in some situations but decrease performance
in others.  This adds a kernel cmdline to disable L2X0 for cns3xxx based
boards.
 
Signed-off-by: Tim Harvey <tharvey@gateworks.com>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:53:38 +00:00
Steven Barth dd4befa7e2 ipv6-support: Fix default RA settings for dnsmasq
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 18:22:48 +00:00
Felix Fietkau 1c2e2fe906 busybox: (vconfig) do not attempt to open /proc/net/vlan/config for no good reason (fixes #12663)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-23 10:59:57 +00:00
Felix Fietkau 28b1b94a65 build: reduce the size of package metadata a bit to keep package list files smaller
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:56:21 +00:00
Felix Fietkau 9fca1b44bd tools/ipkg-utils: remove some unnecessary field checks
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:56:17 +00:00
Felix Fietkau da6849d9ab opkg: keep package list files compressed when src/gz is used, reduces tmpfs usage
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34869 3c298f89-4303-0410-b956-a3cf2f4a3e73
2012-12-22 19:31:37 +00:00