Hello there,
I am trying to enable spi0 on my BeagleBone Black. At the first try I used dtb-rebuilder-4.1.x as it was already on my BBB.
Steps:
- add #include “am335x-peripheral-spi0.dtsi” and #include “am335x-bone-pinmux-spi0.dtsi” to the file am335x-boneblack.dts
- execute dtc-overlay.sh (in folder dtb-rebuilder)
- make
- make install
- reboot
This created a new pingroup.
…
group: pinmux_spi0_pins
pin 84 (44e10950.0)
pin 85 (44e10954.0)
pin 86 (44e10958.0)
pin 87 (44e1095c.0)
….
However, the pinmux-pins-file did not change.
…
pin 84 (44e10950): 48024000.serial (GPIO UNCLAIMED) function pinmux_uart3_pins group pinmux_uart3_pins
pin 85 (44e10954): 48024000.serial (GPIO UNCLAIMED) function pinmux_uart3_pins group pinmux_uart3_pins
pin 86 (44e10958): (MUX UNCLAIMED) (GPIO UNCLAIMED)
pin 87 (44e1095c): (MUX UNCLAIMED) (GPIO UNCLAIMED)
…
How do I change this too?
At the second try I used the newest version of the dtb-rebuilder from https://github.com/RobertCNelson/dtb-rebuilder with the same following steps. However, afterwards the BBB did not boot any more.
Should am335x-boneblack-custom.dts be changed (uncomment the two lines https://github.com/RobertCNelson/dtb-rebuilder/blob/4.4-ti/src/arm/am335x-boneblack-custom.dts#L53-L54) instead of changing am335x-boneblack.dts?
Do I additionally have to change the file /boot/uEnv.txt (add dtb=am335x-boneblack-custom.dtb)?
Thank you for every help,
Tom