tag:blogger.com,1999:blog-77600855811423016112024-03-14T02:07:29.036-07:00Martin brookvgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.comBlogger12125tag:blogger.com,1999:blog-7760085581142301611.post-20728991198967216732014-01-01T07:32:00.000-08:002014-01-01T07:32:33.923-08:002013 year of the Sailfish<h2 style="text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;">2013, year of the Sailfish</span></h2>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Just a few highlights on this years hacking.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">As the title of the blog says it really was the year of the Sailfish starting in February with the launch of the Sailfish SDK. This provided a couple of VM's and integration to Qt creator allowing developers a first look at Sailfish API's. Apps could be developed run and within an emulator. I played around with this but my skills as a Qt/QML developer were embryonic but I managed to take some existing code and port to Sailfish. </span></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/TMJ6oq1EUY0?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Sailfish had been demonstrated on the Nokia N950 by Jolla folks and I was keen to run something up on a real device and the SDK release gave me my first opportunity to do this. By talking the SDK x86 packages along with the device adaptation packages from the ExoPc and O2 Joggler I was able to run up the emulator up on real hardware. </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/q1rGLT8oblE?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div style="text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/T4bj2Dcvw9I?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<br /></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">In April Carsten Munk published </span><a href="http://mer-project.blogspot.co.uk/2013/04/wayland-utilizing-android-gpu-drivers.html">http://mer-project.blogspot.co.uk/2013/04/wayland-utilizing-android-gpu-drivers.html</a> <span style="font-family: Arial, Helvetica, sans-serif;">which described well the problems of the 'binary blob' in device adaptation and described a way of utilising Android hardware adaptations with a regular libc linux userspace. Called libhybris this was to be the foundation of the software stack used on the Jolla phone announced in September and which started shipping to customers at the end of November. His blog post and follow ups go into much of the details behind libhybris, wayland and qt5-wayland compositor.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;">Having suffered with the 'binary blob' situation on many of my projects over the years I was keen to learn more and Carsten as always keen to help me in this. His target for initial development was a HP Touchpad (qualcom adreano) and I was able to reproduce his results on cubieboard (mali). Shown below is a Qt5 demo running on cubieboard.</span></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/4PEIg6wOgWY?feature=player_embedded' frameborder='0'></iframe></div>
<div class="separator" style="clear: both; text-align: left;">
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">This opened the doors for a move to Qt5 / Wayland for lipstick (the nemomobile compositor) and in July nemomobile started to switch </span><a href="https://lists.sailfishos.org/pipermail/devel/2013-July/000473.html">https://lists.sailfishos.org/pipermail/devel/2013-July/000473.html</a> <span style="font-family: Arial, Helvetica, sans-serif;">. In August Qt5 version of the Sailfish SDK was released </span><a href="https://lists.sailfishos.org/pipermail/devel/2013-August/000502.html">https://lists.sailfishos.org/pipermail/devel/2013-August/000502.html</a><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">In October a further SDK update was released </span><a href="https://lists.sailfishos.org/pipermail/devel/2013-October/000845.html">https://lists.sailfishos.org/pipermail/devel/2013-October/000845.html</a><span style="font-family: Arial, Helvetica, sans-serif;"> which among other things added arm support. This enabled my to do a similar hack to the Sailfish SDK on ExoPc but this time on the cubieboard.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/6FJkawb4xhA?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">In November the Jolla phone was launched and this again allowed access to the packages required to do a port to N950. This port uses the nemomobile N950 adaptation packages and runs quite well considering the age of this target. I received my real Jolla in December which I'm loving to bits. See it here with the N950 port.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<object width="320" height="266" class="BLOGGER-youtube-video" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data-thumbnail-src="http://i1.ytimg.com/vi/QwSE_PX7UvE/0.jpg"><param name="movie" value="http://www.youtube.com/v/QwSE_PX7UvE?version=3&f=user_uploads&c=google-webdrive-0&app=youtube_gdata" /><param name="bgcolor" value="#FFFFFF" /><param name="allowFullScreen" value="true" /><embed width="320" height="266" src="http://www.youtube.com/v/QwSE_PX7UvE?version=3&f=user_uploads&c=google-webdrive-0&app=youtube_gdata" type="application/x-shockwave-flash" allowfullscreen="true"></embed></object></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">The final video is the packages from the Jolla running on the cubieboard libhybris adaptation so the future for running sailfish on other Android devices is rosy.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/SXgWCCebXyo?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Finally there has been much talk about community and openness but from my standpoint I feel part of the Jolla/nemo/mer community and thank all involved in making those </span><span style="font-family: Arial, Helvetica, sans-serif;">communities</span><span style="font-family: Arial, Helvetica, sans-serif;"> special for me.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Happy New Year</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">vgrade</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
</div>
vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com2tag:blogger.com,1999:blog-7760085581142301611.post-18611585443802374502013-12-04T14:13:00.005-08:002013-12-07T08:28:15.120-08:00<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">N950 and Jolla Phone Repo's</span></h2>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I've been hacking around with the Jolla phone repos and the N950 for the last few days and wanted to share the kickstart method which avoids much of the manual zypper/ssu stuff </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">References are</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Mer Plaform SDK - </span><a href="https://wiki.merproject.org/wiki/Platform_SDK">https://wiki.merproject.org/wiki/Platform_SDK</a></div>
<div>
<br /></div>
<div>
Nemomobile N950 Installation Instructions - <a href="https://wiki.merproject.org/wiki/Nemo/Installing">https://wiki.merproject.org/wiki/Nemo/Installing</a></div>
<div>
<br /></div>
<div>
Using the platform sdk create a filesystem image </div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace;">sudo mic create fs sailfish2-armv7hl-n950.ks -o . --pkgmgr=zypp --arch armv7hl --pack-to=vgrade-sailfish.tar.bz2</span><br />
<br />
<br /></div>
<div>
Flash to N950</div>
<div>
<br /></div>
<div>
<span style="font-family: Courier New, Courier, monospace;">sudo tar --numeric-owner -xjf vgrade-sailfish.tar.bz2 -C /mnt</span></div>
<div>
<br /></div>
<div>
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-A5Q7QmBWfYc/Up-oC8b2YdI/AAAAAAAACZs/bduT8H9k3Pw/s1600/IMG_00000217.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-A5Q7QmBWfYc/Up-oC8b2YdI/AAAAAAAACZs/bduT8H9k3Pw/s320/IMG_00000217.jpg" width="180" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<br />
<br /></div>
<div>
Please help as things still need fixing, time is not setting correctly audio not working as it was on the previous hacks etc, but this should allow more controlled development.</div>
<div>
<br /></div>
<div>
A pirate pad is operating at <a href="http://piratepad.net/nVuyI2uxrY">http://piratepad.net/nVuyI2uxrY</a> you are very welcome to contribute</div>
<div>
<br /></div>
<div>
<a href="https://github.com/martinbrook/jolla-n950-kickstart">https://github.com/martinbrook/jolla-n950-kickstart</a><br />
<br />
<br /></div>
vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com4tag:blogger.com,1999:blog-7760085581142301611.post-12018141234027370932013-10-28T17:09:00.001-07:002013-10-28T17:09:56.364-07:00Nemomobile on cubieboard #merproject #nemomobile #libhybris<iframe allowfullscreen="" frameborder="0" height="344" src="//www.youtube.com/embed/lAwsGSD8KFE" width="459"></iframe>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0tag:blogger.com,1999:blog-7760085581142301611.post-8433680930513445612013-10-19T09:56:00.000-07:002014-06-26T14:13:35.520-07:00<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Device List</span></h2>
<div>
atom - joggler,<span style="color: blue;"> ExoPc</span>, Fonepad</div>
<div>
<br /></div>
<div>
omap -<span style="color: blue;"> n900, n950, n9</span>, pandaboard, beaglebone, <span style="color: blue;">Archos G9, compulab cm-t3730</span></div>
<div>
<br /></div>
<div>
tegra - 2- advent vega, <span style="color: blue;">trimslice</span> - TK1</div>
<div>
<br /></div>
<div>
amlogic - <span style="color: blue;">zenithink c71, c72</span></div>
<div>
<br /></div>
<div>
exynos - galaxy note 1, <span style="color: blue;">tizen lunchbox</span></div>
<div>
<br /></div>
<div>
a10 - <span style="color: blue;">pengpod</span>, <span style="color: blue;">cubiaboard</span>, melea1000, <span style="color: blue;">H6 netbook</span></div>
<div>
<br /></div>
<div>
a20 -<span style="color: blue;"> cubieboard2</span>, eoma68 (kde tablet)</div>
<div>
<br /></div>
<div>
broadcom - <span style="color: blue;">Raspberry Pi, Alpha , model B</span></div>
<div>
<br /></div>
<div>
rk3188 - hudl, qc802. <span style="color: blue;">radxa</span></div>
<div>
<br /></div>
<div>
qualcom - nexus 1, nexus 5, one+, jolla</div>
<div>
<br /></div>
<div>
<br /></div>
vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0tag:blogger.com,1999:blog-7760085581142301611.post-59879651757285564612013-04-18T14:26:00.000-07:002013-04-18T14:26:20.874-07:00<h2>
<span style="font-family: Arial, Helvetica, sans-serif;">Adventures with Libhybris and Andriod</span></h2>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/4PEIg6wOgWY?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">As promised in my tweet at the weekend I'm going to give some more details on the steps required to get <a href="http://www.merproject.org/" target="_blank">Mer</a> based gfxs apps running on top of Android graphics drivers on the Allwinner A10 based <a href="http://cubieboard.org/" target="_blank">cubieboard</a>. This work was inspired by this <a href="http://mer-project.blogspot.fi/2013/04/wayland-utilizing-android-gpu-drivers.html" target="_blank">blog</a> </span><span style="font-family: Arial, Helvetica, sans-serif;">which sets out the dilemma we face when trying to port regular GNU Linux to fantastic mobile devices.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So, what do you need, well specifically a cubieboard but any Andriod device running a recent version which allows you to boot your own kernel is a potential target for Mer and Libhybris. On the software side you need an Android development environment, access to the andriod source repo for your device, patch for bionic (android's version of libc) and the <a href="https://github.com/libhybris/libhybris#readme" target="_blank">libhybris</a> library. The reason we need all this android stuff is so that we can rebuild the android bionic library with a couple of tweaks which will allow bionic and libc libraries coexist in our final build.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So first follow these instructions to setup your Android build environment, I welcome any questions on this blog post except this section, please beware this is the most frustrating things I've done in ages and would not like to re-live it. There are plenty of sources of help on the web, if you're lucky the stars will align and you will have no problems.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<a href="http://source.android.com/source/initializing.html"><span style="font-family: Arial, Helvetica, sans-serif;">http://source.android.com/source/initializing.html</span></a> and <span style="font-family: Arial, Helvetica, sans-serif;">the installing repo section from </span><span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://source.android.com/source/downloading.html">http://source.android.com/source/downloading.html</a></span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Now you need access to the Andriod source repo for your device, I will be giving cubieboard specific instructions from now but all Andriod devices have a similar repo structure. There are a couple of pages with Andriod for cubieboard but this is the one I used, </span><a href="https://github.com/cubieboard/manifests"><span style="font-family: Arial, Helvetica, sans-serif;">https://github.com/cubieboard/manifests</span></a>. <span style="font-family: Arial, Helvetica, sans-serif;"> It does give some instructions on setting up a dev environment which I've not tried but you may be more successful than my attempts.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So following that page</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$mkdir openbox && cd openbox
$repo init --no-repo-verify -u git://github.com/cubieboard/manifests -b cb -m jb.xml
$repo sync</code></pre>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">gets the android code and binary blobs for the cubieboard. Now build with </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$source build/envsetup.sh
$lunch 4 (note: select cubieboard option)
$make -j4</code></pre>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">You will have time for more than lunch!</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So the build should complete with some messages about creating a system.img file. Congratulations you've just built your first Android ROM.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Next we need to patch the bionic library so descend into the bionic directory and apply this <a href="http://pastie.org/7649385" target="_blank">patch</a> and rebuild</span><br />
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$make -j4</code></pre>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">Now we have to tar up the android system directory so we can install it on the device. This will have the patched bionic library plus all the andriod libs (EGL, GLESv2, RIL etc) which we will now be able via libhybris to access from regular glibc apps. This will be at out/target/product/cubieboard/system.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Ok so next step is to get a minimal Mer image for your device, this is another blog post in itself so I've created a basic image <a href="ftp://5.9.162.110/nemo/cubieboard/tablet/cubieboard/mer/testing/armv7hl/weekly/" target="_blank">here</a>. Download this and write to an sdcard and boot in the cubieboard. It should boot to xterm on hdmi.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Ok, so we don't want X to start anymore so from VT2 login root/mer and remove uxlaunch before rebooting.</span><br />
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$zypper -e uxlaunch</code></pre>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">On next boot X will not start so login again from VT2.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Now we can install libhybris</span><span style="color: #333333; font-family: Consolas, Liberation Mono, Courier, monospace;"><span style="font-size: 12px; line-height: 19px;">.</span></span><br />
<span style="color: #333333; font-family: Consolas, Liberation Mono, Courier, monospace;"><span style="font-size: 12px; line-height: 19px;"><br /></span></span>
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$zypper ar http://repo.merproject.org/obs/home:/sage:/libhybris/latest_armv7hl/home:sage:libhybris.repo
$zypper in libhybris
$zypper in libhybris-tests</code></pre>
<br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Next copy the android system dir we made a copy of earlier to /system</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Now we can test libhybris is installed correctly</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$test_egl</code></pre>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">This should give some messages but if all is well it should not crash and print 'stop'</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$test_glesv2</code></pre>
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">This should show a white diamond shape filled with an animated Catherine wheel. Congrats you are now running an EGL/GLES glibc application linking to the Android EGL/GLES bionic drivers.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Next we can now run a couple of more interesting demos</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$zypper in qt5-plugin-imageformat-jpeg
$zypper in qt5-plugin-platform-eglfs
$zypper in qt5-qtdeclarative-qmlscene
$zypper in qt5-qtdeclarative-import-qtquick2plugin
$zypper in qt5-qtdeclarative-import-window2
$zypper in qt5-plugin-generic-evdev
$curl -O http://qtl.me/minimer3.tar.gz
$zypper in tar
$tar -xf minimer3.tar.gz
$QT_QPA_EGLFS_DEPTH=24 qmlscene -platform eglfs mail.qml</code></pre>
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">This should give you a rotating and scaling mer logo, now lets install the Qt Cinematic Experience app which I showed in the youtube video. </span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<br />
<pre style="background-color: #f8f8f8; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: 1px solid rgb(204, 204, 204); color: #333333; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 13px; line-height: 19px; margin-bottom: 15px; margin-top: 15px; overflow: auto; padding: 6px 10px;"><code style="background-color: transparent; border-bottom-left-radius: 3px; border-bottom-right-radius: 3px; border-top-left-radius: 3px; border-top-right-radius: 3px; border: none; font-family: Consolas, 'Liberation Mono', Courier, monospace; font-size: 12px; margin: 0px; padding: 0px;">$curl -O http://quitcoding.com/download/Qt5_CinematicExperience_rpi_1.0.tgz
$tar -xf </code><span style="background-color: transparent; font-size: 12px;">Qt5_CinematicExperience_rpi_1.0.tgz
$cd </span><span style="background-color: transparent; font-size: 12px;">Qt5_CinematicExperience_rpi_1.0
$zypper in vim
$zypper in qt5-qtdeclarative-import-particles2
$zypper in qt5-qtquick*
$vim content/Mainview.qml - and comment out the PathAnimation part with //
$</span><span style="background-color: transparent; font-size: 12px;">QT_QPA_EGLFS_DEPTH=24 qmlscene -platform eglfs </span><span style="background-color: transparent; font-size: 12px;">Qt5_CinematicExperience.qml</span></pre>
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">So if you've reached this far thanks for reading and if you have used a different Android device please let us know on #mer or #libhybris.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">As usual in the open source world we are always building "on the shoulders of giants" so a few thanks to the giants.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Stskeeps for his awsome contributions not just with libhybris but all things Mer and also his patience with me. Thanks to the wider Mer and libhybris teams.</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;">On the cubieboard front thanks to the linux-sunxi team for their work on the bootloader and kernel and to mdfe for his excellent Mer adaptation packaging and awesome Jenkins buld system.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">TTFN</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">vgrade - catch me in #mer on freenode IRC</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com3tag:blogger.com,1999:blog-7760085581142301611.post-23309142697764068562013-03-05T17:13:00.000-08:002013-03-05T17:13:33.058-08:00Ahoy SailfishOS on Exopc<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/UEgdW3KSxkM?feature=player_embedded' frameborder='0'></iframe></div>
<br />
<br />
<h2>
<b><span style="font-family: Arial, Helvetica, sans-serif;"><span style="background-color: white; font-size: x-small; white-space: nowrap;">Ahoy</span><span style="background-color: white; font-size: x-small; white-space: nowrap;"> </span></span></b></h2>
<span style="background-color: white; font-family: Georgia, 'Times New Roman', Times, serif; font-size: x-small; white-space: nowrap;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">I've been hacking on the <a href="https://sailfishos.org/">Jolla Sailfish SDK</a> which was launched recently to get it running outside of its virtual box environment.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">After installation you will find in the Sailfish SDK a sub-directory which contains the emulator virtualbox image (.vdi) which is used by the SDK to allow deployment of apps from QtCreator for testing. I used this as a basis for creating an image I can boot on the Exopc (and probably other Intel based tablets and netbooks).</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">To convert the emulator vdi image I used vboxmanage tools to convert to a raw format which could be written to a usb key for booting in the Exo.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Since the emulator was built for running in virtualbox with no hardware acceleration the image includes a version of mesa which is built to use llvmpipe software rendering. As we are running on Exo we have access to hardware acceleration so I </span><span style="font-family: Arial, Helvetica, sans-serif;"> built the latest versions of mesa and the xorg-intel-drv against mercore </span><a href="https://build.merproject.org/project/monitor?project=home%3Avgrade%3Abranches%3Anemo%3Adevel%3Ahw%3Ax86-common">https://build.merproject.org/project/monitor?project=home%3Avgrade%3Abranches%3Anemo%3Adevel%3Ahw%3Ax86-common</a><span style="font-family: Arial, Helvetica, sans-serif;">.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">After a few tweaks to remove configuration related to the virtual box environment (xorg.conf, /usr/lib/egl/, /var/lib/environment) I was booting sailfish os, see video for results.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">Plan is to integrate with the SDK to allow app deployment to the Exo and in time to extend this to ARM devices once Sailfish components become available for that platform.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;">More details can be found at </span><a href="https://wiki.merproject.org/wiki/Sailfish/Exopc">https://wiki.merproject.org/wiki/Sailfish/Exopc</a> <span style="font-family: Arial, Helvetica, sans-serif;">where contributions are welcome.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<h2>
<strong style="background-color: white; font-size: small; white-space: nowrap;"><span style="font-family: Arial, Helvetica, sans-serif;">Fair winds!</span></strong></h2>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>
<br />
<br />vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com2tag:blogger.com,1999:blog-7760085581142301611.post-22417213109180016612012-09-23T13:29:00.000-07:002012-09-23T13:30:53.787-07:00Tizen IVI Preview on ExoPc<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-pmkZcptk5aI/UF9w3qMClFI/AAAAAAAABwo/nCxpeuT0Hg0/s1600/tizen-ivi-preview-ghostcluster.jpg-large" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="180" src="http://3.bp.blogspot.com/-pmkZcptk5aI/UF9w3qMClFI/AAAAAAAABwo/nCxpeuT0Hg0/s320/tizen-ivi-preview-ghostcluster.jpg-large" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
There is a new Tizen IVI snapshot available so I thought I'd run it up on the ExoPC.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
Needs a bit of tweaking to get the wlan up so you can update from the ivi base but otherwise runs up ok.</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
For details about this update seehttps://wiki.tizen.org/wiki/IVI/IVI_Sept_18,_2012_preview_update</div>
<div class="separator" style="clear: both;">
<br /></div>
<div class="separator" style="clear: both;">
vgrade</div>
vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0tag:blogger.com,1999:blog-7760085581142301611.post-26867019696101022192012-03-04T14:52:00.001-08:002012-03-04T23:41:23.472-08:00Raspberry Pi Mer Hardware Adaptation<span style="font-family: Arial, Helvetica, sans-serif;">I've made some packages for the RaspberryPi to adapt the board to Mer.</span><br />
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Using the information released by the foundation at </span><a href="https://github.com/raspberrypi">https://github.com/raspberrypi</a> <span style="font-family: Arial, Helvetica, sans-serif;">I've built 3 packages which consist of a kernel package, bootloader and mkimage tool to convert the kernel into a format readable by the bootloader. Packages can be found at </span><a href="http://repo.pub.meego.com/home:/vgrade:/raspPi/Mer_Core_armv6l/armv6l/">http://repo.pub.meego.com/home:/vgrade:/raspPi/Mer_Core_armv6l/armv6l/</a></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">I've also created a Mer kickstart file which creates an image which can be easily written to sdcard and boots to X+qmlviewer within 20 seconds of powerup. The kickstart and image can be found at </span><a href="http://bug10738.openaos.org/images/raspberry-pi/">http://bug10738.openaos.org/images/raspberry-pi/</a></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">An ideal base for very low cost Qt/QML based products. eg, Interactive bus stop, travel information display, store customer service etc</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Check back for more details of how you can use the Mer PDK, </span><a href="http://wiki.merproject.org/wiki/Platform_SDK">http://wiki.merproject.org/wiki/Platform_SDK</a> <span style="font-family: Arial, Helvetica, sans-serif;">for development.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
</div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com1tag:blogger.com,1999:blog-7760085581142301611.post-57559771125544042972012-02-09T16:53:00.000-08:002012-02-10T06:37:19.294-08:00Spark Development<span style="font-family: Arial, Helvetica, sans-serif;">I've been working on the Spark project (</span><a href="http://aseigo.blogspot.com/2012/01/reveal.html">http://aseigo.blogspot.com/2012/01/reveal.html</a>) <span style="font-family: Arial, Helvetica, sans-serif;">since before Christmas focussing on the device adaptation for the Zenithink C71 hardware.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Here is a video of progress so far.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/0wbyyA9X4Qk?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Thanks go aseigo, atp_uestc, mdfe_ and the Mer and Plasma Active project teams.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Linked here </span><a href="http://aseigo.blogspot.com/2012/02/network.html">http://aseigo.blogspot.com/2012/02/network.html</a><br />
<br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0tag:blogger.com,1999:blog-7760085581142301611.post-47397698780120687312011-11-23T16:16:00.001-08:002011-11-23T16:39:17.113-08:00<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Waiting for Tizen</span><div>
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Its been 4 years since my last phone upgrade (a Nokia N95) from O2 having purchased a Nexus One direct from Google in 2010. My eye was caught by the Samsung Note so I ordered and received it today. Half phone, half tablet, my son Matt has christened it the 'phablet'. See it pictured below next to the Nokia N950.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://1.bp.blogspot.com/-_uTkn75GflQ/Ts2OlRxOJZI/AAAAAAAABiE/yA_5VtY4A6g/s1600/phablet.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-_uTkn75GflQ/Ts2OlRxOJZI/AAAAAAAABiE/yA_5VtY4A6g/s320/phablet.jpg" width="239" /></a></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Spec wise we have Samsung Exynos chipset with a 1.4GHz dual-core cpu, Mali-400 GPU and 1GB RAM. 5.3" HD Super AMOLED screen </span><span style="font-family: Arial, Helvetica, sans-serif;">and also boasts a stylus , sorry S-Pen which is great for quick note taking. Full spec at </span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="http://www.samsung.com/global/microsite/galaxynote/note/spec.html?type=find">http://www.samsung.com/global/microsite/galaxynote/note/spec.html?type=find</a></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Kernel source is available now at </span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><a href="https://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=GT-N7000">https://opensource.samsung.com/reception/receptionSub.do?method=search&searchValue=GT-N7000</a></span></div>
<div>
<br /></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Here's hoping we can get the required driver support from the Tizen project (as Samsung are partners in that project with Intel) to make this the next developer handset to follow on from the N900/N950/N9.</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">vgrade</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">24.11.11</span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"> </span></div>
<div style="text-align: left;">
<span style="font-family: 'Lucida Grande', Tahoma, Arial, Helvetica, sans-serif;"><span style="font-size: 12px;"><br /></span></span></div>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0tag:blogger.com,1999:blog-7760085581142301611.post-66482144943577074032011-11-16T16:28:00.001-08:002011-11-18T08:09:27.807-08:00<span style="font-family: Arial, Helvetica, sans-serif;">Qt Creator on Raspberry Pi</span><br />
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;">Its been a week or so since I did anything with the <a href="http://www.raspberrypi.org/">Raspberry Pi</a> but I received my <a href="http://www.raspberrypi.com/keyboard-sticker/">stickers</a> today which encouraged me to get the device out and hack together something.</span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;">One of the target markets for the device is in education so I thought that a small distribution built on <a href="http://www.merproject.org/">Mer</a> with <a href="http://qt.nokia.com/products/developer-tools/">QtCreator</a> installed would provide an excellent introduction to Qt and QML programming.</span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;">As you can see from the video you get a basic desktop environment with xterm, qt-demos and qt-creator installed. </span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/6UfIqizt6E8?feature=player_embedded' frameborder='0'></iframe></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">UPDATE:</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Image and installation instructions can be found at </span><a href="http://images.formeego.org/raspberry-pi/">http://images.formeego.org/raspberry-pi/</a><br />
<br /></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;">vgrade</span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span></div>
<div>
<span style="background-color: transparent; font-family: Arial, Helvetica, sans-serif;"> </span></div>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com10tag:blogger.com,1999:blog-7760085581142301611.post-39224659995124927112011-11-14T16:34:00.001-08:002011-11-15T10:58:34.022-08:00<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;">Mer</span><br />
<span style="font-family: Arial, Helvetica, sans-serif; font-size: large;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">Since the demise of <a href="http://www.meego.com/">MeeGo</a> a group of people have been involved with taking the best elements of that project along with a dose of new ideas to create the <a href="http://www.merproject.org/">Mer Project</a>. This project is aimed not at end users but at people, and companies who are or want to produce products. Mer provides a core set of fully maintained packages which can be used to build products in the mobile and embedded markets providing Qt/HTML5/JS API's. Because the core is maintained by the Mer project resources are not required by each manufacturer so has obvious cost savings. Mer is just the core and needs two elements to be added to make a full software stack for a product. A device adaptation is required to sit below the Mer core and provides a well defined interface to it. The adaptation is made up of a Linux kernel, graphics and network drivers, sound and device configurations, things which will be different for each product. The other element required is a user interface or user experience (UX) layer and this is where device manufacturers can provide differentiation for their product, the look and feel. Mer core will provide a rich set of API's to build the UX layer with modern API's such as Qt/QML and HTML5 ensuring the best possible experience for the end user.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The Mer core set of packages is around 300 and these are stored in git repositories and a change mechanism has been implemented using a set of opensource tools which allow for both human and automatic review processes, each change is sent to a build system to ensure changes don't break the whole build. Plans are in place to offer automatic testing of all changes to the core after code review and build test. These processes are in large part automatic and provide the level of tracking an OEM will need especially in the area of license management and compliance.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The project is open source and has a draft governance document based on the Yocto project and is in review at the moment. You can read it <a href="http://wiki.merproject.org/wiki/Governance_draft">here</a> and comment to the <a href="http://wiki.merproject.org/wiki/Mailing_lists">mailing list</a>.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">The project has a growing <a href="http://wiki.merproject.org/wiki/Main_Page">wiki</a> page and this is also where you can find details of the projects surrounding Mer the <a href="http://wiki.merproject.org/wiki/Community_Workspace">community workspace</a>, where you can find details of the progress of the device adaptations and user experiences already built on Mer Core. You will see from that page that there are a number of devices running a diverse set of user experiences and this is just after a few weeks since the project launch.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">As an example I've been involved in device adaptations to the Advent Vega Tablet and compulab Trimslice, both nVidia Tegra devices and also in integration of the Plasma Active UX on those devices and to the Nokia N950.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-Byx5DqG8t4g/TsG96PunjMI/AAAAAAAABfg/S4TaVVLI8C4/s1600/team.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="http://2.bp.blogspot.com/-Byx5DqG8t4g/TsG96PunjMI/AAAAAAAABfg/S4TaVVLI8C4/s320/team.jpg" width="320" /></a></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<div class="separator" style="clear: both; text-align: center;">
<iframe allowfullscreen='allowfullscreen' webkitallowfullscreen='webkitallowfullscreen' mozallowfullscreen='mozallowfullscreen' width='320' height='266' src='https://www.youtube.com/embed/9xFbWDXTqLk?feature=player_embedded' frameborder='0'></iframe></div>
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">If you want to know more about Mer and the community projects surrounding drop into #Mer on freenode IRC.</span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;">vgrade 15.11.11</span><br />
<br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span><br />
<span style="font-family: Arial, Helvetica, sans-serif;"><br /></span>vgradehttp://www.blogger.com/profile/17335500695635004705noreply@blogger.com0