Pramod P J

Tuesday, 1 September 2015

ISE & SDK on Ubuntu


  1. ISE / Vivado setup (64 bit OS)
    • Install ISE/Vivado......... sudo ./xsetup
    • bash /Xilinx//ISE_DS/settings64.sh 
    • PATH=$PATH:/Xilinx//ISE_DS/ISE/bin/lin64/
    • ise
  2. SDK Setup
    • Install SDK......... sudo ./xsetup
    • sudo apt-get install lib32z1 lib32ncurses5 (install ia32-libs)
    • source /Xilinx//SDK/settings64.sh 
    • PATH=$PATH:/Xilinx//SDK/SDK/bin/lin64/
    • Check CodeSourcery and see if arm-xilinx-eabi-* installed or not. If not installed, the same can be installed from .bin located in installer. Set appropriate PATH to bin folder and start SDK. 
    • xsdk
  3. To install usb drivers  
    • sudo apt-get install gitk git-gui libusb-dev build-essential libc6-dev-i386 fxload (Not required in most cases)
    • cd //Xilinx//ISE_DS/common/bin/lin64/ digilent
    • sudo ./install_digilent.sh (Accept default paths)
    • Restart udev........./etc/init.d/udev restart

Tuesday, 4 June 2013

India @ a glance !



    ?    -  1900 : External elements invaded nation in the pretext of development.

1900 - 1940 : Generation has struggled hard to get freedom (To live) & Independence (From external elements)

1940 - 1980 : Generation has done their best to sacrifice freedom (To corrupt & unethical groups) & Independence (To internal elements) in the pretext of development.

1980  -  2020 : New generation is working their best for freedom (From corruption, Violence, Poverty, etc  ) & Independence (From Internal elements).

2020 - 2060 : Seems you can guess better !

Ultimately everything appears cyclic, and it seems the basic law of nature. Enormous energy, time, & thinking has to go to change this nature of life. As this is beyond the span of humans, it requires lot of forward thinking, which this century lacks due to overgrowing infulence of less relevant information & technology !
- Pramod  

Thursday, 25 October 2012

Father Forgets by W. Livingston Larned




"Listen, son; I am saying this as you lie asleep, one little paw crumpled under your cheek and the blond curls stickily wet on your damp forehead. I have stolen into your room alone. Just a few minutes ago, as I sat reading my paper in the library, a stifling wave of remorse swept over me. Guiltily I came to your bedside.

There are things I was thinking, son: I had been cross to you. I scolded you as you were dressing for school because you gave your face merely a dab with a twoel. I took you to task for not cleaning your shoes. I called out angrily when you threw some of your things on the floor.


At breakfast I found fault, too. You spilled things. You gulped down your food. You put your elbows on the table. You spread butter too thick on your bread. And as you started off to play and I made for my train, you turned and waved a hand and called, "Goodbye, Daddy!" and I frowned, and said in reply, "Hold your shoulders back!"


Then it began all over again in the late afternoon. As I came Up the road, I spied you, down on your knees, playing marbles. There were holes in your stockings. I humiliated you before you boyfriends by marching you ahead of me to the house. Stockings were expensive - and if you had to buy them you would be more careful! Imagine that, son, form a father!


Do you remember, later, when I was reading in the library, how you came in timidly, with a sort of hurt look in your eyes? When I glanced up over my paper, impatient at the interruption, you hesitated at the door. "What is it you want?" I snapped.


You said nothing, but ran across in one tempestuous plunge, and threw your arms around my neck and kissed me, and your small arms tightened with an affection that God had set blooming in your heart and which even neglect could not wither. And then you were gone, pattering up the stairs.


Well, son, it was shortly afterwards that my paper slipped from my hands and a terrible sickening fear came over me. What has habit been doing to me? The habit of finding fault, of reprimanding - this was my reward to your for being a boy. It was not that I did not love you; it was that I expected too much of youth. I was measuring you by the yardstick of my own years.


And there was so much that was good and fine and true in your character. The little heart of you was as big as the dawn itself over the wide hills. This was shown by your spontaneous impulse to rush in and kiss me good night. Nothing else matters tonight, son. I have come to your bedside in the darkness, and I have knelt there, ashamed!


