[oe] Adding a new Machine question
Martyn Welch
martyn.welch at gefanuc.com
Wed Jan 13 13:26:31 UTC 2010
Perepelica Alexander wrote:
> Hi!
> I have problem with configs for new x86_64 machine.
> How I read in manual I need set next vasiables
> 1. TARGET_ARCH
> TARGET_ARCH = "x86_64"
> 2. MACHINE_FEATURES
> MACHINE_FEATURES = "kernel26 screen keyboard pci usbhost acpi ext2 x86"
> MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"
> 3. PREFERRED_PROVIDER_virtual/kernel
> PREFERRED_PROVIDER_virtual/kernel = "linux"
> And now when I build helloworld-image all is ok i get my RFS image.
> But when I try build bootstrap-image I got error
> " no such directory asm-x86" but I see dir with name "asm-generic" and
> name of machine conf file is x86_64-generic.conf.
> So, I don't understand what I do wrong?
>
I think I had this problem as well when compiling for a i586-generic
(infact i686-generic and x86 as well).
All the kernel bitbake files contain DEFAULT_PREFERENCE = "-1" and the
bitbake file for the newest kernel (linux_2.6.32+2.6.33-rc3.bb
<http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux_2.6.32+2.6.33-rc3.bb>
I think) was failing for x86.
I modified linux_2.6.32.bb
<http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux_2.6.32.bb>
from:
|DEFAULT_PREFERENCE = "-1"
|
to:
|DEFAULT_PREFERENCE = "1"
|
and was able to build (though I haven't got around to testing the
resulting kernel yet...)
Martyn
--
Martyn Welch (Principal Software Engineer) | Registered in England and
GE Intelligent Platforms | Wales (3828642) at 100
T +44(0)127322748 | Barbirolli Square, Manchester,
E martyn.welch at gefanuc.com | M2 3AB VAT:GB 927559189
More information about the Openembedded-devel
mailing list