Commit Graph

4417 Commits

Author SHA1 Message Date
Matthias Schiffer
1ccd24df77 generic: mtd: spi-nor: always disable software protection
Fixes unwriteable flash when the bootloader leaves it protected.
2016-03-26 13:23:13 +01:00
Matthias Schiffer
d5f5ce74e8 build: add module separators/headings to patch/update/update-patches scripts
Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-26 00:03:04 +01:00
Matthias Schiffer
33d028783f build: remove rather useless "patch" and "unpatch" make targets 2016-03-25 23:57:15 +01:00
Matthias Schiffer
a26f781404 ar71xx: make bootconsole wait for both THRE and TEMT
Original commit message:

    MIPS: ath79: make bootconsole wait for both THRE and TEMT

    This makes the ath79 bootconsole behave the same way as the generic 8250
    bootconsole.

    Also waiting for TEMT (transmit buffer is empty) instead of just THRE
    (transmit buffer is not full) ensures that all characters have been
    transmitted before the real serial driver starts reconfiguring the serial
    controller (which would sometimes result in garbage being transmitted.)
    This change does not cause a visible performance loss.

    In addition, this seems to fix a hang observed in certain configurations on
    many AR7xxx/AR9xxx SoCs during autoconfig of the real serial driver.

    A more complete follow-up patch will disable 8250 autoconfig for ath79
    altogether (the serial controller is detected as a 16550A, which is not
    fully compatible with the ath79 serial, and the autoconfig may lead to
    undefined behavior on ath79.)
2016-03-24 18:34:34 +01:00
Matthias Schiffer
86894548c5 Explicitly set SHELL to bash
Fixes some messages if /bin/sh doesn't support 'echo -e'.

Suggested-by: Steffen Möller <steffen_moeller@gmx.de>
2016-03-22 13:01:18 +01:00
Matthias Schiffer
7327ad2ff1 Merge pull request #697 from berendt/docs_copyright_year
docs: add 2016 copyright year to sphinx conf file
2016-03-21 23:05:16 +01:00
Christian Berendt
67fe231805 docs: add 2016 copyright year to sphinx conf file 2016-03-21 22:31:46 +01:00
Alexander Dahl
d2b74b4cf0 openwrt: add patch fixing sysupgrade on Xen DomU
Patch tested on v2016.1.x branch with Freifunk Magdeburg firmware on
Debian Jessie amd64 Xen host. See the same patch in our gluon fork here:
https://github.com/FreifunkMD/gluon/blob/fix-sysupgrade-xen/patches/openwrt/0058-x86-fix-platform_export_bootpart-for-Xen-virtual-disks.patch

Sysupgrade was tested successfully by manually making the change before
upgrading in the filesystem of the running node and upgrading to the
fixed FFMD experimental build in config mode via expert settings in
webgui.

Patch also submitted to OpenWRT trunk already.

Signed-off-by: Alexander Dahl <alex@netz39.de>
2016-03-17 22:12:44 +01:00
Matthias Schiffer
d7e6bd2046 Merge pull request #685 from FreifunkChemnitz/master
Add Support for the ALFA Hornet UB and similar devices
2016-03-14 10:53:45 +01:00
Steffen Förster
4e2423c081 Add Support for the ALFA Hornet UB and similar devices
The Hornet UB is sold at least in the varieties. Without case it is a Hornet UB, with case and without connected USB port it is called AP121. If the USB port is present this device is called AP121U.
We have a AP121U in our mesh http://meshviewer.chemnitz.freifunk.net/#!v:m;n:00c0ca6efffa
2016-03-13 15:59:47 +01:00
Matthias Schiffer
b8cb60a8d6 Merge pull request #675 from T-X/preparations-for-mcast-snooping
Preparations for Multicast Snooping
2016-03-11 13:27:33 +01:00
Linus Lüssing
c9aa2672bd bridge: Increase IGMP/MLD robustness parameter to three for br-client
We are mostly dealing with the 2.4GHz crap-band here, so increasing the
IGMP/MLD robustness parameter to three to be able to compensate for up
to two consecutive instead of just one lost packet.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-10 16:44:34 +01:00
Linus Lüssing
4d00c804c0 bridge: Lower IGMP/MLD query intervals for br-client
There are some devices not acting properly to roaming events, in that
they do not timely reissue IGMP/MLD reports after reconnecting.

