Tuesday, December 21, 2010



Coordinating efforts towards free firmware implementations



Some months ago I have started to mantain a wikipage at LibrePlanet.org with a list of device drivers that require non-free firmware. For each device I created a wiki page to aggregate technical information about the device in order to make it easier for us to develop free firmware.

Then, during November I have travelled around Europe and have had the opportunity to hack on a laser projector in the Prague hackerspace. The special thing about it is that we developed free software for it but we still rely on the binary-only firmware to startup the device. And I was annoyed by that so I continued investigating and ended up discovering that the device has an EZUSB (which is a 8051 microcontroller with native hardware support for USB communication). Then I have found the datasheet for this microcontroller and started to study it. I even used a disassembler in order to inspect the firmware and things started making sense, but I got concerned about the legality of reusing code from this disassembly process.

At that point I figured out that I should check the wiki page again to see which other devices are using the same microcontroller because that was valuable knowledge that I had just acquired that could be used to free some firmware. So I searched for "ezusb" in the kernel source code and found 3 devices that also use it. One of these devices (DABUSB/TerraTec-DrBox1: a digital radio receiver) has its binary firmware distributed under copyright terms that allow free, derivative works:


* Copyright (C) 1999 BayCom GmbH
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that redistributions of source
* code retain the above copyright notice and this comment without
* modification.


So this means that by disassembling the firmware, the resulting source code is free. I've done it and now we just have to understand the code and give nice names to the variables and routines in order to have a free firmware for the device. I've been doing it yesterday and today but then I stopped for a while and started to question myself whether it is actually useful work. I am concerned that this is a device released 11 years ago and I don't know anybody who uses it nowadays. So I don't know what is the real demand of support for this specific device.

What I mean is that we need better understanding of the meaning of the LinuxLibre blacklist of devices. We need to figure out a way to sort these devices in a relevance order so that we can focus our reverse engineering efforts on the most critical ones. I suggest that we start a working group to define the criteria for sorting that list and continue this work with some better strategies. One of the possible ways to sort these devices by relevance would be to build statistics based on collecting hardware information of libre-distro users.

I hope someday we'll be providing fixes to the issues raised by the LinuxLibre project instead of simply removing functionality. I think that this perception that lots of people have of LinuxLibre as a less functional, technically inferior alternative to Linux is a real danger. I know that we should not judge software only by its technical aspects. Nevertheless, this is still no good advertising for LinuxLibre.

I'd like to hear your opinions about these questions.

Happy Hacking,
Felipe Sanches

