In the morning I got an email:
Dear Marcin Juszkiewicz,
Congratulations on your one-year anniversary with Red Hat! Thank you for your commitment and work over the past year. We hope that it has been everything you expected it to be and look forward to celebrating your future success with the company.
Yes, already year passed since I joined ARM team at Red Hat. It was a good time and I do not plan to change it ;)
What I did during that time? Managed to get several packages built for AArch64, sent many patches upstream (some were easy, other required several updates) and even got one machine to use at home. It was not an easy ride but I am glad that I went that way.
I had some ARMv7a work done but over 80% of time spent with AArch64. First in simulators but then hardware started coming. First shared one with other developers (timezone differences helped a lot), then got remote one for own development use and finally one machine landed under my desk (the only one in Poland at that time). Do I have to add how it simplified work? GVim over X11 just works so the only difference is colorscheme and font used ;D
What next? More AArch64 work. There are still packages which fail to build ;D
I have a bunch of ARMv7a boards at home. They are from different years, have misc CPUs and GPUs. All I think that some of them suck for some reasons.
Pandaboard was great board when got released. Then Texas Instruments fired everyone involved so now it is crap. Sure, mainline kernel works fine but no audio/video decoding in hardware, no OpenGLES due to PowerVR stuff which no one cares about because it is proprietary.
Wandboard Quad. Cool, fast, 2GB of memory, SATA. And hardcoded XGA (1024×768) resolution which can not be changed. Awesome? Not so much when you connect it to FullHD monitor. And forget about community — they are mostly stuck on 3.0 and 3.10 kernels based on Freescale code drops. I should dig deeper when looked at i.mx6 hardware ;(
Looks like it is time to check other boards. Minnowboard Max probably — x86 will fully open drivers.
Lot was written about why upstreaming matters. And why it should be done earlier than later too. And I found out that I have perfect example.
Few days ago Linus Walleij contacted me with a question:
Hi Marcin, do you still have the Nomadik NHK8815 board? I’m contemplating fixing it to work some time, but haven’t got hold of one. I think it only needs a device tree actually, so we could hack it up at some conference if you’re at the same some time.
And then I realized that indeed — I still have it somewhere in my basement gathering dust. We quickly agreed on shipping it so Linus will be able to finish work on adding support for already obsolete board in mainline kernel.
For me NHK-15 is a perfect example of device which was supported in wrong way. When I got it 5 years ago it was already several kernel releases behind with 184.108.40.206 kernel (no stable updates even). I managed to get Poky Linux running on it but told clearly that it will gather dust after finishing task because for me board with no upstream support is worthless.
So board spent few weeks on my desk and then went back to the box and on shelf in basement. Then became forgotten. For 5 years. Today I opened box, checked contents, added some filling so it is ready for courier. Then I will forget about it again.
UPDATE: My Sim.One board joined NHK-15 as it is hard to find working device with EP93xx processor in it.
I am starting to dislike current situation of handling sound under Linux.
On my desktop I am using Fedora which is using PulseAudio to handle sound. And recently something changed cause I have to reach mute button too often.
Normally I have Deezer in Chrome playing some background music with volume in web app set to the highest value. I can use KDE mixer to control how loud it is and it works fine. When I run YouTube, Vimeo it is fine. Adobe Flash videos? Fine as well. And according to PulseAudio mixers it keeps stream value at same level every time.
But I do not like that browser. I use Firefox for most of my web stuff. But every time I play YouTube video it jumps with PA stream volume to the highest possible setting so even my next street neighbors are probably able to hear it. Sure, I can change YT volume to nearly zero but when will have to do it with all other web applications as well (and many of them do not have loudness control).
MPlayer (which I use for movies) plays nicely with volume – alters only own PA stream volume.
I think that it is a time for me to report bug against Firefox.
So this year we are going to Moomins World, Naantali, Finland. All dates are set, PTO granted, car checked.
Trip will start on 5th July with Szczecin -> Łódź trip. There I will take my 6 years old daughter Mira to even named “Old computers & games” to show her which kind of computers I used. Then Łódź -> Olecko to visit my mother. Will spend few days there.
And then crazy trip starts. Friday 11th will take us to Klaipėda, Lithuania to see dolphins. Next day we go to Rīga, Latvia through Hill of Crosses in Šiauliai, Lithuania. Look around and on Sunday -> Tallinn, Estonia where we will spend ~24h as this direction is mostly to not drive everything in one day.
Then ferry to Helsinki, some sightseeing and on 15th we will go to Turku and stay there in yet another hotel.
Finally on 16th July plan is to spend whole day in Moomins World in Naantali. Walk, see, take photos and have a good time.
Next day equals Tampere. Moomins museum and visiting Thomas Ruecker. Then quick run to catch ferry in Helsinki so we can spend some time in Tallinn again and do some proper sightseeing. Similar with Riga and finally Devils’ Museum in Kaunas, Lithuania on last day.
Few days of rest in Olecko and go back home probably through Gdańsk.
I hope that it will be the adventure. One of those nasty disturbing uncomfortable things which you remember for long ;D
More and more software come with testsuites. But not every distribution runs them for each package (nevermind is it Debian, Fedora or Ubuntu). Why it matters? Let me give example from yesterday: HDF 4.2.10.
There is a bug reported against libhdf with information that it built fine for Ubuntu. As I had issues with hdf in Fedora I decided to look and found even simpler patch than one I wrote. Tried it and got package built. But that’s all…
Running testsuite is easy: “make check”. But result was awesome:
!!! 31294 Error(s) were detected !!!
It does not look good, right? So yesterday I spent some time yesterday on searching for architecture related check and found main reason for so big amount of errors — unknown systems are treated as big endian… Simple switch there and from 31294 it dropped to just 278 ones.
Took me a while to find all 27 places where miscellaneous variations of “#if defined(__aarch64__)” were needed and finally got to point where “make check” simply worked as it should.
So if you port software do not assume it is fine once it builds. Run testsuite to be sure that it runs properly.
Few months ago I wrote about Xulrunner/AArch64 patches. Today I was able to make use result of them.
How to easily test? I went to YouTube and selected first suggested video (without logging in). Had to switch to HTML5 player and it worked fine:
Second tab was build configuration page:
And all that on Fedora/rawhide with windows X11 forwarded to my desktop. Nice!