Fix DOM0_CMD options for early console
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
@@ -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
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.
Signed-off-by Michal Orzel <[email protected]>---
I’m not an ImageBuilder expert, but the change looks sensible to me:
Stefano Stabellini
Acked-byQuoted 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#L772Fix 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
Signed-off-by Michal Orzel <[email protected]>---
I’m not an ImageBuilder expert, but the change looks sensible to me:
Reviewed-by Luca Fancellu <[email protected]>