Re: [beagleboard] SPI Issues

2015-09-24 Thread Robert Nelson
On Thu, Sep 24, 2015 at 10:57 AM, Bit Pusher wrote: > And so the upgrade to bone77 continues: > 1) needed to recompile kernel so uio_pruss.c had static int extram_pool_sz = > SZ_8M (took a long time to figure out that SZ_8M was the correct define) ; > downloaded kernel into BBB and started compili

Re: [beagleboard] SPI Issues

2015-09-24 Thread Bit Pusher
And so the upgrade to bone77 continues: 1) needed to recompile kernel so uio_pruss.c had static int extram_pool_sz = SZ_8M (took a long time to figure out that SZ_8M was the correct define) ; downloaded kernel into BBB and started compiling kernel; failed due to not enough memory. 2) started ove

Re: [beagleboard] SPI Issues

2015-09-23 Thread Bit Pusher
Please ignore for now, found headers by changing precise to wheezy (actually I added your repository back into /etc/apt/sources.list and then did an apt-get but I think it's equivalent). Next step is to get uio_pruss.ko. On Wednesday, September 23, 2015 at 8:56:41 PM UTC-4, Bit Pusher wrote: >

Re: [beagleboard] SPI Issues

2015-09-23 Thread Robert Nelson
On Wed, Sep 23, 2015 at 7:56 PM, Bit Pusher wrote: > Robert, as usual the upgrade to bone77 unfortunately killed my logic > analyzer. I need to recompile uio_pruss.c with a larger size memory for the > extram_pool_sz, but to do this I believe I need to download bone77 kernel > headers, and then d

Re: [beagleboard] SPI Issues

2015-09-23 Thread Bit Pusher
Robert, as usual the upgrade to bone77 unfortunately killed my logic analyzer. I need to recompile uio_pruss.c with a larger size memory for the extram_pool_sz, but to do this I believe I need to download bone77 kernel headers, and then download the kernel from your repository, change and reco

Re: [beagleboard] SPI Issues

2015-09-23 Thread Bit Pusher
Had real problems upgrading to bone77 which took almost half a day but I was eventually successful with the help of bashdb; summary of SPI issues after upgrading. I'm exclusively using spidev now, but I expect the issues will still hold for Adafruit_BBIO.SPI. 1) spi1 can still not be used unle

Re: [beagleboard] SPI Issues

2015-09-22 Thread Wally Bkg
I'd just put the new image on an SD card and boot from it before flashing. I can't remember the exact commands but there are some dpkg options to produce a list of installed packages to a file and then re-install them from that file after copying it to the new system. Still might get some

Re: [beagleboard] SPI Issues

2015-09-22 Thread Kenneth Martin
Thanks Robert, upgrading to a new image is a really big deal as I have so many apts and pips installed; the last time I did it, I think I lost a week although hopefully I'm better at it now. Probably the best way will be to purchase a new BBB and do the upgrade on it so I still have a working b

Re: [beagleboard] SPI Issues

2015-09-21 Thread William Hermans
> > *Well, he fed back the patches, so our v4.1.x-ti/bb.org-overlays has* > * all the stuff he needed to make ti work..* Ah, ok. Still, having never setup the PRU's personally, I'd still like a good, and preferably modern "how to". But people seem to be doing that all the time, so I should be abl

Re: [beagleboard] SPI Issues

2015-09-21 Thread Robert Nelson
On Mon, Sep 21, 2015 at 5:03 PM, William Hermans wrote: >> Elias Bakken's gotten v4.1.x's pru to work for his replicape software >> images.. > > > Don't know the person, but have heard of the project. I wonder if he's > documented the steps he took in order to get it working . . .. Well, he fed b

Re: [beagleboard] SPI Issues

2015-09-21 Thread William Hermans
> > *Elias Bakken's gotten v4.1.x's pru to work for his replicape software > images..* Don't know the person, but have heard of the project. I wonder if he's documented the steps he took in order to get it working . . .. On Mon, Sep 21, 2015 at 2:18 PM, Robert Nelson wrote: > On Mon, Sep 21, 2

Re: [beagleboard] SPI Issues

2015-09-21 Thread Robert Nelson
On Mon, Sep 21, 2015 at 4:14 PM, William Hermans wrote: > Robert, is 4.x not mature enough to do all the above ? Been reading some > posts that the PRU don't work with 4.x, but would like to know if that is > user error, or if it's known and being worked on. Elias Bakken's gotten v4.1.x's pru to

Re: [beagleboard] SPI Issues

2015-09-21 Thread William Hermans
Robert, is 4.x not mature enough to do all the above ? Been reading some posts that the PRU don't work with 4.x, but would like to know if that is user error, or if it's known and being worked on. On Mon, Sep 21, 2015 at 2:08 PM, Robert Nelson wrote: > On Mon, Sep 21, 2015 at 3:50 PM, Bit Pusher

Re: [beagleboard] SPI Issues

2015-09-21 Thread Robert Nelson
On Mon, Sep 21, 2015 at 3:50 PM, Bit Pusher wrote: > Thanks Robert, I did the recommended upgrade to bone 76, but after the > upgrade and running uname -a, it still states bone 70. > > The following NEW packages will be installed: > linux-image-3.8.13-bone77 > 0 upgraded, 1 newly installed, 0 to

Re: [beagleboard] SPI Issues

2015-09-21 Thread Bit Pusher
Thanks Robert, I did the recommended upgrade to bone 76, but after the upgrade and running uname -a, it still states bone 70. The following NEW packages will be installed: linux-image-3.8.13-bone77 0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded. Need to get 17.6 MB of archives. A

Re: [beagleboard] SPI Issues

2015-09-21 Thread Robert Nelson
On Mon, Sep 21, 2015 at 3:14 PM, Bit Pusher wrote: > I have been working with programming the BBB's SPI interface in python, and > have become aware of a large number of issues others may be interested in; > if planning on using the SPI interface, I hope this can save others some > time. This is o

[beagleboard] SPI Issues

2015-09-21 Thread Bit Pusher
I have been working with programming the BBB's SPI interface in python, and have become aware of a large number of issues others may be interested in; if planning on using the SPI interface, I hope this can save others some time. This is ongoing, so some of these issues may not be real in that t