Kernel configuration

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

Kernel configuration

2,222 Views
fabio_poiatti
Contributor III

I'm working on IMX6ULLEVK with a BSP builded from Yocto project (branch Sumo) with 

linux 4.14.78

I often see the possibility to change the kernel configuration with some definition to include

in defconfig file or other ... but it is not clear the BSP toolchain, which are the autogenerated file, where

put the kernel config .... etc.

Is there any clear document to explain this chain?

Or ... in which file I have to change the definiton to change the kernel or include some feature 

non enabled?

thanks

Fabio

0 Kudos
4 Replies

1,692 Views
gusarambula
NXP TechSupport
NXP TechSupport

Hello Fabio Mario Poiatti,

You can open the kernel configuration using the command:

bitbake linux-imx -c menuconfig

You may also edit the defconfig file directly, which is loaded depending on your MACHINE configuration when you bake the kernel.

There is an example of adding an append to customize the kernel on the following document, it is for a different kernel version but the procedure remains the same.

https://community.nxp.com/docs/DOC-334088

I hope this helps!

Regards,

0 Kudos

1,692 Views
fabio_poiatti
Contributor III

Hi,

I tried with some problem ...

My host is ubuntu 18.04 and I builded an image with fsl-image-validation-imx option.

The

bitbake linux-imx -c menuconfig

command open a new tab on my terminal ending with 

scripts/kconfig/lxdialog/menubox.o: In function `do_scroll':
menubox.c:(.text+0x38): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `do_print_item':
menubox.c:(.text+0x173): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_buttons':
menubox.c:(.text+0x2d2): undefined reference to `wrefresh'
scripts/kconfig/lxdialog/menubox.o: In function `print_arrows.constprop.0':
menubox.c:(.text+0x3d4): undefined reference to `wrefresh'
collect2: error: ld returned 1 exit status
scripts/Makefile.host:111: recipe for target 'scripts/kconfig/mconf' failed
make[3]: *** [scripts/kconfig/mconf] Error 1
/home/fabio/imx-yocto-bsp/buildx11/tmp/work-shared/imx6ull14x14evk/kernel-source/Makefile:516: recipe for target 'menuconfig' failed
make[2]: *** [menuconfig] Error 2
Makefile:146: recipe for target 'sub-make' failed
make[1]: *** [sub-make] Error 2
Makefile:24: recipe for target '__sub-make' failed
make: *** [__sub-make] Error 2
Command failed.
Press any key to continue...

I need some GUI installation to have the kernel config is working?

Thanks again

0 Kudos

1,692 Views
rakesh_patel
Senior Contributor I

Hi fabio.poiatti@softeco.it,

You need to install 'ncurses-dev" package.

Use below command to install the package and try again.

"sudo apt-get install libncurses5-dev"

Regards,

Rakesh

1,692 Views
fabio_poiatti
Contributor III

Thanks!!!! :-)

0 Kudos