1. How to replace Zaurus PDA?

    My Zaurus c760 is nice ARM based palmtop. I use it for testing miscellaneous things during my work days.

    It was device where I hacked some Python based applications to fit in 10 megabytes of flash (it was fully working console system with Python and those apps). I test Ångström and Poky on it, tested different combinations of software etc…

    But it shows age — batteries (950mAh and 1700mAh ones) started to lose capacity (one of them gives less then 60%) so sooner or later this device will stop booting (as battery is needed to boot even on AC).

    But how to replace this device? There are lot of ARM palmtops in a world but most of it lack one or more features which c7x0 has:

    • ARMv5t instruction set
    • Linux support
    • VGA screen
    • working keyboard
    • 128MB flash
    • 64MB RAM

    Due to first one all devices powered by Samsung S3Cxxxx processor can be ignored. Most of today WindowsMobile powered devices lack VGA screen (not to mention that they also usually lack Linux support). But at least those ones are available in normal shops in Poland.

    I already considered few options but each of them has minuses:

    • other Zaurus (but they are few years old technologically)
    • HTC Universal (hard to get in good state, still boots from WinCE instead of flash)
    • Finnish tablet N810 (impossible to buy in Poland and lack any warranty/service)

    In worst situation I will slowly switch to using QEmu ARM emulation instead of real device.

    Written by Marcin Juszkiewicz on
  2. Bluetooth + phone == remote control

    During holidays I found another usage for my current phone (SonyEricsson k750i). It is Bluetooth Remote Control functionality.

    Basically it turn phone into HID device but the good thing is that user can create own profile for this. There is a tool for it (Microsoft Windows executable) and also those files can be created by hand (instructions are provided by Stefan ‘tommie’ Tomanek as part of his excellent guide about using this cellphone with Linux).

    I do not know does it is possible on Neo1973 (IIRC BlueZ only has HID daemon) but I will miss it if it is not…

    Written by Marcin Juszkiewicz on
  3. 2007 timeline

    2007 is ending. It was very good year for me. I am now married man, waiting for daughter birth. Have own company, working as contractor for one of biggest companies in OpenEmbedded world.

    January

    February

    March

    • Vernier LabQuest got released. I was one of members of OpenedHand development team working on Poky for this device.
    • Pingwinaria 2007 — I was there with one talk about OpenEmbedded. Then decided that it is time to buy laptop to be able to read mail, do some hacking etc.
    • My Neo1973 GTA01Bv3 arrived. Added was Debug board, 128MB MicroSD card, pen/stylus and few other things.
    • Three years of using OpenEmbedded.

    April

    May

    June

    July

    • GUADEC — I was going there with thinking “what I would do at GNOME conference” but it was also occasion to meet OpenedHand gang and people from other projects. I still remember how badly I lost on first day… and I did it twice ;(

    August

    September

    October

    • OEDEM 2007 took place. Nice event, lot of OpenEmbedded developers.
    • Maemo started developer program for Nokia N810 tablet. Due to limitations I was unable to take part of it. ARGHH!

    November

    December

    Written by Marcin Juszkiewicz on
  4. CompactFlash card problems - why it is worth to report them

    Few days ago Ångström distribution was released. Currently machine mentors tests images and release them so their devices will be also supported and ready for users.

    Users often have CompactFlash cards which we (developers) do not have. Some of them will be hit by miscellaneous problems. For example their WiFi card which was nicely working with HostAP driver now works only with Orinoco one so they can not connect to WPA encrypted access points.

    How to solve that? Such users should report those cards. What report needs to contain:

    • pccardctl ident output
    • information does card was working with other distribution (it can be any Linux distribution — I test cards under Debian on my laptop)

    What developer has to do then? Creation of patch to in-kernel driver is simple — there is one table per driver in source and few simple macros. Examples can be found in my submissions to kernel tree.

    Written by Marcin Juszkiewicz on
  5. Zaurus kernel config generation

    During last months I did few attempts to unify kernel configuration for all PXA Zaurus models (so no collie). As last one did not generate working ones and I do not have time to fix it (or devices for testing) I decided to release last version so maybe someone will look at it and try to get it fixed.

    To generate configuration files run make.

    Written by Marcin Juszkiewicz on
  6. Zaurus bootloader starts to be a real PITA

    Sharp Zaurus palmtops have separate flash ‘partition’ for keeping kernel. The problem is that it is only ~1.2 megabyte… It was good enough for 2.4.18 kernel which was used by vendor but with 2.6 kernel maintained by OE community it is really hard to fit there.

    We started to remove some features from kernel. With 2.6.23 release we were forced to choose: SD/MMC support or PCMCIA/CF support goes into kernel. As many people keep rootfs on SD cards we moved CF into modules. To get 2.6.24 fit I had to choose another parts…

    In near future we will probably end with a kernel which will be stripped from everything possible. This will leave only framebuffer and rootfs access support — Everything other moved to modules.

    Other solution is to change a way of booting device. There are few solutions:

    1. Use kernel space for really minimal kernel + initramfs which will use “kexec” functionality to boot kernel stored in rootfs.
    2. Change Sharp bootloader into something more sane — like U-Boot, Apex or RedBoot.

    First one require some patching to get rid of everything other then MTD + JFFS2 or CF + ext2 (for spitz). Then adding simple initramfs which will contain tool which will check rootfs for kernel and parameters. Then load/execute new kernel with “kexec”.

    Second way… this one is more tricky as it also change a way of updating device to newer kernel/rootfs. We can get more space as Sharp “rescue” system used for updating can be replaced with much smaller one but this also require work. There is a patch from pdaXrom which adds c7x0 and akita/spitz support for 1.1.4 U-Boot. After few tweaks it applies to current version but need updating configuration and also adding some code for Flash operations. But this does not help for Tosa/Poodle devices as they would need more work.

    Which way to choose… For now we will rather stick with removing all what can be removed. All other options require more work which require developers. But our Zaurus hackers usually moves to newer platforms now

    Written by Marcin Juszkiewicz on
  7. Merry Christmas

    Today is 24 December — a day when some people celebrate Christmas. Some will celebrate it tomorrow as it depends where you live and how your culture handle it.

    I want to wish Merry Christmas to all my blog readers — spend them with the ones you love.

    Due to flu I will spend this year Christmas at home only with my wife. It was not planned to be this way but I hope that we will not die from boredom ;)

    Written by Marcin Juszkiewicz on
  8. Hrw tag cloud widget

    I use tags on my blog for years. First it was done with UTW and when WordPress MU 1.3 got released I switched to native WP tags.

    The first thing which I missed was nice Tag Cloud widget. Default WP one just printed all tags without giving any control to user about how it have to look. So I looked at source and wrote own version.

    How to use it?

    Fetch archive, unpack into wp-content/plugins/ directory and enable “Hrw Tag cloud widget” in “Plugins list”. Then go to “Presentation/Widgets” and replace “Tag cloud” widget with mine. You will see configuration options.

    Download archive is no longer available.

    Written by Marcin Juszkiewicz on
Page 72 / 106