UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Explorer
Explorer
5,503 Views
Registered: ‎11-09-2015

petaconfig -c kernel error

Jump to solution

hi, i want to config kenrel using the petaconfig -c kernel,and I got a error ,here is the message.

petaconfig -c kernel 

[INFO] generating Kconfig for project

[INFO] sourcing bitbake
[INFO] generating plnxtool conf
[INFO] generating meta-plnx-generated layer
~/project/petalinux/avnet-digilent-zedboard-2016.4/build/misc/plnx-generated ~/project/petalinux/avnet-digilent-zedboard-2016.4
~/project/petalinux/avnet-digilent-zedboard-2016.4
[INFO] generating machine configuration
[INFO] configuring: kernel
[INFO] generating kernel configuration files
[INFO] bitbake virtual/kernel -c menuconfig
Loading cache: 100% |#################################################################################################################| ETA: 00:00:00
Loaded 2940 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################################| Time: 00:00:05
Parsing of 2327 .bb files complete (2293 cached, 34 parsed). 2942 targets, 196 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 2 tasks of which 0 didn't need to be rerun and all succeeded.
Loading cache: 100% |#################################################################################################################| ETA: 00:00:00
Loaded 2940 entries from dependency cache.
Parsing recipes: 100% |###############################################################################################################| Time: 00:00:13
Parsing of 2327 .bb files complete (2293 cached, 34 parsed). 2942 targets, 196 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: Preparing RunQueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
WARNING: linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: Unsupported terminal "screen", defaulting to "auto"
ERROR: linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: No valid terminal found, unable to open devshell
ERROR: linux-xlnx-4.6-xilinx+gitAUTOINC+2762bc9163-r0 do_menuconfig: Function failed: do_menuconfig
ERROR: Logfile of failure stored in: /home/zynq/project/petalinux/avnet-digilent-zedboard-2016.4/build/tmp/work/plnx_arm-xilinx-linux-gnueabi/linux-xlnx/4.6-xilinx+gitAUTOINC+2762bc9163-r0/temp/log.do_menuconfig.13779
ERROR: Task 7 (/home/zynq/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.6.bb, do_menuconfig) failed with exit code '1'
NOTE: Tasks Summary: Attempted 170 tasks of which 161 didn't need to be rerun and 1 failed.

Summary: 1 task failed:
/home/zynq/petalinux/components/yocto/source/arm/layers/meta-xilinx/recipes-kernel/linux/linux-xlnx_4.6.bb, do_menuconfig
Summary: There was 1 WARNING message shown.
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
ERROR: bitbake failed to configure kernel
ERROR: Failed to config kernel.

 

how to fix this problem?

thanks,

0 Kudos
1 Solution

Accepted Solutions
Explorer
Explorer
9,095 Views
Registered: ‎11-09-2015

Re: petaconfig -c kernel error

Jump to solution

I have solve it.

 

sudo apt-get install  screen

 

BRs,

0 Kudos
3 Replies
Explorer
Explorer
9,096 Views
Registered: ‎11-09-2015

Re: petaconfig -c kernel error

Jump to solution

I have solve it.

 

sudo apt-get install  screen

 

BRs,

0 Kudos
Moderator
Moderator
5,493 Views
Registered: ‎12-04-2016

Re: petaconfig -c kernel error

Jump to solution

Hi

 

Try installing this package:

sudo apt-get install screen

 

 

 

0 Kudos
Explorer
Explorer
5,479 Views
Registered: ‎11-09-2015

Re: petaconfig -c kernel error

Jump to solution

hi shabbirk,

   Thanks for your advice.

 

   You are right, install screen can fix this issue.

Thanks.

0 Kudos