[yocto] [meta-raspberrypi] Problem enabling w1-gpio

Markus W markus4dev at gmail.com
Fri Oct 5 04:12:59 PDT 2018


Hi!

I'm creating a yocto image (sumo) for the raspberrypi and got stuck on how
to enable the one-wire interface on boot.

I have enabled the SPI bus and I2C in my local.conf file.

ENABLE_SPI_BUS = "1"
ENABLE_I2C = "1"

and checked that they are loaded on boot.

I'm struggling to figure out where to set  "dtoverlay=w1-gpio" and how to
enable the w1-gpio module on boot. The /boot/config.txt file doesn't exist
by default after startup. If I create this file with the line above
directly on the rpi and reboot it, the w1-gpio interface is still not
enabled.

What is the proper way to do this?

Thanks for any help!

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20181005/9a73979c/attachment.html>


More information about the yocto mailing list