Re: [PATCH] kexec/kdump: Minor Documentation updates for arm64 and Image

From: Pratyush Anand
Date: Mon May 22 2017 - 03:05:17 EST




On Monday 22 May 2017 12:19 PM, Bharat Bhushan wrote:
On Friday 19 May 2017 09:15 AM, AKASHI Takahiro wrote:
+to load dump-capture kernel.
+
+ kexec -p <dump-capture-kernel-Image> \
+ --initrd=<initrd-for-dump-capture-kernel> \
+ --append="root=<root-dev> <arch-specific-options>"
For uncompressed Image, dtb is not necessary?
Just for clarification, dtb is optional for both vmlinux and Image on
arm64. (This means you can specify it if you want.) But this is also
true for initrd and append(command line) to some extent.

Yes, I agree.

Should I mention "-dtb" also for "Image"?

No,I think it is fine.

This documentation is representing a typical use case and so above changes is OK for me. I think,your v2 is fine.

~Pratyush


Also do we need to mention that it is optional somewhere in this document? I do not see "optional" is mentioned for other parameters and architecture.

Does this looks ok:

" -dtb=<optional-dtb-for-dump-capture-kernel> \"

Thanks
-Bharat


More precisely, whether these parameters are optional or not will
depend on architectures, not formats, I believe.

May be not architecture, rather a distro environment.

For example, we should be able to work without --initrd for any arch if kernel
has been compiled by configuring CONFG_INITRAMFS_SOURCE.

~Pratyush