diff options
author | Edward Matijevic <motolav@gmail.com> | 2022-11-06 13:12:36 -0600 |
---|---|---|
committer | Christian Marangi <ansuelsmth@gmail.com> | 2022-11-09 17:07:15 +0100 |
commit | 2964e5024c09fa4b576ecb41269cc65061ae835c (patch) | |
tree | 152f8c01d163b4840592fe714f555f30cd0bfa68 /target/linux/ipq806x | |
parent | 10ba380ec3a9d0462026120ecd5f5f4fa61b5d21 (diff) | |
download | upstream-2964e5024c09fa4b576ecb41269cc65061ae835c.tar.gz upstream-2964e5024c09fa4b576ecb41269cc65061ae835c.tar.bz2 upstream-2964e5024c09fa4b576ecb41269cc65061ae835c.zip |
ipq806x: kernel ramoops storage for C2600/AD7200
Define the kernel crash log storage ramoops/pstore feature
for C2600/AD7200 and add kmod-ramoops to default.
Tested with C2600 only.
Signed-off-by: Edward Matijevic <motolav@gmail.com>
Diffstat (limited to 'target/linux/ipq806x')
-rw-r--r-- | target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi | 9 | ||||
-rw-r--r-- | target/linux/ipq806x/image/generic.mk | 4 |
2 files changed, 11 insertions, 2 deletions
diff --git a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi index dd57fc02b4..576393015a 100644 --- a/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi +++ b/target/linux/ipq806x/files-5.15/arch/arm/boot/dts/qcom-ipq8064-ad7200-c2600.dtsi @@ -10,6 +10,15 @@ device_type = "memory"; }; + ramoops@42100000 { + compatible = "ramoops"; + reg = <0x42100000 0x40000>; + record-size = <0x4000>; + console-size = <0x4000>; + ftrace-size = <0x4000>; + pmsg-size = <0x4000>; + }; + aliases { mdio-gpio0 = &mdio0; label-mac-device = &gmac2; diff --git a/target/linux/ipq806x/image/generic.mk b/target/linux/ipq806x/image/generic.mk index 02f5aad545..936febc762 100644 --- a/target/linux/ipq806x/image/generic.mk +++ b/target/linux/ipq806x/image/generic.mk @@ -409,7 +409,7 @@ define Device/tplink_ad7200 BLOCKSIZE := 128k PAGESIZE := 2048 TPLINK_BOARD_ID := AD7200 - DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-wil6210 + DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops kmod-wil6210 endef TARGET_DEVICES += tplink_ad7200 @@ -424,7 +424,7 @@ define Device/tplink_c2600 BOARD_NAME := c2600 SUPPORTED_DEVICES += c2600 TPLINK_BOARD_ID := C2600 - DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct + DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops endef TARGET_DEVICES += tplink_c2600 |