From: Darren Hart <dvhart@linux.intel.com>
To: Gary Thomas <gary@mlbassoc.com>
Cc: Poky <poky@lists.pokylinux.org>
Subject: Re: Poky on "standard" PC
Date: Wed, 26 Jan 2011 11:31:05 -0800 [thread overview]
Message-ID: <4D407679.4040403@linux.intel.com> (raw)
In-Reply-To: <4D3F7AC8.4030102@mlbassoc.com>
On 01/25/2011 05:37 PM, Gary Thomas wrote:
> On 01/25/2011 05:30 PM, Darren Hart wrote:
>> 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'
>
> This worked for me. Are you sure your repo is up to date?
> I think the fix was in
> commit bc9d2fbfd4eaad0df5647dd5d07dfb9fcff80ff3
> Author: Dongxiao Xu <dongxiao.xu@intel.com>
> Date: Tue Jan 18 16:17:58 2011 +0800
I did have the above patch, but refreshing again to master's HEAD and
rebuilding seems to have worked. I also purged tmp and sstate, perhaps I
had something stuck in there.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel
prev parent reply other threads:[~2011-01-26 19:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-24 12:05 Poky on "standard" PC Gary Thomas
2011-01-24 12:39 ` Richard Purdie
2011-01-24 22:54 ` Darren Hart
2011-01-25 12:08 ` Gary Thomas
2011-01-25 13:45 ` Bruce Ashfield
2011-01-25 16:37 ` Gary Thomas
2011-01-25 16:40 ` Bruce Ashfield
2011-01-25 16:45 ` Gary Thomas
2011-01-25 20:16 ` Saul Wold
2011-01-25 22:52 ` Richard Purdie
2011-01-26 0:30 ` Darren Hart
2011-01-26 1:37 ` Gary Thomas
2011-01-26 19:31 ` Darren Hart [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D407679.4040403@linux.intel.com \
--to=dvhart@linux.intel.com \
--cc=gary@mlbassoc.com \
--cc=poky@lists.pokylinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox