airoha: an7581: enable NPU by default
authorZiyang Huang <[email protected]>
Sun, 19 Oct 2025 12:26:32 +0000 (20:26 +0800)
committerChristian Marangi <[email protected]>
Thu, 20 Nov 2025 22:05:36 +0000 (23:05 +0100)
There is no reason not to do this.

Use the following commands to enable hardware offloading:
    uci set firewall.@defaults[0].flow_offloading='1'
    uci set firewall.@defaults[0].flow_offloading_hw='1'
    uci commit

Signed-off-by: Ziyang Huang <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20484
Signed-off-by: Christian Marangi <[email protected]>
target/linux/airoha/an7581/target.mk
target/linux/airoha/dts/an7581.dtsi

index 6d0c4e2cb5bdb69cceb936fffa3e5ead9e90a274..5eacac3f3b3c1d4e4c717b497313dfc1d07c8a3b 100644 (file)
@@ -5,6 +5,9 @@ CPU_TYPE:=cortex-a53
 KERNELNAME:=Image dtbs
 FEATURES+=pwm source-only
 
+DEFAULT_PACKAGES += \
+       airoha-en7581-npu-firmware
+
 define Target/Description
        Build firmware images for Airoha an7581 ARM based boards.
 endef
index 32bc6b5df7d5fbeedae2938d0147d25778c82cfb..e50048ac94a09cc663495013ac24ebbd92318179 100644 (file)
                                        <&npu_txbufid>;
                        memory-region-names = "binary", "pkt", "tx-pkt",
                                              "tx-bufid";
-                       status = "disabled";
                };
 
                eth: ethernet@1fb50000 {