CorebootPayloadPkg doesn't have the hooks requires for CSM, you'd need to use OMVH as a model to integrate the CSM. I've played around with it but never got it working. Maybe it would be better to try and integrate with UefiPayloadPkg? 

On Mon, Aug 19, 2019, 4:14 PM Rafael Send <flyingfishfinger@gmail.com> wrote:
Right, but I'm not building for OVMF, I'm making a Coreboot payload.

Does that option still exist there?

Rafael

On Mon, Aug 19, 2019 at 12:39 AM Gerd Hoffmann <kraxel@redhat.com> wrote:
On Fri, Aug 16, 2019 at 04:31:16PM -0700, Rafael Send wrote:
> Hi all-
> I've found only vague references to doing this (
> https://www.seabios.org/Build_overview#Build_as_a_UEFI_Compatibility_Support_Module_.28CSM.29),
> and no real guides / examples.
>
> Before I go on a wild goose chase, has anyone tried this before?

Basically compile with CONFIG_CSM=y, then copy the binary into the EDK2
tree and build ovmf with -D CSM_ENABLE.

https://git.kraxel.org/cgit/jenkins/seabios/tree/seabios.git.spec
https://git.kraxel.org/cgit/jenkins/edk2/tree/edk2.git.spec.template

HTH,
  Gerd

_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org