[bitbake-devel] source modification and re-build
nousi
bnousilal at gmail.com
Thu Jul 21 10:21:42 UTC 2016
Hi Zhenhua Luo,
Could not able to compile the kernel after changing the kernel
configuration using "bitbake -c menuconfig nousi-linux" command.
Please, have a look at the console logs below.
#bitbake -C compile –f nousi-linux
NOTE: Preparing RunQueue
NOTE: Tainting hash to force rebuild of task
/projects/nousi-linux/nousilal/ns2/poky/build/../meta-nousi/common/recipes-kernel/linux/
nousi-linux_0.0.0.bb, do_rm_work_all
ERROR: Task do_compile is marked nostamp, cannot invalidate this task
ERROR: An uncaught exception occured in runqueue, please see the failure
below:
ERROR: Running idle function
Traceback (most recent call last):
File
"/projects/nousi123-linux/nousilal/nn2/poky/bitbake/lib/bb/runqueue.py",
line 1094, in RunQueue.execute_runqueue():
try:
> return self._execute_runqueue()
except bb.runqueue.TaskFailure:
File
"/projects/nousi123-linux/nousilal/nn2/poky/bitbake/lib/bb/runqueue.py",
line 1029, in RunQueue._execute_runqueue():
self.rqexe = RunQueueExecuteDummy(self)
> if self.rqdata.prepare() == 0:
self.state = runQueueComplete
File
"/projects/nousi123-linux/nousilal/nn2/poky/bitbake/lib/bb/runqueue.py",
line 796, in RunQueueData.prepare():
for st in
self.cooker.configuration.invalidate_stamp.split(','):
> invalidate_task(fn, "do_%s" % st, True)
File
"/projects/nousi123-linux/nousilal/nn2/poky/bitbake/lib/bb/runqueue.py",
line 780, in
invalidate_task(fn='/projects/nousi123-linux/nousilal/nn2/poky/build/../meta-nousi/common/recipes-kernel/linux/
nousi-linux_0.0.0.bb', taskname='do_compile', error_nostamp=True):
if error_nostamp:
> bb.fatal("Task %s is marked nostamp, cannot
invalidate this task" % taskname)
else:
File
"/projects/nousi123-linux/nousilal/nn2/poky/bitbake/lib/bb/__init__.py",
line 102, in fatal:
logger.critical(''.join(args))
> raise BBHandledException()
BBHandledException
On Thu, Jul 21, 2016 at 9:30 AM, Zhenhua Luo <zhenhua.luo at nxp.com> wrote:
> Hi Nousilal,
>
>
>
> “bitbake -c menuconfig nousi-linux” is used for changing the kernel
> configs instead of modifying source code, you can run “bitbake -C compile
> -f nousi-linux ” to force rebuild with updated kernel configs.
>
>
>
> To modify the source code, you can do it in
> tmp/work-shared/<machine>/kernel-source/, then run “bitbake -C compile –f
> nousi-linux” to rebuild new kernel image.
>
>
>
>
>
> Best Regards,
>
>
>
> Zhenhua
>
>
>
> *From:* bitbake-devel-bounces at lists.openembedded.org [mailto:
> bitbake-devel-bounces at lists.openembedded.org] *On Behalf Of *nousi
> *Sent:* Wednesday, July 20, 2016 2:18 PM
> *To:* bitbake-devel at lists.openembedded.org
> *Subject:* [bitbake-devel] source modification and re-build
>
>
>
> Hi All,
>
>
>
> Am new to yocto environment, please let me know the process to change
> kernel source using "bitbake nousi-linux -c menuconfig".
>
>
>
> I can able to make changes using "bitbake nousi-linux -c menuconfig" this
> command but my changes were not included in the new re-built image.
>
> Am using the development linux source code.
>
> Any help is appreciated.
>
>
>
> --
>
>
> *Thanks & Regards, B.Nousilal,*
>
--
*Thanks & Regards,B.Nousilal,*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20160721/625e9e23/attachment-0002.html>
More information about the bitbake-devel
mailing list