Skip to content

update to 4.4.14, ramips updates ,fix 9pnet compilation - #19

Merged
wigyori merged 18 commits into
openwrt:masterfrom
wigyori:master
Jul 4, 2016
Merged

wigyori merged 18 commits into
openwrt:masterfrom
wigyori:master

Conversation

@wigyori

@wigyori wigyori commented Jul 4, 2016

Copy link
Copy Markdown
Contributor

No description provided.

dangowrt and others added 18 commits July 4, 2016 12:03
Despite the MS_SILENT flag being set when probing for ubifs rootfs a
logline indicating an error is generated during boot:
UBIFS error (pid: 1): cannot open "ubi0:rootfs", error -19
This leads to confusion and there shouldn't be lines containing
the word 'error' twice in a bootlog if actually everything is fine
(just the rootfs happens to be something else than ubifs)

The patch added has been submitted and was accepted upstream, see:
http://lists.infradead.org/pipermail/linux-mtd/2016-June/068056.html
http://patchwork.ozlabs.org/patch/637491

Signed-off-by: Daniel Golle <[email protected]>
Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Michael Lee <[email protected]>
* remove mt7620-wm8960.c use simple card and DTS to do it
* add old chips support
* add 12Mhz refclk setup. this is hard code. need use clock framework
  rewrite it
* add interrupt error status support for debug. default disable it.
  because it cause to many interrupts
* add setup bclk suport not hard code it
* add 24 bits support for mt7628. not verified
* use regmap api to control registers
* add txdma-req/rxdma-req DTS params for DMA use

Signed-off-by: Michael Lee <[email protected]>
Signed-off-by: Michael Lee <[email protected]>
Commit "kernel: mtdsplit: calculate kernel partition precisely for Seama"
changed the kernel partition to only contain the kernel itself and not
the Seama header. Adjust the fixseama call to match what is used on
brcm53xx.

This fixes failing to boot a second time after flashing the factory image
on the affected devices.

Signed-off-by: Matthias Schiffer <[email protected]>
Reviewed-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Matthias Schiffer <[email protected]>
Reviewed-by: Jo-Philipp Wich <[email protected]>
Reported-by: Joy Kicer <[email protected]>
Signed-off-by: John Crispin <[email protected]>
Pinmux for rgmii needs to be set to rgmii, not gpio.
Hide the ESW switch on boot (using new rgmii esw devicetree attribute).
Also add a Sitecom-specific profile, since the image needs to include
the rtl8366 kernel driver.

Signed-off-by: Tobias Diedrich <[email protected]>
most symbols should be in Kernel packages

depending on HW the removal of
CONFIG_REALTEK_PHY
and USB symbols might be wrong

compile tested only

Signed-off-by: Dirk Neukirchen <[email protected]>
Changelog: https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.14

Some manual changes to target/linux/generic/patches-4.4/610-
netfilter_match_bypass_default_checks.patch were needed.

Signed-off-by: Hauke Mehrtens <[email protected]>
Signed-off-by: Zoltan HERPAI <[email protected]>
@wigyori
wigyori merged commit 131f824 into openwrt:master Jul 4, 2016
sdelafond referenced this pull request in untangle/openwrt Oct 15, 2020
gunja pushed a commit to gunja/openwrt that referenced this pull request Nov 17, 2022
GS. atomic 4-20ma interface data sharing.
Ansuel pushed a commit to Ansuel/openwrt that referenced this pull request Jul 27, 2024
airoha: move partition to en7581-evb + emmc partitions
haddad2inc added a commit to haddad2inc/openwrt that referenced this pull request Oct 12, 2026
Add 835-leds-trigger-netdev-add-byte-rate-threshold-mode.patch
(pending-6.18, 8xx = other drivers, next to 834-ledtrig-libata).

The netdev trigger blinks per packet counted by the netdev. On a DSA user
port that is blind in both directions at once: hardware-forwarded traffic
is not counted at all, while background broadcast and management noise is
counted and makes the LED flicker on an otherwise idle link. The result is
an LED that sits still on a port carrying 80+ Mbit/s and twitches on a port
carrying nothing.

Add a rate_threshold attribute in KiB/s. When non-zero the trigger drives
the LED from the interface byte rate instead, blinking on a 50..150 ms
ladder above the threshold and staying solid on link (or off without
carrier) below it. Writing 0 restores the classic per-packet behaviour, so
the attribute is reversible at runtime.

