Commit Graph

28730 Commits (00f0744743dc85ad4e273500a15bb707f0739a6f)

Author SHA1 Message Date
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
John Crispin 3b4cd0a50e base-files: allow users to delect debug level during boot
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38909 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:55 +00:00
John Crispin 944e1ee168 procd: update procd.sh to make use of the new validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38908 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:47 +00:00
John Crispin 451be59120 ubox: update the validate_data tool
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38907 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:39 +00:00
John Crispin feecbc62ae ubox: fix typo that caused log_file to not be validated properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38906 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:31 +00:00
John Crispin 7aca35e56c ralink: fix up the mt7530 driver to work properly with gmac2
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38905 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:23 +00:00
John Crispin d6cf0d5418 ralink: add LRO support
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38904 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:12 +00:00
John Crispin fa3ff9e1a1 ralink: add NETIF_F_HW_VLAN_CTAG_TX support for the mt7620X family
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38903 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:34:01 +00:00
John Crispin 8d5c852eaf ralink: set the mac addr via the dts file
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38902 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-25 08:33:42 +00:00
Luka Perkov 835e85183c kirkwood: include ext4 support by default
Several users reported that they would like this feature.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38901 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-24 23:07:34 +00:00
Luka Perkov 5bad1527ea kirkwood: kernel: add missing config option
Buildbot found missing config option for target kirkwood.

