On Friday 19 May 2017 09:15 AM, AKASHI Takahiro wrote:
Just for clarification, dtb is optional for both vmlinux and Image on+to load dump-capture kernel.For uncompressed Image, dtb is not necessary?
+
+ kexec -p <dump-capture-kernel-Image> \
+ --initrd=<initrd-for-dump-capture-kernel> \
+ --append="root=<root-dev> <arch-specific-options>"
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"?
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