Commit Graph

28778 Commits (a03d5162b4444fa18efdffcb74734697e81f1a56)

Author SHA1 Message Date
Gabor Juhos a03d5162b4 ar71xx: image: fix CyberTAN sysupgrade images
In the current sysupgrade images, the CRC32 value of
the TRX header covers the whole rootfs data. Due to
this, the CRC value should be changed during sysupgrade
otherwise the bootloader refuses to load the image on
the next boot.

Change the image generation to create sysupgrade images
where the CRC32 value covers the kernel data only. This
allows to skip the 'fixtrx' step during sysupgrade on
the target.

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38964 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:30:59 +00:00
Gabor Juhos 84379f8240 firmware-utils/trx: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38963 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:30:57 +00:00
Gabor Juhos b081ab6866 firmware-utils/trx: fix two bugs
- fix crc32 calculation if -F was enabled.

 - don't convert the crc32 to little endian twice.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38962 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 18:30:56 +00:00
John Crispin 31e109fa42 ramips: Fix initial network configuration for few boards
Argus ATP52B:      ethernet didn't work because of unconfigured switch
Sparklan WCR150GN: add switch config and make single port to be LAN
Dlink DIR-645:     seems to be a redundant case

Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38960 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 08:36:56 +00:00
John Crispin e98476f786 ramips: Fix dts typos
Signed-off-by: Roman Yeryomin <roman@advem.lv>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38959 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-30 08:36:47 +00:00
Gabor Juhos 4cb2f7a39a ar71xx: build image for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38958 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:16 +00:00
Gabor Juhos 33bc29b28d firmware-utils/mkplinkfw: add TL-WR1043ND v2 support
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38957 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:15 +00:00
Gabor Juhos 3f06f853b6 ar71xx: add user-space support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38956 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:13 +00:00
Gabor Juhos 336f29b4c7 ar71xx: add kernel support for the TL-WR1043ND v2 board
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:51:12 +00:00
Gabor Juhos 2477a6beac ar71xx: add profile and build image for the Sitecom WLR-8100
- partitions on factory fw are a bit strange
  - unknown contained some strings in factory
  - unknown2 contains some atheros (2nd art ?)

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4149/
[juhosg: edit commit message]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38954 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:50 +00:00
Gabor Juhos 55987c5d96 ar71xx: fix switch port map for the Sitecom WLR-8100
There was no way to determine a working config, because
the switch (ar8337) was not working previously.

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4470/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38953 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:49 +00:00
Gabor Juhos b7ca4137f5 generic: ar8216: add AR8337N switch support
This patch is needed to use the switch inside the Sitecom WLR-8100;
it was unusable and detected as Generic-Phy before.

since ar8337 is behaving like ar8327
generally do the same thing
see: https://forum.openwrt.org/viewtopic.php?pid=214218#p214218
forward-ported to trunk

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Patchwork: http://patchwork.openwrt.org/patch/4469/
[juhosg: merge chip_is_ar83[23]7 statements in ar8xxx_phy_config_init]
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38952 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:48 +00:00
Gabor Juhos c2bf799a23 generic: ar8216: remove trailing whitespaces
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38951 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:46 +00:00
Gabor Juhos 39a44d49f1 ar71xx: rssi leds for My Net WiFi Range Extender
The device has three extra LEDs which indicate the quality
of the wireless link. Thanks to rssileds, this feature now
works out of the box.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4462/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38950 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:45 +00:00
Gabor Juhos 49be2ba8e1 ar71xx: improve support for the My Net Wi-Fi Range Extender device
This patch improves support for the device considerably.

1. The wifi didn't work in the initial release. This was because
the WMAC of the AR9340 is not connected to the antennas.
(However, it can pick up wifi signals, if they are strong enough!)
Instead there's a dedicated AR9300 chip on the same board, which
works.

2. Ethernet throughput is improved. iperf shows that the hardware
can sustain more than 200Mbit/s and no longer drops any packages
when the link is under load.

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4461/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38949 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:44 +00:00
Gabor Juhos 4b982f247b ag71xx: add F1E specific feature bit definitions to AR934X register file
The F1E Phy (AR8035?) requires additional bits to be
set in order to provide a fast and reliable connection
over gigabit links.

When enabled, the link doesn't suffer anymore from a small
package loss under load and the performance is improved
quite a bit as well. (203 mbit/s vs 112 mbit/s, iperf tcp).

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Patchwork: http://patchwork.openwrt.org/patch/4460/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38948 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:43 +00:00
Gabor Juhos 3466fb8b4c ar71xx: user space support update tl-wr842n_v2 add default led support
Small update to uci_defaults/01_leds, to support the usb led

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4426/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38947 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:42 +00:00
Gabor Juhos be3b2a6377 ar71xx: Kernel support update tl-wr842n_v2 added missing usb led
Just a small oversight my part, added the support for the USB led
Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>

