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: [<bf17b56c>] usbctrl_vendorreq+0xe4/0x354 [8188eu] [ 20.206871] [ 20.206871] but task is already holding lock: [ 20.212990] (pmutex){+.+...}, at: [<bf1901f0>] 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: [<c0711db8>] rtnl_lock+0x1c/0x20 [ 20.270396] #1: (pmutex){+.+...}, at: [<bf1901f0>] 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] [<c0013338>] (dump_backtrace) from [<c0013614>] (show_stack+0x18/0x1c) [ 20.302323] r6:c0c570b8 r5:ffffffff r4:00000000 r3:bd943638 [ 20.308299] [<c00135fc>] (show_stack) from [<c0835180>] (dump_stack+0x84/0xc4) [ 20.315891] [<c08350fc>] (dump_stack) from [<c0097b7c>] (__lock_acquire+0x1018/0x1d78) [ 20.324193] r6:c0d83598 r5:c119e254 r4:c0d83598 r3:ddc9e040 [ 20.330161] [<c0096b64>] (__lock_acquire) from [<c009911c>] (lock_acquire+0xb4/0x154) [ 20.338372] r10:bf17b56c r9:00000000 r8:00000000 r7:00000000 r6:00000000 r5:dcb69e74 [ 20.346619] r4:00000000 [ 20.349289] [<c0099068>] (lock_acquire) from [<c0839668>] (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] [<c08395fc>] (mutex_lock_interruptible_nested) from [<bf17b56c>] (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] [<bf17b488>] (usbctrl_vendorreq [8188eu]) from [<bf17ba20>] (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] [<bf17b9a8>] (usb_write16 [8188eu]) from [<bf120774>] (_rtw_write16+0x68/0xac [8188eu]) [ 20.422908] r6:00000000 r5:e1142000 r4:e1143554 [ 20.427998] [<bf12070c>] (_rtw_write16 [8188eu]) from [<bf17a5f4>] (rtl8188eu_hal_init+0x1d4/0xda4 [8188eu]) [ 20.438305] r7:ffff92b0 r6:00000001 r5:dde30000 r4:e1142000 [ 20.444531] [<bf17a420>] (rtl8188eu_hal_init [8188eu]) from [<bf161c10>] (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] [<bf161be8>] (rtw_hal_init [8188eu]) from [<bf18fe64>] (_netdev_open+0xc8/0x430 [8188eu]) [ 20.475507] r5:e1142000 r4:ddf8c800 [ 20.479553] [<bf18fd9c>] (_netdev_open [8188eu]) from [<bf1901f8>] (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] [<bf1901cc>] (netdev_open [8188eu]) from [<c0705f08>] (__dev_open+0xb0/0x114) [ 20.509771] r6:ddf8c82c r5:bf199d5c r4:ddf8c800 r3:bf1901cc [ 20.515738] [<c0705e58>] (__dev_open) from [<c07061c0>] (__dev_change_flags+0x9c/0x170) [ 20.524131] r7:00001002 r6:00000001 r5:00001003 r4:ddf8c800 [ 20.530098] [<c0706124>] (__dev_change_flags) from [<c07062b4>] (dev_change_flags+0x20/0x50) [ 20.538947] r8:00000000 r7:00000001 r6:00001002 r5:00000128 r4:ddf8c800 r3:00008914 [ 20.547118] [<c0706294>] (dev_change_flags) from [<c077ed64>] (devinet_ioctl+0x6d4/0x7ac) [ 20.555694] r8:00000000 r7:00000001 r6:c0bf8488 r5:dcb7880c r4:00000000 r3:00008914 [ 20.563857] [<c077e690>] (devinet_ioctl) from [<c07806b0>] (inet_ioctl+0x1a8/0x1d0) [ 20.571886] r10:00000000 r9:beea0944 r8:dd7c4060 r7:00008914 r6:beea0944 r5:dd7c4040 [ 20.580134] r4:00008914 [ 20.582807] [<c0780508>] (inet_ioctl) from [<c06eb468>] (sock_ioctl+0x140/0x2b4) [ 20.590573] [<c06eb328>] (sock_ioctl) from [<c0154558>] (do_vfs_ioctl+0x3f8/0x634) [ 20.598510] r6:00000009 r5:c0154808 r4:ddcb1940 r3:c06eb328 [ 20.604477] [<c0154160>] (do_vfs_ioctl) from [<c0154808>] (SyS_ioctl+0x74/0x84) [ 20.612142] r10:00000000 r9:00000009 r8:00000000 r7:00008914 r6:beea0944 r5:ddcb1940 [ 20.620389] r4:ddcb1940 [ 20.623057] [<c0154794>] (SyS_ioctl) from [<c000f460>] (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 On Thursday, November 20, 2014 10:27:32 PM UTC-5, RobertCNelson wrote: > > On Thu, Nov 20, 2014 at 9:16 PM, Doug Edey <doug...@gmail.com > <javascript:>> wrote: > > OK, I'm still unclear as to how my old dts for one wire: > > > > /* > > * Copyright (C) 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, > > -- > Robert Nelson > http://www.rcn-ee.com/ > -- 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. For more options, visit https://groups.google.com/d/optout.