Skip to contentSkip to conversation

Fix DOM0_CMD options for early console

PATCH In review Michal Orzel 3 participants 3 messages Jul 16, 2025 – Jul 17, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix DOM0_CMD options for early console

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.

---
 scripts/uboot-script-gen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
scripts/uboot-script-gen +1 -1
index dfa154efaa1b..d451dc22e843 100755
@@ -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
Signature · 1 line
2.43.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Michal,

Quoted 6 lines · Michal Orzel

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

Quoted 6 lines

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.

---

I’m not an ImageBuilder expert, but the change looks sensible to me:

#2 lore raw
Quoted 12 lines · Luca Fancellu

Hi Michal,

Quoted 10 lines · Michal Orzel

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.

Quoted 6 lines
Quoted 2 lines

---

I’m not an ImageBuilder expert, but the change looks sensible to me: