Hello Stephan, nice finding!
El 23/2/19 a las 23:00, Stephan Guilloux escribió:
Hi Pablo, Found the cause for the Help problem. On CentOS, /boot/overlays/README is missing. It contains the help for all the dtoverlay commands...
I got the file from its original distro, and I put it under /boot/overlays/README.rasp for the demo: [pi@myrpi ~]$ dtoverlay -h i2c-gpio * Help file not found [pi@myrpi ~]$ sudo mv /boot/overlays/README.rasp /boot/overlays/README [pi@myrpi ~]$ dtoverlay -h i2c-gpio Name: i2c-gpio
Info: Adds support for software i2c controller on gpio pins
Usage: dtoverlay=i2c-gpio,<param>=<val>
Params: i2c_gpio_sda GPIO used for I2C data (default "23")
i2c_gpio_scl GPIO used for I2C clock (default "24")
i2c_gpio_delay_us Clock delay in microseconds (default "2" = ~100kHz)
[pi@myrpi ~]$
Unfortunatelly, the files under this folder seem to belong to no package... [pi@myrpi ~]$ rpm -qf /boot/overlays/i2c-gpio.dtbo file /boot/overlays/i2c-gpio.dtbo is not owned by any package [pi@myrpi ~]$
So, I'm stuck there, for now ...
All those files are copied by the raspberrypi kernel from /usr/share/raspberrypi2-kernel/<version>/boot/overlays (https://github.com/CentOS/sig-core-AltArch/blob/master/raspberrypi2/SPECS/ra...) and that dir also contains the missing README. I'll try to update the spec for the next kernel update
<snip>
Thanks for looking into this.
Pablo.