From 99d452ee2e3c2f0abebbaaad32aa5ae1a58da0bd Mon Sep 17 00:00:00 2001 From: Ayan Kumar Halder Date: Fri, 5 Nov 2021 12:20:16 +0000 Subject: 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]="" 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 [stefano: improve README] Signed-off-by: Stefano Stabellini Reviewed-by: Stefano Stabellini --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'README.md') 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. -- cgit v1.2.3