All of lore.kernel.org
 help / color / mirror / Atom feed
* menuconfig not working in FEDORA18
@ 2013-06-10 14:50 Rohit2 Jindal
  2013-06-11  2:37 ` Khem Raj
       [not found] ` <51B5EA46.8040609@linux.intel.com>
  0 siblings, 2 replies; 8+ messages in thread
From: Rohit2 Jindal @ 2013-06-10 14:50 UTC (permalink / raw)
  To: 'yocto, yocto-owner

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

Hi,



Actually I am trying to run command

Bitbake -c menuconfig linux(recipe-name)



Getting error
NOTE: Executing RunQueue Tasks
ERROR: No valid terminal found, unable to open devshell
ERROR: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/netlogic/yocto/poky/build/tmp/work/xlp8xx-poky-linux/linux/2.6.32-r1/temp/log.do_menuconfig.24937
ERROR: Task 4 (/home/netlogic/yocto/poky/meta-xlp/recipes-kernel/linux/linux.bb, do_menuconfig) failed with exit code '1'





Please suggest me the way to solve this problem.





Thanks in advance!





Regards,

Rohit Jindal
































===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: menuconfig not working in FEDORA18
  2013-06-10 14:50 menuconfig not working in FEDORA18 Rohit2 Jindal
@ 2013-06-11  2:37 ` Khem Raj
       [not found] ` <51B5EA46.8040609@linux.intel.com>
  1 sibling, 0 replies; 8+ messages in thread
From: Khem Raj @ 2013-06-11  2:37 UTC (permalink / raw)
  To: Rohit2 Jindal; +Cc: yocto@yoctoproject.org (yocto@yoctoproject.org)

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


On Jun 10, 2013, at 7:50 AM, Rohit2 Jindal <rohit2.jindal@aricent.com> wrote:

> ERROR: No valid terminal found, unable to open devshell

what is your terminal ? maybe install GNU screen 

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

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Recompile the recipe everytime
       [not found]         ` <51B639AC.3050200@linux.intel.com>
@ 2013-06-12 13:15           ` Rohit2 Jindal
  2013-06-12 14:30             ` Paul Barker
  0 siblings, 1 reply; 8+ messages in thread
From: Rohit2 Jindal @ 2013-06-12 13:15 UTC (permalink / raw)
  To: yocto-owner, yocto

Hi ,

Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of

Bitbake linux-yocto

ie can I remove stamping or sstate-cache that it allows me to run compilation everytime on every run of bitbake linux-yocto.


I tried do_compile[nostamp] ="1" but it did not work but same thing worked for do_install[nostamp]="1"

Thanks in advance!

Regards,
Rohit Jindal




===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Recompile the recipe everytime
  2013-06-12 13:15           ` Recompile the recipe everytime Rohit2 Jindal
@ 2013-06-12 14:30             ` Paul Barker
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Barker @ 2013-06-12 14:30 UTC (permalink / raw)
  To: yocto

On 12 June 2013 14:15, Rohit2 Jindal <rohit2.jindal@aricent.com> wrote:
> Hi ,
>
> Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of
>
> Bitbake linux-yocto
>

I'm currently tweaking the kernel myself and using "bitbake
linux-yocto -c compile -f" each time. That's recommended by
http://www.yoctoproject.org/docs/current/kernel-dev/kernel-dev.html as
it avoids re-doing the packaging every time you just want to check if
something compiles. You may also need to do "bitbake linux-yocto -c
compile_kernelmodules -f" to rebuild modules. It's the "-f" that
causes the task to be forced.

Is this any help? It doesn't solve exactly the question you asked but
might be what you need.

--
Paul Barker

Email: paul@paulbarker.me.uk
http://www.paulbarker.me.uk


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Recompile the recipe everytime
  2013-06-13 15:24 ` Rohit2 Jindal
  2013-06-14 12:30   ` Paul Eggleton
@ 2013-06-14 16:38   ` Richard Purdie
  1 sibling, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2013-06-14 16:38 UTC (permalink / raw)
  To: Rohit2 Jindal; +Cc: yocto, yocto-owner

On Thu, 2013-06-13 at 20:54 +0530, Rohit2 Jindal wrote:
> Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of
> 
> Bitbake linux-yocto
> 
> ie can I remove stamping or sstate-cache that it allows me to run compilation everytime on every run of bitbake linux-yocto.
> 
> 
> I tried do_compile[nostamp] ="1" but it did not work but same thing worked for do_install[nostamp]="1"

If you just want to rerun the compilation:

do_compile[nostamp] = "1"

should do what you want, not sure why that wouldn't work.

bitbake linux-yocto -c compile -f

or 

bitbake linux-yocto -C compile -f

are also commands which might help.

Cheers,

Richard





