From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 3D1EFC433F5 for ; Sat, 4 Dec 2021 16:01:22 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 3E85683514; Sat, 4 Dec 2021 16:59:23 +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="gmw4HXfN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id A9D00830B3; Sat, 4 Dec 2021 16:58:08 +0100 (CET) Received: from mail-oi1-x236.google.com (mail-oi1-x236.google.com [IPv6:2607:f8b0:4864:20::236]) (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 F21D3830EB for ; Sat, 4 Dec 2021 16:57:41 +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-oi1-x236.google.com with SMTP id bf8so12287924oib.6 for ; Sat, 04 Dec 2021 07:57:41 -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=N36G4BG6BxTwIXfBAGjWBlJB/UTYJJAa0H1toHsPI+g=; b=gmw4HXfNDX0bHG3txaLvAlBIDt1tbr+FoQcJ6Ak3UzQ4dWomVyj/T3c+PlFWteEg/b 9wJWD9uLZxlOMw7NUNj/s3elv5Xud3CO/RCGuKRRyQ60/04jRZCvltnuj0PBJJVevxNk Ro1dvK38EGxJIuh5RISfwbRuTEACDdRzwWFNo= 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=N36G4BG6BxTwIXfBAGjWBlJB/UTYJJAa0H1toHsPI+g=; b=2ZG0NoxJRMuLP4UixHGmDPZ9vDVbfaoXqu+mrF63Ah343Q+V24S4JafMzMp/1jDQ7S JmdMGwG8LkEtatMtAj55mHjsKwPnshHR22/+7sMAKu7+h2qrxIpMRz2KA1WmaFzWPNbW NdJCPWx84AlFbdrJCjuegeTaEom7AjtTbttKR53QV8jTy3guxyAvYcq23JXJX05M4c7o hskzyMupjFLp8gJeMqPpnagIUCcmi5CLjh25p+nL4DMnSNOsw4myfO+8WN8fvS/iZ1FI 0G5IczDd9ZmEr7YKSJxmXRwLG5VynkwVuhQjvF/EVh8Pxfh5XxEiIywhu2vYBk9Gh1ri 8yNw== X-Gm-Message-State: AOAM531svI+kkc9P9G2hy28r370E3dRjOjQb/eAc25h0WbJUhPpPugec R3DzYE/3zWJIn+XYgE1SS2p36KUVnUFH6g== X-Google-Smtp-Source: ABdhPJwiMo+EQVhSXBZqcJxccalnlFlqJCB9mXGIroV2EW8N4QqQfZh64VHbYhj6RfZn8r9EXj1DCg== X-Received: by 2002:aca:120f:: with SMTP id 15mr15193849ois.132.1638633459941; Sat, 04 Dec 2021 07:57:39 -0800 (PST) Received: from kiwi.bld.corp.google.com (c-67-190-101-114.hsd1.co.comcast.net. [67.190.101.114]) by smtp.gmail.com with ESMTPSA id a12sm1230513otk.35.2021.12.04.07.57.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 04 Dec 2021 07:57:39 -0800 (PST) From: Simon Glass To: U-Boot Mailing List Cc: Ilias Apalodimas , Christian Melki , Bin Meng , Heinrich Schuchardt , Tom Rini , Simon Glass , Alexander Graf Subject: [PATCH v5 28/28] efi: Build the 64-bit app properly Date: Sat, 4 Dec 2021 08:56:57 -0700 Message-Id: <20211204085647.v5.28.I4eec28bb290377e1e7fe1085dac1c20ca3e3a93d@changeid> X-Mailer: git-send-email 2.34.1.400.ga245620fadb-goog In-Reply-To: <20211204155657.2913911-1-sjg@chromium.org> References: <20211204155657.2913911-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 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.103.2 at phobos.denx.de X-Virus-Status: Clean Now that the linker crash is resolved, build the 64-bit EFI app, including all the required code. Signed-off-by: Simon Glass --- 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(-) diff --git a/Makefile b/Makefile index 57c3643d9a8..08b848bf048 100644 --- a/Makefile +++ b/Makefile @@ -1765,9 +1765,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 -- 2.34.1.400.ga245620fadb-goog