Good evening,

I'm trying to setup a new DTO to set pin 8_27 to be in Mode 5.  I have a 
device tree overlay but I can't load the overlay.  I am using the most 
recent release of Angstrom.

echo bspm_P8_27-d > /sys/devices/bone_capemgr.?/slots


I get an error saying...

-sh: echo: write error: File exists

I presume that it is because the HDMI overlay is still being loaded even 
though I have already disabled in uEnv.txt.  I have seen a hundred ways to 
implement this and have tried many.

bone_capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN

However, when I run check the SLOTS for the device tree it is still listed 
in there.  Here is some things from dmesg when I try to load the DTO to 
SLOTS.

[ 1467.076411] bone-capemgr bone_capemgr.8: part_number 'bspm_P8_27_d', 
version 'N/A'
[ 1467.080689] bone-capemgr bone_capemgr.8: slot #8: generic override
[ 1467.080752] bone-capemgr bone_capemgr.8: bone: Using override eeprom 
data at slot 8
[ 1467.080808] bone-capemgr bone_capemgr.8: slot #8: 'Override Board 
Name,00A0,Override Manuf,bspm_P8_27_d'
[ 1467.081072] bone-capemgr bone_capemgr.8: slot #8: Requesting part 
number/version based 'bspm_P8_27_d-00A0.dtbo
[ 1467.081127] bone-capemgr bone_capemgr.8: slot #8: Requesting firmware 
'bspm_P8_27_d-00A0.dtbo' for board-name 'Override Board Name', version 
'00A0'
[ 1467.081489] bone-capemgr bone_capemgr.8: slot #8: dtbo 
'bspm_P8_27_d-00A0.dtbo' loaded; converting to live tree
[ 1467.082020] bone-capemgr bone_capemgr.8: slot #8: bspm_P8_27_d conflict 
P8.27 (#5:BB-BONELT-HDMI)
[ 1467.091610] bone-capemgr bone_capemgr.8: slot #8: Failed verification



I'm fairly certain that this error is due to the HDMI still being enabled 
and because the pin I wish to use is part of this overlay I can't load the 
new overlay as it would be in conflict.   Also here is my DTO.  I thought 
maybe modifying the DTO for the HDMI and eliminating the pins that I want 
may work but I also don't want to brick the Beaglebone.  Still a novice tip 
toeing around.

/*
 * This is a template-generated file from BoneScript
 */

/dts-v1/;
/plugin/;

/{
    compatible = "ti,beaglebone", "ti,beaglebone-black";
    part_number = "BS_PINMODE_P8_27_0xd";

    exclusive-use =
        "P8.27",
        "pr1_pru1_pru_r30_8";

    fragment@0 {
        target = <&am33xx_pinmux>;
        __overlay__ {
            bs_pinmode_P8_27_0xd: pinmux_bs_pinmode_P8_27_0xd {
                pinctrl-single,pins = <0x0e0 0xd>;
            };
        };
    };

    fragment@1 {
        target = <&ocp>;
        __overlay__ {
            bs_pinmode_P8_27_0xd_pinmux {
                compatible = "bone-pinmux-helper";
                status = "okay";
                pinctrl-names = "default";
                pinctrl-0 = <&bs_pinmode_P8_27_0xd>;
            };
        };
    };
};


Any help is appreciated.

Thanks,
Tyler

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to