Message ID | 20211229115722.v8.25.I4eec28bb290377e1e7fe1085dac1c20ca3e3a93d@changeid |
---|---|
State | Changes Requested, archived |
Delegated to: | Heinrich Schuchardt |
Headers | show
Return-Path: <u-boot-bounces@lists.denx.de> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.a=rsa-sha256 header.s=google header.b=Vu/yTGve; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=<UNKNOWN>) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (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 bilbo.ozlabs.org (Postfix) with ESMTPS id 4JPLPy6pVLz9s0r for <incoming@patchwork.ozlabs.org>; Thu, 30 Dec 2021 06:02:46 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 604DF837AB; Wed, 29 Dec 2021 20:01:03 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (1024-bit key; unprotected) header.d=chromium.org header.i=@chromium.org header.b="Vu/yTGve"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 13ED7830F5; Wed, 29 Dec 2021 19:59:24 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 8AD9C8345C for <u-boot@lists.denx.de>; Wed, 29 Dec 2021 19:59:20 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=sjg@chromium.org Received: by mail-wr1-x436.google.com with SMTP id q16so46155320wrg.7 for <u-boot@lists.denx.de>; Wed, 29 Dec 2021 10:59:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HI36Y1w0vRgNImCKQMv39gHLk7PHE1BUVD5DtlXOrPM=; b=Vu/yTGvesDl/9/ZWlyK03pnCgMWDQcCvAL0NOg84jxY5q8zleZmZzo4RN8nBZrEJcA yP/3nQHdIiD70Whhft4klOmqO8AS5q89NGtsAfW1YSOWPzr59tF2oB1bMfF8vZgk/7xe BcVpINckz4dQYStu4dzAfp5N6LwCfkxEi8g7Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=HI36Y1w0vRgNImCKQMv39gHLk7PHE1BUVD5DtlXOrPM=; b=wkluDakJaScYVDLz3wnCT7SIsiAJPdBNQH0clJ+T6ZZ6amF7mnF3p02QnLN6/QK2GG jNOiCPXra4v7CJrZJpKPItKaXMrj4hBzAWS+CTVj1661YG+ma8kNf0RvOYsyW9kWjWcA fkor6GKdYCUJcWieP9D3LgTFoTSJ1+OCrJ7FufJ77Vv3UoR51OZVr/ASVngrZ0hWttLn 1VE+ZbhYvODS623gDp5EpZdsP30YrSFPqHRai28Vn/+T1xKXV+qyVCB0CtMvNX2yRcLw dQGd+uTtIIOkAYwHtRApRwaK/Mulsgn7ryh95MDErfSQ0HZCez++sIA/Oy0jDKKm5/us k5xg== X-Gm-Message-State: AOAM532BkFU96/Oyy7jISOPPEHSIpLJTm89zc4g8Rp+ossx0y0DkKjwO aap2GKS24jLrCHnw3+CrD0h3haA/PnO0YQ== X-Google-Smtp-Source: ABdhPJwfAs96EBj8bjzv966MCBWWDl2fP68w/RxJ6j5YtfZC5E1SkmSm6QDDI9efzIKYPz0k3I4zVQ== X-Received: by 2002:a05:6000:186e:: with SMTP id d14mr22659865wri.205.1640804359888; Wed, 29 Dec 2021 10:59:19 -0800 (PST) Received: from sjg1.roam.corp.google.com (bba170906.alshamil.net.ae. [217.165.245.218]) by smtp.gmail.com with ESMTPSA id j13sm26846884wmq.11.2021.12.29.10.59.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Dec 2021 10:59:19 -0800 (PST) From: Simon Glass <sjg@chromium.org> To: U-Boot Mailing List <u-boot@lists.denx.de> Cc: Heinrich Schuchardt <xypron.glpk@gmx.de>, Tom Rini <trini@konsulko.com>, Ilias Apalodimas <ilias.apalodimas@linaro.org>, Bin Meng <bmeng.cn@gmail.com>, Christian Melki <christian.melki@t2data.com>, Simon Glass <sjg@chromium.org>, Alexander Graf <agraf@csgraf.de> Subject: [PATCH v8 25/25] efi: Build the 64-bit app properly Date: Wed, 29 Dec 2021 11:57:59 -0700 Message-Id: <20211229115722.v8.25.I4eec28bb290377e1e7fe1085dac1c20ca3e3a93d@changeid> X-Mailer: git-send-email 2.34.1.448.ga2b2bfdf31-goog In-Reply-To: <20211229185759.1432518-1-sjg@chromium.org> References: <20211229185759.1432518-1-sjg@chromium.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.38 Precedence: list List-Id: U-Boot discussion <u-boot.lists.denx.de> List-Unsubscribe: <https://lists.denx.de/options/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=unsubscribe> List-Archive: <https://lists.denx.de/pipermail/u-boot/> List-Post: <mailto:u-boot@lists.denx.de> List-Help: <mailto:u-boot-request@lists.denx.de?subject=help> List-Subscribe: <https://lists.denx.de/listinfo/u-boot>, <mailto:u-boot-request@lists.denx.de?subject=subscribe> Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" <u-boot-bounces@lists.denx.de> X-Virus-Scanned: clamav-milter 0.103.2 at phobos.denx.de X-Virus-Status: Clean |
Series |
efi: Improvements to U-Boot running on top of UEFI
|
expand
|
diff --git a/Makefile b/Makefile index ae9bfab91ac..3d5388b1254 100644 --- a/Makefile +++ b/Makefile @@ -1764,9 +1764,9 @@ else quiet_cmd_u-boot__ ?= LD $@ cmd_u-boot__ ?= $(LD) $(KBUILD_LDFLAGS) $(LDFLAGS_u-boot) -o $@ \ -T u-boot.lds $(u-boot-init) \ - $(if $(CONFIG_EFI_APP_64BIT),,--whole-archive) \ + --whole-archive \ $(u-boot-main) \ - $(if $(CONFIG_EFI_APP_64BIT),,--no-whole-archive) \ + --no-whole-archive \ $(PLATFORM_LIBS) -Map u-boot.map; \ $(if $(ARCH_POSTLINK), $(MAKE) -f $(ARCH_POSTLINK) $@, true) endif
Now that the linker crash is resolved, build the 64-bit EFI app, including all the required code. Signed-off-by: Simon Glass <sjg@chromium.org> --- (no changes since v7) Changes in v7: - Rebase on -master instead of -next Changes in v5: - Add new patch to build the 64-bit app properly - Add various patches to fix up the 64-bit app so that it boots Changes in v2: - Add new patch to support the efi command in the app Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)