Skip to content

Instantly share code, notes, and snippets.

@sndnvaps
Created November 21, 2016 02:12
Show Gist options
  • Save sndnvaps/60238ee112d13d889127506745e8aed1 to your computer and use it in GitHub Desktop.
Save sndnvaps/60238ee112d13d889127506745e8aed1 to your computer and use it in GitHub Desktop.
nubia_nx511j ram_console setup dtsi
/* Copyright (c) 2016, The Mokee Open Source, All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*/
/ {
memory {
pstore_reserve_mem: pstore_reserve_mem_region@0 {
linux,reserve-contiguous-region;
linux,reserve-region;
linux,remove-completely;
reg = <0x0 0x9ff00000 0x0 0x00100000>;
label = "pstore_reserve_mem";
};
};
};
&soc {
ramoops {
compatible = "ramoops";
status = "ok";
android,ramoops-buffer-start = <0x9ff00000>;
android,ramoops-buffer-size = <0x100000>;
android,ramoops-console-size = <0x80000>;
android,ramoops-record-size = <0x10000>;
android,ramoops-dump-oops = <0x1>;
};
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment