chiefwigms 2 Posted July 24, 2020 Share Posted July 24, 2020 Armbianmonitor: http://ix.io/2sgk I'm trying to upgrade from Armbian 5.32 (Xenial Next/4.4.76) and was hoping to enable 1 wire again on my Udoo. For that build, I had to add one wire modules to the kernel config, then edit the imx6qdl-udoo.dtsi to set the onewire status to okay (from disabled). In the dtsi, after udoo_ard: udoo_ard_manager it had: onewire@0 { /* example for pin 08 */ compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_gpio_pins>; status = "disabled"; /* "okay" to enable */ gpios = <&gpio1 21 0>; }; and in iomuxc, there was a section (in external_hog: hoggrp-2, MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 // pin 08): w1_gpio_pins: w1-gpio@0 { fsl,pins = < MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 /* example for pin 08 */ >; }; I tried adding the following to /boot/armbianEnv.txt overlays=w1-gpio param_w1_pin=21 param_w1_pin_int_pullup=0 with no luck. Do I need to modify the dtsi and rebuild, or is there an overlay that will add one wire? (the current dtsi has no entries for one wire) 0 Quote Link to post Share on other sites
chiefwigms 2 Posted July 25, 2020 Author Share Posted July 25, 2020 5 hours ago, chiefwigms said: Armbianmonitor: http://ix.io/2sgk I'm trying to upgrade from Armbian 5.32 (Xenial Next/4.4.76) and was hoping to enable 1 wire again on my Udoo. For that build, I had to add one wire modules to the kernel config, then edit the imx6qdl-udoo.dtsi to set the onewire status to okay (from disabled). In the dtsi, after udoo_ard: udoo_ard_manager it had: onewire@0 { /* example for pin 08 */ compatible = "w1-gpio"; pinctrl-names = "default"; pinctrl-0 = <&w1_gpio_pins>; status = "disabled"; /* "okay" to enable */ gpios = <&gpio1 21 0>; }; and in iomuxc, there was a section (in external_hog: hoggrp-2, MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 // pin 08): w1_gpio_pins: w1-gpio@0 { fsl,pins = < MX6QDL_PAD_SD1_DAT3__GPIO1_IO21 0x80000000 /* example for pin 08 */ >; }; I tried adding the following to /boot/armbianEnv.txt overlays=w1-gpio param_w1_pin=21 param_w1_pin_int_pullup=0 with no luck. Do I need to modify the dtsi and rebuild, or is there an overlay that will add one wire? (the current dtsi has no entries for one wire) Got a chance to look at the docs - I see that only Allwinner DT has overlay support... wahh wahh You can close this 0 Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.