It is a feeble atonement; I know you would not understand these things if I told them to you during your waking hours. But tomorrow I will be a real daddy! I will chum with you, and suffer when you suffer, and laugh when you laugh. I will bite my tongue when impatient words come. I will keep saying as if it were a ritual: "He is nothing buy a boy - a little boy!"


I am afraid I have visualized you as a man. Yet as I see you now, son, crumpled and weary in your cot, I see that you are still a baby. Yesterday you were in your mother's arms, your head on her shoulder. I have asked too much, too much."
- W. Livingston Larned

Tuesday, 17 July 2012

Life...


"Step out of your shoes for a moment; 
think of life as a game played by millions all around.

I'm sure you'll find it more beautiful, exciting and meaningful !"

                                                                                    -- PJ

Thursday, 27 January 2011

Proximity... Money... Satisfaction... & Promotion

"There is a great relation between Proximity... Money... Satisfaction... & Promotion. We want all, but in practical all are inversely proportional with reference to time. Need for one, may lead to devastation of others."
- Pramod P J


Saturday, 2 October 2010

Setting up a heterogeneous wireless environment using Openimscore, 802.21 and Asterisk on Ubuntu 10.04: Part - 1

Through this post i'll try to explain how to setup a heterogeneous wireless voice/video calling facility in a closed environment using - OpenIMScore, Asterisk, 802.21, IMS Communicator / UCT IMS Client.

Part - 1: Setting up OpenIMSCore

Step-1
First lets setup OpenIMSCore which act as the backbone for our call session. For you need to install few dependency packages.

$sudo apt-get install ant bind9 mysql-server bison libxml2

Step-2
Now you need to download OpenIMSCore from berlios site. Try getting the latest one using 'SVN'. If you are behind a proxy make sure that you add proxy details in /etc/subversion/servers. Then create a folder named 'OpenIMSCore' in /opt. Change the ownership of the folder to your current user name using chown command and then move to the newly created folder. Once you are in the folder run the following commands to download the files from belios.

$mkdir FHoSS
$svn checkout http://svn.berlios.de/svnroot/repos/openimscore/FHoSS/trunk FHoSS
$mkdir ser_ims
$svn checkout http://svn.berlios.de/svnroot/repos/openimscore/ser_ims/trunk ser_ims


Step-3
By default the access rights set for OpenIMSCore is for local access. Now if you are planning to run clients on separate systems then replace 127.0.0.1 with your system IP address using the following script provided by openims team. I recommend you this step b'coz in future you may need to do this for calling across various clients.

$./ser_ims/cfg/configurator.sh

You can keep the home domain as open-ims.test itself as most of the client devices will be pre-configured using this url. But don't forget to change IP to the one configured on NIC.

Step-4
A sample DNS Zone file is provided by OpenIMS team:- ser_ims/cfg/open-ims.dnszone. So you only need to use it for setting up DNS Zone. Copy the file to /etc/bind and and include the following in /etc/bind/named.conf.local

zone "open-ims.test" IN {
type master;
file "/etc/bind/open-ims.dnszone";
notify no;
};


You also update the /etc/resolv.conf so as to point to the new DNS server. If you havin't played around with your ubuntu distribution much, then i feel its better to update this using GUI rather than command line.

Go to System -> Preferences -> Network Connections. Then select wired -> Auto eth0. Click on the 'edit' button and go to 'IPv4 Settings'. In the 'DNS Servers' column add your IP and in 'Search domains' add open-ims.test

Now restart bind using

$sudo /etc/init.d/bind9 restart

You can check out whether the new configuration works using dig command. Try

$dig open-ims.test

If everything work fine then this will return server as your IP address with a lot of junk info. Dont worry about its output now :) Lets move further !

Step-5
Now come back to your /opt/OpenIMSCore/ser_ims folder. Compile it using

$make install-libs all

Go to your /opt/OpenIMSCore/FHoSS folder. Compile it using
$ant compile
$ant deploy
If all your dependent softwares are installed then i hope you wont have any issues in the above step.

Step-6
Now before running your compiled code, lets setup mysql database for our OpenIMSCore. I hope you might have given proper database password. Now try the following command from your /opt/OpenIMSCore folder.

$mysql -u root -p -h localhost < ser_ims/cfg/icscf.sql
$mysql -u root -p -h localhost < FHoSS/scripts/hss_db.sql
$mysql -u root -p -h localhost < FHoSS/scripts/userdata.sql


Step-7
Using the following commands you need to copy certain files to /opt/OpenIMSCore
$cp ser_ims/cfg/*.cfg .
$cp ser_ims/cfg/*.xml .
$cp ser_ims/cfg/*.sh .
Now your OpenIMSCore setup is ready to run !

Step-8
Try running your pcscf, icscf and scscf components on separate terminals. For this you do

$./pcscf.sh
$./icscf.sh
$./scscf.sh


Make sure you do this on separate terminals.

Now you go to FHoSS/deploy folder and start startup.sh. If you are getting any errors while starting this file, it maybe because your JAVA_HOME environment variable is not set. Try setting it and rerun the same.

Now if every thing is working fine you can see on terminal that the peers are connected across each other !

Troubleshooting:

  • Setkey Command not found
Try, #sudo apt-get install ipsec-tools
  • WARNING:peer_connect(): Error opening connection to to xxx.xxx.xxx.xxx 3868 >Connection refused
Just run, #/opt/OpenIMSCore/FHoss/deploy/startup.sh

Wednesday, 28 July 2010

Into the Future.....


"At every cross road on the path that leads to the future, tradition has placed 10,000 men to guard the past."
- Maurice Maeterlinck

Labels

management lesson (28) Story (27) Success (24) Team building (21) Teamwork (11) Leadership (10) Self Management (10) info (9) Attitude (5) Behaviour (4) pilgrim (4) Inspirational (3) Tirupati (3) Tourist (3) motivational (3) Goal (2) Mahatma Gandhi (2) Manager (2) Problem (2) andhra pradesh (2) fun (2) 802.21 (1) AIRCEL (1) APJ Abdul Kalam (1) Adolph Hitler (1) Airtel (1) Ajanta (1) Alexander Graham Bell (1) Appraisal (1) Asterisk (1) BSNL (1) Bassein (1) Beatles (1) Bonnie Blair (1) Boss (1) Brooklyn Bridge (1) CDMA (1) Cabs (1) Charles (1) Datacom (1) Debian (1) Eindtein (1) Elephanta (1) Ellora (1) Elvis Presley (1) Entrepreneur (1) FHoSS (1) GSM (1) God (1) HSS (1) Hare (1) Hutch (1) Hyderabad (1) ICSCF (1) IMS Communicator (1) ISRO (1) Idea (1) Job (1) Khandala (1) Leo Tolstoy (1) Linux (1) Lonavala (1) MTS (1) Maharashtra (1) Marilyn Monroe (1) Matheran (1) Mind (1) Mistake (1) Mother Teresa (1) Murud Janjira (1) NASA (1) Never quit (1) OpenIMScore (1) PCSCF (1) Panchagani (1) Peace (1) Qualities (1) Raigad (1) Recruitment (1) Reliance (1) Resorts (1) SCSCF (1) Self Intiative (1) Seva ticket (1) Sinhagad (1) Solution (1) Sudarsanam (1) Swami Vivekananda (1) System Administration (1) Tata Indicom (1) Ten Commandments (1) Thomas Edison (1) Tortoise (1) Tutorials (1) UCT IMS Client (1) Ubuntu (1) Unitech (1) Vodafone (1) William Shakespeare (1) Wilma Rudolph (1) Xerox Corporation (1) bind9 (1) company policy (1) criticize (1) decision (1) mobilephone (1) monkeys (1) ndhra pradesh (1) ser_ims (1) trustworthy (1) wise (1)

Total Pageviews

There was an error in this gadget
There was an error in this gadget

About Me

Cochin, Hyderabad, Kerala. AP, India
I hail from Kerala, a small state in India. Currently i'm with Centre for Development of Advanced Computing, Hyderabad.