moksha - html5/css with qt5+snowshoe on am335x
DESCRIPTION
Moksha - HTML5/CSS with Qt5+Snowshoe on AM335xTRANSCRIPT
Moksha - HTML5 CSS Data Visualisation Demonstration on AM335x with Snowshoe/Qt5
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
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.
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
Screen Snapshots
• Video snapshot of the Moksha framework running on AM335x EVM is available at,– http://www.youtube.com/watch?v=nztgCone4jI
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