I am having imx6ulevk board using this git://git.freescale.com/imx/fsl-arm-yocto-bsp.git -b imx-3.14.38-6UL_ga repo.
I am doing bitbake -c menuconfig linux-imx, I am disabling LCD, Video, FB and Sound drivers, Keybaord . when I check the .config file still these are set to "y". these are some of the configs. Why this is happening.
CONFIG_KEYBOARD_GPIO=y
CONFIG_KEYBOARD_SNVS_PWRKEY=y
CONFIG_KEYBOARD_IMX=y
CONFIG_MOUSE_PS2=m
CONFIG_MOUSE_PS2_ELANTECH=y
CONFIG_FB=y
CONFIG_FB_MXS=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_LCD_CLASS_DEVICE=y
CONFIG_LCD_L4F00242T03=y
CONFIG_LCD_PLATFORM=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_BACKLIGHT_PWM=y
CONFIG_FB_MXC_SYNC_PANEL=y
CONFIG_FB_MXC_LDB=y
CONFIG_FB_MXC_MIPI_DSI_SAMSUNG=y
CONFIG_FB_MXC_TRULY_WVGA_SYNC_PANEL=y
CONFIG_FB_MXC_HDMI=y
CONFIG_FB_MXC_EINK_PANEL=y
CONFIG_FB_MXC_EINK_V2_PANEL=y
CONFIG_FB_MXS_SII902X=y
And also when i try top copy this config file ../sources there is no linux-imx -3.14.38 instead i have 3.14.28 sources and bb files. you an see the list of files below present.
drwxrwxrwx 3 root root 4096 Jun 12 22:35 linux-fslc
-rwxrwxrwx 1 root root 681 Jun 12 22:35 linux-fslc_4.1.bb
-rwxrwxrwx 1 root root 370 Jun 12 22:35 linux-fslc.inc
drwxrwxrwx 2 root root 4096 Jun 12 22:35 linux-imx
drwxrwxrwx 5 root root 4096 Jun 12 22:35 linux-imx-2.6.35.3
-rwxrwxrwx 1 root root 908 Jun 12 22:35 linux-imx_2.6.35.3.bb
drwxrwxrwx 3 root root 4096 Jun 12 22:35 linux-imx-3.14.28
-rwxrwxrwx 1 root root 993 Jun 12 22:35 linux-imx_3.14.28.bb
-rwxrwxrwx 1 root root 665 Jun 12 22:35 linux-imx.inc
drwxrwxrwx 3 root root 4096 Jun 12 22:35 linux-imx-mfgtool-3.14.28
-rwxrwxrwx 1 root root 380 Jun 12 22:35 linux-imx-mfgtool_3.14.28.bb
drwxrwxrwx 3 root root 4096 Jun 12 22:35 linux-imx-rt-3.14.28
-rwxrwxrwx 1 root root 1241 Jun 12 22:35 linux-imx-rt_3.14.28.bb
drwxrwxrwx 2 root root 4096 Jun 12 22:35 linux-ls1
-rwxrwxrwx 1 root root 364 Jun 12 22:35 linux-ls1_3.12.bb
-rwxrwxrwx 1 root root 780 Jun 12 22:35 linux-ls1.inc
-rwxrwxrwx 1 root root 3000 Jun 12 22:35 linux-mfgtool.inc
drwxrwxrwx 2 root root 4096 Jun 12 22:35 linux-timesys-3.0.15
-rwxrwxrwx 1 root root 719 Jun 12 22:35 linux-timesys_3.0.15.bb
linux@ubuntu:/home/fsl-release-bsp/sources/meta-fsl-arm/recipes-k
Edit 1 :
I found that linux-imx -3.14.38.bb is present in meta-fsl-bsp-release/imx/meta-bsp
below is my bb layer conf
LCONF_VERSION = "6"
BBPATH = "${TOPDIR}"
BSPDIR := "${@os.path.abspath(os.path.dirname(d.getVar('FILE', True)) + '/../..')}"
BBFILES ?= ""
BBLAYERS = " \
${BSPDIR}/sources/poky/meta \
${BSPDIR}/sources/poky/meta-yocto \
\
${BSPDIR}/sources/meta-openembedded/meta-oe \
${BSPDIR}/sources/meta-openembedded/meta-multimedia \
\
${BSPDIR}/sources/meta-fsl-arm \
${BSPDIR}/sources/meta-fsl-arm-extra \
${BSPDIR}/sources/meta-fsl-demos \
"
##Freescale Yocto Release layer
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-bsp "
BBLAYERS += " ${BSPDIR}/sources/meta-fsl-bsp-release/imx/meta-sdk "
BBLAYERS += " ${BSPDIR}/sources/meta-browser "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-gnome "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-networking "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-python "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-ruby "
BBLAYERS += " ${BSPDIR}/sources/meta-openembedded/meta-filesystems "
BBLAYERS += " ${BSPDIR}/sources/meta-qt5 "
When I do bitbake linu-imx th .sdcard image is showing aroung 880 MB... Is it common?
已解决! 转到解答。
bitbake linux-imx -c menuconfig
You can copy .config to my_custom_deficonf
linux-imx_3.14.38.bb
do_configure_prepend() {
cp ${S}/arch/arm/configs/my_custom_deficonf ${S}/.config
cp ${S}/arch/arm/configs/my_custom_deficonf ${S}/../defconfig
}
Will try these commands SaurabhPatel and let you know the result
Thanks
bitbake linux-imx -c menuconfig
You can copy .config to my_custom_deficonf
linux-imx_3.14.38.bb
do_configure_prepend() {
cp ${S}/arch/arm/configs/my_custom_deficonf ${S}/.config
cp ${S}/arch/arm/configs/my_custom_deficonf ${S}/../defconfig
}
If I try to build freshly by removing the previous build directory I am getting below errors
linux@ubuntu:/home/fsl-release-bsp/FreshBuild$ bitbake fsl-image-gui
Parsing recipes: 100% |#################################################################################################################################| Time: 00:01:34
Parsing of 2049 .bb files complete (0 cached, 2049 parsed). 2564 targets, 157 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
ERROR: Nothing PROVIDES 'virtual/libgles2' (but /home/fsl-release-bsp/sources/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb, /home/fsl-release-bsp/sources/poky/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb DEPENDS on or otherwise requires it)
ERROR: amd-gpu-x11-bin-mx51 PROVIDES virtual/libgles2 but was skipped: incompatible with machine imx6ulevk (not in COMPATIBLE_MACHINE)
ERROR: amd-gpu-bin-mx51 PROVIDES virtual/libgles2 but was skipped: incompatible with machine imx6ulevk (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'gstreamer1.0-plugins-bad-meta' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
NOTE: Runtime target 'packagegroup-fsl-multimedia-gstreamer1.0-core' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-fsl-multimedia-gstreamer1.0-core', 'gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
ERROR: Required build target 'fsl-image-gui' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-gui', 'packagegroup-fsl-multimedia-gstreamer1.0-core', 'gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
Summary: There were 2 ERROR messages shown, returning a non-zero exit code.
Hi saurabh206 i downloaded the fresh package.
Now i am able to compile the kernel.
But still when i do bitbake linu-imx -c menuconfig i am unable to generate the modifed image. config file is not chnaging.
Hi saurabh206thank you
I followed the below steps
1. bitbake linux-imx -c menuconfig
2. After doing menuconfig copy the .conig to ../defconfig
3. later copy that .config to (build_dir)/work-shared/imx6ulevk/kernel-source/arch/arm/configs/imx_v7_defconfig and imx_v6_v7_defconfig.
it worked
again I am getting the same error
linux@ubuntu:/home/fsl-release-bsp/FreshBuild$ bitbake -f -c clean fsl-image-gui
Loading cache: 100% |###################################################################################################################################| ETA: 00:00:00
Loaded 2565 entries from dependency cache.
NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for jpeg (jpeg, libjpeg-turbo)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg
NOTE: multiple providers are available for jpeg-native (jpeg-native, libjpeg-turbo-native)
NOTE: consider defining a PREFERRED_PROVIDER entry to match jpeg-native
ERROR: Nothing PROVIDES 'virtual/libgles2' (but /home/fsl-release-bsp/sources/poky/meta/recipes-multimedia/gstreamer/gstreamer1.0-plugins-bad_1.4.5.bb, /home/fsl-release-bsp/sources/poky/meta/recipes-graphics/mesa/mesa-demos_8.2.0.bb DEPENDS on or otherwise requires it)
ERROR: amd-gpu-bin-mx51 PROVIDES virtual/libgles2 but was skipped: incompatible with machine imx6ulevk (not in COMPATIBLE_MACHINE)
ERROR: amd-gpu-x11-bin-mx51 PROVIDES virtual/libgles2 but was skipped: incompatible with machine imx6ulevk (not in COMPATIBLE_MACHINE)
NOTE: Runtime target 'gstreamer1.0-plugins-bad-meta' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
NOTE: Runtime target 'packagegroup-fsl-multimedia-gstreamer1.0-core' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['packagegroup-fsl-multimedia-gstreamer1.0-core', 'gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
ERROR: Required build target 'fsl-image-gui' has no buildable providers.
Missing or unbuildable dependency chain was: ['fsl-image-gui', 'packagegroup-fsl-multimedia-gstreamer1.0-core', 'gstreamer1.0-plugins-bad-meta', 'virtual/libgles2']
Tomorrow I am going to do a fresh copy of entire project and let you know the result by monday
I checked the linux-imx_3.14.38.bb file and the lines were already added.
my question is why the changes are not reflecting in .config file.
When we do bitbake linux-imx -c menuconfig
the configuration is saved in .config file, but whatever i removed were also marked as "y" inside the .config file.