[<<][am335x][>>][..]
Tue May 1 11:42:53 EDT 2018

Installing TI tools

tom@panda:~/humanetics/notes/pru$ ./ti_cgt_pru_2.2.1_linux_installer_x86.bin 
----------------------------------------------------------------------------
Created with an evaluation version of BitRock InstallBuilder

Welcome to the PRU Code Generation Tools Setup Wizard.

----------------------------------------------------------------------------
Select Installation Directory

Please specify the directory where PRU Code Generation Tools will be installed. 
The installation requires 150917 KB.

Destination Directory [/home/tom/priv/git-private/humanetics/notes/pru/ti-cgt-pru_2.2.1]: /home/tom/lib/ti-cgt-pru_2.2.1

----------------------------------------------------------------------------
Setup is now ready to begin installing PRU Code Generation Tools on your 
computer.

Do you want to continue? [Y/n]: y

----------------------------------------------------------------------------
Please wait while Setup installs PRU Code Generation Tools on your computer.

 Installing
 0% ______________ 50% ______________ 100%
 #########################################

----------------------------------------------------------------------------
Setup has finished installing PRU Code Generation Tools on your computer.


tom@panda:~/humanetics/BeagleLogic/firmware$ export PRU_CGT=/home/tom/lib/ti-cgt-pru_2.2.1
tom@panda:~/humanetics/BeagleLogic/firmware$ make

************************************************************
Building project: firmware

Building file: beaglelogic-pru0.c
Invoking: PRU Compiler
/home/tom/lib/ti-cgt-pru_2.2.1/bin/clpru --include_path=/home/tom/lib/ti-cgt-pru_2.2.1/include --include_path=/usr/lib/ti/pru-software-support-package/include --include_path=/usr/lib/ti/pru-software-support-package/include/am335x -v3 -O2 --display_error_number --endian=little --hardware_mac=on --obj_directory=release --pp_directory=release -ppd -ppa -fe release/beaglelogic-pru0.object beaglelogic-pru0.c
"beaglelogic-pru0.c", line 18: fatal error #1965: cannot open source file "pru_cfg.h"
1 catastrophic error detected in the compilation of "beaglelogic-pru0.c".
Compilation terminated.

>> Compilation failure
Makefile:101: recipe for target 'release/beaglelogic-pru0.object' failed
make: *** [release/beaglelogic-pru0.object] Error 1


Different tools version?
Nope.  Tried different tools, but pru_cfg.h is not included.

These are likely from the linux kernel.
Maybe try to build kernel driver first.



[Reply][About]
[<<][am335x][>>][..]