Skip to content

Conversation

cbugk
Copy link

@cbugk cbugk commented May 20, 2024

While trying to run devshell (bitbake -c devshell virtual/kernel) got error:

NOTE: Executing Tasks
ERROR: linux-imx-6.6.3+git-r0 do_devshell: 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 "OpenEmbedded Developer Shell" "do_terminal"
	xfce4-terminal -T "OpenEmbedded Developer Shell" -e "do_terminal"
	terminology -T="OpenEmbedded Developer Shell" -e do_terminal
	mate-terminal --disable-factory -t "OpenEmbedded Developer Shell" -x do_terminal
	konsole --separate --workdir . -p tabtitle="OpenEmbedded Developer Shell" -e do_terminal
	gnome-terminal -t "OpenEmbedded Developer Shell" -- do_terminal
	xterm -T "OpenEmbedded Developer Shell" -e do_terminal
	urxvt -T "OpenEmbedded Developer Shell" -e do_terminal
	rxvt -T "OpenEmbedded Developer Shell" -e do_terminal
	tmux new -c "{cwd}" -d -s devshell -n devshell "do_terminal"
	screen -D -m -t "OpenEmbedded Developer Shell" -S devshell do_terminal
ERROR: Logfile of failure stored in: /opt/yocto/imx-6.6.3-1.0.0-build/build_fsl-imx-wayland/tmp/work/imx93evk-poky-linux/linux-imx/6.6.3+git/temp/log.do_devshell.875
ERROR: Task (/opt/yocto/imx-6.6.3-1.0.0-build/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_devshell) failed with exit code '1'

TMUX and Screen are the two applicaple options in that order of priority. I chose screen out of preference, however, tmux could also be used. This fixes devshell access (the ordinary ^A+D to detach etc.)

@cbugk
Copy link
Author

cbugk commented May 20, 2024

Apparently the command I should have actually used is bitbake linux-imx -c menuconfig. Nonetheless, essentially same error is printed out:

NOTE: Executing Tasks
ERROR: linux-imx-6.6.3+git-r0 do_menuconfig: 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
	urxvt -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
ERROR: Logfile of failure stored in: /opt/yocto/imx-6.6.3-1.0.0-build/build_fsl-imx-wayland/tmp/work/imx93evk-poky-linux/linux-imx/6.6.3+git/temp/log.do_menuconfig.864
ERROR: Task (/opt/yocto/imx-6.6.3-1.0.0-build/sources/meta-imx/meta-imx-bsp/recipes-kernel/linux/linux-imx_6.6.bb:do_menuconfig) failed with exit code '1'

Commit does still apply.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant