Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-03 Thread Robert Nelson
On Sun, Dec 3, 2017 at 9:42 PM, Joseph Foster
 wrote:
> [sudo] password for debian:
> git:/opt/scripts/:[e5c23dc2a45f5c9ace291dd32e7c3d79edc1932d]
> eeprom:[A335BNLTGW1ABBGW17052298]
> model:[TI_AM335x_BeagleBone_Green_Wireless]
> dogtag:[BeagleBoard.org Debian Image 2017-11-26]
> bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot
> 2017.11-2-g7b415acfc1]
> kernel:[4.14.3-bone5]
> nodejs:[v6.12.0]
> device-tree-override:[uboot_overlay_addr0=/lib/firmware/am335x-boneblack-nhdmi-overlay.dtb]
> uboot_overlay_options:[enable_uboot_overlays=1]
> uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/am335x-boneblack-nhdmi-overlay.dtb]

There's your issue ^^ remove that option.. it's block the
cape-universal overlay.

With U-Boot overlays, you need to disable the onboard hardware like so:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Disable_on-board_devices

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjHBV9_eEy8-BJTm0pAv%3D7_wKjBsV%2BjpLx0RxFQHOQUEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-03 Thread Joseph Foster
[sudo] password for debian:
git:/opt/scripts/:[e5c23dc2a45f5c9ace291dd32e7c3d79edc1932d]
eeprom:[A335BNLTGW1ABBGW17052298]
model:[TI_AM335x_BeagleBone_Green_Wireless]
dogtag:[BeagleBoard.org Debian Image 2017-11-26]
bootloader:[eMMC-(default)]:[/dev/mmcblk1]:[U-Boot 
2017.11-2-g7b415acfc1]
kernel:[4.14.3-bone5]
nodejs:[v6.12.0]
device-tree-override:[uboot_overlay_addr0=/lib/firmware/am335x-boneblack-nhdmi-overlay.dtb]
uboot_overlay_options:[enable_uboot_overlays=1]
uboot_overlay_options:[uboot_overlay_addr0=/lib/firmware/am335x-boneblack-nhdmi-overlay.dtb]
uboot_overlay_options:[uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo]
uboot_overlay_options:[enable_uboot_cape_universal=1]
pkg:[bb-cape-overlays]:[4.4.20171120.0-0rcnee1~stretch+20171120]
pkg:[bb-wl18xx-firmware]:[1.20170829-0rcnee1~stretch+20170829]
pkg:[firmware-ti-connectivity]:[20170823-1rcnee0~stretch+20170830]



On Saturday, December 2, 2017 at 2:14:58 PM UTC-6, RobertCNelson wrote:
>
> On Sat, Dec 2, 2017 at 2:20 AM, Joseph Foster 
>  wrote: 
> > When setting config-pin P8.11 pruout, I get bash: 
> > /sys/devices/platform/ocp/ocp*P8_11_pinmux/state: No such file or 
> directory 
> > . Is there a specific overlay I need to use, my custom ones don't seem 
> to 
> > work and the cape-universal-00A0.dtbo overlay locks my beagle into a 
> boot 
> > loop. 
>
> P8_11 should be auto loaded, lets' check out your: 
>
> sudo /opt/scripts/tools/version.sh 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/7f3bd6de-abfb-4cd4-bdb3-9115d40900bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-02 Thread Robert Nelson
On Sat, Dec 2, 2017 at 2:20 AM, Joseph Foster
 wrote:
> When setting config-pin P8.11 pruout, I get bash:
> /sys/devices/platform/ocp/ocp*P8_11_pinmux/state: No such file or directory
> . Is there a specific overlay I need to use, my custom ones don't seem to
> work and the cape-universal-00A0.dtbo overlay locks my beagle into a boot
> loop.

P8_11 should be auto loaded, lets' check out your:

sudo /opt/scripts/tools/version.sh

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYhc%2BaznMo59_QeLXku6DV-AF%3DDHHu8zGgdGkfLimTc2YQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-02 Thread Joseph Foster
When setting config-pin P8.11 pruout, I get bash: 
/sys/devices/platform/ocp/ocp*P8_11_pinmux/state: No such file or directory
. Is there a specific overlay I need to use, my custom ones don't seem to 
work and the cape-universal-00A0.dtbo overlay locks my beagle into a boot 
loop.

On Friday, December 1, 2017 at 9:14:55 PM UTC-6, RobertCNelson wrote:
>
> On Fri, Dec 1, 2017 at 8:59 PM, Joseph Foster 
>  wrote: 
> > Ok so I am now load and execute on the PRUs, but how do I set the pinmux 
> for 
> > the PRUs. I think it would use the U-Boot Cape Universal but the load 
> > example uses slots. 
>
> you can use config-pin to mux in the pins for the pru... 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/c498b97c-b216-43f3-a554-c766c5fef777%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-01 Thread Robert Nelson
On Fri, Dec 1, 2017 at 8:59 PM, Joseph Foster
 wrote:
