Hello!
How could I configure my Linux PC to cross compile (to a Beaglebone Black) using the PRUSS functions?
Where can I find the libraries?
Thanks!
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.
Hello!
How could I configure my Linux PC to cross compile (to a Beaglebone Black) using the PRUSS functions?
Where can I find the libraries?
Thanks!
Hi Caio,
Could you see the following sites:
http://boxysean.com/blog/2012/08/12/first-steps-with-the-beaglebone-pru/
http://mythopoeic.org/bbb-pru-minimal/
http://www.embeddedrelated.com/showarticle/603.php
http://www.element14.com/community/community/designcenter/single-board-computers/next-gen_beaglebone/blog/2013/05/22/bbb--working-with-the-pru-icssprussv2
BR
Ivan
Hi Caio,
In addition to Ivan suggestions, I would like to add one more link which is helpful for PRUSS bring up.
Hello,
I found in this link: http://mythopoeic.org/bbb-pru-minimal/
This document: http://mythopoeic.org/BBB-PRU/03-AM335x_PRU_Linux_Application_Loader-ug.pdf
And I'm trying to follow the steps in the "Installing PRU application Loader"
I downloaded and installed the SDK normally.
But when it say to add a line in the Makefile:
"$(MAKE) -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE)menuconfig"
and try to use the "make" command I receive that one file wasn't found:
"/opt/ti-sdk-am335x-evm-07.00.00.00/linux-devkit/sysroots/i686-arago-linux/usr/bin/arm-linux-gnueabihf-menuconfiggcc"
What can I do to fix that?
Thanks!
Try
"$(MAKE) menuconfig -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE)"
Or
"$(MAKE) menuconfig -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) menuconfig"
I had to install the "ncurses" using: "sudo apt-get install libncurses5-dev"
Then I used in the Makefile:
"$(MAKE) menuconfig -C $(LINUXKERNEL_INSTALL_DIR) ARCH=arm CROSS_COMPILE=$(CROSS_COMPILE) menuconfig"
Then the Linux Kernel Configuration opened and I tried to find the "Texas Instruments PRUSS driver" but it wasn't there.
Do you know what i missed?
Thanks for your help!
I took it in this site:
http://software-dl.ti.com/sitara_linux/esd/AM335xSDK/latest/index_FDS.html
Then I downloaded the first one: ti-sdk-am335x-evm-07.00.00.00-Linux-x86-Install.bin
That's the last version, the SDK 7.0
Hi Caio,
I've also checked the SDK 7.0 but not able to find.
I think, SDK 7.0 not having PRUSS driver but linux 3.2 does.
In SDK 7.0,
The "DM850" architecture needs to be selected in order to enable "PRUSS" driver support.
Symbol: UIO_PRUSS [=n] │ │ Type : tristate │ │ Prompt: Texas Instruments PRUSS driver │ │ Location: │ │ -> Device Drivers │ │ (1) -> Userspace I/O drivers (UIO [=y]) │ │ Defined at drivers/uio/Kconfig:107 │ │ Depends on: UIO [=y] && ARCH_DAVINCI_DA850 [=n] │ │ Selects: GENERIC_ALLOCATOR [=n]
Device Drivers --->
<*> Userspace I/O drivers --->
<*> Texas Instruments PRUSS driver
http://processors.wiki.ti.com/index.php/PRU_Linux_Application_Loader
The "Texas Instruments PRUSS driver" don't apper for me in this option. I do have only:
--- Userspace I/O drivers │ │
│ │ < > generic Hilscher CIF Card driver (NEW) │ │
│ │ < > Userspace I/O platform driver with generic IRQ handling (NE│ │
│ │ < > Userspace platform driver with generic irq and dynamic memo│ │
│ │ < > AEC video timestamp device (NEW) │ │
│ │ < > Automata Sercos III PCI card driver (NEW) │ │
│ │ < > Generic driver for PCI 2.3 and PCI Express cards (NEW) │ │
│ │ < > Hilscher NetX Card driver (NEW) │ │
│ │ < > Humusoft MF624 DAQ PCI card driver (NEW)
But I think I know why, i didn't the step of "PSP release 04.06.00.03" on the first step. So now I downloaded using:
"git clone git://arago-project.org/git/projects/linux-am33x.git"
but I couldn't find any installing guide, do you have one?
Thanks for your help !
Hi Caio,
What about the kernel version of this one ?
May be it could be based on board file (not dts) support so you can configure the kenel with "arch/arm/configs/<am335x def config> "
The kernel version of my Ubuntu is "3.13.0-40-generic"
Where I can find this file? And how could I use it to install the PSP 04.06.00.03 in my PC Linux?
I was trying other ways, so I find this guide: http://www.elecinfo.com/upload/community/2014/01/05/1388917696-24786.pdf
In this PDF they say that my folder's installation has a "setup.sh" which would configure everything, but when I execute this script:
"Verifying Linux host distribution
Unsupported host machine, only Ubuntu 10.04 LTS and Ubuntu 12.04 LTS are supported"
So I won't be able to install this SDK in my Linux PC? Or the script only work with these distributions but if I would do every step by hand I would be able to install this SDK?
Thanks for your help !