Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-22 Thread evilwulfie
worked for me too*yay* now on to real work On 4/22/2016 12:13 AM, William Hermans wrote: > You're welcome Rick, and hey it will benefit me too in the future. > Also just to make sure you notice I switched back to 4.1.x > > william@beaglebone:~$ uname -r > 4.1.18-bone-rt-r19 > > The problem

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-22 Thread Rick Mann
I did see that. I'll keep it in mind when I try to get the rest of my cape up and running on 4.4.x. > On Apr 22, 2016, at 00:13 , William Hermans wrote: > > You're welcome Rick, and hey it will benefit me too in the future. Also just > to make sure you notice I switched

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-22 Thread William Hermans
You're welcome Rick, and hey it will benefit me too in the future. Also just to make sure you notice I switched back to 4.1.x william@beaglebone:~$ uname -r 4.1.18-bone-rt-r19 The problem with 4.4.x is that I've been gettign all kinds of strange behavior from it, that I could not nail down. Then

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-22 Thread Rick Mann
Good news! Thanks for all the work. > On Apr 21, 2016, at 23:41 , William Hermans wrote: > > Progress. I was able to get teh audio cape to load in 4.1.x. > > william@beaglebone:~$ sudo sh -c "echo 'BB-BONE-AUDI-02' > > /sys/devices/platform/bone_capemgr/slots" > [

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-22 Thread William Hermans
Progress. I was able to get teh audio cape to load in 4.1.x. william@beaglebone:~$ sudo sh -c "echo 'BB-BONE-AUDI-02' > /sys/devices/platform/bone_capemgr/slots" [ 104.123082] bone_capemgr bone_capemgr: part_number 'BB-BONE-AUDI-02', version 'N/A' [ 104.130898] bone_capemgr bone_capemgr: slot

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread Rick Mann
I don't have the BBB connected at the moment, but if I don't get you the configuration by tonight, please feel free to email me again. > On Apr 21, 2016, at 14:40 , Rafael Vega wrote: > > I've made some progress but I still can't get any sound from the codec. I > tried

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread Rafael Vega
I've made some progress but I still can't get any sound from the codec. I tried the two approaches suggested by Rick M earlier on this thread: 1) To use this dtb by Rick M and the audio cape overlay, and 2) to use this

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread William Hermans
> > *Yeah, that's the file that's working for me, EXCEPT: I modified my > am33xx-overlay-edma-fix.dtsi to comment out the two mcasp entries. If I > boot with that (on 4.4.7-bone-rt-r9), then I can load the BB-BONE-AUDI-02 > overlay, and then I can use aplay and speaker-test.* > > * At this point,

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread Rafael Vega
> > Are you able to make it work with my original .dtb and loading the > BB-BONE-AUDI-02 overlay via capemgr? > > When I do this, the overlay loads fine and I can see the mcasp0 pins being driven by the BBB when I start aplay or speaker-test. However, I can't see any analog signals coming

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread Rick Mann
> On Apr 20, 2016, at 23:52 , William Hermans wrote: > > Rick, ah I gotcha now I guess. I'd have to use this -> > http://pastebin.com/Wja7ZQRk edit out the edma include line, compile, and > then load that up as my dtb= line. Then, perhaps the audio cape will load. It >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-21 Thread William Hermans
Yeah, right now I'm just trying to get the audio cape to load. The audio cape of our project is actually one of two potential daughter capes, and we're not in a huge hurry to figure all that out. But I figured since you all are doing this, now I'd join in and see if i could help or not. Plus, yes,

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
Er, I guess *this* is the thread on that. > On Apr 20, 2016, at 21:39 , William Hermans wrote: > > Ah, right, so I'm in the right place ;) I just so happened to fire up the > serial debug port on the remote end > > [ 241.060498] bone_capemgr bone_capemgr: part_number

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
Yeah, so this was the problem I ran into a few weeks ago. There's a thread on it, but I thought the dts I posted addressed it. > On Apr 20, 2016, at 21:39 , William Hermans wrote: > > Ah, right, so I'm in the right place ;) I just so happened to fire up the > serial debug

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Ah, right, so I'm in the right place ;) I just so happened to fire up the serial debug port on the remote end [ 241.060498] bone_capemgr bone_capemgr: part_number 'BB-BONE-AUDI-02', version 'N/A' [ 241.068352] bone_capemgr bone_capemgr: slot #4: override [ 241.073705] bone_capemgr

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
I'm still attempting to get the audio cape overlay to load. Anyone have a clue as to why it might not work ? Something that did cross my mind is that perhaps that edma fix include is being included in yet another source file. Somethign else that is being included. On Wed, Apr 20, 2016 at 8:16 PM,

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Robert Nelson
On Wed, Apr 20, 2016 at 8:21 PM, Rafael Vega wrote: > > > On Wednesday, April 20, 2016 at 3:28:23 PM UTC-5, Rick M wrote: >> >> move all the remaining entries that are in the overlay into a new .dts >> file based on this < >> http://pastebin.com/Wja7ZQRk>, compile that,

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread evilwulfie
lol i am recovering from the same issue :P On 4/20/2016 6:21 PM, Rafael Vega wrote: > > > On Wednesday, April 20, 2016 at 3:28:23 PM UTC-5, Rick M wrote: > > move all the remaining entries that are in the overlay into a new > .dts file based on this < >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rafael Vega
On Wednesday, April 20, 2016 at 3:28:23 PM UTC-5, Rick M wrote: > > move all the remaining entries that are in the overlay into a new .dts > file based on this < > http://pastebin.com/Wja7ZQRk>, compile that, and load it at boot. > > Here's my attempt to do what you suggest:

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
> On Apr 20, 2016, at 18:13 , Rafael Vega wrote: > > > > move all the remaining entries that are in the overlay into a new .dts file > based on this < > http://pastebin.com/Wja7ZQRk>, compile that, and load it at boot. > > > Here's my attempt to do what you

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rafael Vega
move all the remaining entries that are in the overlay into a new .dts file > based on this < > http://pastebin.com/Wja7ZQRk>, compile that, and load it at boot. > > Here's my attempt to do what you suggest: /* * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/ * *

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
No worries! > On Apr 20, 2016, at 17:03 , William Hermans wrote: > > Do'h just dawned on me hah ! Sorry Rick ! > > git clone -b 4.4.x https://github.com/RobertCNelson/dtb-rebuilder > > On Wed, Apr 20, 2016 at 5:01 PM, Robert Nelson > wrote: > >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Here ya go evilwulfie exact steps . . . just make sure you backup any files you have in there that you may need . . . william@beaglebone:~$ rm -rf dtb-rebuilder/ william@beaglebone:~$ git clone -b 4.4.x https://github.com/RobertCNelson/dtb-rebuilder Cloning into 'dtb-rebuilder'... remote:

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Do'h just dawned on me hah ! Sorry Rick ! git clone -b 4.4.x https://github.com/RobertCNelson/dtb-rebuilder On Wed, Apr 20, 2016 at 5:01 PM, Robert Nelson wrote: > > > On Wed, Apr 20, 2016 at 6:55 PM, evilwulfie wrote: > >> So much i dont know.

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Robert Nelson
On Wed, Apr 20, 2016 at 6:55 PM, evilwulfie wrote: > So much i dont know. > > > rick or robert where might i get this file ? > > am33xx-es2.dtsi > > Its not in the dts-rebuilder i installed and Ricks new dts file seems to > require it to compile > >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Rick, that's not the problem dtb-rebuilder and bb.org-overlays neither of these git's have that source file. On Wed, Apr 20, 2016 at 4:57 PM, Rick Mann wrote: > You probably need to switch to the 4.4.x branch. > > > On Apr 20, 2016, at 16:55 , evilwulfie

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
You probably need to switch to the 4.4.x branch. > On Apr 20, 2016, at 16:55 , evilwulfie wrote: > > So much i dont know. > > > rick or robert where might i get this file ? > > am33xx-es2.dtsi > > Its not in the dts-rebuilder i installed and Ricks new dts file seems to

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread evilwulfie
So much i dont know. rick or robert where might i get this file ? am33xx-es2.dtsi Its not in the dts-rebuilder i installed and Ricks new dts file seems to require it to compile src/arm/am335x-boneblack-audio-emmc.dts:11:27: fatal error: am33xx-es2.dtsi: No such file or directory Designing

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Is the audio cape another one of those eeprom capes that need physical hardware in order to load properly ? Because I do not have the physical cape. On Wed, Apr 20, 2016 at 3:10 PM, William Hermans wrote: > I'm still seeing this: > > pin 82 (44e10948.0): 4a101000.mdio (GPIO

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
I'm still seeing this: pin 82 (44e10948.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default pin 83 (44e1094c.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default Are these pins required for the ethernet MAC ? And are

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Ok it is still not working, I'm kind of at a dead end now. I dont know how to proceed from here. william@beaglebone:~$ *sudo sh -c "echo 'BB-BONE-AUDI-02' > /sys/devices/platform/bone_capemgr/slots"* william@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots 0: PF -1 1: PF -1

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Robert, one more question for now if you do not mind. Is there a location on the web where i can view or find this information out myself, without having to bug you all the time ? Well I mean version status, etc. Thanks for the help, as always :) On Wed, Apr 20, 2016 at 2:51 PM, Robert Nelson

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Robert Nelson
On Wed, Apr 20, 2016 at 4:45 PM, William Hermans wrote: > Ok, still not working. > > Robert, so is there anything note worthy not working in 4.4* ? We have to > know up front . . . > It's in pretty good shape... am335x: remoteproc_pruss (not ported) bbgw = wl1835 & mmc3

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Oh, and right I dont know if it matter for any of this, but we're trying to avoid ti kernels if possible, so . . . but it seems Rick is using a bone kernel, so ill give that one a shot. On Wed, Apr 20, 2016 at 2:45 PM, Robert Nelson wrote: > > > On Wed, Apr 20, 2016 at

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Robert Nelson
On Wed, Apr 20, 2016 at 4:41 PM, William Hermans wrote: > *4.4.x is also an lts, the overlay patches between v4.1.x and v4.4.x are >> almost identical..* >> >> *getting really close to swap v4.1.x-ti for v4.4.x-ti... ;)* >> >> *Regards,* >> > > Ok, so we're not sticking to the

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Ok, still not working. Robert, so is there anything note worthy not working in 4.4* ? We have to know up front . . . On Wed, Apr 20, 2016 at 2:41 PM, William Hermans wrote: > *4.4.x is also an lts, the overlay patches between v4.1.x and v4.4.x are >> almost identical..* >>

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
> > *4.4.x is also an lts, the overlay patches between v4.1.x and v4.4.x are > almost identical..* > > *getting really close to swap v4.1.x-ti for v4.4.x-ti... ;)* > > *Regards,* > Ok, so we're not sticking to the traditional even / odd minor version number meanings ? On Wed, Apr 20, 2016 at

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
For the record, I edited recompiled the same main board file as evilwulfie, and . . . william@beaglebone:~$ sudo sh -c "echo 'BB-BONE-AUDI-02' > /sys/devices/platform/bone_capemgr/slots" william@beaglebone:~$ cat /sys/devices/platform/bone_capemgr/slots 0: PF -1 1: PF -1 2: PF

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Robert Nelson
On Wed, Apr 20, 2016 at 4:37 PM, William Hermans wrote: > >> *Keep in mind I'm on 4.4.7-bone-rt-r9, not 4.1.x. Dunno if that matters.* > > > We're trying to determine that here. Were you able to get the audio cape > loaded at all with a 4.1.x kernel ? We really do not want to

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
> > > *Keep in mind I'm on 4.4.7-bone-rt-r9, not 4.1.x. Dunno if that matters.* We're trying to determine that here. Were you able to get the audio cape loaded at all with a 4.1.x kernel ? We really do not want to move outside of a "stable" kernel if at all possible. On Wed, Apr 20, 2016 at

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
Keep in mind I'm on 4.4.7-bone-rt-r9, not 4.1.x. Dunno if that matters. > On Apr 20, 2016, at 14:25 , William Hermans wrote: > > Just playing along here . . . I thought maybe HDMI had to be loaded to load > the audio cape, but seems not. I'm going to start over with a fresh

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread William Hermans
Just playing along here . . . I thought maybe HDMI had to be loaded to load the audio cape, but seems not. I'm going to start over with a fresh dts file and load the same one as evilwulfie to see if I can get to the bottom of things. william@beaglebone:~$ sudo sh -c "echo 'BB-BONE-AUDI-02' >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread evilwulfie
very interesting. after removing the eDMA fix and recompiling we still cant load the audio cape sudo cat /sys/kernel/debug/pinctrl/44e10800.pinmux/pinmux-pins stuff removed for clarity pin 82 (44e10948.0): 4a101000.mdio (GPIO UNCLAIMED) function davinci_mdio_default group davinci_mdio_default

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rick Mann
The DTB I posted includes am33xx-overlay-edma-fix.dtsi, which enables mcasp0 and mcasp1. This causes the snd_soc_davinci_mcasp driver to load, and it configures itself at that time. But that DTB doesn't have the necessary entries for that driver to properly configure. When you then later load

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-20 Thread Rafael Vega
Thanks Rick! When you say the driver ends up not being properly configured when you load the overlay, does that mean I should not load the overlay? Or should I load it and expect problems? which problems? On Tuesday, April 19, 2016 at 3:05:22 PM UTC-5, Rick M wrote: > > > > On Apr 19, 2016,

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-19 Thread Rick Mann
> On Apr 19, 2016, at 10:27 , Rafael Vega wrote: > > > dtb=am335x-boneblack-audio.dtb > > > > doesn't setup the emmc... > > Does this mean that the board won't be able to boot from the emmc when using > this dtb? If so, how is it supposed to be used? I had to make

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-19 Thread Rafael Vega
> dtb=am335x-boneblack-audio.dtb > > doesn't setup the emmc... Does this mean that the board won't be able to boot from the emmc when using this dtb? If so, how is it supposed to be used? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-19 Thread Rafael Vega
I'm trying to use the same codec as Rick but I need to use a 'bone-rt' kernel (old PRU api and PREEMPT). Can you tell me what/where the base *.dtb is and how to compile it when using a bone-rt kernel? Thanks! -- For more options, visit http://beagleboard.org/discuss --- You received this

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
> On Apr 4, 2016, at 21:14 , Robert Nelson wrote: > > On Mon, Apr 4, 2016 at 10:29 PM, Rick Mann wrote: >> I updated to -r7, and set the dtb=am335x-boneblack-audio.dtb >> >> Did my MMC get corrupted? > > dtb=am335x-boneblack-audio.dtb > >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Robert Nelson
On Mon, Apr 4, 2016 at 10:29 PM, Rick Mann wrote: > I updated to -r7, and set the dtb=am335x-boneblack-audio.dtb > > uEnv.txt: http://pastebin.com/yhQqzGWZ > > Booting fails now. Log: http://pastebin.com/M8YJJGWi > >> U-Boot SPL 2016.03-1-gd12d09f (Mar 17 2016 -

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
Oh, I'm on a BB Green. Should that have been am335x-bonegreen-audio.dtb? I'm in initramfs, but I'm not sure how to find the uEnv.txt file to edit it. > On Apr 4, 2016, at 20:29 , Rick Mann wrote: > > I updated to -r7, and set the dtb=am335x-boneblack-audio.dtb > >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
I updated to -r7, and set the dtb=am335x-boneblack-audio.dtb uEnv.txt: http://pastebin.com/yhQqzGWZ Booting fails now. Log: http://pastebin.com/M8YJJGWi > U-Boot SPL 2016.03-1-gd12d09f (Mar 17 2016 - 16:16:15) > Trying to boot from MMC > bad magic > . > . > . > Loading, please wait... >

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
> On Apr 4, 2016, at 19:14 , Robert Nelson wrote: > >> Should that be available in apt, or do I need to git pull and build it >> myself? I tried "apt-get update && apt-get install -y >> linux-image-4.4.6-bone-rt-r7" but no luck. Maybe it just takes a while to >> show

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
> On Apr 4, 2016, at 13:36 , Robert Nelson wrote: > > > > You need to add this to your base *.dtb: > > > > > > https://github.com/RobertCNelson/dtb-rebuilder/blob/4.1-ti/src/arm/am335x-boneblack-audio.dts#L17-L28 > > > > > > btw, the one thing i haven't tried, have

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Robert Nelson
On Apr 4, 2016 3:17 PM, "Rick Mann" wrote: > > > > On Apr 4, 2016, at 06:57 , Robert Nelson wrote: > > > > > > > > On Mon, Apr 4, 2016 at 8:41 AM, Robert Nelson wrote: > > > > > > On Mon, Apr 4, 2016 at 4:47 AM, Rick Mann

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
> On Apr 4, 2016, at 06:57 , Robert Nelson wrote: > > > > On Mon, Apr 4, 2016 at 8:41 AM, Robert Nelson wrote: > > > On Mon, Apr 4, 2016 at 4:47 AM, Rick Mann wrote: > I'm trying to get my audio cape to work (which

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Robert Nelson
On Mon, Apr 4, 2016 at 8:41 AM, Robert Nelson wrote: > > > On Mon, Apr 4, 2016 at 4:47 AM, Rick Mann wrote: > >> I'm trying to get my audio cape to work (which is nearly identical to the >> cape that was available for sale). I've had it working to

Re: [beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Robert Nelson
On Mon, Apr 4, 2016 at 4:47 AM, Rick Mann wrote: > I'm trying to get my audio cape to work (which is nearly identical to the > cape that was available for sale). I've had it working to some level of > success with past kernels (3.1.18), but now I'm on 4.4.6. My existing

[beagleboard] My overlay can't find clk_mcasp0

2016-04-04 Thread Rick Mann
I'm trying to get my audio cape to work (which is nearly identical to the cape that was available for sale). I've had it working to some level of success with past kernels (3.1.18), but now I'm on 4.4.6. My existing DTS didn't work, so I'm looking at how the BB-BONE-AUDI-02 DTS is written. One