Category Archives: Yocto

Technical discussions / howtos on Yocto / openembedded

Generate a ext4 filesystem image in Yocto

An easy way to generate a ext4 filesystem image is to add the following to conf/local.conf IMAGE_FSTYPES_append=” ext4″

Posted in Linux commandline, Yocto | Tagged , | Comments Off on Generate a ext4 filesystem image in Yocto

Using bmap-tool with wic generated images

The FSL community repository now uses the wic tool to create images in the form of core-image-x11-$(MACHINE).wic.gz To flash this file to a SD-card do the following: Install bmap-tools $ apt-get install bmap-tools .. 2. Copy to sdcard $ sudo … Continue reading

Posted in Yocto | Comments Off on Using bmap-tool with wic generated images

Using your Linux host as a opkg package server

It is very useful to have your computer working as a opkg package server in the sence that you can install packages built and test instantly instead of rebuilding the entire image. To enable this I did the following: Install … Continue reading

Posted in Yocto | Tagged , , | Leave a comment

Adding ssh password to raspberry pi

Create ssh-key ssh-keygen -t rsa -b 4096 -C “your_email@example.com” Add id_rsa.pub content to the raspberry pi .ssh/authorized_keys echo ~/.ssh/id_rsa.pub | ssh pi@192.168.1.5 “cat >> .ssh/authorized_keys Add new login part in your .ssh/config file vi .ssh/config Host pi Hostname 192.168.1.5 User … Continue reading

Posted in Yocto | Tagged , , | Leave a comment

Gerrit workflow using git-repo

This is the workflow I use when working with gerrit and git-repo Create a git-repo branch cd ~/myrepo repo start mybranch myproject Make changes and commit vim myclass.cpp git add myclass.cpp git commit -s Push to gerrit to master branch … Continue reading

Posted in Yocto | Tagged , , | Leave a comment

cntlm proxy and docker

It can be troublesome to use Linux and docker from within a Windows based IT infrastructure. To achieve this I did the following: Get the user name user=`getent passwd 1000 | cut -d ‘:’ -f1` Get the docker interface ip … Continue reading

Posted in Yocto | Tagged , , , , | Leave a comment

Replacing busybox-httpd with nginx in yocto

To replace busybox webserver with nginx follow these steps: 1. Remove CONFIG_HTTPD and CONFIG_FEATURE_HTTPD from the busybox defconfig 2. Remove any special considerations made in your busybox_XXX.bbappend regarding httpd webserver. 3. Add meta-webserver layer to your bblayers.conf BBLAYERS ?= ” … Continue reading

Posted in Yocto | Tagged , , , | Leave a comment