World of XorA

June 16, 2011

Injuries

Filed under: Kayaking,MMA — XorA @ 11:14 pm

So, I have been ignoring a wrist injury for a while now. Its been a bit iffy for a few years now, but not another to really bother me.

It first started to get really painful after an 11 mile kayak trip on the forth. A year of doing martial arts on it as well and it slowly got worse as it stopped recovering between sessions.

So I finally got round to seeing the physio about it. The was the most painful experience of my life. He very quickly demonstrated that the whole right hand side of my body was very tense and stiff. Once he pointed it out it was obvious the difference as compared to the left hand side of my body. Anyway he then set out to loosen things up. That was pretty brutal on my poor muscles and tendons. Still more sessions to go. Will all be worth it if I can get it fixed and kayak and fight better because of it though!

The Storm

Filed under: Geek,Roleplaying — XorA @ 11:04 pm

Looking out of the window of the inn night is falling, it almost looks
as if the forest is moving towards the walls. There is no sign of the
silver light of Mannsleib in the sky. Morrsleibs sick green light is the
only illumination available. You can feel its malevolent presence
pressing down on you, almost physically pushing you into the ground.

Suddenly there is no light at all, a massive cloud speeds across the
sky, you feel relieved for a second as the sickly green light
disappears. The you hear the wind, and the rolls of thunder, this is
going to be a rough night. You are glad you are safely within the walls
of the inn and that the fire is roaring and bright.

You almost start to forget the storm raging outside as you enjoy the
food and drink of the inn, but the wind keeps getting stronger and is
rattling the shutters. You can hear trees outside the walls creaking,
hear some cracks that mean some will not be standing in the morning. The
thunder is getting nearer.

The old lady is the corner starts to wail, the riders, the riders are
out, the leaders of the nine lost tribes once again ride, we are all
DOOOMED!!!!!

CRASH one of the shutters smashes open, the world turns pure white
silhouetting a hill. You could swear you can see an old man standing on
the hill a staff raised in the air. But its gone, you see flames then
someone jumps up and slams the shutter securely closed.

The atmosphere in the inn is now very subdued. You look around, not the
worst set of companions for your last night in the world. You pull your
possessions close and your weapons closer and wait for the storm to pass.

March 3, 2011

OE Board Resignation

Filed under: Geek,Work — XorA @ 1:29 pm

So people have asked me to tell why I resigned fromt he OE board. There were a number of reasons and I shall detail the main two.

First reason is that certain destructive elements on OE seem to deem it OK to send abusive and insulting emails to board members of OE if they don’t get their own way. It’s been about a year now of this element causing chaos in OE. Unfortuneately as some members seem to have rallied around him as an anti Koen champion then nothing gets done about this destructive behaviour. The end came from me when this element called Koen “Mr Crapper” in a board email.

Second reason I shall start with the TSC email from Richard

http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-January/029372.html

Well for the members of the eV the board is in a similar state is dissarray.

eV members have no doubt noticed that board emails go unanswered and there is very little comment from any board member not Philip.

I had chosen to killfile one member of OE because his posts on oe-devel were just turning into insults. I had totally forgotten this would block board@ emails as well. When Koen realised what I had done he announced it on public list which illicited this respond from another board member.