Signed-off-by: Martijn Zilverschoon <thefriedzombie@gmail.com>
Patchwork: http://patchwork.openwrt.org/patch/4425/
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38946 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 20:18:40 +00:00
Imre Kaloz 0fdebf9347 FPU type should not interfere with the ABI selection.
Also make sure we either do real soft-float or hard-float on ARM, with the right options.

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38943 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:59:51 +00:00
Imre Kaloz 5f6881f7e2 [omap]: tunr on some additional features
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38942 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:58:40 +00:00
Imre Kaloz f15319fee8 ignore the fpu if we're doing soft-float
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38941 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:44:04 +00:00
Imre Kaloz 718df1105c there's no such thing as a soft fpu, this target should be fine without these
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38940 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 10:25:43 +00:00
Imre Kaloz 5a057bfeca enable using soft-float regardless of having a fpu
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38939 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-29 09:24:07 +00:00
Jo-Philipp Wich 0e12d4c637 ubox: fix handling of uci lists, prevent shell code injection from uci values (#14548)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38938 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 20:47:26 +00:00
Jo-Philipp Wich 3a962b7099 Revert "ubox: the validation code has problems with the "(" char. use string for now"
This reverts commit f7c2ac3ea9b5f2dc4ef4ce4ef195de8a4ac5546b.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38937 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:33:49 +00:00
Jo-Philipp Wich 2a53dc4422 busybox: do not abort sysntpd init if enable_server is unset, that variable just controls the server part for relaying NTP
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38936 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:28:40 +00:00
Jo-Philipp Wich 8ad86b6a1e procd: fix processing of datatype specification with spaces
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38935 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-28 11:26:34 +00:00
Imre Kaloz 77d3c7322f [omap]: initialize wl12xx from the device tree
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38934 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:51:35 +00:00
Imre Kaloz 620833b3a1 add device tree based initialization to wl12xx
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38933 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:40:07 +00:00
Imre Kaloz 94cdb9986f [omap]: refresh/rename patches
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38932 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:34:41 +00:00
Imre Kaloz 60b5ba0f1d [omap]: fix gpio interrupt-cells property on AM335x
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38931 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:33:06 +00:00
Imre Kaloz f70572d95b [generic/3.12]: refresh patch
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38930 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:31:05 +00:00
Imre Kaloz 84bbbc774a [generic/3.12]: make the wl12xx glue code available with compat-wireless, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38929 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:29:13 +00:00
Imre Kaloz 09ffc7d6ed [generic/3.12]: add TI wireless symbols and enable the platform glue by default
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38928 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:25:20 +00:00
Felix Fietkau bc1d810b5b mac80211: include 802.11n support when wl12xx is selected
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38927 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 12:08:38 +00:00
Felix Fietkau 406817c4a6 ath9k: merge initval updates
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38926 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 10:56:05 +00:00
Imre Kaloz 28c7e1b274 [mac80211]: fix typo in wl128x firmware names
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38925 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-27 09:02:17 +00:00
Imre Kaloz 2ae5d84075 [uboot-omap]: hide package, it's needed all the time
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38924 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:46:47 +00:00
Imre Kaloz fd821990a6 [uboot-omap]: use plain image names inside the target directories
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38923 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:45:51 +00:00
Imre Kaloz cebb4f110e [toolchain/gcc]: upgrade Linaro GCC 4.8 to 4.8-2013.11
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38922 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 18:42:32 +00:00
Imre Kaloz e43d5edd0b [mac80211]: wl12xx could need the wl128x firmware files, too
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38921 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 17:46:45 +00:00
Felix Fietkau 8092d1a7ad mac80211: merge another round of upstream fixes
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38918 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 11:25:31 +00:00
John Crispin c47f4281b8 ralink: dts fixes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38917 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 09:51:57 +00:00
John Crispin 97bbd3cb75 ubox: the validation code has problems with the "(" char. use string for now
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38916 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-26 07:50:05 +00:00
Felix Fietkau 4d6e9371a3 hostapd: add support for auto-channel selection
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38915 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:30 +00:00
Felix Fietkau 5d000ddd9e hostapd: update to version 2013-11-20
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38914 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 15:43:15 +00:00
John Crispin 77bba4261a kernel/modules: snd-pcm-dmaengine only if CONFIG_SND_DMAENGINE_PCM is set
Platforms without in-soc audio don't provide CONFIG_SND_DMAENGINE_PCM, thus
the module is not generated.

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38913 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:48 +00:00
John Crispin 9706d90825 tools/mpfr: add GNU source
fixes https://dev.openwrt.org/ticket/14519

mpfr is available from GNU too
see: https://gforge.inria.fr/forum/forum.php?forum_id=11263

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38912 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:24 +00:00
John Crispin 00f0744743 pppd: Place plugin-specific options after `plugin name`.
Before this patch, if we specify a plugin specific option through
`pppd_options` in /etc/config/network, e.g. `rp_pppoe_verbose 1`, pppd
would quit with the following error in log.

    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): /usr/sbin/pppd: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.err pppd[1689]: unrecognized option 'rp_pppoe_verbose'
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): pppd version 2.4.5
    Wed Oct  9 09:42:58 2013 daemon.notice netifd: GORG (1689): Usage: /usr/sbin/pppd [ options ], where options are:

This is due to the requirement that function add_option() should be
called by the plugin_init() function first before pppd can parse those
options.

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38911 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:16 +00:00
John Crispin 9cb1e0893f ralink: add mac address detection for Asus RT-G32 b1
http://patchwork.openwrt.org/patch/4463/

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 14:09:08 +00:00