<<

Buildi ng an em be dde me dica l dev ice using the Texas Instruments Zoom™ OMAP35x Development Kit from Logic

Webinar Series

Session 2 EKG device—meeting application requirements and objectives through rapid development with LinuxLink and open source middleware

We will start our webinar in few minutes.

www.timesys.com ©2009 TimeSys Corp. 2 Series Overview Session 1 Project fast track – development environment and small footprint platform for the OMAP-3530

https://linuxlink.timesys.com/dev_center/zoom_omap35x

Session 2 – today EKG device—meeting application requirements and objgppjectives through rapid development with LinuxLink and open source middleware

SiSession 3 – Sept emb er 29, 2009 11: 30am EST System debugging and testing with the OMAP35x

www.timesys.com ©2009 TimeSys Corp. 3 Agenda – Session 2 Recap of what we have done so far

Install Nokia’s development tools on the host

Qt/Embedded for Linux primer

Imppppqlement application requirements • Add needed features to the RFS • Patch the Linux kernel • Reconfigure Linux kernel

Create a simple patient care system • Code and test locally • Cross-compile for OMAP3530

Deploy system on an SD card

www.timesys.com ©2009 TimeSys Corp. 4 What we have accomplished Built a starting point with Online Factory • Experiment on day one with a pre-built starting point Modified Linux kernel using desktop tools • Optimized for footprint • OiidOptimized for fast boot Altered root filesystem • Removed unneeded startup scripts Deployed the system on target with network mounted RFS • Transferred images via TFTP • Configured bootloader for autoboot • Booted the Linux kernel using NFS

www.timesys.com ©2009 TimeSys Corp. 5 /Embedded for Linux

Modular approach Each additional functionality can be enabled by specifying module to be added Core classes provide the blibaseline GUI building tools Can run with or without X Can be easily ported from other OSs

www.timesys.com ©2009 TimeSys Corp. Qt Framework – LinuxLink Integration

Web browser (, ) User Applications

pplications Multimedia player A A () LinuxLin

Window Manager Media Services Web Services Web Server JVM Flash Mail VOIP

(Matchbox) (Gstreamer, (rest) (httpd, boa) jamvm (gnash) services Asterisk k Framework I ) Classpath UI Services OpenGL Message bus GPS Sensors Device Sync Bluetooth () (D-bus) (tango) (lm_sensors) (gUPnP) (bluez) GTK+ QT Middleware

X !18N Rendering Location Services Codecs Embedded DB OpenSSL Ser ntegration Clutt er CiCairo () (geoclue) (SQLite) (3D) (2D) v Security v ices s s

Power Memory Audio Display Touch Keypad Camera Network Wifi Bluetooth USB Mgmt Mgmt ALSA DirectFB Sceen Stack

Battery ROM/ Flash Audio LCD SD/MMC Real Multi- Watchdog I2C/SPI HW Specific Kernel & Driver RAM Time core Timer Drivers

Tools

www.timesys.com ©2009 TimeSys Corp. 7 Product requirements

User Application(s)

Packages Scripts Root Filesystem -Qt embedded -App autostart Scripts -Alsa -… -Busybox Packages -… Linux Kernel LCD/ Audio Framebuffer

Bootloader

Hardware

www.timesys.com ©2009 TimeSys Corp. Platform adjustments 8 Linux kernel • Verify that the needed device drivers are enabled: – Framebuffer – Audio Root filesystem • Add the fo llow ing pac kages to the RFS defi niti on ƒ qt-embedded ƒ qt-example ƒ alsa-utils ƒ tslib

Create and integrate an overlay that includes

• Patientcare application • Startup script

www.timesys.com ©2009 TimeSys Corp. Qt Creator IDE 9 Download http://qt.nokia.com/downloads Installation - Change file perm iss ions - Launch the installation

Run

# qtcreator

www.timesys.com ©2009 TimeSys Corp. Application 10 Compilation • Host (initial GUI testing) Use QtCreator framework • Target (Cross-Compiled) $ export PATH=/installdir/toolchain/fake/bin:/installdir/toolchain/bin: /ins ta lldir /too lc ha in /s bin: /ins ta lldir/t ool ch ai n/ usr/bi n:/i nst alldi /t ool ch ai n/usr/sbin:$PATH $qmake -spec /installdir/toolchain/usr/share/mkspecs/qws/timesys-linux-g++ $make

NOTE: In both cases binaries will be created in the top subdirectory

www.timesys.com ©2009 TimeSys Corp. 11 Deployment Create two partitions on an SD card • Use your host machine • The two par titions s hou ld incl ud e: 1 - boot partition: 4 blocks 2 - root filesystem partition: remaining blocks • Use the following commands: – fdisk – create partitions – mkfs – create filesystems

Partition contents (mount and copy) • Boot – Lolo bootloader – Uboot – Autoboot script – Linux kerne l • RFS – Integrated filesystem with an overlay

www.timesys.com ©2009 TimeSys Corp. What we have accomplished today 12 Installed IDE tools

Developed the GUI based application with Qt Creator • Compiled locally • CCossross-comp iled fo r t he O MAP35 x

Altered root filesystem • Added packages needed by our application • Integrated an overlay – Patientcare application – Startup script

Verified Linux kernel drivers

Deployed the system on an SD card

www.timesys.com ©2009 TimeSys Corp. 13 Next Time Session #3 is scheduled for Tuesday, September 29th at 11:30am EST

Subject: System debugging and testing with the OMAP3530 Zoom Kit

• Build our system for debugging

• Remotely debug application • Verify ytequatyotesouto the quality of the solution wit h a atestae testware • Setup nightly build system based on the Desktop Factory

• more fun to come…

www.timesys.com ©2009 TimeSys Corp. 14 How Do I Learn More?

Go to www.timesys.com to learn more • Webinars • LinuxLink Radio Podcasts • Request a Free Factory Test Drive

Schedule a more detailed introduction/training session • WebEx • Face-to-face

www.timesys.com ©2009 TimeSys Corp.