^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Recompile the recipe everytime
  2013-06-14 12:30   ` Paul Eggleton
@ 2013-06-14 12:35     ` Paul Eggleton
  0 siblings, 0 replies; 8+ messages in thread
From: Paul Eggleton @ 2013-06-14 12:35 UTC (permalink / raw)
  To: Rohit2 Jindal; +Cc: yocto

On Friday 14 June 2013 13:30:20 Paul Eggleton wrote:
> > I tried do_compile[nostamp] ="1" but it did not work but same thing worked
> > for do_install[nostamp]="1"
> 
> If you really want to do this, I think you'll need to mark all tasks in the
> normal flow from do_compile onwards as nostamp i.e.:
> 
> do_compile
> do_compile_kernelmodules
> do_kernel_link_vmlinux
> do_install
> do_package
> do_packagedata
> do_package_write
> do_package_write_rpm
> do_populate_sysroot
> do_strip
> do_deploy
> do_uboot_mkimage
> do_sizecheck

(BTW - there's no guarantee this list is correct, I just grabbed what I 
thought looked appropriate from the -c listtasks list.)

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: Recompile the recipe everytime
  2013-06-13 15:24 ` Rohit2 Jindal
@ 2013-06-14 12:30   ` Paul Eggleton
  2013-06-14 12:35     ` Paul Eggleton
  2013-06-14 16:38   ` Richard Purdie
  1 sibling, 1 reply; 8+ messages in thread
From: Paul Eggleton @ 2013-06-14 12:30 UTC (permalink / raw)
  To: Rohit2 Jindal; +Cc: yocto

Hi Rohit,

On Thursday 13 June 2013 20:54:08 Rohit2 Jindal wrote:
> Please help me out I am stuck in some issue, actually I want my recipe to do
> compilation everytime on every run of
> 
> Bitbake linux-yocto
> 
> ie can I remove stamping or sstate-cache that it allows me to run
> compilation everytime on every run of bitbake linux-yocto.
> 
> 
> I tried do_compile[nostamp] ="1" but it did not work but same thing worked
> for do_install[nostamp]="1"

If you really want to do this, I think you'll need to mark all tasks in the 
normal flow from do_compile onwards as nostamp i.e.:

do_compile
do_compile_kernelmodules
do_kernel_link_vmlinux
do_install
do_package
do_packagedata
do_package_write
do_package_write_rpm
do_populate_sysroot
do_strip
do_deploy
do_uboot_mkimage
do_sizecheck

I have to say I don't recommend doing this. I would strongly suggest you use 
"bitbake -c compile -f linux-yocto" or "bitbake -C compile linux-yocto" (the 
latter will force compile and then automatically run all the needed tasks up 
to the default task).

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 8+ messages in thread

* Recompile the recipe everytime
       [not found] <mailman.11.1371063601.16784.yocto@yoctoproject.org>
@ 2013-06-13 15:24 ` Rohit2 Jindal
  2013-06-14 12:30   ` Paul Eggleton
  2013-06-14 16:38   ` Richard Purdie
  0 siblings, 2 replies; 8+ messages in thread
From: Rohit2 Jindal @ 2013-06-13 15:24 UTC (permalink / raw)
  To: yocto, yocto-owner

Gentle reminder!!!

Hi ,

Please help me out I am stuck in some issue, actually I want my recipe to do compilation everytime on every run of

Bitbake linux-yocto

ie can I remove stamping or sstate-cache that it allows me to run compilation everytime on every run of bitbake linux-yocto.


I tried do_compile[nostamp] ="1" but it did not work but same thing worked for do_install[nostamp]="1"

Thanks in advance!

Regards,
Rohit Jindal







===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2013-06-14 16:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-10 14:50 menuconfig not working in FEDORA18 Rohit2 Jindal
2013-06-11  2:37 ` Khem Raj
     [not found] ` <51B5EA46.8040609@linux.intel.com>
     [not found]   ` <17797116383D4341B029FDF34C22BF6A52C4CCADBD@GUREXMB01.ASIAN.AD.ARICENT.COM>
     [not found]     ` <51B5EEC6.4040007@linux.intel.com>
     [not found]       ` <17797116383D4341B029FDF34C22BF6A52C4CCADC1@GUREXMB01.ASIAN.AD.ARICENT.COM>
     [not found]         ` <51B639AC.3050200@linux.intel.com>
2013-06-12 13:15           ` Recompile the recipe everytime Rohit2 Jindal
2013-06-12 14:30             ` Paul Barker
     [not found] <mailman.11.1371063601.16784.yocto@yoctoproject.org>
2013-06-13 15:24 ` Rohit2 Jindal
2013-06-14 12:30   ` Paul Eggleton
2013-06-14 12:35     ` Paul Eggleton
2013-06-14 16:38   ` Richard Purdie

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.