1. Ubuntu/Linaro platform rally in Dallas, TX

    Last week I was in Dallas, TX on Ubuntu/Linaro platform sprint rally. Like previous one in Prague this one was also spent on nailing workitems to get job done.

    This time I was working on backport PPA which contains current (11.04/natty) cross toolchain packages for Ubuntu 10.04 ‘lucid’ and 10.10 ‘maverick’. I got it working and populated recently. After announcement I got first bug reports so now I am trying to fix all issues.

    But such events are not only work. It is also good time to meet people which you know, known but not met and others. One day I went to Andrea Gallo to say hi and was introduced to Rajeev Kapoor (also from ST-Ericsson). I was surprised that he remember me from times when I was working on NDK-15 support in Poky (around May—July 2007). I heard some forgotten stories, discussed current ST-E board work and we went to other groups.

    Other day I met Jim Huang and Matt Hsu from 0xlab. It was first time when we met face to face but we were working with each other several years ago during Openmoko times. Now they work mostly on Android and shown me hibernation support for ARM. Beagleboard went to sleep and got back to running state in nearly no time.

    Wednesday evening was nice. I went to Barcadia with guys from Texas Instruments where we met Texrat (Maemo community). Got some food, beers (“Arogant Bastard Ale” was interesting but even after second one I am still not worthy) and had some discussions. But what that place had was awesome: still working coin-up arcade machines from early 80’s! There were Space Invaders, Moon Patrol and several others. I lost few coins on Galaga just to notice how awful player I am ;D

    On Thursday we went for a dinner to Medieval Times. It was a show with some kind of food. Next day someone nicely described it as “good bad experience” — I hope to not having to watch this kind of entertainment again.

    It was good event. This time I was not so jetlagged like during UDS-N in Orlando so got sleep times better. And I do not suffer too much now.

    Written by Marcin Juszkiewicz on
  2. 2010 timeline

    What did 2010 brought? Again new job — this time for Canonical as part of Linaro project. Visited few events, got some new devices…

    January

    February

    • got e-mail from Christian Robottom ‘kiko’ Reis with offer of working for Canonical — it was second time when this company wanted to hire me and this time I accepted.
    • FOSDEM as usual — will be there in 2011 as well
    • created interesting video showing history of OpenEmbedded — few hours of rendering but result was nice
    • Nokia and Intel started MeeGo — lot of time passed and still no phones with it (and just few other devices)…

    March

    • BUG 2.0 prototype arrived at my desk with set of modules — I did sent it back few months later
    • had long discussion with Dave ‘prpplague’ Anders about some new OMAP based developer board. I gave some suggestions based on my experience and got added to early adopters list. Some months later this board got name: PandaBoard.
    • tried to migrate Sheevaplug to DebianSD card died ;(

    April

    May

    • attended Ubuntu Developers Summit for first time. Thanks to Eyjafjallajökull volcano I became more familiar with German railway system ;D Event was good but I was a bit lost there.
    • existence of PandaBoard was confirmed officially by Texas Instruments developers. We went for dinner later and I got added to early adopters list for second time ;D
    • bought new laptop: ASUS UL30A to replace ageing Dell D400. Works nice, 8h on battery is good thing to have. During UDS-M I was able to work all day without having to use power supply.

    June

    • LinuxTag 2010 — never again going to just one day… Whole event or not at all — otherwise it is waste of time.
    • switched from NVidia Geforce to AMD Radeon — Twinview was not comfortable for my dual monitor setup. HD5450 was mistake — XVideo and OpenGL started working few months later in experimental releases…

    July

    August

    September

    October

    November

    December

    In 2011 I should try to write timeline month after month (but release at end of year). It is hard to remind all things which I did not blogged about. 2011 was also year of Twitter use for me — so follow me there if you want more informations then just blog :) I also have FaceBook account but I select who I connect with.

    Written by Marcin Juszkiewicz on
  3. Going to Android

    Over two years ago I was thinking about next cellphone and wrote that it would be something with Windows Mobile. There were comments that I should go for Android which was not on a market yet. In first week of 2009 I switched to Nokia E66 running Symbian. There were apps for this device (I even bought one: ProfiMail) and community existed with lot of tricks, hints, suggestions.

    In October I got Nokia N900 discount offer and I decided to take it. Device arrived month later and I got hooked. Finally device which I can use daily for my network activity without having to carry additional cellphone (like it was with Nokia 770 and N810 tablets). Maemo community existed already and I was a part of it. As there were developers already equipped with N900s there was a constant flow of new applications, themes, tweaks and hints. Platform was living. Nokia provided few system updates, some of them even gave some nice new features.

    But at same time it was known that amount of love for Nokia N900 at headquarters is near zero. MeeGo was announced just few months after device release so it was known that there will be very limited support level and that some things will never be done (like Ovi Maps with voice navigation).

    So I started slowly to look at market to know which way to go for next cellphone. Windows Mobile 6.x was out of question as this is platform which gets out of market now. Windows Phone 7 is fresh, strictly controlled so I do not want to go there — let it first get some devices, applications etc. Symbian? no way — been there already. Ok, Nokia N8 looks nice but it is still Symbian. MeeGo is not yet market ready when it comes to phones and even when mystic N9 will be released then it will not be pure MeeGo but rather some kind of mix of open components from MeeGo + huge set of closed sourced applications written by Nokia. And who knows how long it will be supported…

    So I looked into Android. Installed NITDroid on N900 to play with FroYo and it looks and behaves quite good. There are lot of communities (usually around families of devices), custom system images are something normal for popular devices (so if vendor does not support upgrades to newer OS versions then community usually do). Also lot of friends already use Android powered devices (cellphones, tablets etc) so there are lot of hints from them what to choose when it comes to hardware or software.

    Which cellphone to choose? I have few candidates:

    • Nexus S - brand new device, Google supported so should get few OS releases, runs latest Android
    • Nexus One - nearly year on market, also Google supported, runs Android 2.2, newest version “should be out in few weeks”
    • HTC Desire - nearly same as Nexus One but this time as official HTC device. Android 2.2, should get at least 2.3 version from HTC
    • HTC Desire HD - hardware similar to previous one but bigger screen
    • HTC Desire Z - Desire + hardware QWERTY keyboard
    • Samsung Galaxy S - Android 2.1 but 2.3 is promised

    Which to buy? Nexus S looks good and I will be in US in January…

    And this will be my 4th cellphone running Linux…

    UPDATE: added Samsung Galaxy S because vendor promised Android 2.3 — but it depends when it will be available.

    Written by Marcin Juszkiewicz on
  4. Is this the end of Maemo5?

    Some time ago I stopped following Maemo news. For me N900 became “just a phone” which I used for calls, checking email in crappy Modest, browsing web from time to time and to read Twitter (if any application for it works) or Facebook (by web browser cause there are no apps for it).

    But recently I got one tweet which pointed me to “State of Maemo” post. For me it looks like Nokia decided to finally abandon sinking ship and leave Nokia N900 users alone. Qt will probably get some updates to show that they care about cross platform support. How many MeeGo Qt apps will work on Maemo5? No one knows probably but one thing is sure — they will have to be recompiled because Harmattan will be hard-float (confirmed by Nokia developer during UDS-N). But for rest community will have to care about.

    OK, there was told that there are “ideas about opening various pieces of Maemo source code that are still closed” but what it will be? No one knows. I would like to get Calendar opened but when it will happen I will probably do not have N900 anymore…

    And today I read total “please ignore our ,but ignored by us, platform” message:

    Last week we spoke with Nokia. We were actively discouraged from developing for Maemo any further. There are lots of things we love about Maemo, including an awesome user community so we’re disappointed to see it EOL’d. It’s frustrating to have put so much effort into an app only to see the platform it’s on be terminated. Whether we reappear on MeeGo — the successor to Maemo — depends in part on Nokia. In the mean time, our conversation with Nokia has led us to deprioritize the update we were working on, though no final decision has been made yet as to whether or not it’ll ship. I’ll keep you posted.

    Somebody wants to buy my N900? I am going to move to Android because this looks like a platform where OS vendor care at least on some of devices by providing system upgrades. And there are communities which provide updates for abandoned devices. And no, I do not plan to buy device running MeeGo — enough money spent on Nokia devices.

    Written by Marcin Juszkiewicz on
  5. Debug board for Efika MX Smartbook

    I finally found a time to connect debug board to Efika MX Smartbook. I got that dongle about week ago but had more important things to do.

    Package arrived in small box with BBRV signature on it:

    Box with signature
    Box with signature

    Inside was “Lange 3 DB Board” made by Pegatron company. This provides ARM JTAG and serial connectors.

    Debug board itself + connection cable
    Debug board itself + connection cable

    To connect it with Efika MX Smartbook first thing to do is take out keyboard. To do this small screwdriver is needed to push in four places at the top edge:

    Keyboard before connecting cable
    Keyboard before connecting cable

    Inside you see empty space for mini-pciexpress card (but only USB signalling) which is used for 3G modems. On the right is half size mini-pciexpress card (also USB only ofcourse) wifi card based on Ralink 3273 chipset. Debug board cable needs to be connected to CONN1501 connector under 3G modem space (contacts bottom).

    Keyboard open, slots and connectors visible
    Keyboard open, slots and connectors visible

    Keyboard can be put back into place so it is possible to use serial/JTAG and keyboard at same time:

    Debug board connected, keyboard in place
    Debug board connected, keyboard in place

    What for I would use debug board? Time will show. So far I found out that kernel based on 10.08 Freescale code drop has worse battery driver then previous one (10.07 based). After one hack I got at least system which boots normally.

    Written by Marcin Juszkiewicz on
  6. Ubuntu One — good or bad?

    Today I activated my UbuntuOne account again and enabled mobile service + extra 20GB storage (such set is given free for Canonical people). Now I wonder did it had sense…

    On my desktop I am running KDE 4.5.3 under 11.04 ‘natty’ development release. Why is it important? Because there is no client for such combination. It looks like you need to run GNOMEbuntu or Microsoft Windows to have some kind of U1 integration. Otherwise I need to run shell command (or use GTK app) to login.

    But ok, I installed all required packages and it connected. Synced Tomboy notes from desktop and Conboy ones from my Nokia N900 so now I have them in sync (without a way to select which one I want where but that’s limit of apps). Then I decided to make use from synchronization of contacts. And here the fun begins… My phone is not supported by Funambol (syncml backend used by Ubuntu One) so sorry — all I can use is one bug on LaunchPad.

    So what’s left? Files — good to have 20GB of storage for something. Maybe will start using it one day. Now I spend time mostly at home so wifi/ethernet connection works and I have access to all media on my machines. Other is bookmarks — but only Firefox is supported (by extension) and I switched to Chromium few months ago.

    But who knows… maybe it will have some use one day.

    Written by Marcin Juszkiewicz on
  7. PandaBoard: my story

    It was 24th March 2010 when one friend asked me do I want to be added to beta testers list for new omap hardware. One of questions was “what would you like to have on board” so I replied:

    • hdmi out (does not care much about vga/svideo/composite out)
    • 2xSD slots (SD or microsd type)
    • ethernet (but rather not on usb)
    • serial on db9/icd10 + serial/jtag by miniusb (think sheevaplug)
    • OTG is not needed but can be present
    • BT would be nice but not required as I have 5 micro dongles here
    • few usb ports — if possible (not omap3530) on more then one hub
    • few leds (multicolor?) would be nice (bug 2.0 has 2xblue + 2xmulticolor)
    • few buttons including power/reset ones
    • and 5V 2.1/2.5mm power jack. I do not need power-on-otg because it require 500mA ports
    • onboard lcd+ts is not needed for me
    • ah… and mounting holes like in beagleboard so board can be mounted anywhere
    • connector with i2c/spi/gpio/etc/etc
    • I missed audio in/out
    • battery for rtc

    And suggested to place most of connectors on 2 edges as it helps to organize desk. Atmel’s at91sam9m10 was given as example cause it has all connectors on top and left edge.

    And time passed… At UDS-M TI people said that there will be cheap OMAP4 based board named PandaBoard. During dinner (later same day) I got added second time to early adopters list. I wonder how Rob Clark reacted when he saw me on a list already :D

    And again time passed… Ubuntu/ARM people were playing with prototypes of PandaBoard (ES1.0, ES2.0 6-layer etc) and I had occasion to play with boards during Ubuntu/Linaro platform sprint in Prague. It looked nice (if you did not looked at ES1.0 one) and was more or less working fine.

    And finally at 15th September I was told that at the end of month there will be production run from which several boards will be shipped to early adopters and few selected projects. Board travelled half of the world, then got back to US and at the end of UDS-N I got it.

    Arrived home, powered BeagleBoard C3 off and started to assemble new board. Panda got several accessories connected:

    • +5V 3.5A power supply
    • powered USB hub
    • small USB keyboard
    • wireless USB mouse
    • 20” LCD monitor with 1680x1050px resolution (this is also connected to my desktop)
    • 320GB Serial-ATA hard drive in SATA->USB enclosure

    Also connected Ethernet, serial (by usb-serial dongle + 2 usb extenders) and used one of floating SD cards to have place for bootloaders and kernel. Config is much nicer then it was when I used BeagleBoard.

    As operating system I am using Ubuntu 11.04 ‘natty’ as this is current development version and I have some things to check under it. Anyway I plan to move backwards and install 10.10 ‘maverick’ as primary system cause this will allow me to test omap4 hardware acceleration of graphics and audio/video decoding.

    What I am using it for? Package building and testing. So far rebuilt whole KDE4 but it was segfaulting all the time on EfikaMX Smartbook so I am waiting for official ones (as there are some things to fix there first).

    Written by Marcin Juszkiewicz on
  8. How to detect PandaBoard version

    Some time ago I got PandaBoard for my personal use. It is EA1 version but then there was a question which I heard countless times:

    Which version of OMAP4430 did you got?

    There are two possible answers: ES2.0 or ES2.1. During my return trip from UDS-N Nicolas Dechesne from TI asked me and instead of answering I just gave him board with “this one” answer. He looked and told “ES2.1” and I did not asked more.

    At home when I got it working I found PandaBoard Revisions wiki page which tells which GPIO lines should be checked. So I wrote simple test:

    for gpio in 171 101 182;
    do
        cat /sys/class/gpio/gpio$gpio/value;
    done
    

    And got “0 1 1” as an answer which according to table from wiki means “750-2152-010 (ES2.1, 8-layer board)-Production board/PandaBoard Rev. A1”. But sticker on mine says “750-2152-001 (D)” which (again according to table) means that I have “(ES2.0, 8-layer board)-Early Adopter Board/PandaBoard Rev. EA1” one.

    So who to believe? After some discussions on #pandaboard irc channel I prefer to trust Måns Rullgård and his skills in OMAP related area. He pointed me to OMAP4430 TRM section 1.5 which describes where version of silicon is written. What left was just one run of devmem2 tool:

    root@localhost:~# devmem2 0x4A002204
    /dev/mem opened.
    Memory mapped at address 0x2aba9000.
    Value at address 0x4A002204 (0x2aba9204): 0x1B85202F
    

    And I got confirmation that I have real ES2.0 board. For those curious: ES2.1 has 0x3B95C02F value.

    Written by Marcin Juszkiewicz on
Page 46 / 105