[meta-intel] Building image for legacy BIOS

Teemu K maillinglists18 at gmail.com
Wed Aug 1 22:28:25 PDT 2018


On Thu, Aug 2, 2018 at 8:07 AM, Anuj Mittal <anuj.mittal at intel.com> wrote:
> On 08/02/2018 12:57 PM, Anuj Mittal wrote:
>> 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>
>
> Sorry I meant, wic create -e <image_name> <path_to_wks>
>
I already have wic-file. Problem is that it's for UEFI and device with
legacy BIOS won't be able to boot from it. I assume that I need wks -
file that creates image for legacy BIOS and that I do not have nor
have I managed to find. Seems that all the examples I'm able to find
creates UEFI image.

-TeemuK


More information about the meta-intel mailing list