Signed-off-by: Jiri Slachta <slachta@cesnet.cz>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38900 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-24 17:53:34 +00:00
Luka Perkov c87b10b132 [tools] cmake: upgrade to 2.8.12.1
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38899 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-24 07:10:21 +00:00
Luka Perkov 2c7e653606 kirkwood: drop unnecessary argument from *_UBIFS_OPTS variables
The '-U' aka '--squash-uids' is already used in Image/mkfs/ubifs function.

Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38898 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-23 15:55:12 +00:00
Luka Perkov 1eb3f7f6a4 kirkwood: add support for iomega iconnect
Signed-off-by: Luka Perkov <luka@openwrt.org>
Signed-off-by: Daniel Engberg <daniel.engberg@pyret.net>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38897 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-23 15:55:10 +00:00
Imre Kaloz bc886ef909 For now vdi and vmdk images should be x86 only
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38896 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 14:39:53 +00:00
Imre Kaloz 1f939e1460 move menuconfig options into separate files
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38895 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 14:30:40 +00:00
Imre Kaloz 991fd659a4 drop stupid defaults
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38894 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 13:41:55 +00:00
Imre Kaloz 27bb4475fb add a feature flag for device tree support
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38893 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 12:01:01 +00:00
Imre Kaloz f23c2eafda [x86]: VMWare and VirtualBox images should select what they need, not depend on it..
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:54:36 +00:00
Imre Kaloz e88f8197cb [x86]: rationalize target image options
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>
 


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38891 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:44:14 +00:00
Imre Kaloz 3f7b7dc29e allow configuration of the target directory for binaries
Signed-off-by: Imre Kaloz <kaloz@openwrt.org>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38890 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:39:41 +00:00
Imre Kaloz c01716afd0 [toolchain/uClibc]: replace the mips64 fixes patch with an upstream commit
The current one broke all other 64 bit targets.. DOH!

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



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38889 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-22 09:22:54 +00:00
Felix Fietkau 6d79816d87 uhttpd: update to the latest version, fixes crashes in the ubus plugin
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38888 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-21 21:52:24 +00:00
Luka Perkov e73e2e4ca0 [tools] pkg-config: fix occasional install problem
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38886 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 22:09:11 +00:00
John Crispin d011f5cde3 procd: fix the running hook #38868
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38885 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 19:28:51 +00:00
John Crispin 84458bf0c2 lantiq: move patch to proper folder
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38884 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:53:36 +00:00
Felix Fietkau 97948a8d2c mac80211: fix reorder issues with multicast packets (client mode)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38883 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:33:50 +00:00
Felix Fietkau 9d4b797142 mac80211: fix an overflow issue in minstrel_ht
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38882 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 17:33:46 +00:00
John Crispin bcd2c16df8 lantiq: update default mii modes
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38881 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:58 +00:00
John Crispin f72b27e290 lantiq: fix etop registers
As first reported more than a year ago
(https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016240.html
and
https://lists.openwrt.org/pipermail/openwrt-devel/2012-August/016241.html),
some of the register definitions of the lantiq etop driver are
incorrect. When OpenWrt is booted with a bootloader which doesn't do
proper network initialization of its own (e.g. brnboot), ethernet won't
work. The patch below changes the register names and addresses to match
the lantiq etop driver included with the recent U-Boot.

At the moment the MII/RMII setting in the lantiq .dts-files has no
effect, since wrong registers are written. Once this patch is applied,
it is necessary to make sure that the MII/RMII setting in the .dts-file
is correct.

v2: fix mangled whitespaces

Signed-off-by: Matti Laakso <malaakso@elisanet.fi>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38880 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:50 +00:00
John Crispin 5057749408 procd: add validation to the log init script
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38879 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:41 +00:00
John Crispin 3b9b5d38fa lantiq: fix an endless loop in the vmmc platform code
this was caused by not honoured error return codes of of_gpio_count()

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38878 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 16:56:32 +00:00
Zoltan HERPAI 759c7650c3 mxs: build/profile-related changes
- change uImage creation to use zImage
 - update image Makefile for further boards with u-boot support
 - add profile for OLinuXino Micro/Nano boards

Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38876 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 10:23:49 +00:00
Zoltan HERPAI 58f8728b9c package: uboot-mxs: cosmetic fix
Signed-off-by: Zoltan HERPAI <wigyori@uid0.hu>



git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38875 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 10:15:02 +00:00
Felix Fietkau 551d95c6af mac80211: small rate control fix
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38874 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-20 07:33:27 +00:00
John Crispin 4ef49088fe libubox: fix compile error (#14497)
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38873 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 21:54:51 +00:00
John Crispin a3c1cdf61a ralink: set wmr-300 mac properly
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38872 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 21:13:24 +00:00
John Crispin 70bc05720b mtd: add a "mtd verify" call
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38871 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 20:56:23 +00:00
John Crispin 92a78d5b61 libubox: ubox: procd: move md5.{c,h} to libubox
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38870 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 20:56:11 +00:00
John Crispin bd43a9ec43 procd: update to latest git head
* fix up the order of respawn parameters for ubus
* add a event broadcast function
* add debug level handover between preinit and main process
* make the service running trigger be queued directly after the service was startetd
* Allow process respawning forever

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38868 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 16:33:50 +00:00
John Crispin 42da94bdab ralink: add missing CONFIG_ symbol to mt7620n
Signed-off-by: John Crispin <blogic@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38867 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 16:33:43 +00:00
John Crispin 046d71e316 libubox: update to latest git head
add a renqueue_add_first() api

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

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38866 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 16:31:47 +00:00
Felix Fietkau f0ffb644dd mpc85xx: Fix NAPI poll mechanism in GIANFAR ethernet driver
This patch fixes the NAPI poll mechanism in the GIANFAR ethernet driver, which
was not properly working since Linus Kernel Version 3,8.
Therefore the workaround patch to downgrade the GIANFAR ethernet driver to
Kernelversion v3.8 is obsoete.
This patch was extensivly testes with different network loads and types of
traffic. There is quite a substantial user base that reports proper Ethernet
function with TPlink-4900. This patch is based on the fixes from GINAFAR
maintainer Claudiu Manoli.

Signed-off-by: Thomas Huehn <thomas@net.t-labs.tu-berlin.de>
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38865 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 13:00:37 +00:00
Felix Fietkau a91d911f7d procd: emit tty events for ttyUSB* even when they come from the usb-serial subsystem
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38862 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 00:03:42 +00:00
Felix Fietkau 37d0d29e51 base-files: add the DEVICENAME variable for hotplug scripts
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38861 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 00:03:39 +00:00
Felix Fietkau 73e5ad61ec scripts/gen-dependencies.sh: prevent zero-length dep.* files from accumulating in tmp/
Signed-off-by: Felix Fietkau <nbd@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38860 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-19 00:03:34 +00:00
Luka Perkov 0c39cb9e05 imx6: build images for ventana boards that are supported
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38859 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:43 +00:00
Luka Perkov 60c8260052 imx6: merge all gateworks boards into one profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38858 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:42 +00:00
Luka Perkov 5fc33c5d88 imx6: add support for more then one nand type per profile
Signed-off-by: Luka Perkov <luka@openwrt.org>

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38857 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-11-18 22:23:40 +00:00