All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-zephyr][PATCH v2 0/4] Fix efi generation and add x86 MACHINE confs (cover letter)
@ 2021-05-20 13:20 Naveen Saini
  2021-05-20 13:20 ` [meta-zephyr][PATCH v2 1/4] zephyr-kernel-src: fix efi generation failure for x86 boards Naveen Saini
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Naveen Saini @ 2021-05-20 13:20 UTC (permalink / raw)
  To: yocto

(1) zephyr-kernel-src: fix efi generation failure for x86 boards

With zephyr v2.5.0, EFI binary generation support has been added for x86 board (64-bit mode).
To achieve this, an python tool[1] has been added to convert zephyr EFL file
into an EFI appliable. But unfortunately at current this does not work with Yocto cross-compilation env.
This patch fix this issue and allow to build zephyr.efi for ehl_crb and up_squared boards.


(2)
Instead of creating machine configuration for each
supported boards, I would like to have common machine configurations for
supported boards. One for 64-bit (intel-x86-64.conf) and one for 32-bit
(intel-x86-32.conf).

User need to specify board value to ZEPHYR_BOARD in local.conf based on
targeted board i.e
    ZEPHYR_BOARD = "ehl_crb"

64-bit supported boards:
* up_squared
* ehl_crb_sbl
* ehl_crb (default)
* acrn
* acrn_ehl_crb

32-bit supported boards:
* up_squared_32
* minnowboard (default)

(3) Dropped acrn MACHINE configuration, which can be build with
MACHINE = "intel-x86-64"
ZEPHYR_BOARD = "acrn"

---
v2:
Fixed build for Zephyr 2.4.0
Dropped ACRN configuration

Naveen Saini (4):
  zephyr-kernel-src: fix efi generation failure for x86 boards
  intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDS
  intel-x86-32.conf: add common MACHINE for x86 (32-bit) BOARDS
  acrn.conf: drop acrn machine configuration

 conf/machine/acrn.conf                        |  9 ---
 conf/machine/include/tune-core2-common.inc    |  6 ++
 conf/machine/include/tune-corei7-common.inc   |  3 +
 conf/machine/intel-x86-32.conf                | 12 +++
 conf/machine/intel-x86-64.conf                | 14 ++++
 ...ry-generation-issue-in-cross-compila.patch | 80 +++++++++++++++++++
 .../zephyr-kernel/zephyr-kernel-src-2.5.0.inc |  3 +
 .../zephyr-kernel/zephyr-kernel-src.inc       |  8 +-
 8 files changed, 122 insertions(+), 13 deletions(-)
 delete mode 100644 conf/machine/acrn.conf
 create mode 100644 conf/machine/include/tune-core2-common.inc
 create mode 100644 conf/machine/intel-x86-32.conf
 create mode 100644 conf/machine/intel-x86-64.conf
 create mode 100644 recipes-kernel/zephyr-kernel/files/0001-x86-fix-efi-binary-generation-issue-in-cross-compila.patch

-- 
2.17.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-05-20 13:09 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-20 13:20 [meta-zephyr][PATCH v2 0/4] Fix efi generation and add x86 MACHINE confs (cover letter) Naveen Saini
2021-05-20 13:20 ` [meta-zephyr][PATCH v2 1/4] zephyr-kernel-src: fix efi generation failure for x86 boards Naveen Saini
2021-05-20 13:20 ` [meta-zephyr][PATCH v2 2/4] intel-x86-64.conf: add common MACHINE for x86 (64-bit) BOARDS Naveen Saini
2021-05-20 13:20 ` [meta-zephyr][PATCH v2 3/4] intel-x86-32.conf: add common MACHINE for x86 (32-bit) BOARDS Naveen Saini
2021-05-20 13:20 ` [meta-zephyr][PATCH v2 4/4] acrn.conf: drop acrn machine configuration Naveen Saini

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.