Sharing Knowledge

How to install vagrant in Debian 8

- The first step is to download the vagrant and virtualbox from its website. Update the apt sudo apt-get update And install the kernel headers, kernel headers are needed by virutal box to comile some modules sudo apt-get install linux-headers-amd64 Install virtualbox and vagrant deb package sudo dpkg -i virtualbox-5.1_5.1.18-114002-Debian-jessie_amd64.deb sudo dpkg -i vagrant_1.9.3_x86_64.deb Run below command to install any missing dependacy of above deb packages. sudo apt-get -f install Now vagrant and virtual box are ready for use Read More

How to Add Audio sound card support in Android

- This notes explains how to add audio sound card support in Android OS. It is assued that you have a working ALSA driver for your sound card and it is getting listed as a alsa sound card. Here is the output of registed card in a IMX6 SBC. # cat /proc/asound/cards 0 [imxaudiobtlsr ]: imx-audio-btlsr - imx-audio-btlsr imx-audio-btlsr 1 [wm8750audio ]: wm8750-audio - wm8750-audio wm8750-audio 2 [imxhdmisoc ]: imx-hdmi-soc - imx-hdmi-soc imx-hdmi-soc My aim is to integrate the wm8750audio sound card with Android OS and get it working. Read More

Resource for learning ITSec

- Here are the list of Resource for learning ITSec Read More

Yocto - building a package with bitbake

- To build a package in yacto that command is simple bitbake foo foo - name of the package without any extension or version number. To clean a package from tmp dir, bitbake -c clean foo It is very useful if you work on a new .bb recipe. Without it your changes to the recipe may not work. During development there will be times when you need to execte only certain task in the package building steps. Read More

[Solved] arm-linux-gnueabihf-gcc: No such file or directory

- I installed Debian 8, just moved from Ubuntu 14.04 LTS. After which the ARM cross compiler failed to work The error message was No such file or directory, which looks strange also misleading. $ ./arm-linux-gnueabihf-gcc bash: ./arm-linux-gnueabihf-gcc: No such file or directory [or] $ /opt/arm-tools/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-gcc bash: /opt/arm-tools/gcc-linaro-arm-linux-gnueabihf-4.8-2014.03_linux/bin/arm-linux-gnueabihf-gcc: No such file or directory I tried lots of thing, permissions, path setup, and soon. Nothing worked While troubleshooting I just found the binary was compiled for 32bit system, Wow that was the clue. Read More

My bash prompt

- I used below entry in ~/.bashrc file PS1='\[\033[0;32m\]\[\033[0m\033[0;32m\]\u @ \h\[\033[0;36m\]\[\e[1;91m\]$(__git_ps1)\[\033[0;32m\] \[\033[0;36m\][\w]\n\[\033[0;32m\] └─\[\033[0m\033[0;32m\] \$\[\033[0m\033[0;32m\] ▶\[\033[0m\] ' The output is simiplar to below, inside the bracket is the branch name and followed by the current path. mohamed @ turnip (master) [~/project/vagrant] └─ $ ▶ Read More