<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="-1"><font face="Courier New, Courier, monospace">Hello
Stephan, nice finding!</font></font><br>
</p>
<div class="moz-cite-prefix">El 23/2/19 a las 23:00, Stephan
Guilloux escribió:<br>
</div>
<blockquote type="cite"
cite="mid:CAFHXJCYiLKMtYBJv0XHre+h-_4xeM5se27+++bb9FAhc5VX36A@mail.gmail.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Hi Pablo,</div>
<div>Found the cause for the Help problem. <br>
</div>
<div>On CentOS, /boot/overlays/README is missing. It
contains the help for all the dtoverlay commands...</div>
<div><br>
</div>
<div>I got the file from its original distro, and I put it
under /boot/overlays/README.rasp for the demo:</div>
<div> [pi@myrpi ~]$ dtoverlay -h i2c-gpio<br>
* Help file not found<br>
[pi@myrpi ~]$ sudo mv /boot/overlays/README.rasp
/boot/overlays/README<br>
[pi@myrpi ~]$ dtoverlay -h i2c-gpio <br>
Name: i2c-gpio<br>
<br>
Info: Adds support for software i2c controller on gpio
pins<br>
<br>
Usage: dtoverlay=i2c-gpio,<param>=<val><br>
<br>
Params: i2c_gpio_sda GPIO used for I2C data
(default "23")<br>
<br>
i2c_gpio_scl GPIO used for I2C clock
(default "24")<br>
<br>
i2c_gpio_delay_us Clock delay in
microseconds<br>
(default "2" = ~100kHz)<br>
<br>
[pi@myrpi ~]$ <br>
<br>
</div>
Unfortunatelly, the files under this folder seem to belong
to no package...</div>
<div dir="ltr"> [pi@myrpi ~]$ rpm -qf
/boot/overlays/i2c-gpio.dtbo <br>
file /boot/overlays/i2c-gpio.dtbo is not owned by any
package<br>
[pi@myrpi ~]$ <br>
<br>
</div>
<div dir="ltr">
<div>So, I'm stuck there, for now ...</div>
</div>
</div>
</div>
</blockquote>
All those files are copied by the raspberrypi kernel from
/usr/share/raspberrypi2-kernel/<version>/boot/overlays
(<a class="moz-txt-link-freetext" href="https://github.com/CentOS/sig-core-AltArch/blob/master/raspberrypi2/SPECS/raspberrypi2.spec#L163">https://github.com/CentOS/sig-core-AltArch/blob/master/raspberrypi2/SPECS/raspberrypi2.spec#L163</a>)
and that dir also contains the missing README. I'll try to update
the spec for the next kernel update<br>
<blockquote type="cite"
cite="mid:CAFHXJCYiLKMtYBJv0XHre+h-_4xeM5se27+++bb9FAhc5VX36A@mail.gmail.com">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div><br>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr"><snip><br>
<br>
<br>
</div>
</div>
</blockquote>
Thanks for looking into this.<br>
<br>
Pablo.<br>
</body>
</html>