From mboxrd@z Thu Jan 1 00:00:00 1970 From: Simon Glass Date: Mon, 7 Nov 2016 07:46:07 -0800 Subject: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program In-Reply-To: References: <1470525796-26941-1-git-send-email-sjg@chromium.org> <1470525796-26941-3-git-send-email-sjg@chromium.org> <7D93A6FB-F461-48A6-8E03-F3BFF34E28A1@suse.de> <20160815122329.GC31760@bivouac.eciton.net> <20160927015330.GV16080@bivouac.eciton.net> <20161019202216.GO3471@bivouac.eciton.net> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi Leif, On 20 October 2016 at 02:19, Leif Lindholm wrote: > On 19 October 2016 at 21:22, Leif Lindholm wrote: >> On Mon, Oct 17, 2016 at 07:55:02PM -0600, Simon Glass wrote: >>> Hi Leif, >>> >>> On 26 September 2016 at 19:53, Leif Lindholm wrote: >>> >> Thanks for the pointer. Unfortunately that patch appears to make no >>> >> differences for me. Are you able to build and send me a 64-bit >>> >> HelloWorld.efi please? >>> > >>> > So, I probably could, but if that isn't working for you, I'd quite >>> > like to know why. >>> > >>> > To make that a little less painful though, I've added support for >>> > building the helloworld app to my set of scripts: >>> > https://git.linaro.org/uefi/uefi-tools.git >>> > >>> > This still depends on this (updated) patch. >>> > https://lists.01.org/pipermail/edk2-devel/2016-September/002112.html >>> > >>> > But with a current edk2, and a uefi-tools placed in the same directory >>> > as the edk2 clone, could you try executing: >>> > >>> > ../uefi-tools/uefi-build.sh -A AARCH64 hello >>> > >>> > If the build fails and creates messy output due to being parallel, >>> > could you stick a -1 on that command line and send me the output (or >>> > pastebin)? >>> >>> OK thanks. Please see: >>> >>> http://pastebin.com/DmixdA4C >> >> Right ... so your terminal appears to be discarding stderr, but I'm >> guessing with that enabled it would look like: >> --- >> Processing meta-data .. >> >> build.py... >> /work/git/edk2/MdeModulePkg/MdeModulePkg.dsc(...): error 4000: Instance of library class [ArmMmuLib] is not found >> in [/work/git/edk2/MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf] [AARCH64] >> consumed by module [/work/git/edk2/MdeModulePkg/Core/DxeIplPeim/DxeIpl.inf] >> >> >> - Failed - >> Build end time: 16:51:18, Oct.19 2016 >> Build total time: 00:00:03 >> --- >> >> Which is what it looks without the aforementioned patch applied. I really thought I applied it. But I don't understand the UEFI build system at all... > > As a follow-up: I have now pushed the required patch to edk2, so with > a fresh pull it should work without any manually added patches. I think I'm going to build a simple hello world within the U-Boot tree, to avoiding needing to package a binary. Regards, Simon