To compensate for that this commit reduces the query interval from 125
seconds to 20 and the query response interval from 20 seconds to 5.
This reduces a timeout to 20+5 seconds in the worst-case (12.5s average)
after a roaming event for such broken devices. This should be below the
30s "impatient user threshold" and below any connection timeout.

Until the bridge multicast snooping + querier gets re-enabled this is a
no-op.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-10 16:44:05 +01:00
Matthias Schiffer
06685ef0ec Merge pull request #682 from kb-light/docs
docs: fix typo in upgrade.rst
2016-03-10 08:41:26 +01:00
Matthias Schiffer
4c9a0a143e Merge pull request #681 from FreifunkChemnitz/master
Add support for TP-Link TL-WA7510N
2016-03-10 08:41:03 +01:00
kb-light
4511da0aee docs: fix typo in upgrade.rst 2016-03-10 00:38:19 +01:00
Steffen Förster
ea90788315 Add support for TP-Link TL-WA7510N
This CPE is supported by OpenWRT and already running in Chemnitz
2016-03-09 22:17:06 +01:00
Matthias Schiffer
2ee35f3102 docs, README: add release notes for v2016.1.2, update version numbers 2016-03-09 19:21:40 +01:00
Matthias Schiffer
e729d33bab netifd: update to latest git master 2016-03-09 06:47:53 +01:00
Matthias Schiffer
fc6d4d6c97 gluon-mesh-batman-adv-core: respondd: add uci.h include
This include wasn't actually missing, but well hidden behind the iwinfo.h
include. Make this more obvious.
2016-03-08 07:57:06 +01:00
Linus Lüssing
0fc9e1d966 update config: "firewall: Allow IGMP and MLD input on WAN" (r45613)
Adopt the according modifications to the default firewall settings of
the WAN interface from OpenWRT, revision 45613.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-08 07:55:55 +01:00
Linus Lüssing
ca9a6f34f3 gluon-mesh-batman-adv-core: Always forward towards mesh/batman-adv
An IGMP/MLD domain split will prevent us from being able to track
multicast listeners on other nodes.

Therefore we need to always hand any multicast packets we received from
local clients to batman-adv. With bridge multicast snooping disabled,
the current setting in Gluon, this is already the case.

However, in preparation to enabling multicast snooping, we need to
enforce forwarding towards batman-adv by setting the bridge port
option "multicast_router" to 2.

Signed-off-by: Linus Lüssing <linus.luessing@c0d3.blue>
2016-03-08 07:55:55 +01:00
Matthias Schiffer
01878f4bbc Backport GPIO control support
Backport of rr46271 and r46922.

Based-on-patch-by: Julian Kornberger <jk+github@digineo.de>
2016-03-07 06:08:32 +01:00
Matthias Schiffer
85b857d98a Merge pull request #676 from PowerPan/PowerPan-gitsubmodules-1
git submodules
2016-03-06 20:56:23 +01:00
Johannes Rudolph
13658879e5 git submodules
Possibility to work with git submodules
2016-03-06 03:09:09 +01:00
Matthias Schiffer
1f06d20705 ath10k: remove hard dependency on ath10k-firmware-qca988x
We use our own firmware package.
2016-03-04 17:40:56 +01:00
Matthias Schiffer
3b61a768b9 Update Gluon packages 2016-03-04 00:51:28 +01:00
Matthias Schiffer
8272a8f807 Update OpenWrt base 2016-03-03 23:49:58 +01:00
Matthias Schiffer
0320b4da03 docs, README: add release notes for v2016.1.1, update version numbers 2016-03-02 16:23:10 +01:00
Matthias Schiffer
6f4ca79d01 docs: update list of supported hardware 2016-03-02 01:03:33 +01:00
Matthias Schiffer
595cba1bfa Update OpenWrt base 2016-03-01 23:33:00 +01:00
Matthias Schiffer
45e238aa05 Update OpenWrt base 2016-03-01 17:07:18 +01:00
Matthias Schiffer
6f23ef9eb7 Update OpenWrt base
We got most of our patches backported by upstream :)
2016-03-01 12:52:12 +01:00
Matthias Schiffer
289b599233 gluon-status-page: unify prefix list of prettyBytes and prettyBits 2016-03-01 00:06:20 +01:00
Matthias Schiffer
6e452f207a gluon-status-page: don't use internationalization API
It is not supported by all browsers yet.