Design points a reviewer will ask about:

  * The rate is measured over the interval between two observed counter
    changes, not over a fixed window. A driver that refreshes its counters
    in bursts - a cached switch MIB, for instance - would otherwise dump a
    whole accumulation period into the first fixed window after the
    refresh, reporting a rate several times too high and then zero until
    the next refresh. Measuring between changes makes the trigger
    independent of the provider's refresh interval, and the last measured
    rate is held until the counter has been silent for twice the interval
    it was measured over (capped at 10 s). A decreasing counter re-anchors
    the measurement instead of reporting an enormous unsigned difference.
  * The measured rate is smoothed the way field-accepted userspace activity
    daemons do it - immediate attack at or above the threshold, a slow rise
    and a quick release below it - and when the counter goes silent the
    blink fades out quadratically from the last peak over 20 s, with the
    ladder step only ever slowing during the fade.
  * The blink is re-armed only when the ladder step changes, because
    led_blink_set() restarts the software blink timer and truncates the
    phase in progress, which shows up as an irregular cadence. For the same
    reason set_baseline_state() now clears the armed step, stops a software
    blink that is still armed - while it runs, the solid brightness set
    there only lands in blink_brightness - and schedules the work whenever
    a rate threshold is set: it runs after every netdev
    notifier event and every mode or device_name write, both of which
    cancel the work first, and it only rescheduled the work when a tx/rx
    bit was set. Without this, rate mode stopped for good on a link-only
    LED after a carrier change, and with tx/rx set the LED stayed solid
    under load because the freshly computed step still equalled the armed
    one.
  * rate mode ignores the tx/rx mode bits on purpose - requiring them would
    restore the blindness that motivates the attribute, because on the
    ports where byte-rate mode is useful the packet counters do not see the
    flow. Side effect, measured rather than assumed: LEDs configured
    link=1 tx=0 rx=0 also blink in rate mode. Gating on (tx | rx) is a
    one-line change if that is preferred.
  * div_u64() is used for the rate so 32-bit architectures link without
    __udivdi3/__aeabi_uldivmod, and the store rejects hw_control LEDs with
    -EINVAL: a hardware-offloaded trigger cannot be rate-gated in software.

Measured on a COMFAST CF-WA350 (QCA9563 + QCA8337, ath79/generic, kernel
6.18.55). The board has six GPIO LEDs in its device tree (green:lan,
red:wan, blue:wlan-5ghz, blue:ext-wan, blue:ext-wlan2g, blue:ext-lan); four
of them are on the netdev trigger and are the ones measured here, the other
two are phy throughput LEDs and are not affected by this attribute.
offloaded=0 on all four, i.e. the software path of the trigger is what
runs: idle with a 94 KiB/s max wire rate over 15 s -> 0 blinks on all four
while the same link flickers in tx/rx mode; intermittent 2.4-8.0 MiB/s
download -> blink density 3.75/s in the windows whose measured rate was
above the threshold vs 1.88 in the windows below it; threshold swept over
an impossible, the test and a low value under the same load -> 0 / 38 / 39
blinks, which is the single-variable causality check; and 25 of 25 sampled
blinks matched the ladder step predicted from the measured rate.

Upstream: intended for linux-leds.

Tested on COMFAST CF-WA350 (QCA9563 + QCA8337N), kernel 6.18.55,
image run openwrt#19 of build-cf-wa350-full: these patches cherry-picked
onto the comfast-cf-wa350-support head d9a7604 (master c282dd1).
Both on-device batteries were re-run on that image. Link-flap (carrier
down/up under load plus device_name rewrites) still re-arms rate mode on
all four netdev LEDs: VERDICT-LINKFLAP: PASS. Idle-solid (blink armed
under load, traffic stopped, set_baseline_state() fired by a device_name
rewrite, then a 15 s window per LED) shows every armed LED going solid
instead of keeping the stale blink: VERDICT-IDLESOLID: PASS.

Signed-off-by: Salah Ahmed <[email protected]>
haddad2inc added a commit to haddad2inc/openwrt that referenced this pull request Oct 13, 2026
Add 835-leds-trigger-netdev-add-byte-rate-threshold-mode.patch
(pending-6.18, 8xx = other drivers, next to 834-ledtrig-libata).

The netdev trigger blinks per packet counted by the netdev. On a DSA user
port that is blind in both directions at once: hardware-forwarded traffic
is not counted at all, while background broadcast and management noise is
counted and makes the LED flicker on an otherwise idle link. The result is
an LED that sits still on a port carrying 80+ Mbit/s and twitches on a port
carrying nothing.

Add a rate_threshold attribute in KiB/s. When non-zero the trigger drives
the LED from the interface byte rate instead, blinking on a 50..150 ms
ladder above the threshold and staying solid on link (or off without
carrier) below it. Writing 0 restores the classic per-packet behaviour, so
the attribute is reversible at runtime.

