From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6646963333394071552 X-Received: by 2002:a05:6402:d7:: with SMTP id i23mr34313940edu.291.1630487472226; Wed, 01 Sep 2021 02:11:12 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a50:bb62:: with SMTP id y89ls873722ede.2.gmail; Wed, 01 Sep 2021 02:11:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzgQFI6DQeGlIGqH57exMeSKBCQhifA9nINx3vh1xHoEOF8yfbK8r9v1T0sOPQ6D666cBYp X-Received: by 2002:a05:6402:2317:: with SMTP id l23mr34800145eda.265.1630487471071; Wed, 01 Sep 2021 02:11:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630487471; cv=none; d=google.com; s=arc-20160816; b=qnsohGMgJ9/RJSNdK/hfYaK6QqIm5LZC5qruGiwFnNQTFsfIRphpOocAuuKXQB0vJ0 eAzysLicsdJyQSSHOinNW0Vr59jnIoalWBNIGu8l4rm4TB6gjWjXmdUFlOm4sKL2RpHz OklBqnM1Hx34pJeA2tfz0TirOK0YWEL3N09mrmSoG+xgg03Jt5iHsCqcUAEmwfApJGg/ ILeo8Bd2r53BYNJ/0VeywcvctZwkiTsu3QPJi8HLHIXh7OIHCZXXMLJ2l4YS0dn8bJAr GS+bTcoJ+8fySPqltASArj8lNoo67kkNq4fj91JyKz3pYROUGV0CG8QsEIhHwYGUfklD YZxw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date; bh=VznPuhVamAfgOo2lj+iPFr3i2ELsDLE82AJOYEbaY3E=; b=RF/OtZrqFRwC1H7xVZBx9wd2eQf+1e3HqjE5wOQ3dV4NYkXraJU1eMLoCIJVqTMsDh mJwN9RjmRcEJk6t+wbUrUfB6CY3UxSXfuviXADNoumxSWeCDNOOHgJ2m+04S0+LB7yG6 +MVmruG+x8RzRO6FjRoCgMW0bnBGaewd7ywch9irnRrw+9qKNwq1jDf5tmLVb1Z2nX3U u1aWDIZWufygGtKODVQa/TMc6nnxH8xNIw/dt6LypX/Z9wtgyEB626V3HnnqJB3oqOxD ZfnjNbHOJv5AwefWuNvLhBYcLagprCeydhNascODisqoIY84rIHZwty6JwFDq4BxkO+b /D5g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id qb19si586272ejc.0.2021.09.01.02.11.10 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Sep 2021 02:11:11 -0700 (PDT) Received-SPF: pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of henning.schild@siemens.com designates 192.35.17.28 as permitted sender) smtp.mailfrom=henning.schild@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id 1819BA1Q006186 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Wed, 1 Sep 2021 11:11:10 +0200 Received: from md1za8fc.ad001.siemens.net ([139.25.0.59]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id 1819BAaC017719; Wed, 1 Sep 2021 11:11:10 +0200 Date: Wed, 1 Sep 2021 11:11:09 +0200 From: Henning Schild To: "[ext] Jan Kiszka" Cc: isar-users Subject: Re: [PATCH v3 08/14] bootimg-efi-isar: Fix serial console setup for grub Message-ID: <20210901111109.61ea6299@md1za8fc.ad001.siemens.net> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-TUID: BuQwbdOZzSR5 I am currently looking at re-forking that efi plugin to get it down to minimal isar specific changes. This patch looks more like upstream worthy instead of isar specific. But in fact on a recent (bullseye) amd64 grub comes up on serial without those lines. Any clue which DISTRO/DISTRO_ARCH needed that? I am tempted to leave it out in the re-fork. Henning Am Wed, 16 Jan 2019 06:32:21 +0100 schrieb "[ext] Jan Kiszka" : > From: Jan Kiszka > > We were lacking terminal_input/output to make the serial console truly > work. > > Signed-off-by: Jan Kiszka > --- > meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > > diff --git a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py > b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py index > 1ca200f..c6a6a02 100644 --- > a/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py +++ > b/meta/scripts/lib/wic/plugins/source/bootimg-efi-isar.py @@ -65,8 > +65,10 @@ class BootimgEFIPlugin(SourcePlugin): # Create grub > configuration using parameters from wks file bootloader = > creator.ks.bootloader > - grubefi_conf = "" > - grubefi_conf += "serial --unit=0 --speed=115200 --word=8 > --parity=no --stop=1\n" > + grubefi_conf = "serial --unit=0 --speed=115200 --word=8 > --parity=no --stop=1\n" > + grubefi_conf += "terminal_input --append serial\n" > + grubefi_conf += "terminal_output --append serial\n" > + grubefi_conf += "\n" > grubefi_conf += "default=boot\n" > grubefi_conf += "timeout=%s\n" % bootloader.timeout > for part in creator.parts: