Skip to content

[25.12] airoha: add support for AN7581+MT7996 NPU firmware - #22372

Merged
openwrt-bot merged 2 commits into
openwrt:openwrt-25.12from
andrewjlamarche:an7581-mt7996-npu-firmware
Apr 12, 2026
Merged

openwrt-bot merged 2 commits into
openwrt:openwrt-25.12from
andrewjlamarche:an7581-mt7996-npu-firmware

Conversation

@andrewjlamarche

Copy link
Copy Markdown
Contributor

Cherry picked from 123557f and 305f685

@andrewjlamarche
andrewjlamarche marked this pull request as draft March 11, 2026 03:16
@github-actions github-actions Bot added target/airoha pull request/issue for airoha target release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release labels Mar 11, 2026
@lukasz1992

lukasz1992 commented Mar 12, 2026 •

Copy link
Copy Markdown

IMHO it is incomplete

image

@andrewjlamarche

Copy link
Copy Markdown
Contributor Author

This does depend on the firmware bump, that's why I left it in draft for now until firmware update is approved. This series is aimed at backporting the current state of w1700k on main, hence everything is cherry-picked. I welcome your ideas after :)

@taylorkline

Copy link
Copy Markdown

@andrewjlamarche polite nudge, should this be opened for review and maintainers pinged?

@andrewjlamarche
andrewjlamarche marked this pull request as ready for review March 31, 2026 03:22
@andrewjlamarche

Copy link
Copy Markdown
Contributor Author

ping @hauke

@andrewjlamarche

Copy link
Copy Markdown
Contributor Author

Friendly reminder ping @hauke @Ansuel

Introduce the capability to read the firmware binary names from device-tree
using the firmware-name property if available.
This is a preliminary patch to enable NPU offloading for MT7996 (Eagle)
chipset since it requires a different binary with respect to the one
used for MT7992 on the EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 123557f)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
Initialize NPU Block Ack memory region if reserved via DTS.
Block Ack memory region is used by NPU MT7996 (Eagle) offloading.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 305f685)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
@hauke
hauke force-pushed the an7581-mt7996-npu-firmware branch from 8b6ab70 to d7fe2c7 Compare April 12, 2026 20:05
@openwrt-bot
openwrt-bot merged commit d7fe2c7 into openwrt:openwrt-25.12 Apr 12, 2026
3 checks passed
Linaro1985 pushed a commit to Linaro1985/openwrt that referenced this pull request Apr 14, 2026
Introduce the capability to read the firmware binary names from device-tree
using the firmware-name property if available.
This is a preliminary patch to enable NPU offloading for MT7996 (Eagle)
chipset since it requires a different binary with respect to the one
used for MT7992 on the EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 123557f)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
Linaro1985 pushed a commit to Linaro1985/openwrt that referenced this pull request Apr 14, 2026
Initialize NPU Block Ack memory region if reserved via DTS.
Block Ack memory region is used by NPU MT7996 (Eagle) offloading.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 305f685)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Introduce the capability to read the firmware binary names from device-tree
using the firmware-name property if available.
This is a preliminary patch to enable NPU offloading for MT7996 (Eagle)
chipset since it requires a different binary with respect to the one
used for MT7992 on the EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 123557f)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
harphy pushed a commit to harphy/openwrt that referenced this pull request Apr 23, 2026
Initialize NPU Block Ack memory region if reserved via DTS.
Block Ack memory region is used by NPU MT7996 (Eagle) offloading.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 305f685)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
@andrewjlamarche
andrewjlamarche deleted the an7581-mt7996-npu-firmware branch August 25, 2026 16:08
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Introduce the capability to read the firmware binary names from device-tree
using the firmware-name property if available.
This is a preliminary patch to enable NPU offloading for MT7996 (Eagle)
chipset since it requires a different binary with respect to the one
used for MT7992 on the EN7581 SoC.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 123557f)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
LuisMitaHL pushed a commit to LuisMitaHL/LooperWrt that referenced this pull request Sep 21, 2026
Initialize NPU Block Ack memory region if reserved via DTS.
Block Ack memory region is used by NPU MT7996 (Eagle) offloading.

Signed-off-by: Lorenzo Bianconi <[email protected]>
Link: openwrt#22289
Signed-off-by: Christian Marangi <[email protected]>
(cherry picked from commit 305f685)
Link: openwrt#22372
Signed-off-by: Hauke Mehrtens <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release/25.12 pull request/issue targeted (also) for OpenWrt 24.10 release target/airoha pull request/issue for airoha target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants