Un welcomed in church

Born in a christian family, oh no i will be very specific. Born in pentecostal family and raised in church like little Samuel. The very sound of church choir, cleanliness, presence of invisible God gives joy and smile in face. Toiling through entire week and entering his presence for thanks giving on Sunday, the feeling beyond expressing.

I hail from a place where religious freedom is very limited, chaos every where. Just being a christian is great achievement by itself :). You may be thinking i am just exaggerating, but no.

The day on calendar was July 18th 2014, pleasant evening chatting with my friends. I got a call from my senior manager, “ Hi J. , How are you. I have a surprise for you. You are traveling to USA for a project. And it will be 6 months”. I rushed to the washroom and washed my face, just to make sure I am not dreaming, Oh yeah. The chase started to complete my travel packing and buying accessories. My mom gifted me bible, and rest all useful things, i guess.

I was happy that i am going to enjoy religious freedom, prayer groups, support groups. I landed on August 13th 2014 in Atlanta, the place where equality gave birth to. Jet lags, paper works, new climate, unknown place, food all bundled up to be a great goliath. My sister was gracious to invite me to her place and wanted me to attend the church on Sunday.

Pumped up with excitement and anticipation, got up early and readied myself to church. The church started at 10 AM and ended just within hours. I was in shock that the service was short. People rushed out to greet every one, as a new member to the church i was invited for a complimentary drink, i guess.

Sister was excited to see her brother after a long time wanted to introduce to pastor. I am 165cm height, brown, slim.. pastor was 195 cm, heavy, fair basically like a goliath. My sister introduced me to pastor and told him my credentials. The pastor looked down, i mean literally and said just “Hello”,  went away like nothing significant happened. I was wondering what have i done ? I asked my sister, she was silent.  This question kept on lingering in my mind the entire night. I could not get my head around this meeting, bible says simon was excited to see young jesus in church. Oh yeah he is jesus.

I was expecting a warm embrace from fellow christian or a shepherd, may be i am not his sheep. I was thrown off balance on christian faith, all along my life i was wrong about everything or wait am i overreacting?, May be. So i decided to visit another church next Sunday. The next church was closer to my residence and convenient to walk. The church started at 10AM and i was there until the end, you’re thinking i am waiting for complimentary drinks, oh hell yeah. I was directed to closed room, drinks severed, pastor came said “Hello everyone”… boom gone.

I liked the worship so decided to attend next Sunday. This time i was second time guest, so no drinks :). Service got over by 12PM, people gathered to discuss all stuff. I started conversations with few people and i felt lonely, because people talking only to their closed groups. I felt like i was in a desert and no christian to talk. I have attended many churches close to my vicinity, but no groups wanted to welcome me. Am i invisible ? What happened to christ love ?

Religiosity, ritual, groups have taken hold of our churches. The first church in ACTS, people were meeting in houses and breaking bread every day to remember the body of christ. No matter what color, gender, race, social status, if we are washed by blood of christ we are his children.

There are so many people like, who went through persecution needs to be embraced and welcomed in churches. So my search continues to find a church which welcomes me in-spite of my race, color, height, social status.

I am un-welcomed in church.


Auto login in TI-SDK, Am335x

I have been working with TI-SDK for past two years and every time i come across some interesting trivia posed by the systems engineers 🙂 . One of such request was to enable automatic login in tisdk. The idea is to lead the user directly to command prompt after kernel boot up. I tried several approaches over weeks, and zeroed in on the following simpler approach.

I am going to run through serious of steps followed to enable auto login in tisdk or embedded linux.

The setup which I used:

Version : TISDK 7.0

Hw: AM335x

Rootfs: Hosted on Network file system on ubuntu [ which is a guest OS on Vmware]

Firstly I need a configuration file for setting username and password. I can just hard code in the tool but want to give user the control.

The configuration file looks like:

#cat /etc/autologin.profile


Then I wrote a small tool to read the username and password from configuration file and use /bin/login for login to the shell..

// Autologin.c

// GPL, Author: Johnnie J. Alan

#include <unistd.h>
#include <stdio.h>

int main()
int nrv = 0;
FILE* fptr = 0;
char user[64];

char pass[64];

// clear buffer

// open autologin profile file
fptr = fopen(“/etc/autologin.profile\0″,”r\0″);

// make sure the file exists and was opened
if (fptr != 0)
// the return value from fscanf will be 1 if the autologin profile name is read correctly
nrv = fscanf(fptr,”%s,%s\0”,user,pass);

// only autologin if the profile name was read successfully,
// otherwise show the regular login prompt
if (nrv > 0)
nrv = execlp(“login”,”login”,”-f”,user,0);
nrv = execlp(“login”,”login”,”\0″,pass,0);

return 0;

Note: you can change this according to your needs

I cross compiled the tool for ARM and placed the compiled tool in /sbin

arm-linux-gnueabihf-gcc -o autologin autologin.c

Then I changed the init scripts to reflect the changes, basically setting up getty. My setup uses Uart0 port for console.

The configuration for the console is present in /etc/inittab. The changes which I made is highlighted below.

#Johnnie S:2345:respawn:/sbin/getty 115200 ttyO0

The file myloginShell is just used for my configurations, the idea is to isolate my changes from the defaults.

The contents of the myloginShell is


# I have removed some of other configuration which is not relevant for this post.

if [ $showLogin -eq 1 ]; then
while true; do
# This is line which is important. ttyO0 indicates by Uart0 console port

# I am asking getty to use my tool instead of /bin/login which is default.
/sbin/getty -n -l /sbin/autologin 115200 ttyO0
if [ “$exitCode” = “129” ]; then
stty -echo

Viola, You have the setup ready to automatic login.

You can also do the same in inittab itself.

#Johnnie S:2345:respawn:/sbin/getty 115200 ttyO0
S:2345:respawn:/sbin/getty -n -l /sbin/autologin 115200 ttyO0

Thanks for reading this post and Happy logging.