rt3200 needs pmsg-size set in its dts for persistent logging
This commit is contained in:
parent
497307588f
commit
fd28f0ce04
@ -113,7 +113,8 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
module = {pkgs, config, lib, lim, ... }:
|
module = {pkgs, config, lib, lim, ... }:
|
||||||
let firmware = pkgs.stdenv.mkDerivation {
|
let inherit (lib) mkIf;
|
||||||
|
firmware = pkgs.stdenv.mkDerivation {
|
||||||
name = "wlan-firmware";
|
name = "wlan-firmware";
|
||||||
phases = ["installPhase"];
|
phases = ["installPhase"];
|
||||||
installPhase = ''
|
installPhase = ''
|
||||||
@ -268,6 +269,9 @@
|
|||||||
"${openwrt.src}/target/linux/mediatek/dts"
|
"${openwrt.src}/target/linux/mediatek/dts"
|
||||||
"${config.system.outputs.kernel.modulesupport}/arch/arm64/boot/dts/mediatek/"
|
"${config.system.outputs.kernel.modulesupport}/arch/arm64/boot/dts/mediatek/"
|
||||||
];
|
];
|
||||||
|
includes = mkIf config.logging.persistent.enable [
|
||||||
|
./pstore-pmsg.dtsi
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
# - 0x000000000000-0x000008000000 : "spi-nand0"
|
# - 0x000000000000-0x000008000000 : "spi-nand0"
|
||||||
|
8
devices/belkin-rt3200/pstore-pmsg.dtsi
Normal file
8
devices/belkin-rt3200/pstore-pmsg.dtsi
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
/ {
|
||||||
|
reserved-memory {
|
||||||
|
/* make sure address matches upstream */
|
||||||
|
ramoops@42ff0000 {
|
||||||
|
pmsg-size = <0x10000>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
Loading…
Reference in New Issue
Block a user