You are on page 1of 10

ii

DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING


KONGU ENGINEERING COLLEGE
(Autonomous)

PERUNDURAI ERODE – 638052

APRIL 2011

BONAFIDE CERTIFICATE

This is to certify that the Project report entitled ALL IN G-TOUCH is the
bonafide record of project work done by GOKUL.C (07CSR019),
GOMATHI.N (07CSR021) and KALAIYARASI.K (07CSR029) in partial
fulfillment of the requirements for the award of the Degree of Bachelor of
Engineering in Computer Science and Engineering of Anna university of
Technology, Coimbatore during the year 2010- 2011.

SUPERVISOR HEAD OF THE DEPARTMENT


(Signature with seal)
Date:

Submitted for the end semester viva voce examination held on_________

INTERNAL EXAMINER EXTERNAL EXAMINER


iii

DECLARATION

We affirm that the Project Report titled ALL IN G-TOUCH being submitted in
partial fulfillment of the requirements for the award of Bachelor of Engineering is
the original work carried out by us. It has not formed the part of any other project
report or dissertation on the basis of which a degree or award was conferred on an
earlier occasion on this or any other candidate.

Date:

GOKUL C
(07CSR019)

GOMATHI N
(07CSR021)

KALAIYARASI K
(07CSR029)

I certify that the declaration made by the above candidates is true to the best of my
knowledge.

Name and Signature of the Supervisor with seal

Date
iv

ABSTRACT

Browsing, Video playback, Chatting and Music playing are becoming the

need of every man in today’s world. People expect everything to be at a single

place. Green Touch device is designed to satisfy the above needs. Power

conservation is the need for the day. In the G-Touch device the power is reduced

to just 3 watts instead of 300 watts. The device is also compact and it dissipates

less heat than a computer. G-Touch does not require any cooling device. The

functionalities of the device includes TV interface, monitor interface, video

playback, chatting and especially browsing. The USB interface provides interface

to keyboard, mouse and also storage devices.

Beagle board with ARM architecture is used as the development platform

board. The processor used in G-touch is OMAP DM3730. The user interface,

which is the most attractive part in the G-touch, has been designed using Python

programming language. A product like this at low cost could make this as the

optimum device in many fields.


v

ACKNOWLEDGEMENT

Owing deeply to the supreme, we extend our sincere thanks to the

Almighty, the great architect of the universe, who has blessed us to come out

successfully with our project. We take extreme pleasure to express our deep

sense of gratitude to our beloved parents.

We extend our hearty gratitude to our honorable Correspondent

Thiru.R.K.Vishwanathan, B.A., and other philanthropic trust members for having

provided us with all necessary infrastructure to undertake this project. We extend

our sincere thanks to our beloved Principal, Prof.S.Kuppuswami, B.E., M.Sc

(Engg)., Dr.Ing (France), for his consistent encouragement throughout our

college days.

We extend our sincere and profound thanks to our Dean,

Prof.S.Balamurugan, B.E., M.Sc (Engg)., for his valuable suggestions in the

successful completion of this project. We express our deep sense of gratitude to

Prof.N.Jayapathi, M.Tech., Head of the Department, for the constant support

provided all through the course of our project.

We also express our sincere thanks to our project co-ordinators

Dr. S.Malliga, M.E., Ph.D., Assistant Professor and Ms.PCD.Kalaivaani, M.E.,

Senior Lecturer, for their constant encouragement for the development of our

project. We take immense pleasure to express our heartfelt thanks to our Guide

Dr.S.Malliga, M.E., Ph.D., Assistant Professor, for her valuable guidance for this

project.
vi

TABLE OF CONTENTS

CHAPTER No. TITLE PAGE No.

Abstract iv
List of Tables ix
List of Figures x
List of Symbols xi

1. INTRODUCTION 1

2. LITERATURE REVIEW 3

3. BEAGLEBOARD 7
3.1 INTRODUCTION 7
3.2 BEAGLEBOARD SPECIFICATION 8
3.2.1 Beagleboard features 8
3.2.2 OMAP processor 9
3.2.3 Memory 9
3.2.4 Power connector 9
3.2.5 Stereo audio output connector 9
3.2.6 Stereo audio input connector 9
3.2.7 S-Video connector 10
3.2.8 DVI-D connector 10
3.2.9 Micro SD connector 10
3.2.10 RS232 DB9 connector 11
3.2.11 Beagleboard mechanical
specifications 11
3.3 BEAGLE BOARD SYSTEM
ARCHITECTURE AND DESIGN 11
3.3.1 System block diagram 11
vii

3.4 DM3730 PROCESSOR 12


