From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wr1-f51.google.com (mail-wr1-f51.google.com [209.85.221.51]) by mx.groups.io with SMTP id smtpd.web09.1206.1582746232659689832 for ; Wed, 26 Feb 2020 11:43:53 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@linaro.org header.s=google header.b=axz4eWJw; spf=pass (domain: linaro.org, ip: 209.85.221.51, mailfrom: ard.biesheuvel@linaro.org) Received: by mail-wr1-f51.google.com with SMTP id r17so215225wrj.7 for ; Wed, 26 Feb 2020 11:43:52 -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=2qEsQ2EdsTNHvJrJ6ScyhQA/NADoAMt1cR8LUjEW9yU=; b=axz4eWJwwU9Fzm07xk8nSg9FZPDUxGSsrUhhD9+1xyAaJKdOybN0uNW8wcJMVMX0Hs CbHZ/gyewXpmOA3o6KfdrZ+aCehLFrgBoM+We38rCRjDsXF9Lh8ttBZ2XjNrxg73bP7e RO577X2R3lj1K0jHXzDPS7tCTUF97CtIhlstBqscgyFbHyDCbS18xHAWfAhx8a3avmlz dv0U41EyUyUskDRQNH/GYtOcxWQTUEKXw5L9VO4GpXS82ER0toqQkdm+01ov6y378EJ0 MEn/pGYw9mauc8nc8+NLsed/B9qH/w38v4EskmSN46dxeOkzx71INn0wXNhC33xbtmMh GuEQ== 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=2qEsQ2EdsTNHvJrJ6ScyhQA/NADoAMt1cR8LUjEW9yU=; b=Uv8A2Rgf6On8ofrhWgBltgv0LgIHi22Tst43bCXVHjH1EiVZHr3xhbdRHDw2WHOp6A CUd4kMsrUW4aR7z6p68uQqnD1agNziumigg2+Tl62C0Jzz3IpCxUu1lKBDdorwSu2WK9 3X+FA/ROlBLz0COA4mwFOLL3ajOq5r/G5F66rfvRrU4xAIijcuvtkN8sh+PEuMIPjoaW jYlRAnEAeAEhkJ++r2dpotKx/defgSbH8ANubjKsIXrjvbywMsWEaNsp8qkhXSudzNgJ SNW0IY1vDl0Dpi5tSXDLQN9QMRPFYVYhEu9BThMdJ2TOpXaO+CEXxuiHkpZHRLcxf5ZA vwvQ== X-Gm-Message-State: APjAAAWlYi82oUTrB24psQRuRDfcw2Xxl/cKTbrZ0nnD/PL0Y40EUYOq I6O99YD8a/2zUONv/DkUIwdzHqsJbaHhUg== X-Google-Smtp-Source: APXvYqwz7MFL+2exFumQGwaDBCRR0Bzjo+GetxdKnOIPOOc2+YTxEznSlnqSFIQywyrLx4T5qFabDg== X-Received: by 2002:a5d:67c7:: with SMTP id n7mr222708wrw.319.1582746231075; Wed, 26 Feb 2020 11:43:51 -0800 (PST) Return-Path: Received: from e123331-lin.home ([2a01:cb1d:112:6f00:816e:ff0d:fb69:f613]) by smtp.gmail.com with ESMTPSA id c9sm4235162wmc.47.2020.02.26.11.43.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Feb 2020 11:43:50 -0800 (PST) From: "Ard Biesheuvel" To: devel@edk2.groups.io Cc: Ard Biesheuvel , lersek@redhat.com, leif@nuviainc.com, michael.d.kinney@intel.com, jian.j.wang@intel.com, hao.a.wu@intel.com, ray.ni@intel.com, zhichao.gao@intel.com Subject: [PATCH v3 3/6] ArmVirtPkg: add the 'initrd' dynamic shell command Date: Wed, 26 Feb 2020 20:43:40 +0100 Message-Id: <20200226194343.2985-4-ard.biesheuvel@linaro.org> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200226194343.2985-1-ard.biesheuvel@linaro.org> References: <20200226194343.2985-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. 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