aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorAyan Kumar Halder2021-11-05 12:20:16 +0000
committerStefano Stabellini2021-11-05 08:53:12 -0700
commit99d452ee2e3c2f0abebbaaad32aa5ae1a58da0bd (patch)
treec8a8423df05b474d9619f5cca754a2e6fe10e5e5 /README.md
parentd1af839cb8db976827984e2b6aed14681685c638 (diff)
Enable the user to override the bootargs for domU
The user can specify the bootargs for domU in the config file as follows:- DOMU_CMD[x]="<cmd line params>" As an example, DOMU_CMD[0]="console=ttyPS0 earlycon console=ttyPS0,115200 console=ttyAMA0 clk_ignore_unused rdinit=/sbin/init root=/dev/ram0 init=/bin/sh" If the user does not specify this, then the default command line param is:- "console=ttyAMA0" Also, updated the README.md. Signed-off-by: Ayan Kumar Halder <ayankuma@xilinx.com> [stefano: improve README] Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com> Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/README.md b/README.md
index 26ff43a..184ceef 100644
--- a/README.md
+++ b/README.md
@@ -43,9 +43,11 @@ DT_OVERLAY[0]="host_dt_overlay.dtbo"
NUM_DOMUS=2
DOMU_KERNEL[0]="zynqmp-dom1/Image-domU"
+DOMU_CMD[0]="console=ttyPS0 earlycon console=ttyPS0,115200 clk_ignore_unused rdinit=/sbin/init root=/dev/ram0 init=/bin/sh"
DOMU_RAMDISK[0]="zynqmp-dom1/domU-ramdisk.cpio"
DOMU_PASSTHROUGH_DTB[0]="zynqmp-dom1/passthrough-example-part.dtb"
DOMU_KERNEL[1]="zynqmp-dom2/Image-domU"
+DOMU_CMD[1]="console=ttyAMA0 clk_ignore_unused rdinit=/sbin/init root=/dev/ram0 init=/bin/sh"
DOMU_RAMDISK[1]="zynqmp-dom2/domU-ramdisk.cpio"
DOMU_MEM[1]=512
DOMU_VCPUS[1]=1
@@ -103,9 +105,8 @@ Where:
- DOMU_KERNEL[number] specifies the DomU kernel to use.
-- DOMU_CMD[number] 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.
+- DOMU_CMD[number] specifies the command line arguments for DomU's Linux
+ kernel. If not set, then "console=ttyAMA0" is used.
- DOMU_RAMDISK[number] specifies the DomU ramdisk to use.