Skip to content

Pull req for 4.4.12, ar71xx/mediatek updates, package upgrades - #11

Merged
lperkov merged 107 commits into
openwrt:masterfrom
wigyori:master
Jun 23, 2016
Merged

lperkov merged 107 commits into
openwrt:masterfrom
wigyori:master

Conversation

@wigyori

@wigyori wigyori commented Jun 21, 2016

Copy link
Copy Markdown
Contributor

No description provided.

Noltari and others added 30 commits June 20, 2016 14:50
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
improves overall performance of the platform, since it fixes cache
problems that prevented the cache from operating fully in previous
releases.

Signed-off-by: Marek Vasut <[email protected]>
Add package with the DT compiler v1.4.1 .

Signed-off-by: Marek Vasut <[email protected]>
Add patch with the DT overlay support into the DTC package.

Signed-off-by: Marek Vasut <[email protected]>
Add necessary kernel backports to support the Cadence QSPI controller
present on the Altera SoCFPGA SoC.

Signed-off-by: Marek Vasut <[email protected]>
This change switches ARC tools to the most recent arc-2016.03
version.

ARC GNU tools of version arc-2016.03 bring some quite significant
changes like:
 * Binutils v2.26+ (upstream commit id 202ac19 with additional ARC
 * patches)
 * GCC v4.8.5
 * GDB 7.10

More about changes, improvements and fixes could be found here:
https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/tag/arc-2016.03

Signed-off-by: Alexey Brodkin <[email protected]>
Initially for ARC we were building vmlinux images because it
was both simpler and more convenient to debug Linux kernel
in runt-time via JTAG. Now when base system works quite nice
we may finally use U-Boot for loading the system image as
well. Still we keep building vmlinux images as some of our
boards are development boards and loading images with JTAG
could be at some points very beneficial.

