uname_r=4.4.38-bone-rt-r14###uuid=#dtb=##BeagleBone Black/Green dtb's for v4.1.x (BeagleBone White just works..)##BeagleBone Black: HDMI (Audio/Video) disabled:dtb=am335x-boneblack-emmc-overlay.dtbcape_enable=bone_capemgr.enable_partno=BB-SPIDEV1
... (nothing is changed beyond this point)
cd5@bbgw:~$ sudo ./config-pin P8_18 lowP8_18 pinmux file not found!cape-universala overlay not foundrun "config-pin overlay cape-universala" to load the caperoot@bbgw:/home/cd5# ./config-pin overlay cape-universalaLoading cape-universala overlayroot@bbgw:/home/cd5# ./config-pin overlay BB-SPIDEV1Loading BB-SPIDEV1 overlaybash: line 0: echo: write error: File existsError loading device tree overlay file: BB-SPIDEV1
root@bbgw:/home/cd5# ./config-pin -l p8_18default gpio gpio_pu gpio_pdroot@bbgw:/home/cd5# ./config-pin -i p8_18Pin name: P8_18Function if no cape loaded: gpioFunction if cape loaded: default gpio gpio_pu gpio_pdFunction information: gpio2_1 default gpio2_1 gpio2_1 gpio2_1Cape: cape-universala cape-universal cape-universalnKernel GPIO id: 65PRU GPIO id: 97root@bbgw:/home/cd5# ./config-pin -q p8_18Cannot read pinmux file: /sys/devices/platform/ocp/ocp*P8_18_pinmux/state
So, if you look here: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-emmc-overlay.dts#L36 then compare it to this: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-bonegreen-wireless.dts#L36 You'll note the difference. However I'm not convinced that is the problem. I'm thinking the problem probably lies here: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-bonegreen-wireless.dts#L12 As f you note in the BBB equivalent file here: https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-emmc-overlay.dts#L10-L13 there is no listing for the wireless hardware module as an include file.
With that said, it's going to be more complicated than that. As the files for the BBB will probably not have the proper network interface configuration for the wireless interface: ethernet versus wireless. So I'm fairly sure just adding the #include would not work. However . . . it may be possible that https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-wireless-emmc-overlay.dts would work. I'd double check with Robert first however. To make sure nothing bad would happen. I wouldn't think so, but thats what I *think*, and not what I *know* as fact.
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1546c704-46ee-41b3-8f01-ec0dbafcada6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello William, thank you for the prompt response. First of all, I have to say that I have very little experience with the device tree, although I did use dtb-rebuilder to enable SPI back in the linux v3.8 days. So, my first request is: please point me to documentation that is current and helpful for dealing with the device tree.
Yes, I can read the dts files fairly easily. The problem is knowing which overlays are included for a given device.