Design points a reviewer will ask about:

  * The rate is measured over the interval between two observed counter
    changes, not over a fixed window. A driver that refreshes its counters
    in bursts - a cached switch MIB, for instance - would otherwise dump a
    whole accumulation period into the first fixed window after the
    refresh, reporting a rate several times too high and then zero until
    the next refresh. Measuring between changes makes the trigger
    independent of the provider's refresh interval, and the last measured
    rate is held until the counter has been silent for twice the interval
    it was measured over (capped at 10 s). A decreasing counter re-anchors
    the measurement instead of reporting an enormous unsigned difference.
  * The measured rate is smoothed the way field-accepted userspace activity
    daemons do it - immediate attack at or above the threshold, a slow rise
    and a quick release below it - and when the counter goes silent the
    blink fades out quadratically from the last peak over 20 s, with the
    ladder step only ever slowing during the fade.
  * The blink is re-armed only when the ladder step changes, because
    led_blink_set() restarts the software blink timer and truncates the
    phase in progress, which shows up as an irregular cadence. For the same
    reason set_baseline_state() now clears the armed step, stops a software
    blink that is still armed - while it runs, the solid brightness set
    there only lands in blink_brightness - and schedules the work whenever
    a rate threshold is set: it runs after every netdev
    notifier event and every mode or device_name write, both of which
    cancel the work first, and it only rescheduled the work when a tx/rx
    bit was set. Without this, rate mode stopped for good on a link-only
    LED after a carrier change, and with tx/rx set the LED stayed solid
    under load because the freshly computed step still equalled the armed
    one.
  * rate mode ignores the tx/rx mode bits on purpose - requiring them would
    restore the blindness that motivates the attribute, because on the
    ports where byte-rate mode is useful the packet counters do not see the
    flow. Side effect, measured rather than assumed: LEDs configured
    link=1 tx=0 rx=0 also blink in rate mode. Gating on (tx | rx) is a
    one-line change if that is preferred.
  * div_u64() is used for the rate so 32-bit architectures link without
    __udivdi3/__aeabi_uldivmod, and the store rejects hw_control LEDs with
    -EINVAL: a hardware-offloaded trigger cannot be rate-gated in software.

Measured on a COMFAST CF-WA350 (QCA9563 + QCA8337, ath79/generic, kernel
6.18.55). The board has six GPIO LEDs in its device tree (green:lan,
red:wan, blue:wlan-5ghz, blue:ext-wan, blue:ext-wlan2g, blue:ext-lan); four
of them are on the netdev trigger and are the ones measured here, the other
two are phy throughput LEDs and are not affected by this attribute.
offloaded=0 on all four, i.e. the software path of the trigger is what
runs: idle with a 94 KiB/s max wire rate over 15 s -> 0 blinks on all four
while the same link flickers in tx/rx mode; intermittent 2.4-8.0 MiB/s
download -> blink density 3.75/s in the windows whose measured rate was
above the threshold vs 1.88 in the windows below it; threshold swept over
an impossible, the test and a low value under the same load -> 0 / 38 / 39
blinks, which is the single-variable causality check; and 25 of 25 sampled
blinks matched the ladder step predicted from the measured rate.

Upstream: intended for linux-leds.

Tested on COMFAST CF-WA350 (QCA9563 + QCA8337N), kernel 6.18.55,
image run openwrt#19 of build-cf-wa350-full: these patches cherry-picked
onto the comfast-cf-wa350-support head d9a7604 (master c282dd1).
Both on-device batteries were re-run on that image. Link-flap (carrier
down/up under load plus device_name rewrites) still re-arms rate mode on
all four netdev LEDs: VERDICT-LINKFLAP: PASS. Idle-solid (blink armed
under load, traffic stopped, set_baseline_state() fired by a device_name
rewrite, then a 15 s window per LED) shows every armed LED going solid
instead of keeping the stale blink: VERDICT-IDLESOLID: PASS.

Signed-off-by: Salah Ahmed <[email protected]>
flatstik added a commit to flatstik/AC66U_B1 that referenced this pull request Nov 3, 2026
Add the b43 AC-PHY support (BCM4352, BCM4360) as a snapshot of Alessio
Ferri's b43-ac-wip, generated with its scripts/phase1-to-openwrt.sh:
816-02 is the b43 core support, 816-03 the AC-PHY. The code is
maintained in that tree; this package carries a generated snapshot,
replaced as a whole on update.

Add PACKAGE_B43_PHY_AC (bcm53xx only, where the bcma/ssb SROM rev 11
support is), selecting DRIVER_11AC_SUPPORT, default the 784.2 firmware
with it and keep the AC-PHY files when squashing.

Snapshot of b43-ac-wip main a05eebf (with aleferri/b43-ac-wip#17, openwrt#19,
openwrt#25 and openwrt#26 merged: transmit beamforming opt-in through the txbf module
parameter, TX A-MSDUs sent from their frag_list; the radar detection of
openwrt#26 stays out of this package, as B43_DFS is not offered).

Link: https://github.com/aleferri/b43-ac-wip
Signed-off-by: Ville Takio <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants