New DTO & RSCM

So, I’m finding the “Really Simple Cape Manager” anything but simple…

I made a Java DTO library that would use a JSON file (https://github.com/DougEdey/SB_Elsinore_Server/blob/master/extras/beaglebone.json) to create Device Tree Overlays that could be applied easily.

This created files that could do basic GPIO exports, but I’m confused/concerned about how to do this for the new RSCM. There’s no lines in the boneblack.dts (https://github.com/RobertCNelson/rscm/blob/master/3.13-bone/am335x-boneblack.dts) that indicate which GPIO pins are which, and, much more concerningly to me, I have no idea how to enable OneWire like I used to, using this (https://github.com/DougEdey/SB_Elsinore_Server/blob/master/extras/w1.dts) source.

Am I missing something very fundamental? Like some documentation or instructions for how to use RSCM? I have a lot of users who want to use the BBB and I want to support the latest kernel images.

Yeah, the RSCM was a drunk idea over new years, that got replaced by
the "dtb-rebuilder"...

https://github.com/RobertCNelson/dtb-rebuilder/tree/3.14-ti

It target's the "v3.14.x" branch:

https://github.com/beagleboard/linux/tree/3.14

Basic instructions:
http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb

This explains better then words:

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L45

Essentially uncomment what you need and rebuild.. Note many
"perhiperals" are enabled by default, but the "pinmux" isn't wired to
them: for example:

/* uart1: P9.24, P9.26 */
#include "am335x-ttyO1.dtsi" /* ttyO1 perhiperal */
/* #include "am335x-bone-ttyO1.dtsi" */ /* pinmux for ttyO1 perhiperal */

So if you uncomment the 2nd line, it'll be pinmuxed & enabled, thus
ttyO1 would work..

Regards,

OK, I’m still unclear as to how my old dts for one wire:

/*

  • Copyright © 2012 Texas Instruments Incorporated - http://www.ti.com/
  • This program is free software; you can redistribute it and/or modify
  • it under the terms of the GNU General Public License version 2 as
  • published by the Free Software Foundation.
  • Modified by Russell Senior from the weather cape’s DTS file.
  • Minor formatting by C W Rose.
    /
    /dts-v1/;
    /plugin/;
    / {
    compatible = “ti,beaglebone”, “ti,beaglebone-black”;
    part-number = “BB-W1”;
    version = “00A0”;
    exclusive-use = “P8.11”;
    fragment@0 {
    target = <&am33xx_pinmux>;
    overlay {
    bb_w1_pins: pinmux_bb_w1_pins {
    pinctrl-single,pins = <
    0x34 0x37 /
    gpmc_ad13.gpio1_13, OMAP_PIN_INPUT_PULLUP | OMAP_MUX_MODE7 - w1-gpio */

;
};
};
};
fragment@1 {
target = <&ocp>;
overlay {
onewire@0 {
status = “okay”;
compatible = “w1-gpio”;
pinctrl-names = “default”;
pinctrl-0 = <&bb_w1_pins>;
gpios = <&gpio2 13 0>;
};
};
};
};

Would convert to the new dtsi, is there any documentation on the dtsi?

First test this:

http://pastebin.com/yDyaHKcS

If it works, i'll factor it into the patchset..

make
sudo make install

Regards,

I ran that and it seemed to compile and install OK.

But dmesg shows an error:

[ 20.170288] =============================================
[ 20.175949] [ INFO: possible recursive locking detected ]
[ 20.181616] 3.14.22-ti-r31 #1 Tainted: G O
[ 20.186820] ---------------------------------------------
[ 20.192481] wpa_supplicant/536 is trying to acquire lock:
[ 20.198143] (pmutex){+.+…}, at: [] usbctrl_vendorreq+0xe4/0x354 [8188eu]
[ 20.206871]
[ 20.206871] but task is already holding lock:
[ 20.212990] (pmutex){+.+…}, at: [] netdev_open+0x24/0x40 [8188eu]
[ 20.220819]
[ 20.220819] other info that might help us debug this:
[ 20.227667] Possible unsafe locking scenario:
[ 20.227667]
[ 20.233873] CPU0
[ 20.236435] ----
[ 20.238996] lock(pmutex);
[ 20.241934] lock(pmutex);
[ 20.244872]
[ 20.244872] *** DEADLOCK ***
[ 20.244872]
[ 20.251082] May be due to missing lock nesting notation
[ 20.251082]
[ 20.258203] 2 locks held by wpa_supplicant/536:
[ 20.262951] #0: (rtnl_mutex){+.+.+.}, at: [] rtnl_lock+0x1c/0x20
[ 20.270396] #1: (pmutex){+.+…}, at: [] netdev_open+0x24/0x40 [8188eu]
[ 20.278636]
[ 20.278636] stack backtrace:
[ 20.283214] CPU: 0 PID: 536 Comm: wpa_supplicant Tainted: G O 3.14.22-ti-r31 #1
[ 20.291791] Backtrace:
[ 20.294384] [] (dump_backtrace) from [] (show_stack+0x18/0x1c)
[ 20.302323] r6:c0c570b8 r5:ffffffff r4:00000000 r3:bd943638
[ 20.308299] [] (show_stack) from [] (dump_stack+0x84/0xc4)
[ 20.315891] [] (dump_stack) from [] (__lock_acquire+0x1018/0x1d78)
[ 20.324193] r6:c0d83598 r5:c119e254 r4:c0d83598 r3:ddc9e040
[ 20.330161] [] (__lock_acquire) from [] (lock_acquire+0xb4/0x154)
[ 20.338372] r10:bf17b56c r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:dcb69e74
[ 20.346619] r4:00000000
[ 20.349289] [] (lock_acquire) from [] (mutex_lock_interruptible_nested+0x6c/0x52c)
[ 20.359048] r10:dcb69e3c r9:00000000 r8:dde54018 r7:ddc9e040 r6:c119e254 r5:e1142000
[ 20.367295] r4:00000000
[ 20.370130] [] (mutex_lock_interruptible_nested) from [] (usbctrl_vendorreq+0xe4/0x354 [8188eu])
[ 20.381165] r10:00000214 r9:00000000 r8:dcc3dc00 r7:dcb69dc0 r6:00000002 r5:e1142000
[ 20.389412] r4:00000214
[ 20.392345] [] (usbctrl_vendorreq [8188eu]) from [] (usb_write16+0x78/0xbc [8188eu])
[ 20.402288] r10:00000000 r9:dcb78800 r8:00000000 r7:00000214 r6:00000000 r5:e1143554
[ 20.410534] r4:00000214
[ 20.413422] [] (usb_write16 [8188eu]) from [] (_rtw_write16+0x68/0xac [8188eu])
[ 20.422908] r6:00000000 r5:e1142000 r4:e1143554
[ 20.427998] [] (_rtw_write16 [8188eu]) from [] (rtl8188eu_hal_init+0x1d4/0xda4 [8188eu])
[ 20.438305] r7:ffff92b0 r6:00000001 r5:dde30000 r4:e1142000
[ 20.444531] [] (rtl8188eu_hal_init [8188eu]) from [] (rtw_hal_init+0x28/0xdc [8188eu])
[ 20.454656] r10:00000000 r9:dcb78800 r8:00000000 r7:00001002 r6:e1142000 r5:e1142000
[ 20.462904] r4:e1142000
[ 20.465838] [] (rtw_hal_init [8188eu]) from [] (_netdev_open+0xc8/0x430 [8188eu])
[ 20.475507] r5:e1142000 r4:ddf8c800
[ 20.479553] [] (_netdev_open [8188eu]) from [] (netdev_open+0x2c/0x40 [8188eu])
[ 20.489040] r10:00000000 r9:dcb78800 r8:00000000 r7:00001002 r6:ddf8c800 r5:e1142000
[ 20.497287] r4:000046b4 r3:dde54000
[ 20.501195] [] (netdev_open [8188eu]) from [] (__dev_open+0xb0/0x114)
[ 20.509771] r6:ddf8c82c r5:bf199d5c r4:ddf8c800 r3:bf1901cc
[ 20.515738] [] (__dev_open) from [] (__dev_change_flags+0x9c/0x170)
[ 20.524131] r7:00001002 r6:00000001 r5:00001003 r4:ddf8c800
[ 20.530098] [] (__dev_change_flags) from [] (dev_change_flags+0x20/0x50)
[ 20.538947] r8:00000000 r7:00000001 r6:00001002 r5:00000128 r4:ddf8c800 r3:00008914
[ 20.547118] [] (dev_change_flags) from [] (devinet_ioctl+0x6d4/0x7ac)
[ 20.555694] r8:00000000 r7:00000001 r6:c0bf8488 r5:dcb7880c r4:00000000 r3:00008914
[ 20.563857] [] (devinet_ioctl) from [] (inet_ioctl+0x1a8/0x1d0)
[ 20.571886] r10:00000000 r9:beea0944 r8:dd7c4060 r7:00008914 r6:beea0944 r5:dd7c4040
[ 20.580134] r4:00008914
[ 20.582807] [] (inet_ioctl) from [] (sock_ioctl+0x140/0x2b4)
[ 20.590573] [] (sock_ioctl) from [] (do_vfs_ioctl+0x3f8/0x634)
[ 20.598510] r6:00000009 r5:c0154808 r4:ddcb1940 r3:c06eb328
[ 20.604477] [] (do_vfs_ioctl) from [] (SyS_ioctl+0x74/0x84)
[ 20.612142] r10:00000000 r9:00000009 r8:00000000 r7:00008914 r6:beea0944 r5:ddcb1940
[ 20.620389] r4:ddcb1940
[ 20.623057] [] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x48)
[ 20.630995] r9:dde54000 r8:c000f624 r7:00000036 r6:00000009 r5:00123e90 r4:00000000

