"unable to open menuconfig virtual/kernel on yocto"

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

"unable to open menuconfig virtual/kernel on yocto"

485 Views
MJD
Contributor II

I'm trying to run bitbake -c menuconfig virtual/kernel, but facing with the bellow error.

Working build on Server. 

ManjuJ_0-1698321186329.png

attaching my local.conf snip-it 

(Even after mentioning)

TERMCMD = "gnome-terminal \
xfce4-terminal \
x-terminal-emulator"

ManjuJ_0-1698321445699.png

lab3@daikokunw-Server:~/Y/imx-yocto-bsp/build/tmp/work/imx8mp_lpddr4_evk-poky-linux/linux-imx/6.1.22+gitAUTOINC+66e442bc7f-r0/temp$ cat log.do_menuconfig.3424288
DEBUG: Executing python function extend_recipe_sysroot
NOTE: Direct dependencies are ['/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/binutils/binutils-cross_2.40.bb:do_populate_sysroot', '/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/gcc/gcc-cross_12.2.bb:do_populate_sysroot', '/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/quilt/quilt-native_0.67.bb:do_populate_sysroot', '/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kern-tools/kern-tools-native_git.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/meta-openembedded/meta-oe/recipes-support/lzop/lzop_1.04.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-core/ncurses/ncurses_6.4.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/bison/bison_3.8.2.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/flex/flex_2.6.4.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/patch/patch_2.7.6.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pkgconfig/pkgconfig_git.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-devtools/pseudo/pseudo_git.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-extended/bc/bc_1.07.1.bb:do_populate_sysroot', 'virtual:native:/home/lab3/Y/imx-yocto-bsp/sources/poky/meta/recipes-kernel/kmod/kmod_30.bb:do_populate_sysroot']
NOTE: Installed into sysroot: []
NOTE: Skipping as already exists in sysroot: ['binutils-cross-aarch64', 'gcc-cross-aarch64', 'quilt-native', 'kern-tools-native', 'lzop-native', 'ncurses-native', 'bison-native', 'flex-native', 'patch-native', 'pkgconfig-native', 'pseudo-native', 'bc-native', 'kmod-native', 'zstd-native', 'texinfo-dummy-native', 'xz-native', 'libtool-native', 'gnu-config-native', 'gmp-native', 'mpfr-native', 'libmpc-native', 'zlib-native', 'linux-libc-headers', 'attr-native', 'python3-native', 'openssl-native', 'm4-native', 'gettext-minimal-native', 'readline-native', 'lzo-native', 'sqlite3-native', 'libtirpc-native', 'gdbm-native', 'util-linux-libuuid-native', 'libffi-native', 'bzip2-native', 'libnsl2-native', 'perl-native', 'make-native']
DEBUG: Python function extend_recipe_sysroot finished
DEBUG: Executing python function do_menuconfig
DEBUG: Attempting to spawn terminal "custom"
DEBUG: No custom terminal (OE_TERMINAL_CUSTOMCMD) set
DEBUG: Attempting to spawn terminal "tmux-running"
DEBUG: Attempting to spawn terminal "tmux-new-window"
DEBUG: Attempting to spawn terminal "xfce"
/usr/lib/python3.10/subprocess.py:1070: ResourceWarning: subprocess 3424289 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG: Attempting to spawn terminal "terminology"
DEBUG: Attempting to spawn terminal "mate"
DEBUG: Attempting to spawn terminal "konsole"
DEBUG: Attempting to spawn terminal "gnome"
/usr/lib/python3.10/subprocess.py:1070: ResourceWarning: subprocess 3424297 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG: Attempting to spawn terminal "xterm"
/usr/lib/python3.10/subprocess.py:249: ResourceWarning: unclosed file <_io.BufferedWriter name=10>
for inst in _active[:]:
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/subprocess.py:249: ResourceWarning: unclosed file <_io.BufferedReader name=11>
for inst in _active[:]:
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/subprocess.py:1070: ResourceWarning: subprocess 3424298 is still running
_warn("subprocess %s is still running" % self.pid,
ResourceWarning: Enable tracemalloc to get the object allocation traceback
DEBUG: Attempting to spawn terminal "rxvt"
DEBUG: Attempting to spawn terminal "tmux"
DEBUG: Attempting to spawn terminal "screen"
/usr/lib/python3.10/subprocess.py:765: ResourceWarning: unclosed file <_io.BufferedWriter name=10>
_cleanup()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/lib/python3.10/subprocess.py:765: ResourceWarning: unclosed file <_io.BufferedReader name=11>
_cleanup()
ResourceWarning: Enable tracemalloc to get the object allocation traceback
ERROR: No valid terminal found, unable to open devshell.
Tried the following commands:
tmux split-window -c "{cwd}" "do_terminal"
tmux new-window -c "{cwd}" -n "linux-imx Configuration" "do_terminal"
xfce4-terminal -T "linux-imx Configuration" -e "do_terminal"
terminology -T="linux-imx Configuration" -e do_terminal
mate-terminal --disable-factory -t "linux-imx Configuration" -x do_terminal
konsole --separate --workdir . -p tabtitle="linux-imx Configuration" -e do_terminal
gnome-terminal -t "linux-imx Configuration" -- do_terminal
xterm -T "linux-imx Configuration" -e do_terminal
rxvt -T "linux-imx Configuration" -e do_terminal
tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
screen -D -m -t "linux-imx Configuration" -S devshell do_terminal
DEBUG: Python function do_menuconfig finished

0 Kudos
1 Reply

470 Views
Chavira
NXP TechSupport
NXP TechSupport

Hi @MJD!
Thank you for contacting NXP Support!

To access menuconfig you have to use the next command:

$ bitbake -c devshell virtual/kernel

Inside the virtual kernel shell you have to put the next command:

$ make menuconfig

And then you can see the menu config of the kernel

Best Regards!
Alejandro

0 Kudos