3.4.1 Overview 13
3.4.2 SDRAM bus 14
3.4.3 DSS bus 14
3.5 ONBOARD USB HUB 14

4. BEAGLEBOARD HOOKUP 16
4.1 CONNECTING USB OTG 16
4.2 CONNECTING OPTIONAL POWER 16
4.3 CONNECTING SERIAL CABLE 17
4.4 CONNECTING S-VIDEO 17
4.5 CONNECTING DVI-D CABLE 17
4.6 CONNECTING STEREO OUT CABLE 18
4.7 CONNECTING STEREO IN CABLE 19
4.8 MICRO SD CONNECTION 19

5. BOOTING AND OPERATING


SYSTEM INSTALLATION 20
5.1 BUILDING THE WORKING
ENVIRONMENT 20
5.1.1 Sourcing components 20
5.1.2 Setting up the console 21
5.2 OS PORTING 24
5.2.1 Formatting the memory card 24
5.2.2 Porting bootloaders 25
5.2.2.1 U-Boot configuration 25
5.3 PORTING UIMAGE AND UINITRD 26
5.4 U-BOOT BOOTARGS 26
5.4.1 Beagle Bx/Cx 27
5.4.2 Beagle XM 27
5.4.3 Creating *.scr file for U-Boot 28
5.5 POPULATING THE ROOT FILE
SYSTEM 28
viii

6. INSTALLING ADDITIONAL PACKAGES 29


6.1 INSTALLING THE CROSS COMPILER 29
6.2 SETTING UP THE CROSS
COMPILING ENVIRONMENT 31
6.3 BUILDING PACKAGES FROM
SOURCE 31

7. DEVELOPING FRONT END GUI USING


PYTHON 32
7.1 INTRODUCTION 32
7.2 WHY PYTHON 33
7.3 INSTALLING PYTHON 33
7.4 TKINTER 34
7.4.1 Creating window 34
7.4.2 Definitions 35
7.4.3 Images 36
7.4.3.1 The bitmapImage class 36
7.4.3.2 The photoImage class 36
7.4.4 The button widget 37
7.4.5 The frame widget 38
7.4.6 The listbox widget 38
7.4.6.1 Methods 39
7.5 EVENTS:RESPONDING TO STIMULI 39
7.5.1 Levels of binding 40

8. CONCLUSION 42
8.1 CONCLUSION 42
8.2 FUTURE WORK 42

REFERENCES 43
ix

LIST OF TABLES

TABLE No. TITLE PAGE No.

2.1 Common STB terminology 3


3.1 BeagleBoard Features 8
7.1 Options supported by buttons 37
x

LIST OF FIGURES

FIGURE No. TITLE PAGE No.

3.1 BeagleBoard 7
3.2 BeagleBoard High Level Block Diagram 12
3.3 AM37x Block Diagram 13
3.4 USB Hub Block Diagram 15
4.1 S-Video Interface 17
4.2 DVI-D Interface 18
4.3 Audio Circuitry 19
5.1 Minicom Configuration Menu 21
5.2 Minicom Serial Port Setup Menu 21
5.3 Minicom Welcome Message 22
5.4 X-Loader and U-Boot 23
7.1 Tk Window 35
xi

LIST OF SYMBOLS

ARM - ADVANCED RISC MACHINE/ ACORN RISC MACHINE


BB - BEAGLEBOARD
CD - COMPACT DISC
DTV - DIGITAL TELEVISION
DVD - DIGITAL VIDEO DISC OR DIGITAL VERSATILE DISC
DVI - DIGITAL VISUAL INTERFACE
GCC - GNU COMPILER COLLECTION
GPIO - GENERAL PURPOSE INPUT/OUTPUT
GPU - GRAPHICS PROCESSING UNIT
HDMI - HIGH-DEFINITION MULTIMEDIA INTERFACE
IPG - INTERACTIVE PROGRAM GUIDES
ITV - INTERACTIVE TELEVISION
JTAG - JOINT TEST ACTION GROUP
MMC - MULTIMEDIACARD
MPEG - MOVING PICTURE EXPERTS GROUP
NTSC - NATIONAL TELEVISION SYSTEM COMMITTEE
OMAP - OPEN MULTIMEDIA APPLICATION PLATFORM
OTG - ON THE GO
PAL - PHASE ALTERNATE LINE
POP - PACKAGE ON PACKAGE
RISC - REDUCED INSTRUCTION SET COMPUTER
SD - SECURE DIGITAL
SDTV - STANDARD-DEFINITION TELEVISION
SPI - SERIAL PERIPHERAL INTERFACE
STB - SET-TOP BOX

You might also like