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.

linux kernel 3.10 in 8148evm



Hi,

i want to use linux 3.10 kernel with ti8148evm as the ti8148evm is already supported by 3.10 kernel. but there is no default configuration file provided.

Can any body will let me know how can i compile it for ti8148evm.

Thanks and Regards,

Vimal Gupta

  • Vimal,

    Vimal Gupta said:
    as the ti8148evm is already supported by 3.10 kernel.

    Can you provide more details about the above statement?

    As fas as I know the DM814x/TI814x support 2.6.37 linux kernel and there are no plans for updating to 3.10 linux kernel.

    Regards,
    Pavel

  • Hi Pavel,

    here i mean to say that the linux mainline kernel 3.10 is  already having a file named board-ti8168evm.c in arch/arm/mach-omap2/ location, which is having support for ti8168evm and ti8148evm.

    so i just want to know that can i use it with evm?

    if yes how?

    if no why?

    As per my view as it is available in the main line kernel it must be working and tested.

    Kindly clarify me.

    Regards,

    Vimal Gupta

  • Vimal,

    Vimal Gupta said:

    here i mean to say that the linux mainline kernel 3.10 is  already having a file named board-ti8168evm.c in arch/arm/mach-omap2/ location, which is having support for ti8168evm and ti8148evm.

    so i just want to know that can i use it with evm?

    No, I think you can not use this file for 8148 evm.

    Vimal Gupta said:
    if no why?

    Because this 3.10 board-ti8168evm.c has very limited support for ti8148 evm. If you compare the two files below you will find many differences:

    linux-2.6.37-psp04.04.00.01/arch/arm/mach-omap2/board-ti8148evm.c

    linux-3.10.27/arch/arm/mach-omap2/board-ti8168evm.c

    There are also differences in the Makefile. Also 2.6.37 has ti8148 related files that are missing from the 3.10 kernel, files like davinci-evm.c, ti8148_evm_defconfig, devices.c, adpll_ti814x.c, clock814x_data.c, pm81xx.c etc.

    See also the below e2e thread:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/716/p/246653/863504.aspx#863504

    I guess the efforts required for porting the drivers to a newer kernel would be quite high. This is most common problem with Linux on Embedded platforms. If you migrate the kernel alone, it won't be sufficient as you'll have to migrate all the user space components and multimedia subsystem along with it. May be that's the reason why migration to newer platforms happens slowly.

    Regards,
    Pavel

  • The below e2e thread is also related:

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

    BR
    Pavel