From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mx.groups.io with SMTP id smtpd.web10.4145.1583244087527076673 for ; Tue, 03 Mar 2020 06:01:27 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=j0aIUopu; spf=pass (domain: linaro.org, ip: 209.85.221.66, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f66.google.com with SMTP id x7so4518050wrr.0 for ; Tue, 03 Mar 2020 06:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=Ex7nfZOyrsfuK1PoaJUwag6OThL+qfM+KuzRf1sBCSY=; b=j0aIUopuRRebVOFDLPqSAT5vC8Lq4p4iV42GoxnrR4I/s28G5ybsPyVTPNK7prYDHV +3RbqwNCWa+zrLBcT4bGiFVKtW2ZddZ8Z0XPKTGjUDqyax/A3Z51SNz3CaL3GWSjAHxv A7r2Ep7OMa7qz4mAtyTYB3a0f7gvUsiKvNw5OsIZwmwp+etG0nGsRR8E8xznztH/qbYZ QMcNRwHpWEQerwOhEMN+6LPMCGV57bgwsB7mmlCTc5NVZyBoD/eiXGcAGfAzb8NyhMxD ScEV9sbXkAVnwBEU3I8pVXIL5THfDtjterqk0sgBZCdGy5/jyeDjOzv1PnJ90xpMTZrf uGVw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=Ex7nfZOyrsfuK1PoaJUwag6OThL+qfM+KuzRf1sBCSY=; b=Xp9TIrld2XH8hwNlACBZWW2JT96vS0T6BGvaG1/QWScU9dx97vjDHZHRbhRuvWlLOs 62OD4C5l0Tl2ejAWzKSjRfq7+TUnlxBqHaW0daWQXwkC6b5cbKDmgL109F3erOA/XzxP Qmyx88N2t6pJz+rLh7wGs3cxDirgRJODFFWegZ1HA82r9cjWoWfYwc1PyVh3volIhr2C ZXtVEgqxvYui3ljJUPEgRoTvEss35UBNKO+s60UWvsvNVmMfg6EhPjVA+rPoBvnDSvR3 mgO2fsrT1v2ZSIY1zg3ZGDIk3HIjhLoKP4o4NsaWcvv7x/ok0Tm8xpD9Q7UeBMOi1Veo k1jg== X-Gm-Message-State: ANhLgQ1XdHu+FGnOzrpfOXhbAOJ9KyOoIQdUv6IAp+nAxiu+AmZLCBCn D6NchY+q7S2z21TyP3A9nVBaw2MlMW4/xQ== X-Google-Smtp-Source: ADFU+vuU71g4DqaehK8mz9ogisXAl7iO4RguC0g2BZ0LoQwVku+fIlHffPxRziQsq83Wyge+NW95pg== X-Received: by 2002:a5d:69d1:: with SMTP id s17mr5673462wrw.339.1583244085397; Tue, 03 Mar 2020 06:01:25 -0800 (PST) Return-Path: Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id i10sm27575122wrn.53.2020.03.03.06.01.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 03 Mar 2020 06:01:24 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , lersek@redhat.com, leif@nuviainc.com, Liming Gao Subject: [PATCH v4 3/7] ArmVirtPkg: add the 'initrd' dynamic shell command Date: Tue, 3 Mar 2020 15:01:13 +0100 Message-Id: <20200303140117.7288-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200303140117.7288-1-ard.biesheuvel@linaro.org> References: <20200303140117.7288-1-ard.biesheuvel@linaro.org> Add the 'initrd' dynamic shell command to the build so we can load Linux initrds straight from the shell using the new generic protocol, which does not rely on initrd= being passed on the command line. Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=2564 Signed-off-by: Ard Biesheuvel Reviewed-by: Laszlo Ersek --- ArmVirtPkg/ArmVirt.dsc.inc | 4 ++++ ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc | 1 + ArmVirtPkg/ArmVirtXen.fdf | 1 + 3 files changed, 6 insertions(+) diff --git a/ArmVirtPkg/ArmVirt.dsc.inc b/ArmVirtPkg/ArmVirt.dsc.inc index 10037c938eb8..42ecd5ce1d52 100644 --- a/ArmVirtPkg/ArmVirt.dsc.inc +++ b/ArmVirtPkg/ArmVirt.dsc.inc @@ -379,6 +379,10 @@ [Components.common] gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE } + OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf { + + gEfiShellPkgTokenSpaceGuid.PcdShellLibAutoInitialize|FALSE + } ShellPkg/Application/Shell/Shell.inf { ShellCommandLib|ShellPkg/Library/UefiShellCommandLib/UefiShellCommandLib.inf diff --git a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc index 31f615a9d0f9..bfa380815f1a 100644 --- a/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc +++ b/ArmVirtPkg/ArmVirtQemuFvMain.fdf.inc @@ -103,6 +103,7 @@ [FV.FvMain] # INF ShellPkg/Application/Shell/Shell.inf INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf + INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf # # Bds diff --git a/ArmVirtPkg/ArmVirtXen.fdf b/ArmVirtPkg/ArmVirtXen.fdf index 38d4cc163524..6a97bceeacbc 100644 --- a/ArmVirtPkg/ArmVirtXen.fdf +++ b/ArmVirtPkg/ArmVirtXen.fdf @@ -182,6 +182,7 @@ [FV.FvMain] # INF ShellPkg/Application/Shell/Shell.inf INF ShellPkg/DynamicCommand/TftpDynamicCommand/TftpDynamicCommand.inf + INF OvmfPkg/LinuxInitrdDynamicShellCommand/LinuxInitrdDynamicShellCommand.inf # # Bds -- 2.17.1