[yocto] Porting of specific Kernel/Driver into yocto.

Om Prakash PAL omprakash.pal at stericsson.com
Mon Apr 30 01:45:20 PDT 2012


________________________________________
From: Khem Raj [raj.khem at gmail.com]
Sent: Monday, April 30, 2012 12:18 AM
To: Om Prakash PAL
Cc: Bruce Ashfield; yocto at yoctoproject.org
Subject: Re: [yocto] Porting of specific Kernel/Driver into yocto.

On Sun, Apr 29, 2012 at 2:58 AM, Om Prakash PAL
<omprakash.pal at stericsson.com> wrote:
> Hi Bruce,
> for porting of our local kernel,we have created an BSP layer and to change the the kernel,  we have created an linux-yocto_3.0.bbappend file inside meta<BSP>/recipes-kernel/linux/
> like this:-
>
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> COMPATIBLE_MACHINE_<BSP_name> = "BSP_name"
>
> # KMACHINE is the branch to build
> KMACHINE_<BSP_name> = "local_branch"
>
> SRCREV_machine_pn_linux-yocto_<BSP_name> ?= "XXXXXXXX" (here we have assign top commit ID of our local kernel)

that should be SRCREV_machine_pn-linux-yocto_<BSP_name>

yes I have done same and same Error is coming again then set 
YOCTO_KERNEL_EXTERNAL_BRANCH ="local_branch"; in conf/local.conf file and now its working bu now problem is something different:

ERROR: Function 'do_patch' failed (see /home/apallan/yocto/hello_build/tmp/work/u8500-poky-linux-gnueabi/linux-yocto-3.0.4+git2+0a81a5eaa7a5c1216cbd087bec5ec7cd8a448383-r3/temp/log.do_patch.20524 for further information)
ERROR: Logfile of failure stored in: /home/apallan/yocto/hello_build/tmp/work/u8500-poky-linux-gnueabi/linux-yocto-3.0.4+git2+0a81a5eaa7a5c1216cbd087bec5ec7cd8a448383-r3/temp/log.do_patch.20524
Log data follows:
| ERROR. meta data not found, check upstream repo for tags and branches
| ERROR: Function 'do_patch' failed (see /home/apallan/yocto/hello_build/tmp/work/u8500-poky-linux-gnueabi/linux-yocto-3.0.4+git2+0a81a5eaa7a5c1216cbd087bec5ec7cd8a448383-r3/temp/log.do_patch.20524 for further information)
NOTE: package linux-yocto-3.0.4+git2+0a81a5eaa7a5c1216cbd087bec5ec7cd8a448383-r3: task do_patch: Failed
ERROR: Task 516 (/home/apallan/yocto/poky-edison-6.0/meta/recipes-kernel/linux/linux-yocto_3.0.bb, do_patch) failed with exit code '1'

Best Regards,
Om Prakash Pal





More information about the yocto mailing list