Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions arch/arm/boot/dts/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ dtbo-$(CONFIG_ARCH_BCM2835) += \
qca7000-uart0.dtbo \
ramoops.dtbo \
ramoops-pi4.dtbo \
ramoops-pi5.dtbo \
rootmaster.dtbo \
rotary-encoder.dtbo \
rp1-pio-uart.dtbo \
Expand Down
16 changes: 5 additions & 11 deletions arch/arm/boot/dts/overlays/README
Original file line number Diff line number Diff line change
Expand Up @@ -4475,17 +4475,11 @@ Params: base-addr Where to place the capture buffer (default


Name: ramoops-pi4
Info: The version of the ramoops overlay for the Pi 4 family. It should be
loaded automatically if dtoverlay=ramoops is specified on a Pi 4.
Load: dtoverlay=ramoops-pi4,<param>=<val>
Params: base-addr Where to place the capture buffer (default
0x0b000000)
total-size How much memory to allocate altogether (in
bytes - default 64kB)
record-size How much space to use for each capture, i.e.
total-size / record-size = number of captures
(default 16kB)
console-size Size of non-panic dmesg captures (default 0)
Info: See ramoops


Name: ramoops-pi5
Info: See ramoops


Name: rootmaster
Expand Down
5 changes: 4 additions & 1 deletion arch/arm/boot/dts/overlays/overlay_map.dts
Original file line number Diff line number Diff line change
Expand Up @@ -274,11 +274,14 @@
ramoops {
bcm2835;
bcm2711 = "ramoops-pi4";
bcm2712 = "ramoops-pi4";
bcm2712 = "ramoops-pi5";
};

ramoops-pi4 {
bcm2711;
};

ramoops-pi5 {
bcm2712;
};

Expand Down
25 changes: 25 additions & 0 deletions arch/arm/boot/dts/overlays/ramoops-pi5-overlay.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/dts-v1/;
/plugin/;

/ {
compatible = "brcm,bcm2712";

fragment@0 {
target = <&rmem>;
__overlay__ {
ramoops: ramoops@b000000 {
compatible = "ramoops";
reg = <0x0 0x0b000000 0x0 0x10000>; /* 64kB */
record-size = <0x4000>; /* 16kB */
console-size = <0>; /* disabled by default */
};
};
};

__overrides__ {
base-addr = <&ramoops>,"reg#0";
total-size = <&ramoops>,"reg#8";
record-size = <&ramoops>,"record-size:0";
console-size = <&ramoops>,"console-size:0";
};
};
Loading