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 PRUSS remoteproc support doesn't exist in the Remoteproc drivers

I've followed the instruction to install the Sitara Linux SDK v8.0 and the PRU Software Support Package successfully. Then, I 've followed the instruction to apply the pru patches to the linux kernel successfully. Now, I am following the instruction to enable PRU Support in kernel. When I come in the Device Drivers -> Remoteproc drivers via menuconfig, I find there doesn't exist the option "TI PRUSS remoteproc support". Moreover, there does not exist the option "AM3xx wkup-m3 remoteproc support".

here is the figure

what's the problem? Is there any steps I need to do? How can I fix my problem?

P.S. I have not intalled the CSS in my linux host computer. Is CSS necessary for this configuration?

Thanks!

  • Hi,

    I will forward this to the SW team.

  • Thanks for replying.
    I have already fixed this problem. The reason is that I haven't use the file "singlecore-omap2plus_defconfig", after using this configuration, I can see the option "TI PRUSS remoteproc support" in the Remoteproc drivers.
    Thank you again!
  • Thanks for the update! I will close this then.
  • Hello,
    I have the same problem. I can't find the "TI PRUSS remoteproc support" in the menuconfig. How have you fixed this issue.
    I have installed the "ti-sdk-am335x-evm-08.00.00.00-Linux-x86" and then I installed the "pru-addon-v2.0-Linux-x86." following the document processors.wiki.ti.com/.../PRU-ICSS_Installer.

    Someone could help me? Thanks

    P.S: I'm working on a v.m. (VMware) and the O.S. is Ubuntu 14
  • Hi Matteo,

    Please refer to http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide 

    you can type in the command below first.

    make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- singlecore-omap2plus_defconfig

    Then you type in the command

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

    In Device Drivers->Remoteproc drivers, you may find things you want.

  • Thanks for your fast reply!
    the answar to the first command is "No rule to make target 'singlecore-omap2plus....'. Stop".

    I don't know if is necessary, but if I check in the folder "../ti-sdk.../linux-devkit/sysroots/i686-arago-linux/usr/bin" I can't find the file "arm-linux-gnueabihf- singlecore-omap2plus"..

    Thanks again for your help

    Matteo
  • Hi Matteo,

    Have you referred to http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide ?

    Actually, you should go into the directory /home/user/ti-processor-sdk-linux-am335x-evm-01.00.00.00/board-support/linux-3.14.26-g2489c02 (similar with SDK8.0) before you use that command.

  • Hi,

    now I'm able to edit the config by menuconfig, but I'm not able to generate a new image. The sequence of command and answares are these:

    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- distclean
    make: arm-linux-gnueabihf-gcc: Command not found
    CLEAN .tmp_versions
    CLEAN scripts/basic
    CLEAN scripts/kconfig
    CLEAN include/config include/generated arch/arm/include/generated
    CLEAN .config .config.old include/generated/uapi/linux/version.h
    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- defconfig
    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
    *** Default configuration is based on 'versatile_defconfig'
    #
    # configuration written to .config
    #
    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- singlecore-omap2plus_defconfig
    #
    # configuration written to .config
    #
    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- menuconfig
    HOSTCC scripts/kconfig/lxdialog/checklist.o
    HOSTCC scripts/kconfig/lxdialog/inputbox.o
    HOSTCC scripts/kconfig/lxdialog/menubox.o
    HOSTCC scripts/kconfig/lxdialog/textbox.o
    HOSTCC scripts/kconfig/lxdialog/util.o
    HOSTCC scripts/kconfig/lxdialog/yesno.o
    HOSTCC scripts/kconfig/mconf.o
    HOSTLD scripts/kconfig/mconf
    scripts/kconfig/mconf Kconfig


    *** End of the configuration.
    *** Execute 'make' to start the build or try 'make help'.

    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- zImage
    make: arm-linux-gnueabihf-gcc: Command not found
    scripts/kconfig/conf --silentoldconfig Kconfig
    make: arm-linux-gnueabihf-gcc: Command not found
    CHK include/config/kernel.release
    UPD include/config/kernel.release
    WRAP arch/arm/include/generated/asm/auxvec.h
    WRAP arch/arm/include/generated/asm/bitsperlong.h
    WRAP arch/arm/include/generated/asm/cputime.h
    WRAP arch/arm/include/generated/asm/current.h
    WRAP arch/arm/include/generated/asm/emergency-restart.h
    WRAP arch/arm/include/generated/asm/errno.h
    WRAP arch/arm/include/generated/asm/exec.h
    WRAP arch/arm/include/generated/asm/ioctl.h
    WRAP arch/arm/include/generated/asm/ipcbuf.h
    WRAP arch/arm/include/generated/asm/irq_regs.h
    WRAP arch/arm/include/generated/asm/kdebug.h
    WRAP arch/arm/include/generated/asm/local.h
    WRAP arch/arm/include/generated/asm/local64.h
    WRAP arch/arm/include/generated/asm/msgbuf.h
    WRAP arch/arm/include/generated/asm/param.h
    WRAP arch/arm/include/generated/asm/parport.h
    WRAP arch/arm/include/generated/asm/poll.h
    WRAP arch/arm/include/generated/asm/resource.h
    WRAP arch/arm/include/generated/asm/sections.h
    WRAP arch/arm/include/generated/asm/segment.h
    WRAP arch/arm/include/generated/asm/sembuf.h
    WRAP arch/arm/include/generated/asm/serial.h
    WRAP arch/arm/include/generated/asm/shmbuf.h
    WRAP arch/arm/include/generated/asm/siginfo.h
    WRAP arch/arm/include/generated/asm/simd.h
    WRAP arch/arm/include/generated/asm/sizes.h
    WRAP arch/arm/include/generated/asm/socket.h
    WRAP arch/arm/include/generated/asm/sockios.h
    WRAP arch/arm/include/generated/asm/termbits.h
    WRAP arch/arm/include/generated/asm/termios.h
    WRAP arch/arm/include/generated/asm/timex.h
    WRAP arch/arm/include/generated/asm/trace_clock.h
    WRAP arch/arm/include/generated/asm/unaligned.h
    WRAP arch/arm/include/generated/asm/preempt.h
    WRAP arch/arm/include/generated/asm/hash.h
    CHK include/generated/uapi/linux/version.h
    UPD include/generated/uapi/linux/version.h
    CHK include/generated/utsrelease.h
    UPD include/generated/utsrelease.h
    Generating include/generated/mach-types.h
    CC kernel/bounds.s
    /bin/sh: 1: arm-linux-gnueabihf-gcc: not found
    make[1]: *** [kernel/bounds.s] Error 127
    make: *** [prepare0] Error 2
    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$

    Why it can't find the file "arm-linux-gnueabihf-gcc"? This file is present in the folder  ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin... 

    What can I do?

    Thanks Again for your Help

    Matteo

  • Matteo,

    I believe you may have missed the step to export the path to your toolchain:

    http://processors.wiki.ti.com/index.php/Linux_Kernel_Users_Guide#Compiler

    Or, you did this step, but in another instance of your terminal.

    You can use "echo $PATH" to check.

  • Hello,

    The PATHs that I have set are:

    troppoteo@ubuntu:~/ti-sdk-am335x-evm-08.00.00.00/board-support/linux-3.14.26-g2489c02$ echo $PATH
    ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games

    the paths should be right?!?!

    Thanks

    Matteo

  • Matteo,

    I believe you may be missing a '/' at the beginning of the path to the toolchain. One way to verify would be to go to 'ti-sdk-am335x-evm-08.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin' where you've verified the tools are, and issue a 'pwd' command. The output of this command needs to be in your path. I believe it should start with a '/'.
  • Thanks for your help. Now I updated the image on my sd card.

    Matteo