**** BEGIN LOGGING AT Fri Dec 25 02:59:58 2015 Dec 25 05:01:40 the am335x trm is confusing (imo) regarding clock and power domains. i don't get a clear picture of the power and clock domains. is there any other documentation to clarify? Dec 25 05:03:18 for example, i'm trying to figure out what exactly the CM_PER_L4LS_CLKSTCTRL controls Dec 25 05:03:27 that register ^^^^ Dec 25 05:06:14 i'm also having trouble seeing the reset values for these registers Dec 25 05:06:33 wait, nm Dec 25 05:06:51 nm on the reset - i see it . Dec 25 05:18:46 sheesh, what, is it Christmas or something? Dec 25 11:56:59 hi. I need to learn programming in C in BBB Dec 25 11:57:17 Is there any book or tutorials for that Dec 25 15:50:48 * GenTooMan tosses Christmas beagle boards to all the "good" embedded systems programmers. Dec 25 17:54:49 dear folks, i have some trouble with the device tree overlay, i created an overlay and load it successufully but it is not changing the pin state, Dec 25 17:55:59 https://gist.github.com/morriswinkler/0cfccca90898576ca11f this is my dts any ideas what could be wrong here Dec 25 17:56:12 kernel 4.1.6 Dec 25 18:41:44 anybody in here ? Dec 25 19:01:19 how do you know its not changing? and are there any errors in dmesg? Dec 25 19:47:17 well i can see the state in ths pinmux_pins file, after all does cape_manager still work the same way in 4.1, all the examples i can find are for 3.8 as far as i understand it was removed in the meanwhile, there isn't any real documentation, Dec 25 19:48:34 i am trying to get P8_28 in mode5, setting it to 0x05, it is constantly in mode 7, than i also try to attach it to the pruss, by defining target= &pruss in the file , still my pin is not claimed by anything Dec 25 19:49:16 so i am pretty sure that when i laod the dtbo nothing happens, dmesg just tells me that the the dtbo was loaded, no errors Dec 25 20:20:05 tat: note that often you can't change properties of existing nodes using an overlay... the kernel driver won't pick them up. (some will pick up some changes, but many won't) Dec 25 20:20:43 zmatt: so i need to laod the dtb ad boot ? are you trying to say that ? Dec 25 20:20:48 i.e. typically an overlay enables some peripheral or subsystem that previously wasn't enabled Dec 25 20:21:11 depends on what you're trying to do exactly Dec 25 20:21:47 i am trying to make some of the pins accesable in pru1, Dec 25 20:21:52 btw, http://gerbil.xs4all.nl/show-pins-v2.pl.gz may be a useful utility Dec 25 20:22:04 hmm, is pruss enabled by default? Dec 25 20:22:55 also important: is that awful 'universal' cape loaded? since that makes significant changes to how to do things Dec 25 20:24:41 pruss is loaded, what is the universal cape ( HDMI EMMC ) Dec 25 20:26:23 well i grabed a new BBB from the shelf with an 3.8.13 kernel, it works straight forward Dec 25 20:26:46 can you show your dtsi in a pastebin? Dec 25 20:27:23 could be any number of things.... there've been many changes between 3.8 and 4.1 Dec 25 20:27:24 take a look at https://gist.github.com/morriswinkler/0cfccca90898576ca11f Dec 25 20:27:37 I'm not terribly familiar with 3.8 though, but maybe I can spot something off Dec 25 20:27:45 this one i tried with 4.1 Dec 25 20:27:56 i just swaped 5 minutes ago to an other board Dec 25 20:29:37 on 4.1 try loading it via the new configfs mechanism, i think it may tend to give more informative errors (in the kernel log) Dec 25 20:29:49 ugh, overlays are so ugly -.- Dec 25 20:30:31 which 4.1 kernel btw? the -bone or the -ti one/ Dec 25 20:32:28 and cape-universal is a gross hack that basically enables all peripheral, claims all pins, and uses some custom hack of a driver to redirect the mux at runtime Dec 25 20:33:36 the awful stuff people do in the name of convenience... Dec 25 20:34:33 pruss is enabled by default in 4.1-ti Dec 25 20:34:39 that's gonna make a difference Dec 25 20:35:49 there should be people here who know what the official way to do this is now with pruss Dec 25 20:36:09 -bone Dec 25 20:37:29 well i have a loaded dtbo that works and loads some gpio pins into pru0 and pru1, but fore some reason i can not modify it with the overlays Dec 25 20:38:34 I haven't done anything with pruss yet really, and I tend to do things in atypical non-newbie-friendly ways (i.e. I use my own dts file instead of any of the default ones), I never use overlays, so it's difficult for me to give useful feedback here Dec 25 20:39:25 you can try the latest ti kernel (4.1.13-ti-r37) just in case **** ENDING LOGGING AT Sat Dec 26 02:59:58 2015