linux_2.6.34 staging error
Hi,
I am trying to build linux_2.6.34 kernel for my development board on
stable/2009 branch. So that I have added below recipe to accomplish this stuff. During bitbake I got staging error, can I have solution for this?.
Error:
/**********************************************************************************************************************/
NOTE: Psyco JIT Compiler (http://psyco.sf.net) not available. Install it
to increase performance.
NOTE: Handling BitBake files: \ (6707/6707) [100 %]
NOTE: Parsing finished. 6405 cached, 0 parsed, 302 skipped, 0 masked.
NOTE: Cache is clean, not saving.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing runqueue
NOTE: Executing runqueue
NOTE: Running task 296 of 546 (ID:
2, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_fetch)
NOTE: Running task 297 of 546 (ID:
3, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_unpack)
NOTE: Unpacking /media/disk/beagle-oe/tmp/downloads/linux-2.6.34.tar.bz2
to ../tmp/work/alioth-angstrom-linux-gnueabi/linux-2.6.34-r1/
NOTE: Unpacking recipes/linux/linux-2.6.34/alioth/defconfig
to ../tmp/work/alioth-angstrom-linux-gnueabi/linux-2.6.34-r1/
NOTE: Running task 320 of 546 (ID:
4, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_patch)
NOTE: Applying patch
'alioth_linux-2.6.34.patch' (recipes/linux/linux-2.6.34/alioth/alioth_linux-2.6.34.patch)
NOTE: Running task 321 of 546 (ID:
5, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_configure)
NOTE: Running task 339 of 546 (ID:
6, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_qa_configure)
NOTE: Running task 340 of 546 (ID:
7, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_compile)
NOTE: Running task 362 of 546 (ID:
11, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_sizecheck)
NOTE: Running task 363 of 546 (ID:
10, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_uboot_mkimage)
NOTE: Running task 364 of 546 (ID:
8, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_install)
NOTE: Running task 378 of 546 (ID:
19, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_deploy)
NOTE: Running task 390 of 546 (ID:
18, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_devicetree_image)
NOTE: Running task 391 of 546 (ID:
14, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_package)
sh: arm-angstrom-linux-gnueabi-depmod-: command not found NOTE: the following files were installed but not shipped in any package: NOTE: /lib/modules/2.6.34/modules.order NOTE: /lib/modules/2.6.34/modules.builtin NOTE: Running task 396 of 546 (ID:
9, /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_populate_staging)
ERROR: function do_stage failed
ERROR: see log
in /home/balakrishnan/econsystems/projects/tmp/work/alioth-angstrom-linux-gnueabi/linux-2.6.34-r1/temp/log.do_stage.4058
NOTE: Task
failed: /home/balakrishnan/econsystems/projects/tmp/work/alioth-angstrom-linux-gnueabi/linux-2.6.34-r1/temp/log.do_stage.4058
ERROR: TaskFailed event exception, aborting
ERROR: Build
of /home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb do_populate_staging failed
ERROR: Task 9
(/home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb, do_populate_staging) failed
NOTE: Tasks Summary: Attempted 395 tasks of which 383 didn't need to be
rerun and 1 failed.
ERROR:
'/home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb' failed /*******************************************************************************************************************************************/
../openembedded/recipes/linux/linux_2.6.34.bb /****************************************************************************************/ require linux.inc
PR="r1"
# Mark archs/machines that this kernel supportsDEFAULT_PREFERENCE = "-1"DEFAULT_PREFERENCE_alioth = "1"
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/${P}.tar.bz2;name=kernel \
file://defconfig"
SRC_URI_append_alioth = "\ file://alioth_linux-2.6.34.patch;patch=1 \ "
/****************************************************************************************/
With Regards
J.Balakrishnan
I fear stable/2009 lacks some magic in linux.inc.
Worst, staging has been revolutioned...
Here is the actual:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/linux/linux.inc
Regards
Andrea
Quoted 11 lines · balakrishnan
Hi,
I am trying to build linux_2.6.34 kernel for my development board on
stable/2009 branch. So that I have added below recipe to accomplish this stuff. During bitbake I got staging error, can I have solution for this?.NOTE: Running task 396 of 546 (ID:
9,/home/balakrishnan/econsystems/projects/openembedded/recipes/linux/linux_2.6.34.bb,do_populate_staging)
ERROR: functiondo_stagefailed
ERROR: see log
in/home/balakrishnan/econsystems/projects/tmp/work/alioth-angstrom-linux-gnueabi/linux-2.6.34-r1/temp/log.do_stage.4058
You could take a look into that logfile.
Or use the attached patch to add linux 2.6.34 to stable/2009, it's working here for a pp603e-based machine. You may have to add the checksums to checksums.ini if you don't use the patch for inline checksums.
And for some reasons I had to build u-boot-mkimage-native first.
Vitus
Signature · 2 lines
Vitus Jensen, Hannover, Germany, Universe (current) pgp public key available from keyservers
From c7759ec88f0364532047b05c06e45d9a2bb2a613 Mon Sep 17 00:00:00 2001
From: Vitus Jensen <[email protected]>
Date: Fri, 4 Jun 2010 05:16:07 +0200
Subject: [STABLE][PATCH] linux_2.6.34: new recipe
--- recipes/linux/linux_2.6.34.bb | 15 +++++++++++++++ 1 files changed, 15 insertions(+), 0 deletions(-) create mode 100644 recipes/linux/linux_2.6.34.bb
recipes/linux/linux_2.6.34.bb new file +15 -0
@@ -0,0 +1,15 @@ +require linux.inc + +KERNEL_RELEASE = "2.6.34" +KERNEL_VERSION = "${KERNEL_RELEASE}" +PR = "r0" + +S = "${WORKDIR}/linux-${KERNEL_RELEASE}" + +# Mark archs/machines that this kernel supports +DEFAULT_PREFERENCE = "-1" + +SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${KERNEL_RELEASE}.tar.bz2;name=kernel \ + file://defconfig" +SRC_URI[kernel.md5sum] = "10eebcb0178fb4540e2165bfd7efc7ad" +SRC_URI[kernel.sha256sum] = "fa395fec7de633df1cb85b6248b8f35af98380ed128a8bc465fb48bc4d252633"
Signature · 1 line
1.6.4.4