Odroid M1: device tree overlays - PWM on GPIO pins

Hi there,

i’m tinkering around with hardkernels Odroid M1 for quite a bit now. Today I wanted to start using the GPIO pins, so I successfully built a package with hardkernels version of wiringpi. Result is, that I can access the GPIOs yeah but can’t get them to be configured as PWM output pins, which is what I want to do. The Error message reads as follows:

[saruman@Isengard ~]$ sudo gpio mode 7 pwm
config pwm dtb overlays

Digging further, I noticed, that PWM has to be enabled with a device tree overlay. Since the corresponding *.dtbo files seem not to be part of Manjaro Arm, I copied them from an Armbian Image and tried to load them by adding the following line in extlinux.conf:

FDTOVERLAYS /dtbs/rockchip/overlay/rockchip-pwm2.dtbo

Unfortunately, this did nothing. I don’t know what to try next and I don’t even know if loading of the dtbo failed or not (can’t find a log which could tell…). Has anybody had more luck with something like that?

Any help is highly appreciated :slight_smile:
Andi