[Arm-dev] Different issues with "DTOVERLAY".
Pablo Sebastián Greco
pablo at fliagreco.com.ar
Sun Feb 24 10:05:12 UTC 2019
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 at myrpi ~]$ dtoverlay -h i2c-gpio
> * Help file not found
> [pi at myrpi ~]$ sudo mv /boot/overlays/README.rasp /boot/overlays/README
> [pi at 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 at myrpi ~]$
>
> Unfortunatelly, the files under this folder seem to belong to no
> package...
> [pi at myrpi ~]$ rpm -qf /boot/overlays/i2c-gpio.dtbo
> file /boot/overlays/i2c-gpio.dtbo is not owned by any package
> [pi at 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/raspberrypi2.spec#L163)
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/arm-dev/attachments/20190224/a81f297e/attachment.html>
More information about the Arm-dev
mailing list