Update KDE in Ubuntu

On my work linux machine I am using Ubuntu with KDE. As the new 4.11 was released I thought it would be a good idea to update my current KDE installation. As a long-term Gentoo user it needed some more steps. sudo add-apt-repository ppa:kubuntu-ppa/backports sudo apt-get update sudo apt-get dist-upgrade I think it is really time to replace my Ubuntu installation with something different/better.

August 21, 2013 · 1 min · Christian Gmeiner

i.MX6 - DDR3 setup

The company I work for has designed a custom i.MX6 based board and I am the guy who does the board bring-up. For me the i.MX6 platform is a very good choice as support for the hardware in u-boot and the linux kernel is quite good. So it should not be too hard to get linux running on our custom board. But wait… as I learned from my coreboot activities – memory setup is the hardest and most importest part. The custom board has 1GB of DDR3 on it and I started to look how u-boot does the DDR setup. And there I read the term DCD – Device Configuration Data. ...

July 26, 2013 · 2 min · Christian Gmeiner

Rebuild a Debian package from source

In some rare cases I need to debug some networking protocols and my target of interest is NTP. I am debugging an issue where (maybe) NTP sets the current time backwards about two hours. My first candidate to look deeper is ntpd. But what do I see… debugging option is disabled in the Debian squeeze package of ntp. WTF?! – the only nice way to do useful debugging without wireshark. The good thing is that Ubuntu had the same miss-configuration and got it fixed. ...

June 12, 2013 · 1 min · Christian Gmeiner

Building etna_viv on the sabre lite

At the moment I am playing around with a cute nice little imx6q board – the sabre lite. I am running a freescale based RFS with the binary libGAL.so blob in the user space. So why not look into etna_viv and get it compiled. It turns out to be as simple as this. git clone git://github.com/laanwj/etna_viv.git cd etna_viv/native export GCABI=imx6 export CFLAGS="-D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE -DLINUX -pthread" export CXXFLAGS="-D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE -DLINUX -pthread" make ...

April 29, 2013 · 1 min · Christian Gmeiner

JQuery: autoscroll to last line of a div

Image you are working on a small web application where you use a JQuery UI dialog to inform the user about the current process. Triggered via SSE I am appending some messages via JavaScript. $(’#progress’).append("<span class=‘ui-icon ui-icon-alert’ style=‘float: left; margin-right: .3em’;>" + stderr + “ ”); In order to automaticly scroll to the last line I am using this two magic lines of JavaScript: var height = $(’#progress’)[0].scrollHeight; $(’#progress’).scrollTop(height); ...

March 16, 2013 · 1 min · Christian Gmeiner