55 comments:

  1. Hi Felipe!

    If you could start an effort to replace binary firmware needed by video and wifi drivers that would be great!

    There is also another interesting project called OpenFWWF that I suggest you to look at:

    http://www.ing.unibs.it/openfwwf/

    Keep fighting and thanks for the great post.

    ReplyDelete
  2. Fernando Mercês10:30 PM

    I encourage you to continue, but only with relatively new devices. I can't see a reasonable work on obsolete device drivers.

    And congratulations, your work is very good.

    ReplyDelete
  3. Anonymous1:09 AM

    Priorities should be (1) firmware for popular ethernet hardware, (2) popular wifi hardware, (3) popular Bluetooth hardware, and (4) popular video hardware, in that order.

    I put video hardware last even though it's by far the most important because it's *difficult*; modern video hardware has very substantial quantities of software in it, and the other categories don't. So with video hardware more of an effort should be directed to getting manufacturers to release their code.

    ReplyDelete
  4. Anonymous1:12 AM

    Further thought: there are a LOT of EZ-USB based devices, and even more 8051-based devices. A LOT. It looks like even though any individual device may be obsolete, working on the field of EZ-USB and 8051 device firmware in general is a very good move.

    ReplyDelete
  5. Se vocês,que trabalham com engenharia reversa, divulgassem os métodos(legais) que vocês usam para um contingente maior de pessoas(na forma de tutoriais e coisas semelhantes), creio que ficaria mais fácil obter o suporte para a grande gama de firmware fechados que nos temos que usar para fazer nosso hardware funcionar a contento no linux.

    ReplyDelete
  6. Anonymous6:20 PM

    Thanks , I have just been searching for information approximately this subject for a long time
    and yours is the best I've discovered so far. But, what in regards to the bottom line? Are you positive in regards to the source?

    Feel free to visit my web-site; 激安レイバン

    ReplyDelete
  7. Anonymous8:31 PM

    Howdy are using Wordpress for your blog platform?
    I'm new to the blog world but I'm trying to get started and set up my own.

    Do you need any coding expertise to make your own
    blog? Any help would be greatly appreciated!

    My web page - rolexスーパーコピー

    ReplyDelete
  8. Anonymous12:20 PM

    I always spent my half an hour to read this website's articles or reviews all the time along with a mug of coffee.

    Review my web blog: ロレックスレプリカ

    ReplyDelete
  9. Anonymous3:11 PM

    Asking questions are really nice thing if
    you are not understanding something totally, except this post presents nice understanding even.


    Also visit my website :: rolexコピー

    ReplyDelete
  10. Anonymous5:09 PM

    I love what you guys are usually up too. Such clever work and coverage!
    Keep up the good works guys I've you guys to my blogroll.

    Take a look at my web-site - ロレックスレプリカ

    ReplyDelete
  11. Anonymous7:38 AM

    Hi, I think your website might be having browser compatibility issues.
    When I look at your blog site in Chrome, it looks
    fine but when opening in Internet Explorer, it has some overlapping.
    I just wanted to give you a quick heads up! Other then that, amazing blog!


    my homepage ... レイバンサングラス

    ReplyDelete
  12. Anonymous9:21 AM

    My developer is trying to persuade me to move to .

    net from PHP. I have always disliked the idea because
    of the costs. But he's tryiong none the less. I've been using Movable-type on
    numerous websites for about a year and am concerned about switching to
    another platform. I have heard very good things about blogengine.
    net. Is there a way I can transfer all my wordpress content into it?
    Any help would be greatly appreciated!

    Here is my website :: 激安プラダ バッグ

    ReplyDelete
  13. Anonymous9:36 AM

    Good post. I learn something new and challenging on blogs I stumbleupon on a daily
    basis. It's always useful to read through content from other authors and use a little something from their websites.

    My weblog: オークリーメガネ

    ReplyDelete
  14. Anonymous1:30 PM

    Hey I know this is off topic but I was wondering if you
    knew of any widgets I could add to my blog that automatically tweet my newest twitter updates.
    I've been looking for a plug-in like this for quite some time and was hoping maybe you would have some experience with something like this. Please let me know if you run into anything. I truly enjoy reading your blog and I look forward to your new updates.

    Visit my web page: ロレックスコピー

    ReplyDelete
  15. Anonymous8:10 PM

    You actually make it seem so easy along with your
    presentation however I in finding this topic to be actually one thing that I feel I would never understand.

    It seems too complex and extremely extensive for me. I am having a look forward on
    your subsequent put up, I will try to get the hold of it!



    Here is my blog post: ゴーグルオークリー

    ReplyDelete
  16. Anonymous3:39 AM

    Pretty nice post. I just stumbled upon your blog and wished to say that
    I've really enjoyed browsing your blog posts. In any case I will be subscribing to your rss feed and I hope you write again soon!

    Also visit my web blog ... bourgeoispunk.blogspot.com

    ReplyDelete
  17. Anonymous11:50 PM

    What's up, after reading this awesome post i am also delighted to share my experience here with colleagues.

    Also visit my web blog ... http://cinemarus.com/read_blog/300575/オークリー-サングラス-3-新しい-アーティスト-シリーズ-チップ-foose-ガスカンは特にサンドカラー

    ReplyDelete
  18. Anonymous3:05 PM

    Wow! This blog looks just like my old one! It's on a entirely different subject but it has pretty much the same page layout and design. Great choice of colors!

    Have a look at my site wholesale polo shirts
    Also see my website :: wholesale polo shirts

    ReplyDelete
  19. Anonymous6:33 PM

    Greetings! I know this is kinda off topic but I was wondering
    if you knew where I could get a captcha plugin for my comment form?

    I'm using the same blog platform as yours and I'm having difficulty finding one?
    Thanks a lot!

    Have a look at my web page - レイバンサングラス

    ReplyDelete
  20. Anonymous7:32 AM

    I'm not sure why but this web site is loading very slow for me. Is anyone else having this problem or is it a problem on my end? I'll
    check back later on and see if the problem still exists.


    My web page: レイバンサングラス

    ReplyDelete
  21. Anonymous8:56 PM

    What's up to every one, the contents present at this site are genuinely awesome for people knowledge, well, keep up the nice work fellows.

    My weblog :: オークリー アウトレット

    ReplyDelete
  22. Anonymous4:05 AM

    This info is worth everyone's attention. Where can I find out more?

    Here is my site :: http://turkkontakt.com

    ReplyDelete
  23. Anonymous5:56 AM

    I think the admin of this website is actually working hard
    in support of his web site, as here every information is quality based information.



    Here is my web blog gupiaozs.blogspot.com

    ReplyDelete
  24. Anonymous7:29 PM

    I was suggested this web site by my cousin. I'm not sure whether this post is written by him as no one else know such detailed about my difficulty. You're incredible!
    Thanks!

    Feel free to visit my page; fake oakleys
    My web site - fake oakley sunglasses

    ReplyDelete
  25. Anonymous4:27 AM

    コーチ bootsare 意図 には 安全 が 居心地の良い 健康。 やはり、これら
    高-高品質 シープスキン 財布 必要 排他的な ケア に 維持
    彼ら 物理的な外観。残り の 世界 としてそれらが好きです 実質的に としてオーストラリアを行う。 このブートです
    製造 メリノ羊毛から ブレンド と 意図
    に 表示 ケーブル ニット セーターのような。

    Here is my blog post :: コーチ 財布

    ReplyDelete
  26. Anonymous7:43 PM

    Very good article! We will be linking to this particularly great content
    on our website. Keep up the good writing.

    my web-site cheap mac makeup

    ReplyDelete
  27. Anonymous9:56 AM

    Do you have a spam issue on this website; I also am a blogger, and I was wanting to know
    your situation; many of us have developed some nice practices and we are looking to swap
    solutions with other folks, please shoot me an e-mail if interested.


    my web-site ... トリーバーチ ショップ

    ReplyDelete
  28. Anonymous3:54 AM

    That is a great tip particularly to those new to the
    blogosphere. Short but very accurate information… Thanks
    for sharing this one. A must read article!

    Here is my web page - クリスチャンルブタン

    ReplyDelete
  29. Anonymous5:51 AM

    Thanks for sharing your thoughts. I really appreciate your efforts
    and I am waiting for your further write ups thanks once again.


    Here is my site ... トリーバーチ

    ReplyDelete
  30. Anonymous6:46 AM

    Thanks a lot for sharing this with all folks you actually
    know what you're talking approximately! Bookmarked. Please additionally seek advice from my web site =). We can have a link exchange agreement between us

    my web site :: クロエ

    ReplyDelete
  31. Anonymous10:32 AM

    I every time used to read paragraph in news papers but now as I am a user of net therefore from now I am using net for content, thanks to web.


    My website ... http://www.santsadurni.es/modules.php?name=Your_Account&op=userinfo&username=Angelika4

    ReplyDelete
  32. Anonymous2:33 AM

    I think this is among the so much important info
    for me. And i am satisfied studying your article.

    But should commentary on few general things, The website style is wonderful,
    the articles is truly excellent : D. Just right activity, cheers

    Also visit my webpage: karen millen uk

    ReplyDelete
  33. Anonymous2:08 PM

    。あなたがエルメスのバッグの
    上に安価な取引を検索するのに十分な患者になったら、
    また、このブランドに
    もあるビクトリア·ベッ
    カムのようにシックに
    見えます。あなたが彼女と同じ
    くらい魅力的になりたい場合は、
    Eurohandbagの選択に探し始めることができます

    Feel free to surf to my weblog :: gucci バッグ

    ReplyDelete
  34. Anonymous9:34 AM

    First of all I want to say wonderful blog! I had a quick question in which I'd like to ask if you do not mind. I was curious to find out how you center yourself and clear your head prior to writing. I have had a difficult time clearing my thoughts in getting my thoughts out. I do enjoy writing but it just seems like the first 10 to 15 minutes tend to be lost just trying to figure out how to begin. Any ideas or hints? Cheers!

    Visit my site ... Cheap Ray Ban Sunglasses

    ReplyDelete
  35. Anonymous3:53 PM

    Hey There. I found your weblog using msn. This is an extremely well written article.

    I'll make sure to bookmark it and return to learn extra of your useful information. Thanks for the post. I will definitely return.

    Also visit my webpage ... Fake Ray Bans

    ReplyDelete
  36. Anonymous6:27 PM

    Luckily these can be bought in many shops and at manchester international for a low
    price. Growing Search engine optimization is a bets on patience.
    Upon they disembark, May possibly wonders where i would say the
    nearest coffee buy is. They are typically called cheerleaders for these actions.
    http://templo-betel.com/rsc/claudiati/all

    Here is my site; ティファニー ピアス

    ReplyDelete
  37. Anonymous8:52 PM

    実質的なにアクセス可能な別固体良いレンズ色と心ケーシングの配列。デザイン選択肢ですそう広い多くアピール多くの異なった人。

    Also visit my web site; オークリー

    ReplyDelete
  38. Anonymous8:52 PM

    カルティエ フレームです販売で、様々 なの色、変化と図形。

    Here is my blog: オークリーゴルフ

    ReplyDelete
  39. Anonymous1:25 AM

    Hello There. I found your blog the usage of msn.

    This is an extremely smartly written article. I will be sure
    to bookmark it and return to read more of your useful information.
    Thanks for the post. I will certainly return.

    My web page ... projetotaviva.blogspot.fr

    ReplyDelete
  40. Anonymous4:22 AM

    I'm really enjoying the theme/design of your website. Do you ever run into any browser compatibility problems? A couple of my blog audience have complained about my blog not operating correctly in Explorer but looks great in Firefox. Do you have any solutions to help fix this problem?

    my website ... サングラス オークリー

    ReplyDelete
  41. Anonymous6:07 PM

    Pretty! This has been an incredibly wonderful article.
    Thank you for providing this information.

    Look at my homepage ロレックス時計

    ReplyDelete
  42. Anonymous10:19 PM

    I'm extremely impressed with your writing skills and also with the layout on your blog. Is this a paid theme or did you customize it yourself? Either way keep up the excellent quality writing, it is rare to see a nice blog like this one these days.

    Also visit my site - christian louboutin shoes

    ReplyDelete
  43. Anonymous11:27 PM

    Highly energetic post, I liked that bit. Will there be a
    part 2?

    Feel free to surf to my weblog :: http://www.raybanoutlet-sales.com

    ReplyDelete
  44. Anonymous2:00 AM

    There are various online auction sites which you can check out every so often if you wanted
    to have the best prices on your ugg boots. ì (IE: sand, chestnut,
    chocolate, black) UGG boots. Delicately wipe it using a damp
    material, is not going to brush it fiercely that has a brush, don't melt away these comfortable shoes with boiled water, and use washing detergent and alkaline cleaning fluid to completely clean it on the same time.

    Here is my web blog; コーチ 財布

    ReplyDelete
  45. Anonymous5:35 AM

    Wow, fantastic blog layout! How long have you been blogging for?

    you make blogging look easy. The overall look of your web site is fantastic, let alone the content!


    Here is my webpage: www.tectonicsfp.com

    ReplyDelete
  46. Anonymous2:17 PM

    Komen Foundation on an international National Breast Cancerous cells Awareness Month effort.
    I didnrrrt count a townhouse as a good real estate cost.

    Adam McEnroe: Well, we hope it will correct more and a great deal more.
    DKNY, Rag combined with Bone, and Victoria Beckham showed
    fantastic "sportsmanship". http://vigele.
    com/profile/JanessaAl

    ReplyDelete
  47. Anonymous10:02 AM

    Very quickly this website will be famous among all blogging and site-building visitors,
    due to it's pleasant articles or reviews

    Here is my weblog :: Christian Louboutin Outlet

    ReplyDelete
  48. Anonymous11:55 PM

    It is then much more a hardship on a burglar you can kick in the door
    and break in. Quite a lot of bands provided the sounds of the exact evening.

    From the Pokmon of the lakes, crystals can continually be
    extracted to make a Red Chain. Stationary supplies incense burners is also commonly
    applied in Churches. http://dykery.com/members/activity/p/4153/

    ReplyDelete
  49. Anonymous8:55 PM

    Wow, that's what I was searching for, what a material! present here at this blog, thanks admin of this web page.

    Visit my web site :: http://menrolexs.xanga.com

    ReplyDelete
  50. Anonymous2:21 AM

    Undeniably believe that that you said. Your favourite reason seemed
    to be on the web the easiest thing to take into account of.

    I say to you, I definitely get annoyed whilst folks consider concerns that they just don't recognise about. You controlled to hit the nail upon the top and outlined out the entire thing without having side-effects , people can take a signal. Will probably be back to get more. Thanks

    Here is my weblog - Replica Watches

    ReplyDelete
  51. Anonymous9:57 AM

    Currently it sounds like BlogEngine is the preferred blogging platform out there right now.
    (from what I've read) Is that what you're using on your blog?


    my webpage ralph lauren polo sale

    ReplyDelete
  52. Anonymous5:57 AM

    One of the most well known designer labels of men's accessories could paul smith. Bringing out the new "It" model, Andrej Pejic...the "It" Male model, rather. paul smith Woman is nevertheless another flowery summer scent. They are individually trained per work and effect provide better alternatives. http://articleinternet.info/Along-With-Loose-Aggressive-Your-Dog-On-Walks.htm

    my homepage; elasticated trousers

    ReplyDelete
  53. Anonymous11:25 AM

    All these factors pose as fantastic inconvenience to one particular shopper.
    Therefore, officials say, the new planned does not have an
    affect on the educational budget. He is able
    to decide whether you have to help guy out or not.
    If you get any impression that there isn't a is not upper notch, then reach elsewhere. http://www.centsiblesavings.com/2011/07/vistaprint-20-page-photo-flipbook-for-5.html

    ReplyDelete
  54. Anonymous1:16 PM

    They are truly essential regions of the Disney show.
    Flared pants and bellbottoms added the way into the hippie stage launched in the 60s.
    So, call core agents should carry their call you can the optimum level.
    It can usually the most thanking deer hunting ordeal you
    can could. http://www.germinaciones.org/wiki/index.
    php?title=Usuario:Vernell39

    ReplyDelete
  55. Anonymous8:40 PM

    Person was particularly serious about the whiteness of his cravats.
    His or her's cufflinks are very high quality, with a attention to factor. Rimmel will prove to be on the avenues of London saving trendsetting looks on the big day. They rode on scooters, usually Vespas or else Lambrettas. http://draco.nism.ru/X/wiki/index.php/Designer_Cricket_Ball

    ReplyDelete