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/PROCESSOR-SDK-AM437X: using latest LTS kernel 4.9.13

Part Number: PROCESSOR-SDK-AM437X


Tool/software: Linux

Hi ,

We are using AM437x and We need a kernel feature which has been introduced in kernel V4.9.13. Right now, the TI Processor SDK toolchain (ver 3.2.0.5) includes Kernel version 4.4.

I'm wondering if TI has any plan to upgrade the Linux SDK toolchain to include the kernel version 4.9.13 or any later version in the near future? What is the predicted release time for such SDK?

Is there any other practical solution that we can build the SDK with a newer kernel by our self ? for example can we clone the tisdk version 3.2.0.5 and change the meta-processor-sdk layer to use the latest kernel v4.9.13-RT ?

For example, can we clone the tisdk version 3.2.0.5 and change the meta-processor-sdk layer to use the latest kernel v4.9.13-RT?

Our concern is if do that and change the kernel manually, we may break the packages compatibilities.

Thanks,

Saeed

  • Hi Saeed,

    You should be able to boot the device using mainline kernel. However you may need to tweak the kernel to completely match your board.

    I tested the following on my BBB (AM335x SoC), because I don't have AM437x device at my disposal:
    1. Installed the prebuilt images & filesystem on the sdcard & booted the board. The sdk uses kerenl 4.4.19 by default.
    2. I have a mainline sources of kernel 4.9.6 downloaded on my pc, so I built them using the following steps:
    export PATH=~/ti-processor-sdk-linux-am335x-evm-03.01.00.06/linux-devkit/sysroots/x86_64-arago-linux/usr/bin/:$PATH
    export CROSS_COMPILE=arm-linux-gnueabihf-
    export ARCH=arm
    cd ~/mainline_kernel/linux-4.9.6/
    make omap2plus_defconfig
    make -j4

    3. I copied the zImage & dtb file on rootfs/boot, and as a result I have the board booted with mainline kernel 4.9.6:
    root@am335x-evm:~# uname -a
    Linux am335x-evm 4.9.6 #1 SMP Mon Mar 27 16:18:50 EEST 2017 armv7l GNU/Linux

    Currently lsmod does NOT return anything (and I've not tested all board functionalities), because prebuilt drivers are NOT build against kernel 4.9.6. I also have to rebuild the pvr & dsp binaries against this kernel, but the arago linux booted normally & I am able to log to my BBB. 

    So, as I said, maybe with slight modifications to have all the drivers needed for your board, you should be able to boot mainline kernel.

    Best Regards,
    Yordan

  • Also FYI, we're expecting a new SDK release with newer kernel, but I don't know the release dates.

    Best Regards,
    Yordan
  • Thanks Yordan ,

    I am also running Kernel V4.9.13 with realtime patches on AM437x. The kernel works fine. but since it is going to be a production load we are not sure if other packages (like openssh, ....) are compatible with version of kernel.

    I guess we have to wait for the new SDK release which wil have all compatible modules in one bundle.

    Thanks,
    Saeed