zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
10.52k stars 6.45k forks source link

Integrate EFI loader into Zephyr build system #26737

Open andyross opened 4 years ago

andyross commented 4 years ago

Right now the "zefi" EFI loader is a standalone script that processes a zephyr.elf file into a loadable zephyr.efi file. That is helpful for testing and early development, but it has some drawbacks. Ideally we want the build process for EFI binaries to work the way it does on other platforms and be a first class output of the cmake build system. Some general requirements:

stephanosio commented 4 years ago
  • It should build with the same x86_64 toolchain that Zephyr does, and not the host toolchain

https://github.com/stephanosio/zephyr-crosstool-ng/issues/70