> Note that you can build seabios as CSM for tianocore already.

These are the opposites: SeaBIOS is CSM ON (emulates Leagcy BIOS), while Tiano Core supposed to be CSM OFF (UEFI), Thus, SeaBIOS and Tiano Core exclude each other (should not be used together -> wrong architecture).

> What is the point? You can just run tianocore as coreboot playload.

The point is to make minimal Tiano Core (minimum for making FAT32 partition/file system on HDD/SDD to create /boot/EFI/ directory, in other words minimal UEFI compliant BIOS), Tiano Core as such is good to be used/run for/on x86 architecture ONLY (and side effect is the extended time for booting, since all these DXE drivers must be installed, which will be later mostly replaced/run over with OS drivers, except run time services).

As such, Minimal Tiano Core (minimal UEFI compliant BIOS) could be used on ARM architectures too, thus making ARM HW platforms also compatible/lookalike as x86 UEFI compliant BIOS.

In nutshell, then you can build PC/Laptop with ARM CPU/SoC HW platform, having coreboot + minimal Tiano Core + WIN 10 Boot Loader + WIN10 on it (since WIN10 BL does see UEFI compliance, not knowing what is really under the hood). ;-)

Zoran
_______

On Tue, Jun 7, 2016 at 2:02 PM, Gerd Hoffmann <kraxel@redhat.com> wrote:
On Mo, 2016-06-06 at 22:05 +0200, Rudolf Marek wrote:
> Hi all,
>
> I noticed that seabios/libpayload could have interresting use cases and I want
> to share/discuss them.
>
> 1) Have a SeaBIOS be a UEFI application. This would benefit on UEFI platforms
> without CSM.

I doubt this is going to fly.  seabios has to do quite some low-level
stuff (like running code in real mode), I don't think UEFI applications
can do that.  There is a reason why CSM was designed in the first place.

Note that you can build seabios as CSM for tianocore already.

> 2) Provide a minimum UEFI environment. As I noticed u-boot started to have such
> support. In fact it has UEFI glue to u-boot drivers.  As such it provides a
> minimal boot services + minimum runtime services. In seabios, it is almost
> there, only PE loader and filesystem support is missing.

What is the point?
You can just run tianocore as coreboot playload.

Drivers are not an issue, unlike arm x86 has standardized hardware,
tianocore can handle things just fine.

cheers,
  Gerd