dmonty
3
Thanks that worked. I added both i2c for pin 4 5 and uart1 for ping 45 46.
ralink,group = “wdt”, “gpio”, “wled_an”, “p0led_an”, “p1led_an”, “i2s”, “i2c”, “uart1”;
GPIO pins are now responding to /sys/class/gpio commands.
However now I can’t install the 1-wire modules even though I added them as modules in make menuconfig. Even though my kernel version is the same as up-stream the kmod-w1-* packages are not installable.
root@OpenWrt:/etc# opkg install kmod-w1 kmod-w1-master-gpio kmod-w1-gpio-custom
Installing kmod-w1 (4.14.103-1) to root…
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/kmod-w1_4.14.103-1_mipsel_24kc.ipk
Installing kmod-w1-master-gpio (4.14.103-1) to root…
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/kmod-w1-master-gpio_4.14.103-1_mipsel_24kc.ipk
Installing kmod-w1-gpio-custom (4.14.103-3) to root…
Downloading http://downloads.openwrt.org/releases/18.06-SNAPSHOT/targets/ramips/mt76x8/packages/kmod-w1-gpio-custom_4.14.103-3_mipsel_24kc.ipk
Collected errors:
- satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-w1:
- kernel (= 4.14.103-1-6b7f4bb0e839f1545297907a37980184)
- opkg_install_cmd: Cannot install package kmod-w1.
- satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-w1-master-gpio:
- kernel (= 4.14.103-1-6b7f4bb0e839f1545297907a37980184)
- opkg_install_cmd: Cannot install package kmod-w1-master-gpio.
- satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-w1-gpio-custom:
- kernel (= 4.14.103-1-6b7f4bb0e839f1545297907a37980184)
- opkg_install_cmd: Cannot install package kmod-w1-gpio-custom.