mirror of
https://github.com/openwrt/openwrt.git
synced 2025-06-24 10:18:09 +00:00
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>
This commit is contained in:
committed by
Christian Marangi
parent
10ba380ec3
commit
2964e5024c
@ -10,6 +10,15 @@
|
|||||||
device_type = "memory";
|
device_type = "memory";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ramoops@42100000 {
|
||||||
|
compatible = "ramoops";
|
||||||
|
reg = <0x42100000 0x40000>;
|
||||||
|
record-size = <0x4000>;
|
||||||
|
console-size = <0x4000>;
|
||||||
|
ftrace-size = <0x4000>;
|
||||||
|
pmsg-size = <0x4000>;
|
||||||
|
};
|
||||||
|
|
||||||
aliases {
|
aliases {
|
||||||
mdio-gpio0 = &mdio0;
|
mdio-gpio0 = &mdio0;
|
||||||
label-mac-device = &gmac2;
|
label-mac-device = &gmac2;
|
||||||
|
@ -409,7 +409,7 @@ define Device/tplink_ad7200
|
|||||||
BLOCKSIZE := 128k
|
BLOCKSIZE := 128k
|
||||||
PAGESIZE := 2048
|
PAGESIZE := 2048
|
||||||
TPLINK_BOARD_ID := AD7200
|
TPLINK_BOARD_ID := AD7200
|
||||||
DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-wil6210
|
DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops kmod-wil6210
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_ad7200
|
TARGET_DEVICES += tplink_ad7200
|
||||||
|
|
||||||
@ -424,7 +424,7 @@ define Device/tplink_c2600
|
|||||||
BOARD_NAME := c2600
|
BOARD_NAME := c2600
|
||||||
SUPPORTED_DEVICES += c2600
|
SUPPORTED_DEVICES += c2600
|
||||||
TPLINK_BOARD_ID := C2600
|
TPLINK_BOARD_ID := C2600
|
||||||
DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct
|
DEVICE_PACKAGES := ath10k-firmware-qca99x0-ct kmod-ramoops
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_c2600
|
TARGET_DEVICES += tplink_c2600
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user