Hi,

I started reading abou dts files a few days ago and wrote one to change the 
lasts P8 pins' mode, but I can't load my dtbo to 
*/sys/devices/platform/bone_capemgr/slots* with *echo*. Everytime I do 
that, my terminal gets no response and I get stuck (even ctrl + C does not 
work).
I tried disabling other capes like HDMI on *uEnv*, upgrading kernel, 
changing pinmode through *config-pin* (which returns no file/directory 
error), changing boards (I have access to a few BBBs), disabling/enabling 
universal cape and loading internet capes (from kiloblaser 
<http://www.kilobaser.com/blog/2014-07-28-beaglebone-black-devicetreeoverlay-generator>,
 
bbbadventures <http://bbbadventures.blogspot.com.br/2013/06/pinmuxing.html>) 
and default ones (like cape-universaln). I ought to think it must be 
something really stupid I'm missing, because I found nothing regarding this 
kind of error so far.

My custom dts:

/dts-v1/;
/plugin/;
/ {
 compatible = "ti,beaglebone", "ti,beaglebone-black";
 /* identification */
 part-number = "bb-gpio";
 /*version = "00A0";*/
 /* state the resources this cape uses */
 exclusive-use =
 "P8.42",
 "P8.43",
 "P8.44",
 "P8.46",
 "gpio2_11",
 "gpio2_8",
 "gpio2_9",
 "gpio2_7";
 fragment@0 {
  target = <&am33xx_pinmux>;
  __overlay__ {
   bb_gpio_pins: pinmux_bb_gpio_pins {
    pinctrl-single,pins = <
    0x0b4 0x0f /* P8_42 GPIO2_11 */
    0x0a8 0x0f /* P8_43 GPIO2_8 */
    0x0ac 0x0f /* P8_44 GPIO2_9 */
    0x0a4 0x0f /* P8_42 GPIO2_7 */
    >;
   };
  };
 };
 fragment@1 {
  target = <&gpio>;
  __overlay__ {
   bbgpio : gpio {
    pinctrl-names = "default";
    pinctrl-0 = <&bb_gpio_pins>;
    status = "okay";
    /*oe {
     gpio-name = "oe";
     gpio = <&gpio3 11 0x00>;
     output;
    };
    clk {
     gpio-name = "clk";
     gpio = <&gpio3 8 0x00>;
     output;
    };
    le {
     gpio-name = "le";
     gpio = <&gpio3 9 0x00>;
     output;
    };
    sdi {
     gpio-name = "sdi";
     gpio = <&gpio3 7 0x00>;
     output;
    };*/
   };
  };
 };
};

Last lines of dmesg:
[   64.071193] pru-rproc 4a334000.pru0: PRU rproc node 
/ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a334000 probed successfully
[   64.090943] remoteproc remoteproc2: 4a338000.pru1 is available
[   64.091062] pru-rproc 4a338000.pru1: PRU rproc node 
/ocp/pruss_soc_bus@4a326000/pruss@4a300000/pru@4a338000 probed successfully
[  321.616414] bone_capemgr bone_capemgr: part_number 'bb-gpio', version 
'N/A'
[  321.616478] bone_capemgr bone_capemgr: slot #4: override
[  321.630993] bone_capemgr bone_capemgr: slot #4: auto loading handled by 
U-Boot

uname -a (right now):
Linux arm 4.9.41-ti-r53 #1 SMP PREEMPT Thu Aug 10 02:34:57 UTC 2017 armv7l 
GNU/Linux

pinctrl pins (71 ~ 75):
pin 71 (PIN71) 44e1091c 00000000 pinctrl-single
pin 72 (PIN72) 44e10920 00000000 pinctrl-single
pin 73 (PIN73) 44e10924 00000000 pinctrl-single
pin 74 (PIN74) 44e10928 00000000 pinctrl-single
pin 75 (PIN75) 44e1092c 00000030 pinctrl-single


Can anyone point out what I may be missing?

Best regards,
Marco

-- 
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/334bf1ec-5a4c-43da-821f-00802abec5ca%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to