From patchwork Thu Aug 6 09:42:45 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nastya Vicodin X-Patchwork-Id: 1341544 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=Bnol+REZ; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4BMk8H5KB3z9sTR for ; Thu, 6 Aug 2020 19:43:43 +1000 (AEST) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 179FB821D9; Thu, 6 Aug 2020 11:43:16 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Bnol+REZ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 356CA821C3; Thu, 6 Aug 2020 11:43:12 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 9D901821B3 for ; Thu, 6 Aug 2020 11:43:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=vicooodin@gmail.com Received: by mail-lf1-x141.google.com with SMTP id m15so25111280lfp.7 for ; Thu, 06 Aug 2020 02:43:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=D7jydlGUVGq2Lv5UTiuKqdX6wrEX3pafy9yt/iqeI0g=; b=Bnol+REZQIz/czxPSELAP2Dy2g7RaAEcKO+ahQRd6g+d6rk2+Ez6LFBmI55+d7zbaH +os01xIia/HabCJb644zw8iB2bp6JMwr3vxltNmaQW8GH4soV+DZBsNsMWoCZrMjmd88 MSsd7saVWGquLR4C9RWbt1GTF0lubUwIhEWbUkUD8dEtWI7epQtwSVS3OPfGL6WBJ7PO JKvTIMYu9C/vEhxflcskWumQbb62wYR37fxsJLZWHImLkDCj6OK70xAhPzThl/peqmBM YdgHMHDwk1CsB+rI5GRq/xRKOZ32viG5uwMss4wgkIOa/C+X0EPAWdEsrj86/+NAmgAU bVsg== 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=D7jydlGUVGq2Lv5UTiuKqdX6wrEX3pafy9yt/iqeI0g=; b=FlRh4lrmNvIQjR1ljSeZCE0L1FN8KJN2823hp0tdbSd9re1WN/swd+QRFpQ77QGtS8 X0EGpUI233W3u1zJ++D9AVukIWUyv7SzRcMoT1HMGMpsqzam/nWHj/Y95rzJnfP6aVaJ tq75vGNLUZqgATK0jgmXwTgIx6Schy6AAyVdOoqHfnalodIJqzZ4H1rpBlXHjJFrHHVk h+1O6/KfgP9+2womYWFzpBG8gkG59ugFXWmgaO2OKUWOX0J7UdiefQoMZc3cAavTFnkU VMUhTpxnEFmZNTkJV30shEuWNi9/oEiF2BP5UF/hXE6CecbMZvojlF2aPp8IsuveRJ0U Ud7Q== X-Gm-Message-State: AOAM532svyOf+gLhWoyy9UHFW4g+37v2ZM/nYjf6q73FEwBHMpqDMaos INe57/WdYxT30j4Bh6QFyNIPTnz1p3FMAA== X-Google-Smtp-Source: ABdhPJw46OTBc5NaDM8HFfVjzLiJjLRQSB8XnBW0yxuZ0ZouX2IkQFkcd770/B7YB2pk+UlV6/EA+g== X-Received: by 2002:a05:6512:34c8:: with SMTP id w8mr3529889lfr.12.1596706986566; Thu, 06 Aug 2020 02:43:06 -0700 (PDT) Received: from localhost.localdomain (host-176-36-213-80.la.net.ua. [176.36.213.80]) by smtp.gmail.com with ESMTPSA id j13sm2151866ljh.83.2020.08.06.02.43.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 06 Aug 2020 02:43:05 -0700 (PDT) From: Anastasiia Lukianenko To: u-boot@lists.denx.de, sjg@chromium.org, ye.li@nxp.com, bmeng.cn@gmail.com, xypron.glpk@gmx.de Cc: julien@xen.org, sstabellini@kernel.org, peng.fan@nxp.com, roman@zededa.com, volodymyr_babchuk@epam.com, andr2000@gmail.com, vicooodin@gmail.com, Oleksandr Andrushchenko , Anastasiia Lukianenko Subject: [RESEND PATCH v2 02/18] Kconfig: Introduce CONFIG_XEN Date: Thu, 6 Aug 2020 12:42:45 +0300 Message-Id: <20200806094301.4999-3-vicooodin@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20200806094301.4999-1-vicooodin@gmail.com> References: <20200806094301.4999-1-vicooodin@gmail.com> X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean From: Peng Fan Introduce CONFIG_XEN to make U-Boot could be used as bootloader for a virtual machine. Without bootloader, we could successfully boot up android on XEN, but we need need bootloader to support A/B, dm verify and etc. Signed-off-by: Peng Fan Signed-off-by: Oleksandr Andrushchenko Signed-off-by: Anastasiia Lukianenko --- Changes since v1: - remove "default n" option - add more detailes in "help" section Kconfig | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Kconfig b/Kconfig index 566ca72c92..9a33b3814d 100644 --- a/Kconfig +++ b/Kconfig @@ -105,6 +105,24 @@ config CC_COVERAGE config CC_HAS_ASM_INLINE def_bool $(success,echo 'void foo(void) { asm inline (""); }' | $(CC) -x c - -c -o /dev/null) +config XEN + bool "Select U-Boot be run as a bootloader for XEN Virtual Machine" + help + Enabling this option will make U-Boot be run as a bootloader + for XEN [1] Virtual Machine. + + Xen is a virtual machine monitor (VMM) or a type-1 hypervisor with support + for para-virtualization. Xen can organize the safe execution of several + virtual machines on the same physical system with performance close to + native. It is used as the basis for a number of different commercial and + open source applications, such as: server virtualization, Infrastructure + as a Service (IaaS), desktop virtualization, security applications, + embedded and hardware appliances. + Xen has a special VM called Domain-0 that runs the Dom0 kernel and allows + Xen to use the device drivers for the Domain-0 kernel by default. + + [1] - https://xenproject.org/ + config DISTRO_DEFAULTS bool "Select defaults suitable for booting general purpose Linux distributions" select AUTO_COMPLETE