From: Ziyang Huang Date: Sun, 19 Oct 2025 12:26:32 +0000 (+0800) Subject: airoha: an7581: enable NPU by default X-Git-Url: http://git.openwrt.org/?a=commitdiff_plain;h=a19ccd9d153b5972db550b1cc5a7a3b2dae081f0;p=openwrt%2Fopenwrt.git airoha: an7581: enable NPU by default 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 Link: https://github.com/openwrt/openwrt/pull/20484 Signed-off-by: Christian Marangi --- diff --git a/target/linux/airoha/an7581/target.mk b/target/linux/airoha/an7581/target.mk index 6d0c4e2cb5..5eacac3f3b 100644 --- a/target/linux/airoha/an7581/target.mk +++ b/target/linux/airoha/an7581/target.mk @@ -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 diff --git a/target/linux/airoha/dts/an7581.dtsi b/target/linux/airoha/dts/an7581.dtsi index 32bc6b5df7..e50048ac94 100644 --- a/target/linux/airoha/dts/an7581.dtsi +++ b/target/linux/airoha/dts/an7581.dtsi @@ -832,7 +832,6 @@ <&npu_txbufid>; memory-region-names = "binary", "pkt", "tx-pkt", "tx-bufid"; - status = "disabled"; }; eth: ethernet@1fb50000 {