Face to Face with Panda(board)

Posted: April 1, 2012 in Kreeps
Tags: , , , ,

Panda obviously has and edge over beagle board. So building a small OpenCV project on Panda-board became my first face off with it.

Having a little experience with beagle board, i saved little time in things like installing headless ubuntu for Panda-board. But still Google this time even proved to be my friend.

I am feeling much more excited after working on Panda-board, so it would be an insult to the board if don’t upload its image here. So here i go…..

                                                                                    

🙂

So now let me note down the steps I followed (omitting the googling part )

(these steps are same as you may find from some other resource.

To install headless Ubuntu on PandaBoard:

1) First of all you need to download the image of ubuntu ARM 11.04 available here. Now this is a headless ubuntu. I call it headless because simply it has no GUI. Since i wont attach any monitor or other screen with my panda-board so i don’t need GUI support. You can also download this image using terminal :

vipul@kreezire:$ wget http://cdimage.ubuntu.com/releases/11.04/release/ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz

2) Now get a SD card of at-least 4GB (preferably 8GB) and insert it into your card reader connected with computer.

3) check that your card is not mounted. If it is mounted ….unmount it as:

vipul@kreezire:$ umount /dev/sdX

where X is the letter of your drive.

4) Now install

vipul@kreezire:$ sudo sh -c ‘zcat ubuntu-11.04-preinstalled-headless-armel+omap4.img.gz > /dev/sdX’

Now it will take some time. So wait and then ahoe its done….

So this the all stuff i did for installing Ubuntu for PandaBoard.

Now comes the turn to install openCV 2.3.1

this is similar as I would have done for my PC

1) Make a folder  “opencv” and then download the source code into it

mkdir opencv
cd opencv/
wget http://sourceforge.net/projects/opencvlibrary/files/opencv-unix/2.3.1/OpenCV-2.3.1a.tar.bz2

2) Unpack

tar -xjf ./OpenCV-2.3.1a.tar.bz2

3) Configure and build OpenCV:

mkdir release
cd release
cmake -DCMAKE_BUILD_TYPE=RELEASE  -DWITH_QT=ON -DWITH_FFMPEG=OFF  -DWITH_GSTREAMER=OFF -DWITH_PYTHON=OFF -DWITH_GTK=OFF ../OpenCV-2.3.1a.tar.bz2
make
sudo make install

Yo Done…!!!!

Now you can build sample program for OpenCV ( but keep in mind this ubuntu is headless)

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s