[poky] Poky on "standard" PC

Darren Hart dvhart at linux.intel.com
Tue Jan 25 16:30:15 PST 2011


On 01/25/2011 02:52 PM, Richard Purdie wrote:
> On Mon, 2011-01-24 at 14:54 -0800, Darren Hart wrote:
>> On 01/24/2011 04:39 AM, Richard Purdie wrote:
>>> On Mon, 2011-01-24 at 05:05 -0700, Gary Thomas wrote:
>>>> I wanted to try Poky on a spare laptop, so I went looking
>>>> for an appropriate configuration to build.
>>>>
>>>>    From 'README.hardware' (last updated 2010-12-16), I read:
>>>>      Poky Boot CD (bootcdx86)
>>>>      ========================
>>>>
>>>>      The Poky boot CD iso images are designed as a demonstration of the Poky
>>>>      environment and to show the versatile image formats Poky can generate. It will
>>>>      run on Pentium2 or greater PC style computers. The iso image can be
>>>>      burnt to CD and then booted from.
>>>>
>>>> When I tried it (it's also listed in the default local.conf),
>>>> I got this error:
>>>>      Please set TARGET_ARCH directly, or choose a MACHINE or DISTRO that does so.
>>>>      Please set a valid MACHINE in your local.conf
>>>>
>>>> There seems to be no machine named 'bootcd*' anywhere :-(
>>>>
>>>> What should I be using?
>>>
>>> bootcdx86 was superceeded by the -live images. I'd suggest using the
>>> qemux86 or atom-pc machines and building a -live image, dd that to a usb
>>> stick and boot that on the laptop. An iso format image is also generated
>>> that can be placed onto a CD.
>>
>> It will have to be atom-pc as qemu doesn't provide live images (last I
>> checked, a few weeks back).
>
> I don't see why the qemu machine wouldn't work for the live image
> variants, even if we don't build them by default on the autobuilder?

When I run:

$ MACHINE="qemux86" bitbake poky-image-minimal-live

it results it:

ERROR: 
'/home/dvhart/data/poky.git/meta/recipes-core/images/poky-image-minimal-live.bb' 
failed
ERROR: Function 'build_boot_bin' failed (see 
/vol/1/dvhart/poky.git/build/tmp/work/i586-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.18423 
for further information)
ERROR: Logfile of failure stored in: 
/vol/1/dvhart/poky.git/build/tmp/work/i586-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.18423
Log data follows:
| install: cannot stat 
`/vol/1/dvhart/poky.git/build/tmp/sysroots/qemux86-poky-linux/kernel/bzImage': 
No such file or directory
| Function 'build_boot_bin' failed (see 
/vol/1/dvhart/poky.git/build/tmp/work/i586-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.18423 
for further information)
| ERROR: Function 'build_boot_bin' failed (see 
/vol/1/dvhart/poky.git/build/tmp/work/i586-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.18423 
for further information)
NOTE: package poky-image-minimal-live-1.0-r0: task build_boot_bin: Failed
ERROR: Task 9 
(/home/dvhart/data/poky.git/meta/recipes-core/images/poky-image-minimal-live.bb, 
do_bootimg) failed with exit code '1'


--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel



More information about the poky mailing list