[Skiboot] [PATCH]: Implementation of opalmsg command in crash-utility
stewart at linux.vnet.ibm.com
Thu Feb 16 18:02:15 AEDT 2017
Ankit Kumar <ankit at 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.
OPAL Architect, IBM.
More information about the Skiboot