[poky] Problem in linux-yocto kernel 2.6.37 configuration while building with sugarbay machine
v sailaja
vsailub4u at gmail.com
Fri Apr 1 05:01:39 PDT 2011
Hi,
I am trying to build poky image "*piky-image-minima*l-live" for *"sugarbay"
* machine with l*inux-yocto kernel 2.6.37 kernel *which supports the
sandy-bridge.
I clone poky source as git clone git://git.pokylinux.org/poky.git
And cloned for meta-intel from
http://git.pokylinux.org/cgit/cgit.cgi/meta-intel<http://git.pokylinux.org/cgit/cgit.cgi/meta-intel/tree/>
Also made entries in bblayers.conf as "*meta-intel /meta-sugarbay*"
My machine is 64bit one.
I made changes in sugarbay.conf, for building "i586" , as follows
TARGET_ARCH = "i586"
TARGET_CC_ARCH = "-m32"
#TARGET_CC_ARCH = "-m64"
I tried to build it for both 32 and 64 bit.
I got the common error both time.
Error log:1
---------------------------------------------*********************************************-----------------------------------
This BSP sets 24 kernel options that are possibly non-hardware related.
The full list can be found in your workspace at:
/home/sailaja/new-poky/x86_64/
poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/specified_non_hdw.cfg
*WARNING: There were 103 hardware options requested that do not
have a corresponding value present in the final ".config" file.
This probably means you aren't getting the config you wanted.
The full list can be found in your workspace at:*
/home/sailaja/new-poky/x86_64/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/meta/cfg/yocto/standard/common-pc-64/sugarbay/mismatch.cfg
Waiting a second to make sure you get a chance to see this...
NOTE: package
linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
task do_kernel_configcheck: Succeeded
NOTE: Running task 960 of 1998 (ID: 857,
/home/sailaja/new-poky/poky/meta/recipes-kernel/linux/linux-yocto_git.bb,
do_compile)
NOTE: package
linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
task do_compile: Started
ERROR: '/home/sailaja/new-poky/poky/meta/recipes-kernel/linux/
linux-yocto_git.bb' failed
|
/home/sailaja/new-poky/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/kernel/bounds.c:1:0:
*error: code model 'kernel' not supported in the 32 bit mode*
|
/home/sailaja/new-poky/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/linux/kernel/bounds.c:1:0:
* sorry, unimplemented: 64-bit mode not compiled in*
| make[3]: *** [kernel/bounds.s] Error 1
| make[2]: *** [prepare0] Error 2
| make[2]: *** Waiting for unfinished jobs....
| make[2]: *** [scripts] Error 2
| make[1]: *** [sub-make] Error 2
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function 'do_compile' failed (see
/home/sailaja/new-poky/poky/build/tmp/work/sugarbay-poky-linux/linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16/temp/log.do_compile.29452
for further information)
NOTE: package
linux-yocto-2.6.37+git1+e2cabadc059ad8d91f7e4a023106620d93abd23a_1+2b412826bbeb4a16abe2ea74f2456ab880c6e3c1-r16:
task do_compile: Failed
ERROR: Task 857 (/home/sailaja/new-poky/poky/meta/recipes-kernel/linux/
linux-yocto_git.bb, do_compile) failed with exit code '1'
---------------******************************-------------------
I thought, the reason for this error is
As My machine is 64 bit one. It is configured for the default
configurations i.e., it is using the x86_64_defconfig and 64 bit is enabled
in the .config file.
This is because of misconfiguration.
I configured my kernel.
My build is done. But I am getting an error while building the rootfs.
Error log:2
---------------------------------------********************************************-------------------------------------------------
NOTE: package poky-image-minimal-live-1.0-r0: task do_bootimg: Started
ERROR: '/home/sailaja/new-poky/poky/meta/recipes-core/images/
poky-image-minimal-live.bb' failed
ERROR: Function 'build_boot_bin' failed (see
/home/sailaja/new-poky/poky/build/tmp/work/snb-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.32052
for further information)
ERROR: Logfile of failure stored in:
/home/sailaja/new-poky/poky/build/tmp/work/snb-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.32052
Log data follows:
| *install: cannot stat
`/home/sailaja/new-poky/poky/build/tmp/sysroots/sugarbay/kernel/bzImage': No
such file or directory*
| ERROR: Function 'build_boot_bin' failed (see
/home/sailaja/new-poky/poky/build/tmp/work/snb-poky-linux/poky-image-minimal-live-1.0-r0/temp/log.do_bootimg.32052
for further information)
NOTE: package poky-image-minimal-live-1.0-r0: task do_bootimg: Failed
ERROR: Task 8 (/home/sailaja/new-poky/poky/meta/recipes-core/images/
poky-image-minimal-live.bb, do_bootimg) failed with exit code '1' Error
-------------------------------------------------************************************************------------------------------
*
Why it is happening?
Please Can anyone help me in finding the solution.
*
--
Thanks & Regards,
SAI
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/poky/attachments/20110401/f40be9a1/attachment.html>
More information about the poky
mailing list