WARNING: modpost: Found 2 section mismatch(es). To see full details build your kernel with: 'make CONFIG_DEBUG_SECTION_MISMATCH=y' After enabling CONFIG_DEBUG_SECTION_MISMATCH, the real warnings are WARNING: drivers/uio/built-in.o(.text+0x26ec): Section mismatch in reference from the function .fsl_srio_uio_probe() to the function .init.text:.srio_uio_setup( The function .fsl_srio_uio_probe() references the function __init .srio_uio_setup(). This is often because .fsl_srio_uio_probe lacks a __init annotation or the annotation of .srio_uio_setup is wrong. WARNING: drivers/uio/built-in.o(.text+0x28d8): Section mismatch in reference from the function .fsl_srio_uio_probe() to the function .init.text:.srio_uio_setup( The function .fsl_srio_uio_probe() references the function __init .srio_uio_setup(). This is often because .fsl_srio_uio_probe lacks a __init annotation or the annotation of .srio_uio_setup is wrong.
1) ./wrlinux-9/setup.sh --machines=nxp-t4xxx --kernel=cgl --all-layers --layers wr-cgl --distros=wrlinux-cgl --accept-eula=yes --user=wrl9_test_internal_cgp@windriver.com --password=****** && source environment-setup-x86_64-wrlinuxsdk-linux && source oe-init-build-env build 2) update local.conf #rm work echo INHERIT += \"rm_work\" >> conf/local.conf #rm old image echo RM_OLD_IMAGE = \"1\" >> conf/local.conf #Disable intelnet download echo BB_NO_NETWORK = \'0\' >> conf/local.conf 3) bitbake -k wrlinux-image-glibc-cgl