aboutsummaryrefslogtreecommitdiffstats
path: root/package
Commit message (Collapse)AuthorAgeFilesLines
* ar71xx: qihoo-c301: reset imageNtrynum after each successful boot.John Crispin2014-10-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Qihoo C301 has 2 flash chips of which one is used as primary and the other is used as backup. OEM U-Boot will try to boot an activeregion N with imageNstatus=0 and imageNtrynum <= imagemaxtry. If such a region is found, bootloader will try to increment imageNtrynum and boot it. This patch tries to reset imageNtrynum after each successful boot (if the boot process reaches the execution of /etc/init.d/done). root@OpenWrt:/# hexdump -C -n 128 /dev/mtdblock9 00000000 9e f3 63 91 61 63 74 69 76 65 72 65 67 69 6f 6e |..c.activeregion| 00000010 3d 31 00 69 6d 61 67 65 31 73 74 61 74 75 73 3d |=1.image1status=| 00000020 30 00 69 6d 61 67 65 32 73 74 61 74 75 73 3d 30 |0.image2status=0| 00000030 00 69 6d 61 67 65 32 74 72 79 6e 75 6d 3d 30 00 |.image2trynum=0.| 00000040 69 6d 61 67 65 6d 61 78 74 72 79 3d 33 00 69 6d |imagemaxtry=3.im| 00000050 61 67 65 31 74 72 79 6e 75 6d 3d 30 00 00 00 00 |age1trynum=0....| 00000060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com> SVN-Revision: 42914
* udev/Config.in: help format, and fix spelling mistakeJohn Crispin2014-10-141-26/+25
| | | | | | | | Formatting and spelling fixes. Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> SVN-Revision: 42913
* scripts: fix wrong usage of '==' operatorJohn Crispin2014-10-1413-19/+19
| | | | | | | | | | | | | | [base-files] shell-scripting: fix wrong usage of '==' operator normally the '==' is used for invoking a regex parser and is a bashism. all of the fixes just want to compare a string. the used busybox-ash will silently "ignore" this mistake, but make it portable/clean at least. this patch does not change the behavior/logic of the scripts. Signed-off-by: Bastian Bittorf <bittorf@bluebottle.com> SVN-Revision: 42911
* fstools: update to latest git HEADJohn Crispin2014-10-131-2/+2
| | | | | | | | this adds support for overlayfs v23 Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42890
* procd: fix initial nand sysupgradeFelix Fietkau2014-10-121-0/+14
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42884
* procd: fix parsing of the has_env parameterFelix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42883
* mac80211: remove NO-IR from channel 36-48Felix Fietkau2014-10-121-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42882
* netifd: Make mtu configurable of dynamic 6rd tunnel interfaceSteven Barth2014-10-122-2/+5
| | | | | | | | | Patch allows to configure the mtu of the dynamic 6rd tunnel interface when created by dhcp script. In some setups it's desirable to have config control over the 6rd tunnel mtu to maximize the traffic throughput Signed-off-by: Hans Dedecker <dedeckeh@gmail.com> SVN-Revision: 42871
* odhcp6c: fix parse errors with some dhcpv6 serversSteven Barth2014-10-121-2/+2
| | | | SVN-Revision: 42869
* comgt: add ncm proto supportJohn Crispin2014-10-105-1/+247
| | | | | | | | This will not work for all board/dongle combinations until we hit 3.17. Signed-off-by: Matti Laakso <malaakso@elisanet.fi> SVN-Revision: 42866
* mac80211: remove error from detect scriptFelix Fietkau2014-10-091-4/+11
| | | | | | Signed-off-by: Michel Stam <m.stam@fugro.nl> SVN-Revision: 42861
* ppp: add unconditional autoipv6-triggerSteven Barth2014-10-092-1/+10
| | | | SVN-Revision: 42860
* ppp: remove ugly ipv6-workaroundSteven Barth2014-10-091-9/+0
| | | | | | | | | | | | | | | This is not needed after all: Omitting option ipv6 or setting it to 'auto' will fire up a dhcpv6 subprotocol (this was added). Setting ipv6 to 1 will only cause the IPv6 link to be brought up and an accompanying dhcpv6 or static interface with ifname @wan can be used to configure addresses. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42859
* dropbear: ensure the interface has an ip-addressSteven Barth2014-10-091-11/+12
| | | | | | | | | | | | Use network_get_ipaddrs_all to get all ip-addresses of an interface. If the function fails, the interface does not exists or has not any suiteable ip addresses assigned. Use the returned ip-address(es) to construct the dropbear listen address. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 42857
* base-files: add network_get_ipaddrs_all()Steven Barth2014-10-091-0/+23
| | | | | | | | Return all IPv4 and IPv6 addresses. Signed-off-by: Mathias Kresin <openwrt@kresin.me> SVN-Revision: 42856
* ppp: allow auto-detecting and creation of ipv6 subinterfaceSteven Barth2014-10-083-3/+14
| | | | | | | | this makes ipv6 with ppp a bit more comfortable Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42854
* odhcp6c: fix typo in last commitSteven Barth2014-10-081-1/+1
| | | | SVN-Revision: 42852
* odhcp6c: don't assign addresses or prefixes prematurelySteven Barth2014-10-082-2/+5
| | | | SVN-Revision: 42850
* mac80211: add a few upstream ath9k / mac80211 fixesFelix Fietkau2014-10-081-0/+428
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42849
* network: Unbind DHCPv6 from underlying interfacesSteven Barth2014-10-083-6/+2
| | | | | | | | | This allows IPv6 to set up without IPv4 being up thus IPv6-only or IPv6+DS-Lite working with the default config. Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42848
* odhcp6c: ensure signal-safety of signal handlersSteven Barth2014-10-081-2/+2
| | | | SVN-Revision: 42841
* lldp: make use of new USERID syntaxJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42839
* base-files: extend USERID:=syntaxJohn Crispin2014-10-081-8/+20
| | | | | | | | | | it is now possible to inlie the uid and gid in the syntax USERID:=username=uid:group=gid:group2=gid2:... Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42838
* wwan: add a generic 3g/4g protoJohn Crispin2014-10-08356-19/+1980
| | | | | | | | | this proto handler will detect which of 3g, qmi, mbim, ncm or directip you need for a stick and setup uci automagically Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42837
* comgt: split directip support into its own packageJohn Crispin2014-10-081-3/+19
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42836
* uqmi: dont use proto_block_restartJohn Crispin2014-10-081-5/+3
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42835
* uqmi: make the proto depend on the usb driverJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42834
* umbim: dont use proto_block_restartJohn Crispin2014-10-081-29/+24
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42833
* umbim: work out the ifname instead of relying on it being in uciJohn Crispin2014-10-081-2/+16
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42832
* procd: handle hotplug events for the usbmisc subsystemJohn Crispin2014-10-081-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42831
* procd: r42814 added a bad git versionJohn Crispin2014-10-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42826
* procd: update to latest git HEADJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42814
* ubox: update to latest git headJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42813
* fstools: update to latest gitJohn Crispin2014-10-061-2/+2
| | | | | | | | adds support for /dev/vd* virtual io Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42812
* odhcp6c: add route-workaround for broken IPv6-ISPsSteven Barth2014-10-063-5/+21
| | | | | | | | | | | | | | Some ISP seem to only do stateful DHCPv6 and not sending RAs. This is technically broken because plain DHCPv6 doesn't carry routes. We work around here by faking a default route to the DHCPv6 server if we do not receive a useful RA from the ISP. This workaround can be turned off with: option fakeroutes 0 Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42803
* nftables: bump to 2014-09-30, disable gmpSteven Barth2014-10-066-42/+5038
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42802
* base-files: make postinst script run inside a subshellJohn Crispin2014-10-061-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42800
* libnftnl: bump to 2014-10-02Steven Barth2014-10-061-2/+2
| | | | | | Signed-off-by: Steven Barth <steven@midlink.org> SVN-Revision: 42799
* iwinfo: add AR9580 with new subsystem device ID and QCA9880 with no ↵John Crispin2014-10-061-0/+2
| | | | | | | | | | | subsystem vendor/device IDs The AR9580 with the new ID can be found in the EnGenius ESR900 and the QCA9880 without any subsystem IDs can be found in the EnGenius ESR1750. Signed-off-by: Forest Crossman <cyrozap@gmail.com> SVN-Revision: 42793
* kernel: add rtc-ds1307 module supportJohn Crispin2014-10-061-0/+18
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 42791
* kernel: add ledtrig-transient module supportJohn Crispin2014-10-061-0/+15
| | | | | | Signed-off-by: Michael Heimpold <mhei@heimpold.de> SVN-Revision: 42790
* hostapd: read missing parameter for dynamic VLANsJohn Crispin2014-10-061-1/+1
| | | | | | | | | | In r41872 Dynamic VLAN support was reintroduced, but the vlan_naming parameter is not read while setting up the config, so it always defaults to 1. Signed-off-by: Reiner Herrmann <reiner@reiner-h.de> SVN-Revision: 42787
* sysupgrade: preserve symlinks in backupsJohn Crispin2014-10-061-2/+2
| | | | | | Signed-off-by: Catalin Patulea <catalinp@google.com> SVN-Revision: 42783
* lantiq: remove the useless ltqtapi.mk include fileFelix Fietkau2014-10-052-4/+2
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42778
* iproute2: add conflict for ip with ip-fullFelix Fietkau2014-10-051-1/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42774
* hostapd: add conflicts with wpad(-mini) to hostapd and wpa_supplicantFelix Fietkau2014-10-051-0/+5
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42772
* ath10k: update firmware to the latest versionFelix Fietkau2014-10-051-5/+4
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42768
* mac80211_hwsim: select 802.11n support for hostapdFelix Fietkau2014-10-051-1/+1
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42766
* relayd: update to the latest version, fixes a build error with the new gcc ↵Felix Fietkau2014-10-051-2/+2
| | | | | | | | (#18010) Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42765
* hostapd: allow using iapp for any encryption type (fixes #18022)Felix Fietkau2014-10-051-2/+3
| | | | | | Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 42764