How launch "make menuconfig for u-boot" in yocto ?

cancel
Showing results for 
Search instead for 
Did you mean: 

How launch "make menuconfig for u-boot" in yocto ?

2,234 Views
Contributor II

Hi everybody

I work with with QorIQ-SDK-2.0-1703 and i'll try to generate u-boot into yocto environment.

I launch the command "bitbake u-boot-qoriq -c devshell" to open a shell session.

when I launch the command "make menuconfig", I have a message that ncurses library are missing"

The same command in Linux-Qoriq works fine

How can i fixe my problem

Thanks for all

Regards

0 Kudos
2 Replies

127 Views
NXP TechSupport
NXP TechSupport

u-Boot recipe probably does not have ncurses as a dependency because unlike the kernel, it did not have  support to

menuconfig originally. Build ncurses-native package by hand, check that  libncurses.so is in your LD_LIBRARY_PATH

after invoking devshell.

0 Kudos

127 Views
Contributor III

I tried doing this for an i.MX8M Mini by running

bitbake u-boot-imx -c devshell

LD_LIBRARY_PATH+=:<build_dir>/tmp/sysroots-components/x86_64/ncurses-native/usr/lib

make menuconfig

and I get the following messages:

/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
/bin/bash: /home/daveo/imx-yocto-bsp/praesidium_mvp_bsp/tmp/sysroots-components/x86_64/ncurses-native/usr/lib/libtinfo.so.5: no version information available (required by /bin/bash)
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
scripts/kconfig/Makefile:214: recipe for target 'scripts/kconfig/dochecklxdialog' failed
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
Makefile:479: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2

Am I missing a step or doing one incorrectly?

Thanks,

Dave

0 Kudos