“Interesting. While this is a viable way of looking at things for john doe, I’m afraid this attitude does not mix with being
an OpenEmbedded board member. :(

and from a non board member.

“If it’s true that one of the board members has been killfiling mail from
a member of the e.V. then I think they need to consider their position
carefully. Is there any evidence that this did indeed happen?”

Quotes that are actually correct, but when coming from a board member who has not answered urgent eV board issue emails for well over a year, well I guess thats the definition of irony.

Anyway I decided that the second quote was probably correct and I re-considered my position.

The OE community at large is still quite healthy so I am hoping like the TSC healing, eV healing can happen and create the sort of happy community we all want.

October 6, 2010

Kayaking

Filed under: Fun,Kayaking — XorA @ 11:45 am

So to add to the levels of sport I already details in the last post about MMA just to fill the rest of my free time I have started Kayaking.

Went to Port Edgar near Edinburgh for courses on basic kayaking and sea kayaking. Over two weekends. I have fallen in love with sea kayaking and I plan to try and sit 3* and upwards over the next couple of years. Looks like finding storage for one isn’t going to be too bad either.

Over the winter I need to try and attend some pool sessions and learn some of the basics of handling like self recovery.

End of October going on a away trip to Loch Lomond in sea kayaks. Figure more time on the water is definitely needed.

Might also have a go at some river stuff next year but Im a little more frightened of rivers. Also had offers of some canoeing fun which I shall have to take advantage of.

Martial Arts

Filed under: Fun,MMA — XorA @ 10:23 am

So instead of spending 24/7 hacking on arm linux I have decided to improve my health a bit and take up some martial arts. Being in Leith I had the obvious choice of Rick Youngs Blackbelt Academy which has awesome reviews from everyone and is only 10 mins walk away (at a slow walk).

I was originally recommended Rick Youngs by a friend I was talking with about medieval broadsword, he suggested I try Escrimma/Kali. Anyway I went along and watched a Muay Thai and a Kali lesson and loved what I saw so joined the next day.

Muay Thai I have now been doing for 3 months with pretty much every week attending 2-3 lessons (as many as I can). I am loving the kick boxing and my technique has definitely been improving.

Kali/Jeet Kwun Do is Saturday morning so unfortunately I have had trouble making it along regularly as everything else seems to happen on Saturdays as well.

This week I have also started to study BJJ at Rick’s. I had already done a bit of Judo as a kid and been doing some Ju Jitsu on Fridays so it isn’t completely alien. First lesson was two passes of the guard and two sweep to mount/side control from guard. Will definitely be a good addition to my striking from Muay Thai/JKD lessons.

I have been doing Ju Jitsu at another school mainly because I was looking for something to do Friday nights and it was the only lesson that was available. But Ju Jitsu also spends a lot of time working on core strength exercises so its very good as an addition to the other arts I study which are more focussed on technique. Certainly for punching power and grappling I need to improve my core strength.

Medieval sword fighting I have been studying for about a year now. Due to wrist problems I have been specialising in Rapier and will be studying the DiGrassi techniques when I get time to read the documents properly. I have been keeping my hand in at broadsword and done a little sword + dagger stuff. Kali has also been good for my technique. The Kali footwork is very applicable to the rapier and the double stick techniques blend well with sword and knife.

April 19, 2010

Lucid on Omapzoom2

Filed under: Geek,Slimlogic,Work — XorA @ 11:15 am

So Ive been doing some work getting a Ubuntu Lucid beta image running on the zoom2 machine. This is basically the same image as what runs on a beagle slightly modded for zoom2 (serial is different port). Running the Netbook Remix version. I have two external keyboards and a mouse plugged in via usb hub and of course the debug board for networking. This is a photo so you can see it is really running :-)

I used the kernel image that we use for Ångström images as Ubuntu doesn’t have a zoom2 kernel yet.

And this is a screen shot taken on the zoom2 (you’ll just have to believe me).

February 11, 2010

Omap3 Zoom2 Ångström

Filed under: Geek,Slimlogic,Work — XorA @ 9:28 pm

I thought it was about time to give an update on Ångström support of the Omap3 Zoom2 device.

Thanks to TIs donation I have been able to work on support for this device. I have also been able due to the power of OE build on the Ångström communities support of omap3 chips in general. Anyway a Gnome rootfs is running nicely on the device.

Here is the login screen.

And after logging in the desktop running.

This as you can see is with the zoom2 running free of its debug board. This does mean with current OE recipes there is no networking but we are hoping to have that fixed soon now!

February 9, 2010

Horde Groupware Funambol

Filed under: Geek,Work — XorA @ 11:17 pm

I was looking into Horde Groupware because of its SyncML capabilities. For some of my devices the funambol SyncML client is the only option. The trouble out of the box Horde doesnt work with Funambol as Funambol requests a database that doesnt exist. Luckilly this problem is fixed in the H4 git repo so I extracted the patches and refreshed them for the groupware version.

The patches can be found here.

January 22, 2010

OpenEmbedded/Ångstöm New Package Workflow (eggdbus)

Filed under: Geek,Slimlogic,Work — XorA @ 1:23 am

This article is to detail the typical workflow I use when I am adding a new application recipe to OpenEmbedded from scratch. In this case it will be the gobject dbus binding called eggdbus.

During this article reference to the OE wiki especially the styleguide for new recipes is highly recommended.

The first step is to locate the software we are going to add and the version number of that software. In this case it the software is called eggdbus and it is version 0.6. Also at this stage check the license of the software in this case GPLv2.