But it doesn’t seem related to one wire.

I have it cloned to dtb-rebuilder, ran patch -p1 < diff; make; sudo make install

elsinore@brewery:~/dtb-rebuilder$ sudo make install
mkdir -p /boot/dtbs/uname -r/
cp -v src/arm/*.dtb /boot/dtbs/uname -r/
‘src/arm/am335x-base0033.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-base0033.dtb’
‘src/arm/am335x-bone-4dcape-43.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-4dcape-43.dtb’
‘src/arm/am335x-bone-4dcape-43t.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-4dcape-43t.dtb’
‘src/arm/am335x-bone-4dcape-70.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-4dcape-70.dtb’
‘src/arm/am335x-bone-4dcape-70t.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-4dcape-70t.dtb’
‘src/arm/am335x-bone-audio-reva.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-audio-reva.dtb’
‘src/arm/am335x-bone-audio-revb.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-audio-revb.dtb’
‘src/arm/am335x-bone-base.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-base.dtb’
‘src/arm/am335x-bone-bb-view-43.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-bb-view-43.dtb’
‘src/arm/am335x-bone-bbb-exp-c.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-bbb-exp-c.dtb’
‘src/arm/am335x-bone-can1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-can1.dtb’
‘src/arm/am335x-bone-cape-bone-argus.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-cape-bone-argus.dtb’
‘src/arm/am335x-bone-crypto-00a0.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-crypto-00a0.dtb’
‘src/arm/am335x-bone-lcd3-01-00a2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-lcd3-01-00a2.dtb’
‘src/arm/am335x-bone-lcd4-01-00a1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-lcd4-01-00a1.dtb’
‘src/arm/am335x-bone-lcd7-01-00a2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-lcd7-01-00a2.dtb’
‘src/arm/am335x-bone-lcd7-01-00a3.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-lcd7-01-00a3.dtb’
‘src/arm/am335x-bone-rtc-01-00a1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-rtc-01-00a1.dtb’
‘src/arm/am335x-bone-ttyO1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-ttyO1.dtb’
‘src/arm/am335x-bone-ttyO2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-ttyO2.dtb’
‘src/arm/am335x-bone-ttyO4.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-ttyO4.dtb’
‘src/arm/am335x-bone-ttyO5.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone-ttyO5.dtb’
‘src/arm/am335x-bone.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-bone.dtb’
‘src/arm/am335x-boneblack-4dcape-43.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-4dcape-43.dtb’
‘src/arm/am335x-boneblack-4dcape-43t.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-4dcape-43t.dtb’
‘src/arm/am335x-boneblack-4dcape-70.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-4dcape-70.dtb’
‘src/arm/am335x-boneblack-4dcape-70t.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-4dcape-70t.dtb’
‘src/arm/am335x-boneblack-audio-reva.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-audio-reva.dtb’
‘src/arm/am335x-boneblack-audio-revb.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-audio-revb.dtb’
‘src/arm/am335x-boneblack-base.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-base.dtb’
‘src/arm/am335x-boneblack-bb-view-43.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-bb-view-43.dtb’
‘src/arm/am335x-boneblack-bbb-exp-c.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-bbb-exp-c.dtb’
‘src/arm/am335x-boneblack-can1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-can1.dtb’
‘src/arm/am335x-boneblack-cape-bone-argus.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-cape-bone-argus.dtb’
‘src/arm/am335x-boneblack-crypto-00a0.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-crypto-00a0.dtb’
‘src/arm/am335x-boneblack-lcd3-01-00a2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-lcd3-01-00a2.dtb’
‘src/arm/am335x-boneblack-lcd4-01-00a1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-lcd4-01-00a1.dtb’
‘src/arm/am335x-boneblack-lcd7-01-00a2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-lcd7-01-00a2.dtb’
‘src/arm/am335x-boneblack-lcd7-01-00a3.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-lcd7-01-00a3.dtb’
‘src/arm/am335x-boneblack-rtc-01-00a1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-rtc-01-00a1.dtb’
‘src/arm/am335x-boneblack-ttyO1.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-ttyO1.dtb’
‘src/arm/am335x-boneblack-ttyO2.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-ttyO2.dtb’
‘src/arm/am335x-boneblack-ttyO4.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-ttyO4.dtb’
‘src/arm/am335x-boneblack-ttyO5.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack-ttyO5.dtb’
‘src/arm/am335x-boneblack.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-boneblack.dtb’
‘src/arm/am335x-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-evm.dtb’
‘src/arm/am335x-evmsk.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-evmsk.dtb’
‘src/arm/am335x-nano.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am335x-nano.dtb’
‘src/arm/am3517-craneboard.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am3517-craneboard.dtb’
‘src/arm/am3517-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am3517-evm.dtb’
‘src/arm/am3517_mt_ventoux.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am3517_mt_ventoux.dtb’
‘src/arm/am437x-gp-evm-hdmi.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am437x-gp-evm-hdmi.dtb’
‘src/arm/am437x-gp-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am437x-gp-evm.dtb’
‘src/arm/am437x-sk-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am437x-sk-evm.dtb’
‘src/arm/am43x-epos-evm-hdmi.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am43x-epos-evm-hdmi.dtb’
‘src/arm/am43x-epos-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am43x-epos-evm.dtb’
‘src/arm/am57xx-beagle-x15.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/am57xx-beagle-x15.dtb’
‘src/arm/dra7-evm-lcd10.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra7-evm-lcd10.dtb’
‘src/arm/dra7-evm-lcd7.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra7-evm-lcd7.dtb’
‘src/arm/dra7-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra7-evm.dtb’
‘src/arm/dra72-evm-lcd10.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra72-evm-lcd10.dtb’
‘src/arm/dra72-evm-lcd7.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra72-evm-lcd7.dtb’
‘src/arm/dra72-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/dra72-evm.dtb’
‘src/arm/k2hk-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/k2hk-evm.dtb’
‘src/arm/omap3-beagle-xm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-beagle-xm.dtb’
‘src/arm/omap3-beagle.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-beagle.dtb’
‘src/arm/omap3-cm-t3730.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-cm-t3730.dtb’
‘src/arm/omap3-devkit8000.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-devkit8000.dtb’
‘src/arm/omap3-evm-37xx.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-evm-37xx.dtb’
‘src/arm/omap3-evm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-evm.dtb’
‘src/arm/omap3-gta04.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-gta04.dtb’
‘src/arm/omap3-igep0020.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-igep0020.dtb’
‘src/arm/omap3-igep0030.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-igep0030.dtb’
‘src/arm/omap3-ldp.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-ldp.dtb’
‘src/arm/omap3-n9.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-n9.dtb’
‘src/arm/omap3-n900.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-n900.dtb’
‘src/arm/omap3-n950.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-n950.dtb’
‘src/arm/omap3-overo-storm-tobi.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-overo-storm-tobi.dtb’
‘src/arm/omap3-overo-tobi.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-overo-tobi.dtb’
‘src/arm/omap3-sbc-t3730.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-sbc-t3730.dtb’
‘src/arm/omap3-zoom3.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3-zoom3.dtb’
‘src/arm/omap3430-sdp.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap3430-sdp.dtb’
‘src/arm/omap4-panda-a4.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-panda-a4.dtb’
‘src/arm/omap4-panda-es.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-panda-es.dtb’
‘src/arm/omap4-panda.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-panda.dtb’
‘src/arm/omap4-sdp-es23plus.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-sdp-es23plus.dtb’
‘src/arm/omap4-sdp.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-sdp.dtb’
‘src/arm/omap4-var-som.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap4-var-som.dtb’
‘src/arm/omap5-uevm.dtb’ → ‘/boot/dtbs/3.14.22-ti-r31/omap5-uevm.dtb’

Edited my uEnv.txt to:

#Docs: http://elinux.org/Beagleboard:U-boot_partitioning_layout_2.0

uname_r=3.14.22-ti-r31

dtb=am335x-boneblack.dtb

uuid=a9ecee33-898c-4ddb-a96c-461b113cc230

cmdline=quiet

##Example
#cape_disable=capemgr.disable_partno=
#cape_enable=capemgr.enable_partno=

##enable BBB: eMMC Flasher:
##make sure, these tools are installed: dosfstools rsync
#cmdline=init=/opt/scripts/tools/eMMC/init-eMMC-flasher-v3.sh

Let's make sure the dtb version matches the kernel..

sudo apt-get install linux-image-3.14.23-ti-r35

sudo reboot

rerun "sudo make install" in dtb-rebuilder..

reboot..

Regards,

The DTB doesn’t match the hardware, it matches the kernel? That seems… odd…

I ran those. commands, uEnv still points at am335-boneblack.dtb, but I don;t see any one wire devices, even though there is one connected in the same configuration as the old kernel 3.8 that used the previous DTB I pasted which was exported to the capemgr.

What was the reason for the change away from capemgr? capemgr seemed to “work”

The DTB doesn't match the hardware, it matches the kernel? That seems....
odd...

I ran those. commands, uEnv still points at am335-boneblack.dtb, but I don;t
see any one wire devices, even though there is one connected in the same
configuration as the old kernel 3.8 that used the previous DTB I pasted
which was exported to the capemgr.

Then just:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone67
sudo reboot

What was the reason for the change away from capemgr? capemgr seemed to
"work"

Search the list, it's been explained too often.

Regards,

Then just:

sudo apt-get update
sudo apt-get install linux-image-3.8.13-bone67
sudo reboot

Running

What was the reason for the change away from capemgr? capemgr seemed to
“work”

Search the list, it’s been explained too often.

Surely, as a fellow software dev, if you have to explain yourself a lot, there’s an issue (I’ve worked on a lot of massive projects down to the low level, JVM → network management product for ISPs/larger)

Surely, as a fellow software dev, if you have to explain yourself a lot,
there's an issue (I've worked on a lot of massive projects down to the low
level, JVM -> network management product for ISPs/larger)

Simply, what was developed for v3.8.x was out-right rejected by
mainline. The main author is still working on it, some low level
parts are now mainline, but we won't see anything till v3.19/20...

Regards,

No, I want to support the changes you’ve made to kernel 3.13 running.

Oh, I thought the 3.8.x changes were FROM mainline. Sorry!

OH god no!!! Our v3.8.x is a freak of nature, around 936 patches (1)
mostly written by two developers who both left the project. ( i never
got personally involved with the capemgr side, other things interested
me at that time. ) I just keep things moving and adding support for
newer capes till we have a mainline solution..

1: https://github.com/RobertCNelson/bb-kernel/blob/am33x-v3.8/patch.sh#L72

Regards,

I still want to be able to understand how to enable the ports and use one wire in the newer kernels. I can see the one wire driver being loaded on startup. But I cannot see /sys/devices/w1_devices