[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ImageBuilder][PATCH] Fix DOM0_CMD options for early console
- To: <xen-devel@xxxxxxxxxxxxxxxxxxxx>
- From: Michal Orzel <michal.orzel@xxxxxxx>
- Date: Wed, 16 Jul 2025 11:26:13 +0200
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=lists.xenproject.org smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0)
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=mVIBbvlBVldvbnAYPQd82C58PM0I0sM9O38oc86q7BY=; b=wkBtT72i+VjvgIamRAgKHGwqpcLBgFN45ooh8eBKZlsTGZ/WtVTr75Tvv+Rl6GQVgmxpC0bG2hoVMbrRoQ80CeBk0ofsHio/B+6iW315V6Fz8jEWCf180TZpGPH1DJ3KBb1va8XrPNS1vwsnyBKbL8B4NYLKnEQpy8eJ7vau5QeJoCB4SmWW6x6GJWwXx7PmAORi2d3vd8S97YkDL1XrxvWusmtLeh8oDDd6iimfE3FWbOwG/zV/AIRATuCOp4/ModROTwcKChrEiACe8/iMkER8hgSiRAv/x7ZxPLvyixkOIzVpBn+BIOK905QgLGQ5HE7d2f9GnGRDoZueauqw5Q==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=QsmuuD2TsORX9FafzagX7pjxk//GHUP3gFx1OXStYEnORilX/Vu+uxluJwuKNeiuJo2HHCSomczxV6onT4eESwCz8ioQIgQEfWxMMrE781owThD12in1hWzVlxYXAYn3vEj5N21G9K39nml+zCzcfPR9u841eHSkOKdNwNxPR/PimuPR0Jh9/l0Y8Im5O5quZ/UJFefz1r4aw7Bg+7ePgmv0CkbbHBnV2ypzNBg9RsUBLcIvZ/2XMCH6wGqMuyjD7tTEUciZuPve5tqYwsUOFmXRWbgauXNqqayu4t7KEDPHSE3U76rFIX7oDI19AugJioES1/sP8oeNZqZmDG7zzA==
- Cc: <sstabellini@xxxxxxxxxx>, <Oleksandr_Tyshchenko@xxxxxxxx>, Michal Orzel <michal.orzel@xxxxxxx>
- Delivery-date: Wed, 16 Jul 2025 09:26:40 +0000
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
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.orzel@xxxxxxx>
---
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
|