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.

TI Sitara SK ICS Compile Errors

I have been trying to recompile the android linux kernel for the TI Sitara SK for the ICS distribution. When I execute the follow command 

 make CROSS_COMPILE=arm-eabi- am335x_evm_config

I get the following errors 

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
***
*** Can't find default configuration "arch/x86/configs/am335x_evm_android_defconfig"!
***
make[1]: *** [am335x_evm_android_defconfig] Error 1
make: *** [am335x_evm_android_defconfig] Error 2

When I investigated I found that file am335x_evm_android_defconfig was missing in the arch/x86/configs/ directory

I found the a am335x_evm_android_defconfig in the JB download. So I copied that file reran and still got errors. 

I am following the instruction the following link

TI Android ICS-4.0.3-DevKit-3.0.1 Developer Guide

Please kindly let me know how to fix this problem.

Thank you

  • Mahendra,

    I think the problem you're seeing is because you didn't set the architecture as ARM.  Try modifying your make command to look like this:

    make ARCH=arm CROSS_COMPILE=arm-eabi- am335x_evm_config

    Let me know if that helps.

    Josh

  • Josh

    You are correct because I copied the the following command from the boot loader and executed for the Android linux Kernel.

    1
    2
    3
    $ make CROSS_COMPILE=arm-eabi- distclean
    $ make CROSS_COMPILE=arm-eabi- am335x_evm_config
    $ make CROSS_COMPILE=arm-eabi-

    Related question.

    Are the file am335x_evm_andriod_defconfig ICS and JB the same. For some reason the files

     am335x_evm_android_defconfig were not present in the ICS repo so I copied from the JB repo.

    Thank you for the feedback