All of lore.kernel.org
 help / color / mirror / Atom feed
From: nousi <bnousilal@gmail.com>
To: Zhenhua Luo <zhenhua.luo@nxp.com>
Cc: "bitbake-devel@lists.openembedded.org"
	<bitbake-devel@lists.openembedded.org>
Subject: Re: source modification and re-build
Date: Thu, 21 Jul 2016 16:02:15 +0530	[thread overview]
Message-ID: <CAJ5vXcRB1ue67dWdxRdP9xr2LV5tYFgV5COTLU-xAQ98qCCVHQ@mail.gmail.com> (raw)
In-Reply-To: <CAJ5vXcQZH=zXWnF7bseRDGtGHJ3gkLRh=sc388cw+_aZyO0F1Q@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 4145 bytes --]

please, ignore my previous mail.
There was an issue with the option "-C", it should be "-c".

I have compiled modified kernel using " bitbake -c compile -f nousi-linux"
command but, it seems kernel image does not get update with new
configuration at below path.

"poky/build/tmp/deploy/images/nousi123k/"

Please, let me know if I am missing something in the process.

On Thu, Jul 21, 2016 at 3:51 PM, nousi <bnousilal@gmail.com> wrote:

> 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@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@lists.openembedded.org [mailto:
>> bitbake-devel-bounces@lists.openembedded.org] *On Behalf Of *nousi
>> *Sent:* Wednesday, July 20, 2016 2:18 PM
>> *To:* bitbake-devel@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,*
>



-- 


*Thanks & Regards,B.Nousilal,*

[-- Attachment #2: Type: text/html, Size: 8859 bytes --]

  reply	other threads:[~2016-07-21 10:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  6:18 source modification and re-build nousi
2016-07-21  4:00 ` Zhenhua Luo
2016-07-21  4:04   ` nousi
2016-07-21 10:21   ` nousi
2016-07-21 10:32     ` nousi [this message]
2016-07-21 11:26       ` Jussi Kukkonen
2016-07-27  6:13         ` nousi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAJ5vXcRB1ue67dWdxRdP9xr2LV5tYFgV5COTLU-xAQ98qCCVHQ@mail.gmail.com \
    --to=bnousilal@gmail.com \
    --cc=bitbake-devel@lists.openembedded.org \
    --cc=zhenhua.luo@nxp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.