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.

Kernel Configuration

Other Parts Discussed in Thread: AM3517, TPS65023

Dear all..

I am configuring a Linux kernel for ARM architecture(AM3517) and I have a TAM3517 twister board. I am getting following errors

after compilation. Please suggest what can be the problem. I am configuring the kernel with file system support and other 

basic configurations.

 

 

regards,

Kaustubh Deshmukh

 

 

Error after compilation................................

 

 CHK     include/linux/compile.h
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/arm/mach-omap2/built-in.o: In function `omap3evm_set_bl_intensity':
usb-ehci.c:(.text+0x947c): undefined reference to `twl_i2c_write_u8'
usb-ehci.c:(.text+0x9498): undefined reference to `twl_i2c_write_u8'
usb-ehci.c:(.text+0x94d0): undefined reference to `twl_i2c_write_u8'
usb-ehci.c:(.text+0x94fc): undefined reference to `twl_i2c_write_u8'
arch/arm/mach-omap2/built-in.o: In function `omap3evm_twl_gpio_setup':
usb-ehci.c:(.text+0x959c): undefined reference to `twl4030_vmmc1_supply'
usb-ehci.c:(.text+0x95a4): undefined reference to `twl4030_vsim_supply'
arch/arm/mach-omap2/built-in.o: In function `omap3_evm_init':
usb-ehci.c:(.init.text+0x37c0): undefined reference to `vmmc1_data'
usb-ehci.c:(.init.text+0x37c8): undefined reference to `vsim_data'
arch/arm/plat-omap/built-in.o: In function `omap_verify_speed':
omap-pm-noop.c:(.text+0x5c18): undefined reference to `cpufreq_frequency_table_verify'
arch/arm/plat-omap/built-in.o: In function `omap_cpu_init':
omap-pm-noop.c:(.init.text+0xd3c): undefined reference to `cpufreq_frequency_table_cpuinfo'
omap-pm-noop.c:(.init.text+0xd50): undefined reference to `cpufreq_frequency_table_get_attr'
arch/arm/plat-omap/built-in.o:(.data+0x528): undefined reference to `cpufreq_freq_attr_scaling_available_freqs'
make: *** [.tmp_vmlinux1] Error 1

 

  • hi Kaustubh

    There are references to drivers and files which are used specifically for omap3 evm , e,g. TWL4030 which is the Power IC used on omap3 board.

    You should be using TI TPS65023 power IC instead on the Twister board ( Check if Device Drivers->Voltage and Current Regulator Support->TI TPS65023 Power regulators is selected).

    Features like cpufreq_frequency_table_cpuinfo are also not valid on AM3517 devices  - check  your configuration file.

     

    regards

    Abhilash



  • Hi Abhilash thanks for your reply.

     

    There is no specific option in Kernel Configuration  as Twister AM3517 board.

    Thats why I am selecting OMAP3517 / AM3517 EVM. I dont want to use all the features on twister board  for now . I want to port a very basic Linux Kernel which will

    at least support a simple UART based application module. I have a android source provided with the TWISTER board but I am looking for RTLinux or LINUX for TAM3517.

    if possible please suggest me any linux kernel source for TAM3517.

    The error I am facing now is .........   

     

    arch/arm/mach-omap2/built-in.o: In function `omap3evm_set_bl_intensity':
    usb-ehci.c:(.text+0x7110): undefined reference to `twl_i2c_write_u8'
    usb-ehci.c:(.text+0x712c): undefined reference to `twl_i2c_write_u8'
    usb-ehci.c:(.text+0x7164): undefined reference to `twl_i2c_write_u8'
    usb-ehci.c:(.text+0x7194): undefined reference to `twl_i2c_write_u8'
    arch/arm/mach-omap2/built-in.o: In function `omap3evm_twl_gpio_setup':
    usb-ehci.c:(.text+0x7230): undefined reference to `twl4030_vmmc1_supply'
    usb-ehci.c:(.text+0x7238): undefined reference to `twl4030_vsim_supply'
    arch/arm/mach-omap2/built-in.o: In function `omap3_evm_init':
    usb-ehci.c:(.init.text+0x2e90): undefined reference to `vmmc1_data'
    usb-ehci.c:(.init.text+0x2e98): undefined reference to `vsim_data'
    make: *** [.tmp_vmlinux1] Error 1

  • hi Kaustubh

    You can use our latest PSP release from http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_Release_Notes.

    This is based on the 2.6.37 and has been extensively validated on the AM3517 EVM (from Logic PD), so should work fine for you too.

    The user guide is at http://processors.wiki.ti.com/index.php/AM35x-OMAP35x-PSP_04.02.00.07_UserGuide

    The default configuration file you would like to use is am3517_evm_defconfig.

     

    regards

    Abhilash

  • Thanks Abhilash. I will try for it.

    Thanks for your valuable reply.

     

     

    Regards,

    Kaustubh