Ankit Kumar <ankit(a)linux.vnet.ibm.com> writes:
+/*
+ * Definitions derived from OPAL. These need to track corresponding values in
+ *
https://github.com/open-power/skiboot/blob/master/include/mem-map.h
+ */
+#define SKIBOOT_CONSOLE_DUMP_START 0x31000000
+#define SKIBOOT_CONSOLE_DUMP_SIZE 0x40000
Where did you get this size from?
INMEM_CON_LEN in skiboot is 0x100000
Even if booting a kdump kernel, you're going to have a device tree with
the appropriate nodes present to *programatically* find out where the
console is. You should certainly do that.
We've never said that the skiboot memory map is ABI, so it *may* change.
--
Stewart Smith
OPAL Architect, IBM.