> Ok so I am now load and execute on the PRUs, but how do I set the pinmux for
> the PRUs. I think it would use the U-Boot Cape Universal but the load
> example uses slots.

you can use config-pin to mux in the pins for the pru...

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjWpn%2BPgp7qK4Qy9UH9TFWew9M6%3DzdmXfABYnT_bNVmrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-01 Thread Joseph Foster
Ok so I am now load and execute on the PRUs, but how do I set the pinmux 
for the PRUs. I think it would use the U-Boot Cape Universal but the load 
example uses slots.

On Friday, December 1, 2017 at 10:52:30 AM UTC-6, RobertCNelson wrote:
>
> On Thu, Nov 30, 2017 at 11:45 PM, Joseph Foster 
>  wrote: 
> > Where would the slots file now be located. Its not in the 
> > /sys/devices/platform/bone_capemgr/ directory for me 
>
> Slots file is disabled when using U-Boot Overlays: 
>
> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/bae59066-3f03-4257-beb0-dc0281f5bc28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-12-01 Thread Robert Nelson
On Thu, Nov 30, 2017 at 11:45 PM, Joseph Foster
 wrote:
> Where would the slots file now be located. Its not in the
> /sys/devices/platform/bone_capemgr/ directory for me

Slots file is disabled when using U-Boot Overlays:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiOhd6XDkdAwW4v3SZg544HiZ5zUgJDHPGT6bz-m8Tk9w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
Where would the slots file now be located. Its not in 
the /sys/devices/platform/bone_capemgr/ directory for me

On Thursday, November 30, 2017 at 10:55:35 PM UTC-6, RobertCNelson wrote:
>
>
>
> On Nov 30, 2017 10:33 PM, "Joseph Foster"  > wrote:
>
> How do I upgrade to v4.14.x-bone, the update_kernel.sh only lists TI 
> kernels
>
>
> --bone-kernel --lts-4_14
>
>
>
> Regards,
>
>
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/cc62315d-6760-486a-ad24-28b7412047e6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Robert Nelson
On Nov 30, 2017 10:33 PM, "Joseph Foster" 
wrote:

How do I upgrade to v4.14.x-bone, the update_kernel.sh only lists TI kernels


--bone-kernel --lts-4_14



Regards,

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYgM26RR1pjjSFj%2B-CKAoHzxyiQsR7iy1EZ6LgWK_S02BQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
How do I upgrade to v4.14.x-bone, the update_kernel.sh only lists TI kernels

On Thursday, November 30, 2017 at 9:57:13 PM UTC-6, RobertCNelson wrote:
>
> On Thu, Nov 30, 2017 at 9:50 PM, Joseph Foster 
>  wrote: 
> > I'm not sure really what librobotics is, and Debian 9.x (Stretch) would 
> be 
> > preferred. 
>
> Then pick your base: (bone-XYZ.img.xz files) 
>
> https://rcn-ee.net/rootfs/bb.org/testing/2017-11-26/ 
>
> Use etcher.io to create the microSD 
>
> Stretch ships with v4.9.x-ti which uses a new version of pru_remoteproc. 
>
> So either downgrade to v4.4.x-ti with pru_remoteproc that was used 
> with the BeagleBone Blue (and robotics stuff) 
>
> Or upgrade to v4.14.x-bone and utiilze uio_pruss (compabile with all 
> the old 3.8.x pru directions).. 
>
> Then finally configure all the pins how you want: 
>
> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/3afe6a3b-d5f3-4afd-a7c8-3c365d9fbbad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Robert Nelson
On Thu, Nov 30, 2017 at 9:50 PM, Joseph Foster
 wrote:
> I'm not sure really what librobotics is, and Debian 9.x (Stretch) would be
> preferred.

Then pick your base: (bone-XYZ.img.xz files)

https://rcn-ee.net/rootfs/bb.org/testing/2017-11-26/

Use etcher.io to create the microSD

Stretch ships with v4.9.x-ti which uses a new version of pru_remoteproc.

So either downgrade to v4.4.x-ti with pru_remoteproc that was used
with the BeagleBone Blue (and robotics stuff)

Or upgrade to v4.14.x-bone and utiilze uio_pruss (compabile with all
the old 3.8.x pru directions)..

Then finally configure all the pins how you want:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYiAU05dJYw7G0EBLzUWR74qLYcJQOAnreJBVAp6EUKCEA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
I'm not sure really what librobotics is, and Debian 9.x (Stretch) would be 
preferred. 

