aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorBrian Woods2020-10-27 17:08:07 -0700
committerStefano Stabellini2020-10-27 18:18:07 -0700
commit6e1ece2b59a0b8037f4244a3df2b50534eae2942 (patch)
tree351ff42cba31431e90f136da38abe480da5eb9aa /README.md
parent3956b70f583490df9ed0d3d16cc89eb5c1af1001 (diff)
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 <brian.woods@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md9
1 files changed, 9 insertions, 0 deletions
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.