Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

One Wire on UDOO

Featured Replies

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)

  • Author
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.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.