Re: [beagleboard] Proper way to Mux PRU pin without Cape Manager

2015-09-09 Thread jalodi . hum
Hi Charles, No experience with how patches should be introduced, but below is a patch for config-pin on linux 3.14.51 Hope this helps someone. md5sum of the original config pin: 74a71c0a84c46d2df4e14113dea4834a The problem was related to changes in how the /sys/ files are named. Tried 4.1.x a

Re: [beagleboard] Proper way to Mux PRU pin without Cape Manager

2015-09-07 Thread jalodi . hum
Building the kernel because I have some custom modules. BTW, This works for me: echo pruin > /sys/devices/ocp/ocp:P9_25_pinmux/state But "config-pin P9.25 pruin" gives me the previous error. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you

Re: [beagleboard] Proper way to Mux PRU pin without Cape Manager

2015-09-02 Thread jalodi . hum
Hi Charles - this will be sweet when I get past the error. My kernel it is from RCN. Using Kernel 3.14.51-r1 which I built from: https://github.com/RobertCNelson/ti-linux-kernel/tree/linux-3.14.y When I run "config-pin P9.25 pruin" I get this error: P9_25 pinmux file not found! Please verify

[beagleboard] Proper way to Mux PRU pin without Cape Manager

2015-09-02 Thread jalodi . hum
I am working with the PRU on the 3.14 series kernel. There is no cape manager, and I want to employ the proper technique for muxing a PRU pin. For example, the file "am335x-bone-common-pinmux.dtsi" contains this definition which is the pin that I want to activate: P9_25_pruin_pin:

Re: [beagleboard] Moving PRU App from Linux 3.8.x to new 4.1.x

2015-08-11 Thread jalodi . hum
Hi William, The notes from https://github.com/beagleboard/bb.org-overlays; show Version: DTC 1.4.1-g2341721b I used this as the basis for a build today and it gave me Version: DTC 1.4.1-ga2b02dea Is this wrong or are the notes just out of sync? Also, is it reasonable for me to expect my

[beagleboard] Moving PRU App from Linux 3.8.x to new 4.1.x

2015-08-11 Thread jalodi . hum
I current have PRU code working on Linux 3.8.13-bone73, and now want to move to Linux 4.1.x Having troubles - here is what I have done so far: 1. apt-get install linux-image-4.1.4-ti-r9 (good, or should I use linux-image-4.1.4-bone15 ?) 2. Add dtb=am335x-boneblack-overlay.dtb to uEnv.txt

Re: [beagleboard] Moving PRU App from Linux 3.8.x to new 4.1.x

2015-08-11 Thread jalodi . hum
Thanks Robert. I grabbed the am335x_pru_package here: git clone https://github.com/beagleboard/am335x_pru_package.git Rebuilt it, and installed the various parts, then rebuilt my PRU code. Still have the SAME basic problem: prussdrv_open() fails. if (prussdrv_open(PRU_EVTOUT_0) != 0) {

Re: [beagleboard] Moving PRU App from Linux 3.8.x to new 4.1.x

2015-08-11 Thread jalodi . hum
Just switched to this: github.com/RobertCNelson/bb.org-overlays (instead of github.com/beagleboard/bb.org-overlays) It gave me Version: DTC 1.4.1-g4b066e20 and updated the kernel to 4.1.5-bone15 Unfortunately this did not solve my PRU app problem. -- For more options, visit

Re: [beagleboard] UIO_PRUSS in Linux 3.14.y

2015-08-05 Thread jalodi . hum
Nice! Cheers to you and the others who are fixing this! -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups BeagleBoard group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: [beagleboard] UIO_PRUSS in Linux 3.14.y

2015-08-04 Thread jalodi . hum
Robert thanks for the reply. Aren't you currently battling with spontaneous reboots in the 4.1 series? Thought I read this here recently, but can't find the post just now. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed

[beagleboard] UIO_PRUSS in Linux 3.14.y

2015-08-04 Thread jalodi . hum
I have some PRU code working under 3.8 and need to move to 3.14. Trying to build the latest Linux 3.14 for BBB with UIO_PRUSS support. i.e: git clone https://github.com/RobertCNelson/ti-linux-kernel-dev.git cd ti-linux-kernel-dev checkout origin/ti-linux-3.14.y -b tmp ./build_kernel.sh When

Re: [beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
Yes, I do need to compile modules. When you say any latest 3.8 does that mean that I should grab it from kernel.org, or somewhere else? BTW: One thing that I am not clear on is how to know if an official release from kernel.org has evolved enough or when a specialized version is needed. I

[beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
Unfortunately I do not YET have enough experience with the Sitara, PRUs, Linux devie tree, etc. to jump into making such a contribution. Have only been playing with the BBB for a week. Can anyone point me to a kernel source that would be the best for a new-commer to play with the PRU?

Re: [beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
Working through Robert's guide I noticed this... For Mainline v3.8.x: (full cape support) For Mainline v4.1.x: (capemgr support) Has something changed with regard to cape support? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

Re: [beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
Eventually I need to incorporate a TI PTP Ethernet Phy which is know to have had some problems that were fixed in Linux 3.12.x Will also need stable USB support. I noticed in Robert's repository there are versions ranging from 3.1.x to 4.2.x Would the 3.12.x version be as good as 3.8.x with

Re: [beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
William, thanks for all the info. Good to know Robert is The Man. I will try working though the link to his stuff. Re my comment about kernel.org - I am unfamiliar with the behind-the-scenes operation, but from what I observe the source from kernel.org supports many arm processors and

Re: [beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-09 Thread jalodi . hum
Then it sounds like I should aim for 4.1.x since that is where Robert and the community is going. I had no problem getting 4.1.1 built and running, but the PRU is a black box for me. So, regarding 4.1.1 - Is the PRU support known to be broken? I would be happy to go through the process of

[beagleboard] PRU operation with Linux 4.1.1

2015-07-08 Thread jalodi . hum
I have a new Beaglebone Black booting the Debian 4GB SD image from 2015-03-01. My Linux kernel is 4.1.1 built from git://github.com/beagleboard/linux.git. I see that the kernel has a driver uio_pruss which from what I have read allows loading PRU code. There is a LOT of web info on the PRU,

[beagleboard] Re: Updating Debian SD With Cross-Compiled Kernel

2015-07-08 Thread jalodi . hum
Thanks all for the detailed replies. Also, the dpkg build is very nice - a guy could get used to it ;-) -J On Tuesday, July 7, 2015 at 10:43:34 AM UTC-7, jalod...@gmail.com wrote: I have a new BeagleBone Black (rev C) and got it booting from SD with the Debian 4GB SD image from 2015-03-01

[beagleboard] Re: PRU operation with Linux 4.1.1

2015-07-08 Thread jalodi . hum
Thanks Robert. Does this DTS set the I/O for use with the TI PRU Cape? (www.ti.com.tool/prucape) Also, is there a Getting Started guide that assumes use with Linux? (The TI guide seems to ditch Linux and use StarterWare) Regards, Jalodi -- For more options, visit

[beagleboard] Updating BBB Debian Image With Cross-Compiled Kernel

2015-07-07 Thread jalodi . hum
I have a new BeagleBone Black (rev C) and got it booting from SD with the Debian 4GB SD image from 2015-03-01. My goal is to cross compile a kernel on my Linux PC and move the necessary files to the Debian SD card. So I got the 4.1.1 Linux kernel from here: git clone