Fix incorrect earlycon option that should be xenboot instead of xen.
Refer:
https://elixir.bootlin.com/linux/v6.15.6/source/drivers/tty/hvc/hvc_xen.c#L772

Fix incorrect earlyprintk option. On Arm32 (Arm64 does not have
earlyprintk), it should be just earlyprintk which will enable compiled
in (if at all) debug printk code.

Signed-off-by: Michal Orzel <michal.or...@amd.com>
---
 scripts/uboot-script-gen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/uboot-script-gen b/scripts/uboot-script-gen
index dfa154efaa1b..d451dc22e843 100755
--- a/scripts/uboot-script-gen
+++ b/scripts/uboot-script-gen
@@ -903,7 +903,7 @@ function xen_config()
 
     if [ -z "$DOM0_CMD" ]
     then
-        DOM0_CMD="console=hvc0 earlycon=xen earlyprintk=xen clk_ignore_unused"
+        DOM0_CMD="console=hvc0 earlycon=xenboot earlyprintk clk_ignore_unused"
     fi
     if [[ ! $DOM0_CMD =~ root= ]]
     then
-- 
2.43.0


Reply via email to