Jump to content

Recommended Posts

Posted
Armbianmonitor:

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)

Posted
5 hours ago, chiefwigms said:
Armbianmonitor:

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines