bitbake -c menuconfig linux-imx NOT work on ubuntu 18.04 for maaxboard yocto zeus branch

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

bitbake -c menuconfig linux-imx NOT work on ubuntu 18.04 for maaxboard yocto zeus branch

Jump to solution
3,550 Views
gonewithwind-peter
Senior Contributor I

hi all

 

I need to config the kernel but 

bitbake -c menuconfig linux-imx NOT work on ubuntu 18.04 for maaxboard yocto zeus branch

I can not find the solution on Internet.

any help?

 

error:

 

bitbake -c menuconfig linux-imx

Loading cache: 100% |#####################################################################################################################################################################################################################| Time: 0:00:03

Loaded 4675 entries from dependency cache.

NOTE: Resolving any missing task queue dependencies

 

Build Configuration:

BB_VERSION           = "1.44.0"

BUILD_SYS            = "x86_64-linux"

NATIVELSBSTRING      = "ubuntu-18.04"

TARGET_SYS           = "aarch64-poky-linux"

MACHINE              = "maaxboard-ddr4-2g-sdcard"

DISTRO               = "fsl-imx-wayland-lite"

DISTRO_VERSION       = "5.4-zeus"

TUNE_FEATURES        = "aarch64 cortexa53 crc crypto"

TARGET_FPU           = ""

meta                 

meta-poky            = "HEAD:cba967414370e195d109353e51510bd829aa86c3"

meta-oe              

meta-multimedia      

meta-python          = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"

meta-freescale       = "HEAD:c2a0d924f6200eea1fb1d1b61e7420ea5da2f8fb"

meta-freescale-3rdparty = "HEAD:dbcc686f52c3c84db8cb86aa8973a4e373651b98"

meta-freescale-distro = "HEAD:ca27d12e4964d1336e662bcc60184bbff526c857"

meta-maaxboard       = "zeus:4acadd49b4458ed8566991fdb37ab932e93c58b4"

meta-bsp             

meta-sdk             

meta-ml              = "HEAD:752a48385974cbc458c1fcc2e0c8c3f47730914c"

meta-browser         = "HEAD:5f365ef0f842ba4651efe88787cf9c63bc8b6cb3"

meta-rust            = "HEAD:a012a1027defe28495f06ed522a7a82bdd59a610"

meta-gnome           

meta-networking      

meta-filesystems     = "HEAD:9e60d30669a2ad0598e9abf0cd15ee06b523986b"

meta-qt5             = "HEAD:b8bcf8cb576d072f435a0177375e54424f67d1c9"

meta-python2         = "HEAD:231c3d74cfcf734c3415e86ea8dd97f73ddced9d"

 

Initialising tasks: 100% |################################################################################################################################################################################################################| Time: 0:00:00

Sstate summary: Wanted 0 Found 0 Missed 0 Current 42 (0% match, 100% complete)

NOTE: Executing Tasks

NOTE: Setscene tasks completed

ERROR: linux-imx-5.4-r0 do_menuconfig: Unable to spawn terminal auto: Execution of '/home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/sources/poky/scripts/oe-gnome-terminal-phonehome /tmp/tmpoqxldxta /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/maaxboard_ddr4_2g_sdcard-poky-linux/linux-imx/5.4-r0/temp/run.do_terminal.31258' failed with exit code 1:

# Error constructing proxy for org.gnome.Terminal:/org/gnome/Terminal/Factory0: Error calling StartServiceByName for org.gnome.Terminal: Timeout was reached

 

ERROR: Logfile of failure stored in: /home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/maaxboard/build/tmp/work/maaxboard_ddr4_2g_sdcard-poky-linux/linux-imx/5.4-r0/temp/log.do_menuconfig.31258

ERROR: Task (/home/rnd2/work/maaxboard/zeus/imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb:do_menuconfig) failed with exit code '1'

0 Kudos
Reply
1 Solution
3,536 Views
gonewithwind-peter
Senior Contributor I

hi @Bio_TICFSL 

Thank you

I find a solution from here:

https://unix.stackexchange.com/questions/297362/yocto-bitbake-does-not-start-menuconfig

works now.

 

My solution was to edit the terminal.py file into the poky directory as :

sources/poky/meta/lib/oe/terminal.py and add the dbus-lanch.

 line 56 : command = 'dbus-launch gnome-terminal -t "{title}" --disable-factory -x {command}'

 

View solution in original post

0 Kudos
Reply
2 Replies
3,538 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello Jin1

Looks like it has some problems with gnome, the i.MX don´t use gnome so I guess this is from your settings. For the issue the gnome address is not available.

Regards

 

0 Kudos
Reply
3,537 Views
gonewithwind-peter
Senior Contributor I

hi @Bio_TICFSL 

Thank you

I find a solution from here:

https://unix.stackexchange.com/questions/297362/yocto-bitbake-does-not-start-menuconfig

works now.

 

My solution was to edit the terminal.py file into the poky directory as :

sources/poky/meta/lib/oe/terminal.py and add the dbus-lanch.

 line 56 : command = 'dbus-launch gnome-terminal -t "{title}" --disable-factory -x {command}'

 

0 Kudos
Reply