Page 3 of 3

Installing GIT on Ubuntu 12.04

Using apt-get install Use the below command on your ubuntu terminal: Installation from source code But at times you want to install a particular version…

Continue reading → Installing GIT on Ubuntu 12.04

Auto, static and global variable in C/C++ programming

  Auto variable An auto variable is a variable which is declared within the scope of a function. We call it local variable as well.…

Continue reading → Auto, static and global variable in C/C++ programming

How to add/compile a kernel module as a new buildroot package

The content explains how to integrate an external kernel device driver as a new package in the Buildroot system, named "xyz." It involves creating a directory for the package and two essential files, Config.in and xyz.mk, which define package configuration and build instructions. The Config.in file sets up package options, while xyz.mk specifies module version, site, license, and build commands. Modifications are required in the main Buildroot Config.in file to include the new package, making it visible in the menuconfig. Finally, it outlines necessary adjustments in the source code's top-level Makefile for successful integration.

How to modify kernel command line

[/contact-form] You can modify the kernel command line from the below dts file: ~/repos/solaris_src/linux/arch/mips/boot/dts/xyx/xyz.dts chosen { - bootargs = "console=ttyS0,115200n8 loglevel=8 earlycon=uart8250,mmio32,0x1CC40000,115200 rootwait ro"; +…

Continue reading → How to modify kernel command line

How to import a python script within another python script

Let's say I have a python script called my_module.py in the location ~/junk/my_test/script/lib/. The my_module.py has a very trivial function called my_print() which just prints "Hello…

Continue reading → How to import a python script within another python script

How to run an external program from a python script

This is a demonstration how a python script can be used to automate the running of an external program which takes data file as input. The data file can be spread over differnet folders in the machine. The script goes to the data file location, extracts the name of each file in the folder and then passes the data file to the external binary.

Efficient Source Code Management Using Vim and Cscope

The author emphasizes that Vim, especially when used with Cscope and Ctags, is invaluable for navigating large Linux codebases. A guide is provided with steps for effective setup, including database location, exclusion of unnecessary directories, and enabling Cscope navigation in Vim. The focus is on enhancing developer productivity and code management.

Extremely delighted to start off with my new client.

It's been a new challenge, a new fresh energy was required and I am putting all into my new assignment. It's been two weeks now…

Continue reading → Extremely delighted to start off with my new client.