All of lore.kernel.org
 help / color / mirror / Atom feed
From: AKASHI Takahiro <takahiro.akashi@linaro.org>
To: u-boot@lists.denx.de
Subject: [U-Boot] [RFC] more features enabled on sandbox?
Date: Thu, 21 Nov 2019 12:06:53 +0900	[thread overview]
Message-ID: <20191121030652.GD22427@linaro.org> (raw)

Hi Tom, Simon,

I remember that Tom suggested me, in some UEFI-related discussion,
that we can and should enable as many features/configurations
on Sandbox as possible.
How should we do that?

1. modify a Kconfig;
        config FOO
          bool
          default y if SANDBOX
2. modify a sandbox*_defconfig
        CONFIG_FOO=y
3. take a mixed approach of (2) and (3) depending on a *type* of feature
4. add a customized build/test in ("matrix" of) Travis for a specific feature
5. or else?

For example,
CONFIG_FAT
CONFIG_FAT_WRITE
CONFIG_UEFI_SECURE_BOOT
  (which has bunch of dependencies.)

Those are NOT defined as optional features by UEFI specification,
but currently NOT selected by default, probably due to fears
against increase of code size. But this is not the case for Sandbox.

In addition,
CONFIG_CMD_FAT
CONFIG_CMD_EFIDEBUG
CONFIG_CMD_NVEDIT_EFI

Those commands are mandated in order to run my pytest for UEFI
secure boot. Again, they are NOT selected by default.
So even if sandbox build has no errors, UEFI secure boot test
will never be run due to configuration dependencies.

# This is NOT my patch-specific issue, as you know. There are
# bunch of pytests which are unexpectedly skipped in Travis CI.

What is your expectation here?

Thanks,
-Takahiro Akashi

             reply	other threads:[~2019-11-21  3:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-21  3:06 AKASHI Takahiro [this message]
2019-11-21  4:09 ` [U-Boot] [RFC] more features enabled on sandbox? Tom Rini

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=20191121030652.GD22427@linaro.org \
    --to=takahiro.akashi@linaro.org \
    --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.