Middleware Libraries Archive

How to enable Wifi with yocto

If you want to have WiFi integrated with yocto root filesystem, follow below mentioned steps, Open file, meta-mylayer/images/mydistro-image.bb and add below mentioned line, DISTRO_FEATURES += "wifi" This will add wifi into the root filesystem but unless you have a proper network manager and UI,...Read More

How to add locale into embedded yocto root filesystem

Recently we faced some issues with locale and when debugged using strace it shows following error open("/usr/share/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/X11/locale/locale.dir", O_RDONLY) = -1 ENOENT (No such file or directory) open("/usr/share/X11/locale/locale.alias", O_RDONLY) = -1 ENOENT (No such file...Read More

How to add timezone info to root filesystem using yocto

Recently while debugging some issues we found that we were missing timezone related files into yocto root filesystem, the debugging with strace shown the following error, open("/usr/share/zoneinfo/UTC", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) The poky has a recipe for compiling the...Read More

Understanding libusb

How data can be transferred on the bus. To transfer data to or from a device, first a handle needs to be obtained to the device. libusb is a user-level library that may be used to implement client-side functionality for USB on Linux. libusb...Read More