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.

Cannot install PRU SDK on Ubuntu

Other Parts Discussed in Thread: PRU-SWPKG

The installer for the PRU pru-addon-v1.0-Linux-x86-Install.bin gets to the Installation Directory screen and will go no further.  It gives me the warning "Error: Directory does not exist" even though the directory does exist.  I am selecting the directory (with the file chooser dialog) where I have installed the SDK v7.0 for AM335x.  Clearly the directory exists, but the installer doesn't think so.  

How do I get past this?

I have tried allowing it to install into the default directory that the dialog is suggesting but that directory doesn't exist either.  I manually created it and still the installer thinks it does not exist.

  • When I unpacked the add-on, there was a .tar file of the same name as the directory the installer was trying to create. That is, the .tar file did not have .tar in the filename. Renaming the file allowed the installer to create the required directory.

  • There is no .tar package.  The PRU addon is currently being distributed as a binary installer.

    http://software-dl.ti.com/sitara_linux/esd/PRU-SWPKG/latest/exports/pru-addon-v1.0-Linux-x86-Install.bin

    The only option I have is to download this file and run it.  Can you point me to where I can download the add on as a tarball instead of as an installer?

  • The add-on installer would not let me install into a generic directory.  Rather it was adding files into the (default) SDK7 directory /opt/ti-sdk-am335x-evm-07.00.00.00

    Can't explain it but documented here: http://processors.wiki.ti.com/index.php/PRU-ICSS_Installer#Step-by-Step 

  • That does not work for me  as I clearly stated in the original question.

    To recap.  I get to step 8 in the step by step instructions but cannot get to step 9.  I manually created  the directory that it insists  on installing into but I still get the "directory does not exist" message box and the installer will not continue past that point.

    Can you send me a tarball with the necessary files?  Or point me to  where I can download it?  Or fix the installer?

  • I had this problem as well.

  • I installed as root on Ubuntu 12.04 after not being able to install on a Linux box that did not have SDK7.

    Not sure if I can help any further.  My log is below.

    root@ubuntu:~# cd /home/root1/joetemp/AM335x/PRU
    root@ubuntu:~/joetemp/AM335x/PRU# ls
    pru-addon-v1.0-Linux-x86-Install.bin
    root@ubuntu:~/joetemp/AM335x/PRU# ./pru-addon-v1.0-Linux-x86-Install.bin
    root@ubuntu:~/joetemp/AM335x/PRU# cd /opt/ti-sdk-am335x-evm-07.00.00.00/example-applications/pru
    root@ubuntu:/opt/ti-sdk-am335x-evm-07.00.00.00/example-applications/pru# ls
    examples  include  lib  patches  PRU-Package-v1.0-Manifest.pdf
    root@ubuntu:/opt/ti-sdk-am335x-evm-07.00.00.00/example-applications/pru#

  • sorry, I was thinking of the CCS installer, for which I had a similar symptom when installing and renaming the tarball fixed it for me. I think I ran CCS as root to get the pru add-on installer to work.

  • Nope, still doesn't work.

    If you cannot help further can you escalate to someone who can?  Or make a tarball available that does not rely on this broken installer?

  • The PRU installer is an addon package ontop of SDK 7. If don't have SDK 7 installed or you don't point the installer to the directory that has SDK 7 then it won't install.

    Please run the  'ls' command in the directory that you have installed SDK 7 into and copy and paste the output here or as an uploaded txt file. Also please provide the full path of your SDK 7 installation.

  • This is where I installed SDK7

    I also tried going one level deeper...

    The result is always this...

    I have root privileges but I also tried to run the installer with sudo.  No difference.

    Here is an ls of the contents of those two directories.  Clearly they do exist.  If they are not the directories that the installer is looking for then perhaps the error message could be improved upon in order to save some other poor soul from having all this grief.

    bob@bob-Latitude-E6410:~/Downloads$ cd ../sandbox/Falcon/ti_sdk7/
    bob@bob-Latitude-E6410:~/sandbox/Falcon/ti_sdk7$ ls
    ti-sdk7-linux
    bob@bob-Latitude-E6410:~/sandbox/Falcon/ti_sdk7$ cd ti-sdk7-linux/
    bob@bob-Latitude-E6410:~/sandbox/Falcon/ti_sdk7/ti-sdk7-linux$ ls
    0001-usb-otg-force-host-patch             drivers
    0002-wl1835mod-Kconfig-patch              firmware
    0003-wl1835mod-Makefile-patch             fs
    0004-wl1835mod-tty_hci.c-patch            include
    0005-wl1835mod-omap2plus_defconfig-patch  init
    0006-wl1835mod-sdio.c-patch               ipc
    0007-wl1835mod-wl18xx-main.c-patch        Kbuild
    0008-wl1835mod-wlcore-hw_ops.h-patch      Kconfig
    0009-wl1835mod-wlcore-main.c-patch        kernel
    0010-wl1835mod-wlcore-wlcore.h-patch      lib
    0011-wl1835mod-wlcore-wlcore_i.h-patch    MAINTAINERS
    0012-am335x-falcon-common.dtsi-patch      Makefile
    0013-am335x-falcon.dts-patch              mm
    0014-am335x-wt8000.dts-patch              net
    0015-devicetree-Makefile-patch            README
    0016-pinctrl-single.c-patch               REPORTING-BUGS
    0017-am335x-pm-firmware.bin-patch         samples
    applypatch                                scripts
    arch                                      security
    block                                     sound
    COPYING                                   tools
    CREDITS                                   usr
    crypto                                    virt
    Documentation
    bob@bob-Latitude-E6410:~/sandbox/Falcon/ti_sdk7/ti-sdk7-linux$

  • It seems that the forum took out the screenshots that I pasted into the previous message.  The first shows the file chooser dialog for directory ~/sandbox/Falcon/ti_sdk7/ and the second shows the file chooser dialog for directory ~/sandbox/Falcon/ti_sdk7$ cd ti-sdk7-linux/.  The third shows the warning dialog that claims that the chosen directory does not exist.

  • Thats not the SDK directory. That is only the kernel sources/git repository.

    This is the directory structure of SDK 7

    franklin@franklin-linux:~/sdk/release/ti-sdk-am335x-evm-07.00.00.00$ ls
    bin                   filesystem                                     Makefile
    board-support         Graphics_SDK_setuplinux_hardfp_5_01_01_01.bin  Rules.make
    docs                  host-tools                                     setup.sh
    example-applications  linux-devkit

    Please install the SDK using the following installer:
    http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/exports/ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin

  • That was the problem.  Thanks for your help.

    BTW, I recommend changing the message in the installer.  It should say that the chosen directory does not contain the SDK, not that the directory does not exist.

  • Seems like this problem is back again. As I write this (July 13 2015) the option to download Ver 7.x or ver 8.x of the SDK is no longer there. The only option remaining (for Beaglebone Black) is the
    ti-processor-sdk-linux-am335x-evm-01.00.00.03-Linux-x86-Install.bin file.

    As directed by (processors.wiki.ti.com/.../PRU_Training:_Hands-on_Labs;tisearch=Search-EN)

    I installed SDK into /home/sitara, then downloaded;

    pru-addon-v2.0-Linux-x86-Install.bin
    And pointed it to /home/sitara/ti-processor-sdk-linux-am335x-evm-01.00.00.03/
    but it refuses to install there, returning a;

    Error: Invalid SDK Directory.

    Notes:
    (1) I run all install bins under sudo
    (2) environment is Unbuntu 12.04 LTS (32-bit)
    (3) install folder is /home/sitara/ as suggested by PRU Training Labs (see link above).
    (4) PRU addon asks for "SDK Base Package", I am choosing "AM335x Processor SDK V1.0"

    It seems that the fix was to use ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin. As this file is no longer offered, how do I use the only remaining option (ti-processor-sdk-linux-am335x-evm-01.00.00.03) ?

    - Richard
  • Update:

    It seems that the PRU Installer is expecting the SDK version to be : 01.00.00.00 (that is what the default directly is). The SDK is now at: 01.00.00.03 though.

    Renaming the SDK directly or changing the default name so that they both match does not fix the issue. Is the PRU installer out of date?

    - Richard
  • Richard,

    The PRU Software Support Package v2.0.0 is meant to be installed on top of the Processor SDK v01.00.00.00.

    If you scroll down to the bottom of the v01.00.00.03 download page you will see a link under the heading 'Previous SDK Link'. This link will allow you to download the Processor SDK v01.00.00.00 and then the PRU Software Support Package v2.0.0 will successfully install on top of that. Here's a direct link to the download page:

    The Processor SDK v01.00.00.03 is our latest SDK release that came out a few days ago. We are currently working on the next revision of the PRU Software Support Package that will install on top of v01.00.00.03. Please click the 'Alert Me' button on the PRU Software Support Package download page (www.ti.com/.../pru-swpkg) to get updates when the next revision is released. 

    Jason Reeder

  • I downloaded the older 01.00.00.00 installer and I managed to install the PRU patches, thanks.