All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Graf <agraf@suse.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program
Date: Tue, 9 Aug 2016 22:55:31 +0200	[thread overview]
Message-ID: <7D93A6FB-F461-48A6-8E03-F3BFF34E28A1@suse.de> (raw)
In-Reply-To: <CAPnjgZ1fNXVCRv4t6kY1v4Hc0me0852tYPaH-zVba_6SJKD4ug@mail.gmail.com>



> Am 09.08.2016 um 20:16 schrieb Simon Glass <sjg@chromium.org>:
> 
> Hi Bin,
> 
>> On 9 August 2016 at 00:50, Bin Meng <bmeng.cn@gmail.com> wrote:
>> Hi Simon,
>> 
>>> On Sun, Aug 7, 2016 at 7:23 AM, Simon Glass <sjg@chromium.org> wrote:
>>> It is useful to have a basic sanity check for EFI loader support. Add a
>>> 'bootefi hello' command which loads HelloWord.efi and runs it under U-Boot.
>>> 
>>> Signed-off-by: Simon Glass <sjg@chromium.org>
>>> ---
>>> 
>>> arch/arm/lib/HelloWorld32.efi  | Bin 0 -> 11712 bytes
>>> arch/arm/lib/Makefile          |   6 ++++++
>>> cmd/Kconfig                    |  10 ++++++++++
>>> cmd/bootefi.c                  |  26 ++++++++++++++++++++------
>>> include/asm-generic/sections.h |   2 ++
>>> scripts/Makefile.lib           |  19 +++++++++++++++++++
>>> 6 files changed, 57 insertions(+), 6 deletions(-)
>>> create mode 100644 arch/arm/lib/HelloWorld32.efi
>> 
>> [snip]
>> 
>>> diff --git a/arch/arm/lib/Makefile b/arch/arm/lib/Makefile
>>> index a8d1557..0f3ea0c 100644
>>> --- a/arch/arm/lib/Makefile
>>> +++ b/arch/arm/lib/Makefile
>>> @@ -29,6 +29,12 @@ obj-$(CONFIG_OF_LIBFDT) += bootm-fdt.o
>>> obj-$(CONFIG_CMD_BOOTM) += bootm.o
>>> obj-$(CONFIG_CMD_BOOTM) += zimage.o
>>> obj-$(CONFIG_SYS_L2_PL310) += cache-pl310.o
>>> +ifdef CONFIG_ARM64
>>> +# This option does not work for arm64, as there is no binary.
>> 
>> If so, can we just remove this for arm64?
> 
> Actually I was hoping that Alexander might have a suitable arm64
> HelloWorld.efi lying around. When I tried building UEFI for arm64, for
> some reason it did not create it.

Is it part of edk2? If so, Leif (CC'ed) might have one :). I usually use grub as my hello world application.


Alex

  reply	other threads:[~2016-08-09 20:55 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-06 23:23 [U-Boot] [PATCH 1/6] x86: Add implementations of setjmp() and longjmp() Simon Glass
2016-08-06 23:23 ` [U-Boot] [PATCH 2/6] efi: Fix missing EFIAPI specifiers Simon Glass
2016-08-09  6:50   ` Bin Meng
2016-08-10 11:40   ` Alexander Graf
2016-08-12 17:20     ` Simon Glass
2016-08-06 23:23 ` [U-Boot] [PATCH 3/6] arm: efi: Add a hello world test program Simon Glass
2016-08-09  6:50   ` Bin Meng
2016-08-09 18:16     ` Simon Glass
2016-08-09 20:55       ` Alexander Graf [this message]
2016-08-15 12:23         ` Leif Lindholm
2016-09-26 14:09           ` Simon Glass
2016-09-27  1:53             ` Leif Lindholm
2016-10-18  1:55               ` Simon Glass
2016-10-19 20:22                 ` Leif Lindholm
2016-10-20  8:19                   ` Leif Lindholm
2016-11-07 15:46                     ` Simon Glass
2016-08-06 23:23 ` [U-Boot] [PATCH 4/6] x86: efi: Add EFI loader support for x86 Simon Glass
2016-08-09  6:50   ` Bin Meng
2016-08-10 11:49   ` Alexander Graf
2016-08-10 12:56     ` Simon Glass
2016-08-10 13:01       ` Alexander Graf
2016-10-25 21:33       ` Alexander Graf
2016-11-07 15:46         ` Simon Glass
2016-08-06 23:23 ` [U-Boot] [PATCH 5/6] x86: efi: Add a hello world test program Simon Glass
2016-08-09  6:51   ` Bin Meng
2016-08-06 23:23 ` [U-Boot] [PATCH 6/6] x86: Enable EFI loader support Simon Glass
2016-08-09  6:51   ` Bin Meng
2016-08-09  6:49 ` [U-Boot] [PATCH 1/6] x86: Add implementations of setjmp() and longjmp() Bin Meng
2016-08-09 18:16   ` Simon Glass
2016-08-10  2:34     ` Bin Meng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7D93A6FB-F461-48A6-8E03-F3BFF34E28A1@suse.de \
    --to=agraf@suse.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.