On Thursday, November 30, 2017 at 9:31:29 PM UTC-6, RobertCNelson wrote:
>
> On Thu, Nov 30, 2017 at 8:54 PM, Joseph Foster 
>  wrote: 
> > sudo: /opt/scripts/tools/version.sh: command not found 
> > 
> > I'm running 4.4.30-ti-r64 
>
> "confused" ... you said: 
>
> "I've been trying for hours to get PRU working on the latest supported 
> kernel" 
>
> 4.4.30-ti-r64 release … 
> RobertCNelson committed on Nov 4, 2016 (11/4/2016 2:19:40 PM) 
>
> That's from last year.. "definitely not latest"... ;) 
>
> So let's decide on what you really want.. 
>
> OS: Debian 8.x (Jessie) 
> OS: Debian 9.x (Stretch) 
>
> PRU: 
>
> TI's remoteproc (v4.4.x-ti kernel, and used by librobotics') 
> Community: UIO (what we used in 3.8.x and ported to everything else) 
>
> So pick and option from OS and PRU and we'll point you to a new image 
> and kernel.. 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/8125e958-bc0c-4080-95d6-9551d08dcba8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Robert Nelson
On Thu, Nov 30, 2017 at 8:54 PM, Joseph Foster
 wrote:
> sudo: /opt/scripts/tools/version.sh: command not found
>
> I'm running 4.4.30-ti-r64

"confused" ... you said:

"I've been trying for hours to get PRU working on the latest supported kernel"

4.4.30-ti-r64 release …
RobertCNelson committed on Nov 4, 2016 (11/4/2016 2:19:40 PM)

That's from last year.. "definitely not latest"... ;)

So let's decide on what you really want..

OS: Debian 8.x (Jessie)
OS: Debian 9.x (Stretch)

PRU:

TI's remoteproc (v4.4.x-ti kernel, and used by librobotics')
Community: UIO (what we used in 3.8.x and ported to everything else)

So pick and option from OS and PRU and we'll point you to a new image
and kernel..

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYjYVC_cRR1y1xL1ToVA9CcHdoD6TYdqqu8YYF7_BN_RWA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-30 Thread Joseph Foster
sudo: /opt/scripts/tools/version.sh: command not found

I'm running 4.4.30-ti-r64

On Tuesday, November 28, 2017 at 11:50:05 AM UTC-6, RobertCNelson wrote:
>
> Hi Joseph, 
>
> On Mon, Nov 27, 2017 at 10:31 PM,   
> wrote: 
> > I've been trying for hours to get PRU working on the latest supported 
> kernel 
> > on my BBGW and BBG. I've edited the .dtb and when I cat the slots, it 
> says 
> > its loaded, but every time I try to use the PRU, it fails on 
> > prussdrv_open(). Is there something different with the latest supported 
> > debian kernel I'm missing that changes how the PRUs work? When I try to 
> roll 
> > back the kernel, the beagle fails to boot. 
>
> We've recently moved to U-Boot overlays: 
>
> https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays 
>
> sudo /opt/scripts/tools/version.sh 
>
> What kernel did you use to use? 
>
> Regards, 
>
> -- 
> Robert Nelson 
> https://rcn-ee.com/ 
>

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/9d6b9bfd-f218-4816-9a62-03944bd96a30%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [beagleboard] prussdrv_open() on new debian kernel

2017-11-28 Thread Robert Nelson
Hi Joseph,

On Mon, Nov 27, 2017 at 10:31 PM,   wrote:
> I've been trying for hours to get PRU working on the latest supported kernel
> on my BBGW and BBG. I've edited the .dtb and when I cat the slots, it says
> its loaded, but every time I try to use the PRU, it fails on
> prussdrv_open(). Is there something different with the latest supported
> debian kernel I'm missing that changes how the PRUs work? When I try to roll
> back the kernel, the beagle fails to boot.

We've recently moved to U-Boot overlays:

https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#U-Boot_Overlays

sudo /opt/scripts/tools/version.sh

What kernel did you use to use?

Regards,

-- 
Robert Nelson
https://rcn-ee.com/

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAOCHtYi-0cunHpBd5jgSR13tMfLhKtZXzOQDkpET1SV_CjtmVg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


[beagleboard] prussdrv_open() on new debian kernel

2017-11-28 Thread joseph . foster123
I've been trying for hours to get PRU working on the latest supported 
kernel on my BBGW and BBG. I've edited the .dtb and when I cat the slots, 
it says its loaded, but every time I try to use the PRU, it fails on 
prussdrv_open(). Is there something different with the latest supported 
debian kernel I'm missing that changes how the PRUs work? When I try to 
roll back the kernel, the beagle fails to boot.

-- 
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 
to beagleboard+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/dc7b3c3c-a0da-4686-951d-de0f6fa7cbf6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.