Also change load display always to display 2 decimal digits (as it is read
from the kernel with 2 decimal digits).

Fixes #606
2016-03-01 00:06:20 +01:00
Matthias Schiffer
5a2f130323 Merge pull request #668 from 0xDEAD/mr13u
ar71xx-generic: add support for TP-Link MR13U
2016-02-29 18:59:26 +01:00
Matthias Ludwig
19a7380e74 ar71xx-generic: add support for TP-Link MR13U 2016-02-29 15:54:41 +01:00
Matthias Schiffer
79bc3a8d4b gluon-status-page: fix neighbour purging
notUpdated is a Set, to a for-in loop doesn't work.

Fixes #657
2016-02-29 01:12:20 +01:00
Matthias Schiffer
bb8d1783b3 gluon-config-mode-*, gluon-luci-portconfig: improve validation
Make bandwidth limits unsigned; trim numbers, the validator accepts
trailing whitespace.
2016-02-28 22:38:19 +01:00
Matthias Schiffer
1e78665b12 Add contrib/depdot.sh
This script will analyze the dependencies of Gluon's packages and output
them as a dot graph.
2016-02-28 20:01:19 +01:00
Matthias Schiffer
c7a957ca9f ar71xx-generic: add support for Onion Omega 2016-02-28 05:29:15 +01:00
Matthias Schiffer
ff574cfe65 ar71xx/lzma-loader: fix O32 ABI conformance
Backport of r48279
2016-02-28 05:00:50 +01:00
Matthias Schiffer
b6c576645f kernel/gpio_keys: load module on pre-init
fix rescue mode on wdr4900

Backport of r48793
2016-02-28 04:41:39 +01:00
Matthias Schiffer
ec1c82566a scripts/patch.sh: add --committer-date-is-author-date to git am
This option will make the generated commit IDs deterministic, greatly
reducing the number of repository objects created when calling `make
update` repeatedly.
2016-02-28 03:30:14 +01:00
Matthias Schiffer
00b620ae51 Update mac80211 backport to r48810 2016-02-28 03:27:49 +01:00
Matthias Schiffer
c9f7a17d3a brcm2708-gpu-fw: move pkg build dir to kernel build dir to fix rebuild bugs after cleaning the kernel tree
Backport of r48732
2016-02-28 02:30:34 +01:00
Matthias Schiffer
d2ab156605 Update OpenWrt base 2016-02-28 02:02:56 +01:00
Matthias Schiffer
88bdc98108 gluon-status-page: don't reset signal graphs on resize events if width hasn't changed
Mobile browsers will often show or hide the address bar while scrolling.
This causes resize events which would often reset the signal graphs.

Fixes #662
2016-02-26 05:35:47 +01:00
Matthias Schiffer
89b3dca8b5 kernel: disable software protection bits for macronix flash chips at init
The bootloader of AirOS 5.6.x doesn't remove the flash protection for us,
so we have to do this ourselves.
2016-02-26 04:39:50 +01:00
Matthias Schiffer
56f1cd5383 firmware-utils: mkfwimage: fix firmware_max_length for XM layout
This should fix problems with flashing from AirOS 5.6.x.
2016-02-25 22:50:58 +01:00