From 6e1ece2b59a0b8037f4244a3df2b50534eae2942 Mon Sep 17 00:00:00 2001 From: Brian Woods Date: Tue, 27 Oct 2020 17:08:07 -0700 Subject: Add options for Xen and Dom0 CMD arguments Both XEN_CMD and DOM0_CMD are optional settings in the config file that set Xen's and Dom0's command line arguments. If not set, a default value will be used. Also, for Dom0's command line arguments, if root isn't set in it, it will determine the best option based on the load argument. Signed-off-by: Brian Woods Reviewed-by: Stefano Stabellini --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index f688f28..8aa33a3 100644 --- a/README.md +++ b/README.md @@ -31,7 +31,9 @@ MEMORY_END="0x80000000" DEVICE_TREE="mpsoc.dtb" XEN="xen" +XEN_CMD="console=dtuart dtuart=serial0 dom0_mem=1G dom0_max_vcpus=1 bootscrub=0 vwfi=native sched=null" DOM0_KERNEL="Image-dom0" +DOM0_CMD="console=hvc0 earlycon=xen earlyprintk=xen clk_ignore_unused" DOM0_RAMDISK="dom0-ramdisk.cpio" NUM_DOMUS=2 @@ -53,8 +55,15 @@ Where: - XEN specifies the Xen hypervisor binary to load. Note that it has to be a regular Xen binary, not a u-boot binary. +- XEN_CMD specifies the command line arguments used for Xen. If not + set, the default one will be used. + - DOM0_KERNEL specifies the Dom0 kernel file to load. +- DOM0_CMD specifies the command line arguments for Dom0's Linux + kernel. If "root=" isn't set, imagebuilder will try to determine it. + If not set at all, the default one is used. + - DOM0_RAMDISK specifies the Dom0 ramdisk to use. Note that it should be a regular ramdisk cpio.gz file, not a u-boot binary. -- cgit v1.2.3