This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Warning during kernel configuration

Starting with a new ti-sdk-am335x-evm-07.00.00.00:

export PSP=/opt/ti-sdk-am335x-evm-07.00.00.00
export CROSS_COMPILE=arm-linux-gnueabihf-
export ARCH=arm
export PATH=$PSP/linux-devkit/sysroots/i686-arago-linux/usr/bin:$PATH
cd $PSP/board-support/linux-3.12.10-ti2013.12.01
make tisdk_am335x-evm_defconfig

I get the following message:


warning: (SOC_OMAP5 && SOC_DRA7XX) selects ARM_ERRATA_799270 which has unmet direct dependencies (CPU_V7 && SMP)

What is the reason and how can I prevent it?

  • Hi Thomas,

    Have you cleaned the linux and re-build the linux ?

    Please follow the commands to build kernel.

    cd /opt/ti-sdk-am335x-evm-07.00.00.00/board-support/linux-3.12.10-ti2013.12.01

    make distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    make tisdk_am335x-evm_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

    make uImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-

  • Hi Titus, 

    I have follow your steps, but still encountered same warning.

    =================

    hrjung@hrjung-VirtualBox:~/work/kernel/linux-3.12.10-ti2013.12.01$ make distclean ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
    CLEAN scripts/basic
    CLEAN scripts/kconfig
    CLEAN include/config
    CLEAN .config
    hrjung@hrjung-VirtualBox:~/work/kernel/linux-3.12.10-ti2013.12.01$ make tisdk_am335x-evm_defconfig ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf-
    HOSTCC scripts/basic/fixdep
    HOSTCC scripts/kconfig/conf.o
    SHIPPED scripts/kconfig/zconf.tab.c
    SHIPPED scripts/kconfig/zconf.lex.c
    SHIPPED scripts/kconfig/zconf.hash.c
    HOSTCC scripts/kconfig/zconf.tab.o
    HOSTLD scripts/kconfig/conf
    warning: (SOC_OMAP5 && SOC_DRA7XX) selects ARM_ERRATA_799270 which has unmet direct dependencies (CPU_V7 && SMP)
    warning: (SOC_OMAP5 && SOC_DRA7XX) selects ARM_ERRATA_799270 which has unmet direct dependencies (CPU_V7 && SMP)
    #
    # configuration written to .config
    #
    hrjung@hrjung-VirtualBox:~/work/kernel/linux-3.12.10-ti2013.12.01$

    =========================

    please check.

    BRs,

    HRJung

     

  • Hi,

    Are you getting any problem for building kernel due to this warning message ?

    hrjung@hrjung-VirtualBox:~/work/kernel/linux-3.12.10-ti2013.12.01$

    Have you installed SDK 7.0 or simply copied kernel source alone from any other machine ?

    Please refer to the following E2E post.

    http://e2e.ti.com/support/embedded/linux/f/354/t/344196.aspx

    http://e2e.ti.com/support/embedded/linux/f/354/p/341976/1195108.aspx

  • Hi Titus,

    I have copied kernel at tisdk~/board_support/linux-3.12.10-ti2013.12.01 to my working folder to maintain clean source package
    actually I have no problem during building kernel, zImage, dtbs, modules

    however I am worried about such warning related with errata, maybe it cause some mal-function.

    what is the content of this errata ?  

    Don't you have any way to workaround this errata ?

    BRs,

    HRJung

  • Are you getting the same behavior on "tisdk~/board_support/linux-3.12.10-ti2013.12.01" this directory too ?

    I think, you can ignore this error.

    Otherwise  you can check this below "definition" in make menuconfig, that could be enabled by mistake.

    SOC_OMAP5

    SOC_DRA7XX

  • Hi Titus,

    sorry for late response.

    As I have checked, SOC_OMAP5 and SOC_DRA7XX are enabled at tisdk_am335x-evm_defconfig by default.

    Are you sure that both "definition" are disabled on Beaglebone black ?

    please confirm.


    BRs,
    HRJung
  • Hi HRJung,

    Yes, you can remove those options if you want to remove that warning message.

    The "SOC_OMAP5" and "SOC_DRA7XX" options not depend with beagle bone board since AM335x is SOC_OMAP3.
    I think, they have enabled all the OMAP+ SOC since SDK 7.0 version which support dts.