Create a directory in the metadata to hold the new software.

mkdir recipes/eggdbus

Use an editor to create the recipe file for the new application. The general form of the filename is application_version.bb so in this case edit.

vi recipes/eggdbus/eggdbus_0.6.bb

Fill the beginning of the recipe with the informational fields.

DESCRIPTION = "gobject dbus binding"
HOMEPAGE = "http://cgit.freedesktop.org/~david/eggdbus"
LICENSE = "GPLv2"

The next step is to locate the download URL for the new recipe. In this case eggdbus is hosted in a sourceforge project so the download URL is.

http://cgit.freedesktop.org/~david/eggdbus/snapshot/eggdbus-0.6.tar.bz2

OpenEmbedded creates a variable ${PV} from the filename of the recipe. It is recommended to use this in the SRC_URI as it saves typing when later upgrading to later versions of the software. It also creates a ${PN} variable from the package name.

SRC_URI = "http://cgit.freedesktop.org/~david/${PN}/snapshot/${PN}-${PV}.tar.bz2"

At this stage there is enough recipe to attempt a download and check that there are no mistakes so far.

bitbake eggdbus

This build is expected to fail as the OE metadata does not yet have the MD5/SHA256 checksums for the download yet.

NOTE: Missing checksum
ERROR: eggdbus-0.6: http://cgit.freedesktop.org/~david/eggdbus/snapshot/eggdbus-0.6.tar.bz2 has no checksum defined, cannot check archive integrity
ERROR: Error in executing: /home/dp/openembedded/org.openembedded.dev/recipes/eggdbus/eggdbus_0.6.bb
ERROR: Exception: Message:1
ERROR: Printing the environment of the function
ERROR: Error in executing: /home/dp/openembedded/org.openembedded.dev/recipes/eggdbus/eggdbus_0.6.bb
ERROR: Exception:
Message:1
ERROR: Printing the environment of the function
ERROR: Build of /home/dp/openembedded/org.openembedded.dev/recipes/eggdbus/eggdbus_0.6.bb do_fetch failed

OE helpfully generates the checksums it expected to see so these can be added to the meta data easilly. The cat just appends the new checksum to the end of the file. The next python command then calls a script to sort the checksums into the recommended format.

cat tmp/checksums.ini >>~/oe/org.openembedded.dev/conf/checksums.ini
python contrib/source-checker/oe-checksums-sorter.py -i conf/checksums.ini

To check this worked then re-issue the bitbake command.

bitbake eggdbus

In this case the command will succeed but builds no useful package. Depending on the application it will probably fail. This is not a problem at this stage as it is still work in progress and debugging these failures is what gives the information for the rest of the recipe.

At this stage the contents of the tarball file can be checked. The eggdbus tarball unpacks to a directory which is called eggdbus-0.6 which is what OE has already selected by default so we dont need to overide the default ${S} setting.

Eggdbus is an autotools using library so we tell OE to use its built in autotools support. If it is a well written autoconf then OE generates configure/compile/install tasks which work without modification.

inherit autotools

We can now try a build again to see if it will just build(tm).

In this case it doesnt because of gtk-doc.make. We currently dont really support this in OE anyway so we shall attempt to patch out this part.

cd tmp/work/armv7a-angstrom-linux-gnueabi/eggdbus-0.6-r0/eggdbus-0.6/
quilt new gtk-doc.patch
quilt add docs/eggdbus/Makefile.am docs/tests/Makefile.am

Edit the two Makefile.am and remove the reference to gtk-doc.make. Then generate the patch.

quilt refresh

The patches/gtk-doc.patch is now our patch. We need to copy it into our OE repo and add it to the SRC_URI.

mkdir recipes/eggdbus/files/
mv patches/gtk-doc.patch recipes/eggdbus/files/

And edit the eggdbus_0.6.bb to add the new patch to the SRC_URI.


SRC_URI = "http://cgit.freedesktop.org/~david/${PN}/snapshot/${PN}-${PV}.tar.bz2 \
file://gtk-doc.patch;patch=1 \
"

Now we attempt to build again.


bitbake eggdbus -c clean
bitbake eggdbus

This time the build fails inside the code stage, if the error is examined it will show that the build is trying to run a built program on the host. This obvously won’t work in cross compile situations so the program needs to be compiled for host.

