yocto kernel config without menuconfig

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

yocto kernel config without menuconfig

1,874 Views
davidvescovi
Contributor V

I am running on Windows and connecting to a remote VM running Ubuntu as my yocto build machine.

As I connect via SSH I can do everything to build my yocto image. The one thing I can not do is use the bitbake Linux-imx -c menuconfig to reconfigure the kernel. 

I assume menuconfig has GUI issues running over SSH and it throws several errors in a terminal window.

I there another way to modify the kernel options without running menuconfig?

3 Replies

1,535 Views
davidvescovi
Contributor V

Yes, that was the issue. I looked elsewhere and other people had the same problem and offered the same solution.

After installing libncurses5-dev all is fine.

Why NXP does not have libncurses5-dev package listed as a yocto build dependency in their "i.MX Yocto Project User's Guide" document I'll never know. Lost several days chasing that one.

0 Kudos

1,535 Views
mahi
Contributor IV

Hi David,

menuconfig uses ncurses, so no GUI or X is needed. Probably you are missing libncurses5-dev (install it using apt-get).

If you post the error message, you will get more help...

Best regards

 Martin

1,535 Views
ankitr_patel
Senior Contributor II

Hi David Vescovi,

Are you using putty or anyother ssh client application to connect to your VM?

If you are using putty you can enable "X11 forwarding" under SSH option and filling the X display location with "localhost:0.0"

If you are using any other SSH client, you may find such similar option in that application.

Regards,

Ankit Patel

0 Kudos