[openwrt/openwrt] ipq806x: provide ramoops for R7800/XR500 by default

LEDE Commits lede-commits at lists.infradead.org
Tue Mar 8 09:35:31 PST 2022


ynezz pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/549f8694c308761c25690a519de724ea3ad2bd76

commit 549f8694c308761c25690a519de724ea3ad2bd76
Author: Hannu Nyman <hannu.nyman at iki.fi>
AuthorDate: Sun Mar 6 11:56:15 2022 +0200

    ipq806x: provide ramoops for R7800/XR500 by default
    
    Add kmod-ramoops to the default set of device packages in
    R7800 and XR500, so that the ramoops kernel crash logs
    are provided by default for these routers.
    
    The capability was earlier defined by 97158fe1 and cf346dfa,
    but the feature was not yet turned on by default.
    
    The possible kernel crashes are stored into /sys/fs/pstore/*
    
    Signed-off-by: Hannu Nyman <hannu.nyman at iki.fi>
---
 target/linux/ipq806x/image/generic.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/target/linux/ipq806x/image/generic.mk b/target/linux/ipq806x/image/generic.mk
index 11592ad97e..819c73d338 100644
--- a/target/linux/ipq806x/image/generic.mk
+++ b/target/linux/ipq806x/image/generic.mk
@@ -304,7 +304,7 @@ define Device/netgear_r7800
 	PAGESIZE := 2048
 	BOARD_NAME := r7800
 	SUPPORTED_DEVICES += r7800
-	DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
+	DEVICE_PACKAGES := ath10k-firmware-qca9984-ct kmod-ramoops
 endef
 TARGET_DEVICES += netgear_r7800
 
@@ -318,7 +318,7 @@ define Device/netgear_xr500
 	NETGEAR_HW_ID := 29764958+0+256+512+4x4+4x4+cascade
 	BLOCKSIZE := 128k
 	PAGESIZE := 2048
-	DEVICE_PACKAGES := ath10k-firmware-qca9984-ct
+	DEVICE_PACKAGES := ath10k-firmware-qca9984-ct kmod-ramoops
 endef
 TARGET_DEVICES += netgear_xr500
 




More information about the lede-commits mailing list