1. ARMv7a hardware is like minefield

    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 (1024x768) 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.

    Written by Marcin Juszkiewicz on
  2. Obsoleted but mainline

    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 2.6.16.2 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.

    Written by Marcin Juszkiewicz on
  3. Sound under Linux got broken for me

    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.

    Written by Marcin Juszkiewicz on
  4. Road trip dates setup

    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 event 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

    Written by Marcin Juszkiewicz on
  5. From a diary of AArch64 porter — testsuites

    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 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.

    Written by Marcin Juszkiewicz on
  6. Firefox on AArch64 is working!

    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:

    Firefox 30 on AArch64
    Firefox 30 on AArch64

    Second tab was build configuration page:

    Firefox 30 - build configuration
    Firefox 30 - build configuration

    And all that on Fedora/rawhide with windows X11 forwarded to my desktop. Nice!

    Written by Marcin Juszkiewicz on
  7. AArch64 is in the house

    Today FedEx courier delivered me a package. Inside was APM Mustang in 19” rack case.

    I unpacked, grabbed all required cables from my cable boxes (power, Ethernet, serial), connected it and booted. It arrived at very good moment as we are in a middle of Fedora 21 mass rebuild so I do not have to use remote machines anymore.

    Will not write about technical details cause those are already known (8 cores, 16GB ram, SATA storage, 1GbE networking). Do not expect benchmarks as I am not allowed to publish results. If you want to compare build speed then go to Launchpad and check how long it takes to build Ubuntu packages for arm64 target.

    My plans for machine? Run Fedora rawhide, fix building issues. I also plan to play with virtualization to check how Ubuntu and Debian work.

    Written by Marcin Juszkiewicz on
  8. 10 years ago I got write access to OpenEmbedded

    It was 8th May of 2004 when I did first push to OpenEmbedded repository. It was BitKeeper at that time but if someone wants to look then commit can be seen in git.

    I will not write about my OE history as there are several posts about it on my blog already:

    It was nice to be there through all those years to see how it grows. From a tool used by bunch of open source lovers who wanted to build stuff for own toys/devices, to a tool used by more and more companies. First ones like OpenedHand, Vernier. Then SoC vendors started to appear: Atmel, Texas Instruments and more. New architectures were added. New rewrites, updates (tons of those).

    Speaking of updates… According to statistics from Ohloh.net I am still in top 5 contributors in OpenEmbedded and Yocto project ;)

    There were commercial devices on a market with OpenEmbedded derived distributions running on them. I wonder how many Palm Pre users knew that they can build extra packages with OE. And that work was not lost — LG Electronics uses WebOS on their current TV sets and switched whole development team to use OpenEmbedded.

    Since 2006 we got annual meetings and this year we have two of them: European as usual and North America one for first time (there was one few years ago during ELC but I do not remember was it official).

    There is OpenEmbedded e.V. which is non-profit organization to take care of OE finances and infrastructure. I was one step from being one of its founders but birth of my daughter was more important ;)

    And of course there is the Yocto project. Born from OpenedHand’s Poky helped to bring order into OpenEmbedded. Layers (which were discussed since 2006 at least) were created and enforced so recipes are better organized than it was before. It also helped with visibility. Note that when I write OpenEmbedded I mean OpenEmbedded and Yocto project as they are connected.

    I remember days when Montavista was seen as kind of competitor (“kind of” because they were big and expensive while we were just a bunch of guys). Then they moved to OpenEmbedded and dropped own tools. Other company with such switch was Denx. 3 years ago they released ELDK 5.0 which was OE based and made several releases since then.

    What future will bring? No idea but it will be bright. And I will still be somewhere nearby.

    Written by Marcin Juszkiewicz on
Page 26 / 105