1. Death to Raspberry/Pi — Beaglebone Black is on a market

    As guys from/around Texas Instruments promised there is new Beaglebone Black on a market. Faster, cheaper, with video output and other extras. For me it looks like Raspberry/Pi killer done right.

    What is on board?

    There is a lot of goods:

    • 1GHz TI AM355x cpu with ARM Cortex-A8 core supporting ARMv7-a instruction set
    • PowerVR GPU with OpenGL ES support (closed source driver)
    • HDMI output (with audio)
    • 512MB ram
    • 2GB eMMC
    • 92 expansion pins
    • USB Host
    • USB device
    • Ethernet
    • microSD slot
    • user controlled LEDs
    • serial port header

    And it still supports (most of) expansion boards from the original Beaglebone which can add extra functionality so possibilities are uncountable. All that for only 45$.

    But why it is better?

    1. ARMv7-a cpu core. It means that you can run any Linux distribution on it. Think Ubuntu/armhf, Debian/armhf, Fedora/armhf. No need to reinvent a wheel (aka armhfv6 done for Raspbian distribution).

    2. No dependencies on closed source components. You can boot board and use it with what ever you want and still have control on all sources used. Sure, there are some binary blobs for OpenGL ES but if you do not need this then you are fine. Try to boot R/Pi without binary blobs…

    3. Texas Instruments level of support. Sure, we heard that they abandoned mobile market but Sitara line of processors is still in development, there are new CPUs and they provide documentation and source code for product. Also amount of work done in mainline kernel is not something to be ignored.

    4. Expansion headers. Compare 26 pins of R/Pi with 92 of Beaglebone… Then add capes to this.

    So which one to choose?

    Beaglebone Black of course ;D

    As people on IRC told there are other cheap devices made in China with faster cpus and more memory. But for me Beaglebone is not ‘yet another ARM computer’ but rather ‘yet another microcontroller on ultra steroids’ and this is where the true power of this board resides.

    Written by Marcin Juszkiewicz on
  2. Automatic sorting of mailing lists with maildrop

    I am subscribed to many mailing lists. Creating filters for them was usually pain but keeping all in one folder was also not useful. So I decided to make it more automatic.

    There are many pages which will tell you how to use maildrop, how nice it is etc. But as I am used to “autofolder” set of procmail rules written by Kamal Mostafa from Canonical I had some requirements already and some ideas how to handle few things in other way.

    So what I did? Maybe not so much so far:

    • handle @list[sy].DOMAIN servers
    • autocreation of folder structure (/ML/{DOMAIN}/{LISTNAME})
    • all GitHub projects are handled as folders of github.com

    There is a lot of work to do but for now I am happy with what I did.

    You can see it in hrw/dotfiles-mailfilter repository on github.

    If someone finds it useful then please comment, fork, send merge requests, patches etc.

    Written by Marcin Juszkiewicz on
  3. Nexus 7 — upgrade or complain?

    Around week ago courier brought me Nexus 7 tablet (32GB, wifi only) as kind of upgrade to my Archos G9 80 ‘so called’ Turbo one.

    First steps

    Charged a bit, booted into Android 4.2 and was greeted by “upgrade to 4.2.2 is possible” soon after wifi connection. But decided to go my way instead ;)

    Fetched Clockworkmod touch recovery, CyanogenMod 10.1 nightly image and Google Apps 4.2.2 pack and booted into bootloader. Quick ‘OEM unlock’, flash of new recovery and few minutes later I had CM 10.1 running just like I wanted.

    Restored apps from Archos with use of TitaniumBackup and after some configuration I had tablet which responds fast and behaves properly.

    Multiuser stuff

    As my daughter was main user of Archos I waited for Android 4.2 to get multi user capabilities. Played a bit with them on G9 (with Paranoid Android installation) but 512MB ram and OMAP4430 gave my terrible experience with far too many moments when I wanted to crush tablet into pieces…

    So when Mira had come from kindergarten I shown her Nexus 7, made a photo with internal ‘want to be a camera’ thing and gave instructions on how to turn device on and switch to her configuration. She had no problems with understanding it ;)

    There are some issues with multiuser stuff. Each user is expected to have Google account, applications are not shared etc. I understand why but in my case it was annoying.

    But there is Multi-User App Share app which allows to share applications with different users. So Mira has all her children apps and games available and is not able to spend real money on in-app payments due to lack of Google account (and credit card). I was able to remove them from my configuration as well.

    Sharing files is more complicated as so far I did not check is there a shared space for them. So each of us has own music/movies.

    Do I miss something?

    There are few things which Archos G9 80 has and Nexus does not:

    • HDMI output
    • microSD slot
    • USB Host port

    I may miss video output sometimes but had not used it for over half a year now. MicroSD would be nice so I would not have to buy 32GB version. But ~20% of tablet (50$) was sponsored by Tizen ;)

    And by USB Host port I mean normal EHCI host port. Not an OTG one present in Nexus 7.

    But I do not miss crazy upgrade scheme invented by Archos. Also do not miss I Scream for Sandwitch version of Android they offered. We have XXI century and their upgrade path is from previous millenium.

    Complains?

    So far I did not find something to complain about. OK, screen could be more square (4:3 Archos, 16:10 Nexus) but it is fine for me. Ask me in few months ;)

    Written by Marcin Juszkiewicz on
  4. Hardware acceleration on Chromebook

    I think that most asked question about Chromebook in last months was about hardware acceleration. So let’s write something about it.

    OpenGL ES

    There is a driver for OpenGL ES for Samsung Exynos5 Dual cpu present in Chromebook. But there are two versions of it: Week35 and Week45. Both require different kernel versions.

    Ubuntu 13.04 has 3.4.0-5 kernel package which was built from R23 kernel branch. Week35 OpenGL ES driver works with it and you have to grab it from ChromeOS (but maybe it got updated there already).

    I still have to find time and get R25 (or R26 or R27) kernel working so we could upgrade to Week45 driver. This one is available in ChromeOS as well (beta or dev).

    Where are my packages?

    There were packages which provided OpenGL ES driver binaries (week45). I removed them due to license issues as it looks like Samsung bought Mali T604 license from ARM Ltd. and got it working with Exynos5 Dual. Then they sub licensed it to Google for use with ChromeOS.

    So Samsung does not distribute the driver — Google does. And even when they give tarball with files there is no license in it — just standard “Google Terms of Service” note.

    No redistribution license == no packages. Sure, someone can make “chromebook-opengles-driver-installer” like package which would grab binaries from ChromeOS (I did such for week35) or will fetch them from network. Feel free to do it. Once you will get it working I can put it into Samsung Chromebook PPA.

    Multimedia decoding

    Other thing is hardware accelerated multimedia decoding (maybe also encoding). Under ChromeOS it was done with OpenMAX stuff. Google even had some binaries available but they crashed badly under Ubuntu.

    How situation looks today? No idea as I did not had time for Chromebook stuff in last months.

    Written by Marcin Juszkiewicz on
  5. Revision 2013

    This year I spent Easter in other way than in past years. Instead of staying with the family I went for demoscene party — Revision 2013 in Saarbrücken.

    Please note (RSS readers mostly) that this post will contain many YouTube videos embedded. Please go to my blog to have them properly displayed.

    Friday

    Took us 12 hours to get there (mostly due to waiting on TXL and FRA airports) but we managed to be at party place around 19:00 on Friday. Registered, met friends and went to Kirchberg Hotel to drop bags.

    Hotel has two stars but was perfectly fine for such trip as our. Clean bed, good breakfast, quiet place (except church bells at 10:00 on Sunday). All just ~2km from E-Werk where Revision took place.

    Back to party, more people to meet, discuss a bit with guys from ARM Ltd about Samsung Chromebook, Cortex-A15, Mali etc. One guy joined with his Chromebook and recognized me when I asked “may I fry your speakers?” :D

    Timetable listed one interesting thing: “Curio’s 2012 Essentials” which was ~1 hour long set of PC demos from previous year. It was nice as I was totally out of PC scene so was able to check how it looks.

    Taxi to hotel was just 6€ ;D

    Saturday

    Attended “How to start writing compilers without a Ph.D” seminar as it sounded interesting to me. And it was ;) Video below:

    Also had discussion with ARM guys about presenting not only technical demos (like Unreal Engine one) but also to show some demoscene productions. Soon “Beginnings” by Elude started on one of Nexus 10 tablets and was working nice. But coder who wrote it was not so happy about that when we discussed that later… I think that it would be a good thing for ARM Mali team to get some good demoscene groups to write demos for Android platform to amaze people with nice looking productions. ARM even had seminar for OpenGLES 3.0 API:

    But Saturday was also full of competitions. Tracked music, oldskool music (read: 8-bit mostly), photo, animation/video, game, ascii/ansi, Amiga intros, PC 4K intros, Oldskool demos (8-bit, Atari STE, Amiga 500)…

    There were many entries in compos where productions from long time no see groups/people were presented. For example in oldskool demo we got “RINK A DINK REDUX” from Lemon which was astonishing:

    There were also demos for Amstrad CPC, MSX1, ZX Spectrum, Commodore 64 and other platforms. Oldskool music compo had even NES entry ;)

    But it was also visible that demoscene is not full of amateurs like it was years ago. Some of videos in animation/video compo had professional level. “Lübeck 24x7x365” took 50 days of recording but was really nice:

    There was a concert in the evening… Ear plugs were not strong enough for me so I spent most of time outside talking with people. Next time need to take some better hearing protectors…

    Sunday

    As Saturday ended really late for us and competitions were planned for 13:00 we decided to not rush and stay in bed longer :) But at around 10:00 bells in local church started their music compo so we were not able to sleep anymore.

    We got music, graphics, wild and of course PC 64K intro, web browser demo/intro, Amiga demo and PC demo competitions that day.

    Graphics one was won by “Double Trouble by the Royal Forces” made by forcer & prince. Huge amount of details which was not so visible on big screen as it was on a tunnel’s wall where it was hanging as few square meters photo copy.

    Wild compo… Man, that was something great. From productions made for Arduino (with some shields) though ARM Cortex-M3 one to interesting hack by Dexter/Abyss which shown one view on monochrome TV and second on oscilloscope while both were connected to Composite video signal only… See it for yourself (or grab separate entries from scene.org FTP server):

    Then DJ set by h0ffman (skipped by me) and clue of party — Amiga and PC demos/intros. Different quality but most of them was really good — both from technical or design view (but not always from both at same time).

    But as I am not a coder I looked mostly at design and audio/video part. All those names like ‘ray matching’ etc meant nothing to me so when someone tried to explain why demo which I did not like was so great I just told similar thing ;D

    Monday

    Wake up, breakfast, pack, pay, go to party place. We did not manage to get there before voting ended so not voted for PC demo compo entries. Greeted those who was still present, discussed a bit and then return trip… This time just ~9 hours but next time (if there will be such) we plan to go there by car. Less time needed.

    Random stuff

    I liked how party was organized — it was my first such event abroad and many people told me that Revision is the last demoscene party in old style. I really liked it. Saw many different platforms like MSX1, MSX2, C= VIC20, Amstrad CPC or Videoton…

    Due to Easter time shops where closed on Sunday/Monday but it was not a problem for me as there was free coffee/tea, beer/water/orange juice was available to buy at low price (2.5€ for 0.5l beer) and there was hot food served all time (like 10:00 - midnight) also not so expensive.

    Weather could be better as it was cold but at least there was no snow (which we still have here).

    It was also nice to see Kiero at work as he was finishing “Machinist” Amiga demo on his x86-64 laptop with WinUAE running fullscreen. I was surprised that ASUS UL30A is capable to run it fast enough.

    Amount of discussions with people is probably uncountable. Chromebook, ARM, Android, Amiga, scene were just subset of topics…

    Will I go there next year? Will see…

    Written by Marcin Juszkiewicz on
  6. Organizing books on Kindle sucks

    I have a Kindle. Paperwhite to be precise. And 224 books on it…

    When I look at a shelf behind me I see probably similar amount of paper ones. Science fiction, fantasy, sensation, computer ones and other. They are more or less in an order.

    I have series next to each other — with books set in reading order (not always original one but mine). Tall separated from low ones, English ones near to those in Polish.

    So when I want to read “Collectors” by Baldacci I can just go there, take a quick look, grab it and start reading. Other two parts are next to it (I just realised that I lack two books from cycle) and in Polish. Similar with “Witch World” cycle by Andre Norton (but only in Polish).

    Getting such order on Kindle? Forget it.

    I have 5.3.3 firmware with jailbreak and Collection Manager. I use Calibre on desktop to have my e-books in one place. But then I have some books only on Kindle cause I bought them on Amazon directly. Will unDRM them one day. For some books from Polish online stores situation looks similar.

    Some e-books have the same title for both parts — like “Dziewiąty Mag” for example. And guess which one is which on device without opening…

    There is no easy way to store information where book was bought. Sure, I can create a column in Calibre and fill that data there. But have you tried to do it for more than 3 books? PAIN

    I created several collections to get a bit of order on device. But I do not like situation when I have to edit e-book title just to add information which part of cycle it is.

    Maybe one day I will find solutions…

    Written by Marcin Juszkiewicz on
  7. 35 months at Linaro

    Today with my paycheck Canonical reminded me that I started working at Linaro 35 months ago…

    Time flies fast and things are changing even faster. I am working in the same team as started but it has 4th or even 5th name with most of first members gone or moved to other teams. 3rd manager at Linaro (and first one not from Canonical) and 5th or 6th at Canonical (depends on how to count).

    At the same time Linaro grown from 20-25 people who met at private meeting on first day of UDS-M in Belgium to a much bigger number. I lost track long time ago as it is hard to remember everyone especially when people move into Linaro and then go back to member companies, switch teams, companies (like going from member company to Linaro directly).

    I will have to make such decision in next 1-2 months as I am one of the few reminding Canonical ones…

    Written by Marcin Juszkiewicz on
  8. Cookies blabla…

    This site is using cookies. Some of them are to track you as I use Google Analytics. Other may keep your name/email/website when you write comments on my blog.

    We have new law here in European Union that visitors should get notification when website is using cookies. You know — privacy stuff etc. Lot of people does not even have any idea what this whole noise is about. There are websites for them with all that not even needed information — your search engine will point you there (and use few cookies in meantime).

    I do not plan to add any of those annoying popups which will tell that there are cookies in use. Once you see such one you get cookie — cause website needs a way to remember that you clicked “yes, I know, get off my screen” button. You will not see such one here.

    There is a text box in right column about cookies — go, read, decide would you read my blog or not. It is your choice and always was.

    PS. I added tags into post just to get this post shown on each RSS aggregator I am/was listed.

    UPDATE: added small header.

    Written by Marcin Juszkiewicz on
Page 35 / 107