moksha - html5/css with qt5+snowshoe on am335x

6
Moksha - HTML5 CSS Data Visualisation Demonstration on AM335x with Snowshoe/Qt5

Upload: prabindh-sundareson

Post on 19-May-2015

744 views

Category:

Documents


1 download

DESCRIPTION

Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

TRANSCRIPT

Page 1: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

Moksha - HTML5 CSS Data Visualisation Demonstration on AM335x with Snowshoe/Qt5

Page 2: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

What is Moksha ?

• Demonstrates HTML5 capabilities of TI Sitara platforms (AM335x) with SGX

• Moksha is a simple CSS layout that showcases capability of Qt5.0.1 Webkit2 browser, and Snowshoe - QML wrapper around Webkit2. Using HTML5/CSS/JS, UIs can be developed and deployed on desktops as well as HTML5 compliant browsers available on AM335x

Page 3: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

Dependencies

• Obtain the kernel, rootfs with SGX drivers from below link:

• https://gforge.ti.com/gf/download/docmanfileversion/303/6367/16Jan-2013....

• Install Qt5.0.1 from below link:• https://gforge.ti.com/gf/download/docmanfileversion/3

08/6426/qt5.0.1_ins...• Moksha source code (HTML and CSS layout files), and

Patches for snowshoe for fullscreen, are at below repo:• https://github.com/prabindh/moksha/• Download the moksha files from this git repository into

any folder in the rootfs.

Page 4: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

Steps to run• Run the below on the Uboot command line (Note: Network is

needed for this demo as all data is obtained from remote servers):• setenv bootargs 'console=ttyO0,115200n8 root=/dev/mmcblk0p2

mem=128M rootwait ip=dhcp' setenv bootcmd 'mmc rescan; fatload mmc 0 0x82000000 uImage; bootm 0x82000000' boot

• Use username as "root", password empty• Once logged in, type below on serial console• export QT_QPA_PLATFORM=eglfs /etc/init.d/335x-demo echo

performance > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

• ./snowshoe_fullscreen file:////moksha/moksha.html

Page 5: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

Screen Snapshots

• Video snapshot of the Moksha framework running on AM335x EVM is available at,– http://www.youtube.com/watch?v=nztgCone4jI

Page 6: Moksha - HTML5/CSS with Qt5+Snowshoe on AM335x

Further information

• http://tigraphics.blogspot.com/2013/03/moksha-html5css-with-snowshoeqt501.html

• Qt5.0.0/ Qt5.0.1– http://www.gpupowered.org/node/16

• Comparison with b2g– http://www.gpupowered.org/node/17