[meta-intel] Building image for legacy BIOS

Anuj Mittal anuj.mittal at intel.com
Wed Aug 1 21:57:09 PDT 2018


On 08/02/2018 11:54 AM, Teemu K wrote:
> Hi,
> 
> It's been awhile since I last time compiled Yocto for x86 using
> meta-intel so a lot has changed.
> 
> I have x86 based HW I'm compiling Yocto image (Yocto version 2.4)
> using latest meta-intel for that Yocto.
> 
> Image compiles ok, but it seems that the wic-file is for UEFI and I
> understood that meta-intel defaults to that nowadays.
> 
> I tried to remove 'efi' from MACHINE_FEATURES and have 'pcbios' there,
> but still it seems to create UEFI image.
> 
> How to I force legacy BIOS - image creation?

You should be able to create a wic image with meta-intel and legacy BIOS
using directdisk.wks from OE-Core [1]

Assuming that you already have an image built:

wic -e <image> <path_to_wks>

[1]
https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/scripts/lib/wic/canned-wks/directdisk.wks


More information about the meta-intel mailing list