This means a native version of the package is created. This used to mean a seperate .bb file but thanks to BBCLASSEXTEND it can be done in one file. This also means SRC_URI must be altered to use ${BPN} (Base Package Name) which is a version with -native/-sdk stipped from the end if present. So the following is changed/added to .bb file.


SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
file://gtk-doc.patch;patch=1 \
"


BBCLASSEXTEND = "native"

On attempting to build this new native file it failed because it tries to use docbook to generate man pages. We dont really need them so disable them.


EXTRA_OECONF = " --disable-man-pages --disable-gtk-doc-html "

Now a rebuilt of eggdbus-native succeeds and host versions of the tools needed are available in the staging directory. Now some more changes are needed to the source. In the Makefile.am the programs we just built are referenced using the source directory but the ones in staging should be used so another patch to the Makefile.am files is produced. This patch should apply to the native version so more changes to recipe are needed.


BASE_SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
file://gtk-doc.patch;patch=1 \
"

SRC_URI = "${BASE_SRC_URI} \
file://marshal.patch;patch=1 \
"

SRC_URI_virtclass-native = "${BASE_SRC_URI}"

Now the eggdbus recipe is built.


bitbake eggdbus -c clean
bitbake eggdbus

This time the build succeeds, but one thing that isnt done yet is to tell OE what this recipe depends on. The trick used to do this is to examine the control file in the .ipk and see what is depended on.

For this recipe it is quite clear and dependencies on dbus glib. So a final change to the recipe to add dependencies.


DEPENDS = "dbus glib-2.0"

All these steps give up a complete recipe that reads as follows.


DESCRIPTION = "gobject dbus binding"
HOMEPAGE = "http://cgit.freedesktop.org/~david/eggdbus"
LICENSE = "GPLv2"

DEPENDS = "dbus glib-2.0"

BASE_SRC_URI = "http://cgit.freedesktop.org/~david/${BPN}/snapshot/${BPN}-${PV}.tar.bz2 \
file://gtk-doc.patch;patch=1 \
"

SRC_URI = "${BASE_SRC_URI} \
file://marshal.patch;patch=1 \
"

SRC_URI_virtclass-native = "${BASE_SRC_URI}"

inherit autotools

EXTRA_OECONF = " --disable-man-pages --disable-gtk-doc-html "

BBCLASSEXTEND = "native"

December 16, 2009

Misc Stuff

Filed under: Friends,Fun,Geek — XorA @ 12:59 pm

So what have I been upto recently as I haven’t posted a non work blog for a while.

I have unexpectedly become an OpenEmbedded board member, wasn’t really expecting that as due to exhaustion I decided I needed to rest and recover instead of attending the GA. Its a pity I missed the GA but I wouldn’t have been much good there anyway. Anyway managed to preside over the first election using the online voting policy and that was a success. Second election for TSC is still in progress.

I have spent a week in Utah doing some work for Elphel, basically some training on OpenEmbedded and the first parts of doing a machine for one of their cameras in OE metadata. Interesting company and I have brought back to Scotland one of their cameras to play with. My brother is already considering the possibilities of using it to film badgers in the wild.

When I read about Utah on wikipedia I was expecting it so be really dull. But it seems Mormons aren’t the only inhabitants. The guys at Elphel took me out a few times and I had fun. Also shopping on the last day I found the rock/goth shop and bought some colours of nail varnish I had wanted but hadnt found in the UK. Also in Barnes and Nobles I found some lego sets I had never seen before, from the lego architecture range.

Last night I was at the Marilyn Manson gig at the O2 academy. It was the first time I had driven over to Glasgow. M8 was fun at rush hour, but I survived that to enter the Glasgow one way system from hell. In which some streets have changed direction since my GPS devices map was done. Anyway found the O2 academy and found the station carpark after a bit of a circle. Must say Strathclyde Transport make it nice and easy and even supply car park attendents to make escaping quick at the end of the gig. The gig itselt was awesome, and even the support band were ace. Was good to see Marilyn and Twiggy back together. All the goth/burlesque/emo stuff was gone and they played all the loud noisy stuff from the past. The stuff that most of the fans love. I did see a few confused looking youngsters who obviously never heard the early albums. There was the normal group of Christians protesting on the corner, but at least this time unlike Braehead they werent being violent and needing to be held back by the police.

Older Posts »

Powered by WordPress