Note for U-Boot header it's required to specify 2 values:
 * loading address
 * entry point (if it doesn't match loading address)

and in case of ARC entry point (EP) not only differs from
loading address but also changes from build to build due to
initramfs being placed between loading address and text section.
To accommodate that feature we have to calculate EP after
vmlinux gets built and before call to mkimage.

Signed-off-by: Alexey Brodkin <[email protected]>
package/devel/gdb-arc: Add target GDB for ARC

ARC port of GDB is not yet upstream so we need to use
sources from Synopsys GitHub repo.

Given Synopys' commitment to upstream ARC support in GDB
in the nearest future it might be simpler to add a separate
package for ARC GDB instead of patching generic GDB package.
This way once ARC GDB stuff gets uptreamed we'll only need
to remove that new "gdb-arc" package.

Note 1 very minor change in generic gdb package was done -
it now depends on !arc (while "gdb-arc" depends on "arc").

Signed-off-by: Alexey Brodkin <[email protected]>
Even though ARC tools were released as arc-2016.03
we have a little bit different version name for GDB.
That's because both Binutils and GDB come from the same
git repo but from different branches (and so different tags).

Also removing an extra patch that made its way into release.

Signed-off-by: Alexey Brodkin <[email protected]>
Update the dropbear package to version 2016.73, refresh patches.
The measured .ipk sizes on an x86_64 build are:

  94588	dropbear_2015.71-3_x86_64.ipk
  95316	dropbear_2016.73-1_x86_64.ipk

This is an increase of roughly 700 bytes after compression.

Tested-by: Kevin Darbyshire-Bryant <[email protected]>
Signed-off-by: Jo-Philipp Wich <[email protected]>
This fixes mount_root in failsafe and reverts a ext4 overlay patch.

Signed-off-by: John Crispin <[email protected]>
Fix ARCHER_C7_GPIO_BTN_RFKILL, which is attached to GPIO23

Signed-off-by: Lars Buerding <[email protected]>
Update e2fsprogs to v1.42.13 from 1.42.12

Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
This has minor differences to the V1

Signed-off-by: John Crispin <[email protected]>
- CPU QCA9531-BL3A
- RAM: 64MB
- flash: 16MB
- USB

AP143 platform, similar to tl-wr841n v10/v11, but with USB

Signed-off-by: Cezary Jackiewicz <[email protected]>
This allows gpio requests from mach files to succeed.

Signed-off-by: Felix Fietkau <[email protected]>
Signed-off-by: Cezary Jackiewicz <[email protected]>
To avoid confusion with different unifiac devices, rename existing target
"unifiac" to "unifiac-lite", before "unifiac-pro" is introduced.

Signed-off-by: P.Wassi <p.wassi at gmx.at>
Add support for the Ubiquiti UniFi AP AC PRO
Signed-off-by: P.Wassi <p.wassi at gmx.at>
OpenWRT changed the default fq_codel sch->limit from 10240 to 1024,
without also adjusting q->flows_cnt.  Eric Dumazet explains below that
you must also adjust the buckets (q->flows_cnt) for this not to break.

Eric explains: Limit of 1024 packets and 1024 flows is not wise I think.
(If all buckets are in use, each bucket has a virtual queue of 1 packet,
which is almost the same than having no queue at all)

I suggest to have at least 8 packets per bucket, to let Codel have a
chance to trigger.  So you could either reduce number of buckets to 128
(if memory is tight), or increase limit to 8192.

flows_cnt is now set to 1024/8=128

Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
Russell Senior and others added 9 commits June 22, 2016 22:48
Summary of changes:
* moved config-3.18 to config-4.4 and patches-3.18 to patches-4.4
* removed most of the first two patches, that seem to be upstream already
* changed deprecated/removed IRQF_DISABLED to zero following examples in upstream kernel patches
* added config line to disable device-tree to satisfy kernel configuration
* add new image generation code

Build tested and run tested on an Accton MR3201A.

Signed-off-by: Russell Senior <[email protected]>
Signed-off-by: Sergey Ryazanov <[email protected]>
Signed-off-by: John Crispin <[email protected]>
Building for octeon fails with

  'arch/mips/vdso/vdso-n32.so.dbg' already contains a '.MIPS.abiflags'
  section

if the file already exists from a prior build.

Use the same workaround as the one for vdso.so.dbg committed in
9eb1553.

Commit 91f205a extended the workaround
to cover vdso-o32.so.dbg but missed the vdso-n32.so.dbg which is added
now by this change.

Signed-off-by: Jo-Philipp Wich <[email protected]>
Signed-off-by: Álvaro Fernández Rojas <[email protected]>
This regression was introduced while rebasing LEDE's commits over the latest
OpenWrt repository.

Signed-off-by: Álvaro Fernández Rojas <[email protected]>
brcm2708: fix missing dependency found by buildbot
Add missing dependency to kmod-sound-soc-adau1977-adc.

brcm2708: fix another missing kmod dependency
kmod-sound-soc-digidac1-soundcard is also missing snd-soc-wm8804 dependency
for snd-soc-wm8804-i2c

brcm2708: fix brcm2708-gpu-fw

Signed-off-by: Zoltan HERPAI <[email protected]>
The ath25 target has its own unique button action config support, which is not
used anywhere except for two example logger statements in UCI.

Since there is a generic /etc/rc.button facility since some time already there
is no reason at all to keep this target specific mechanism anymore, so simply
drop it.

Signed-off-by: Jo-Philipp Wich <[email protected]>
Upstream dropped the `dapm` member of `struct snd_soc_component`, requiring
users to access it using `snd_soc_codec_get_dapm()` instead so change the
driver code to do just that.

Fixes the following build error spotted by the buildbots:

      CC [M]  sound/soc/gw-avila/gw-avila.o
    sound/soc/gw-avila/gw-avila.c: In function 'avila_aic3x_init':
    sound/soc/gw-avila/gw-avila.c:104:44: error: 'struct snd_soc_codec' has no member named 'dapm'

Signed-off-by: Jo-Philipp Wich <[email protected]>
@lperkov
lperkov merged commit 282b917 into openwrt:master Jun 23, 2016
friendlyarm referenced this pull request in friendlyarm/friendlywrt Apr 25, 2019
sdelafond referenced this pull request in untangle/openwrt Oct 15, 2020
Add in bpfgen Makefile and add in bpfgen configuration
dengxinfa pushed a commit to gl-inet/openwrt that referenced this pull request Apr 8, 2021
RM#9052,1,update wifi.ko/network.ko/ add sfax8_factory_read.ko
@cdrag45 cdrag45 mentioned this pull request Feb 18, 2022
github-actions Bot pushed a commit to kltk/openwrt that referenced this pull request Apr 4, 2023
FrankZRS pushed a commit to Cascoda/OpenWrt that referenced this pull request Dec 16, 2025
ADCDS referenced this pull request in ADCDS/openwrt-realtek Jul 31, 2026
… visible

The DIR-842 crash-loops on a NOR boot, but the trace on the console was never the real
fault: it was "Oops[#448]" inside crashlog_printf+0x20 faulting on virtual address
0x00000c00 with PID 0 / task.stack=NULL. OpenWrt's own crashlog handler
(hack-4.14/930-crashlog.patch) faults on this SoC *from inside die()*, so recording the
first oops re-enters the fault path and recurses hundreds of times, flooding the console
and hanging the boot. The genuine first fault is never printed — which is why #11 has had
no root cause for weeks.

Turn it off for this subtarget so the real trace reaches the console.

⚠ This file alone is NOT enough, and that is worth knowing: `scripts/kconfig.pl` merges
generic + target + subtarget correctly (verified: the merge output does contain
"# CONFIG_CRASHLOG is not set"), but OpenWrt then injects the top-level
CONFIG_KERNEL_<SYM> knobs AFTER that merge, so CONFIG_KERNEL_CRASHLOG=y silently won and
the built kernel still had crashlog_printf at 800af680 — exactly the address in the crash.
The effective switch is "# CONFIG_KERNEL_CRASHLOG is not set" in the top-level .config
(.gitignore'd, so it is recorded in seed-m5.config instead). Comment here points at it.

Verified after rebuild: kernel .config has "# CONFIG_CRASHLOG is not set" and the
System.map crashlog symbol count went 10 -> 0.

Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 6, 2026
A field X111W on a production OLT answered the identity compiled into the
core for every board: vendor HSGQ, equipment ID "HSGQ-X411AXF" (the X400AXF
port's value, which won when the responders were merged), fixed versions,
LOID "user" and a zero LOID password. Stock's omci_app takes each of them from
the unit's own factory MIB (runomci.sh), and a production OLT may provision by
any of them; this unit's own MIB says XPON / X111W-A10.

- struct omci_identity moves to the header and each struct omci_onu carries
  its own copy, seeded from the build default (unchanged bytes, so nothing
  moves until a unit is provisioned) and carried across omci_onu_reinit().
- omci_onu_set_id() provisions one member, zero-padded; an overlong value
  (or a product code that is not 2 octets) is refused and changes nothing.
- ONU2-G openwrt#3 product code and ONU-G openwrt#11 / CTC LoID openwrt#3 password become
  provisionable members instead of constants.
- rtk_factory gains hw_ver (HW_HWVER), sw_ver1/sw_ver2 (OMCI_SW_VER1/2) and
  product_code (OMCI_VENDOR_PRODUCT_CODE). On the lab X111W's own config
  dump they read 02A5B1 / M225-260708c / M225-260618 / 31, and 0x0031 is
  what live stock's ONU2-G openwrt#3 answered (hex).

The shells (luna_gpon, cortina-gpon) and gpon_provision are wired in a
follow-up. Host proof: dev/rtl9607c-test omci_identity_test (ladder 4l,
61/0), step 4d unchanged (15/15), four mutation rows red.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 6, 2026
…shows it

The lab OLT's ont-capability of the bench X111W read ETH 2, POTS 1, IP
configuration support[3], priority queues DS 24 / US 96 on stock and 1, 0, not
support, 8, 0 on ours. Production OLTs see the same MIB, and the operator's
rule is that only the software version may differ. After this change
olt_view.py reads MATCHES (47 fields), and the datapath group passes on the
bench X111W (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN).

Core (gpon_omci_me.c/.h, gpon_omci_core.c):
- struct omci_slot: one equipment slot per declared circuit pack (ME 5 + ME 6:
  type, ports, priority queues, T-CONT buffers, schedulers). ME 6 gains
  openwrt#6..openwrt#8, openwrt#10, openwrt#11, openwrt#13, openwrt#14. Undeclared boards keep the single 0x0101 slot.
- ME 277 rows follow the slots: downstream blocks of 8 per Ethernet UNI then
  the VEIP, upstream 8 per T-CONT (0x8000 + 8t + p), related port counting
  down -- stock's own numbering, all 120 X111W queues checked.
- ME 134 IP host config data per declared instance; openwrt#2 is the WAN netdev MAC
  the NIC pushes (luna_omci_set_wan_mac), not answered until it does.
- ME 53 PPTP POTS UNI per declared instance (stock reports 0x0201 unwired).
- A Get of ME 5/6/53/134/277 validates the instance (UNKNOWN_INST).
- Luna OMCI_MIB_ROWS_MAX 200 -> 256 (the X111W MIB is 205 rows).

Luna shell: /omci-uni circuit-packs, ip-host-instances/ip-host-wan-mac and
pots-uni-instances are parsed; rtl9602c_eth.c and luna_eth.c push the WAN MAC
wherever they set it.

X111W DTS: the omci-uni node sat inside &spi_nor (/flash@14000000/omci-uni)
while luna_gpon looks it up at /omci-uni, so the board's UNI panel was never
applied. It is now a root child and declares stock's six circuit packs, three
IP hosts and one POTS UNI. dts_vs_measured's DRIVER_NODE_PATHS check catches
the misplacement at build time.

Host proof: omci_slot_test 30/0 (mutation-proven), omci_me_table 15/15,
omci_admin_state 129/0, omci_wire_offsets 159/159, luna_omci_pipeline 12578/0;
widths agree with stock's mib_*.so for every added attribute. All four boards
build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 31, 2026
A field X111W on a production OLT answered the identity compiled into the
core for every board: vendor HSGQ, equipment ID "HSGQ-X411AXF" (the X400AXF
port's value, which won when the responders were merged), fixed versions,
LOID "user" and a zero LOID password. Stock's omci_app takes each of them from
the unit's own factory MIB (runomci.sh), and a production OLT may provision by
any of them; this unit's own MIB says XPON / X111W-A10.

- struct omci_identity moves to the header and each struct omci_onu carries
  its own copy, seeded from the build default (unchanged bytes, so nothing
  moves until a unit is provisioned) and carried across omci_onu_reinit().
- omci_onu_set_id() provisions one member, zero-padded; an overlong value
  (or a product code that is not 2 octets) is refused and changes nothing.
- ONU2-G openwrt#3 product code and ONU-G openwrt#11 / CTC LoID openwrt#3 password become
  provisionable members instead of constants.
- rtk_factory gains hw_ver (HW_HWVER), sw_ver1/sw_ver2 (OMCI_SW_VER1/2) and
  product_code (OMCI_VENDOR_PRODUCT_CODE). On the lab X111W's own config
  dump they read 02A5B1 / M225-260708c / M225-260618 / 31, and 0x0031 is
  what live stock's ONU2-G openwrt#3 answered (hex).

The shells (luna_gpon, cortina-gpon) and gpon_provision are wired in a
follow-up. Host proof: dev/rtl9607c-test omci_identity_test (ladder 4l,
61/0), step 4d unchanged (15/15), four mutation rows red.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
alphaonex86 added a commit to alphaonex86/openwrt that referenced this pull request Oct 31, 2026
…shows it

The lab OLT's ont-capability of the bench X111W read ETH 2, POTS 1, IP
configuration support[3], priority queues DS 24 / US 96 on stock and 1, 0, not
support, 8, 0 on ours. Production OLTs see the same MIB, and the operator's
rule is that only the software version may differ. After this change
olt_view.py reads MATCHES (47 fields), and the datapath group passes on the
bench X111W (NAT v4/v6, 941/956 Mbps transit, WiFi, PPPoE, tagged WAN).

Core (gpon_omci_me.c/.h, gpon_omci_core.c):
- struct omci_slot: one equipment slot per declared circuit pack (ME 5 + ME 6:
  type, ports, priority queues, T-CONT buffers, schedulers). ME 6 gains
  openwrt#6..openwrt#8, openwrt#10, openwrt#11, openwrt#13, openwrt#14. Undeclared boards keep the single 0x0101 slot.
- ME 277 rows follow the slots: downstream blocks of 8 per Ethernet UNI then
  the VEIP, upstream 8 per T-CONT (0x8000 + 8t + p), related port counting
  down -- stock's own numbering, all 120 X111W queues checked.
- ME 134 IP host config data per declared instance; openwrt#2 is the WAN netdev MAC
  the NIC pushes (luna_omci_set_wan_mac), not answered until it does.
- ME 53 PPTP POTS UNI per declared instance (stock reports 0x0201 unwired).
- A Get of ME 5/6/53/134/277 validates the instance (UNKNOWN_INST).
- Luna OMCI_MIB_ROWS_MAX 200 -> 256 (the X111W MIB is 205 rows).

Luna shell: /omci-uni circuit-packs, ip-host-instances/ip-host-wan-mac and
pots-uni-instances are parsed; rtl9602c_eth.c and luna_eth.c push the WAN MAC
wherever they set it.

X111W DTS: the omci-uni node sat inside &spi_nor (/flash@14000000/omci-uni)
while luna_gpon looks it up at /omci-uni, so the board's UNI panel was never
applied. It is now a root child and declares stock's six circuit packs, three
IP hosts and one POTS UNI. dts_vs_measured's DRIVER_NODE_PATHS check catches
the misplacement at build time.

Host proof: omci_slot_test 30/0 (mutation-proven), omci_me_table 15/15,
omci_admin_state 129/0, omci_wire_offsets 159/159, luna_omci_pipeline 12578/0;
widths agree with stock's mib_*.so for every added attribute. All four boards
build.

Co-Authored-By: Claude Opus 5.5 (1M context) <[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.