Where does my disk space go?

I have nearly 400 gigabytes storage in my desktop. Some people will tell that this is a lot, some that it is quite small size. But everybody agrees with one simple rule: “there is no such thing as big enough storage”.

From time to time I have situation when I lack space for my projects (which can take 17GB in one run). In such moments there is one solution handy: removing not needed data. But how to check what takes most of space?

Some time ago I discovered ncdu application. It offers simple interface with all required informations — list of directories with space used (all sorted by size). User can walk through directory structure, remove not needed ones, recalculate directory use — everything what is needed in such tool.

Few minutes later 40GB from old builds recovered 😉

Poky Linux 3.1 released

Yesterday OpenedHand team (which I am proud to be a part of) released Poky Linux 3.1 ‘pinky`.

What interesting in this version?

  • user manual with lot of things explained
  • conversion to use the sysroot mode of gcc, making cross compiling both easier and more robust.
  • conversion to use pkgconfig in sysroot mode
  • Anjuta integration with Poky’s SDK and QEMU, making cross development of applications simple
  • new machines: Compulab EM-X270, Zylonite, Freescale MX31ADS, Phytec PhyCORE-iMX31, Logic iMX31 Lite and the HTC Universal
  • standalone toolchain and SDK application developers can develop against
  • addition of new tools to the SDK such as QEMU
  • updates to recent versions of almost all packages
  • addition of NetworkManager to standard images
  • addition of a Webkit based browser
  • uClibc support

Go and get it while it is still hot 😉

Bought car

Today I bought my first car. It is Opel Astra combi from 1997 year.

My Opel Astra

It drives very nicely and have lot of space for all things which we will want to take with us (pram/pushchair for Mira and other luggage).

As N810 came with some kind of car holder I unpacked it today and looked at it. There is no way to mount it in the car… From fast googling it looks like provided holder require another Nokia accessory — HH-12 Easy Mount ;(

So using N810 for navigation has to wait a bit… I need to buy HH-12 to mount it (or use other holder), then buy car charger DC-4 (or rather 3rd party replacement) and then get better GPRS plan to be able to use Maemo Mapper on the road. Map application which comes with device has very poor maps of Poland and routing functionality require additional payment.

Resolving ‘Power on drama’

There are many N800 and N810 tablets with so called ‘Power on drama’. It appear as device which does not want to power on after shutting down or takes lot of time to switch on.

Few days ago new version of OS2008 was released to solve that. There was no informations about it on Maemo website. I do not know why…

But as usual all they did was release of one big flash image with no instructions other then “reflash your tablet and keep hope that it will restore all your changes from backup”. I decided to not check does “Backup & Restore” application will magically install xvinfo, gvim, powertop, custom kernel and few other modifications which I have on my N810.

So how to get fixed device? All you need is flashing bootloader. On Nokia tablets it is split to 3 parts: X-Loader, NOLO secondary bootloader and NOLO cold flasher. First you need to unpack FIASCO image (I am using N810 image in example):

$ flasher --fiasco RX-44_2008SE_2.2007.51-3_PR_COMBINED_MR0_ARM.bin --unpack
flasher v0.8.1 (Jan  5 2007)

SW version in image: RX-44_2008SE_2.2007.51-3_PR_MR0
Image 'kernel', size 1529984 bytes
Image 'initfs', size 1954560 bytes
        Version 0.95-70
Image 'rootfs', size 137625600 bytes
        Version RX-34+RX-44_2008SE_2.2007.51-3_PR_MR0
Image '2nd', size 8192 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.11-1
Image 'xloader', size 9216 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.11-1
Image 'secondary', size 99968 bytes
        Valid for RX-44: 0801, 0802, 0803, 0804, 0805, 0806, 0901, 0902
        Version 1.1.11-1
Unpacking kernel image to file 'zImage'...
Unpacking initfs image to file 'initfs.jffs2'...
Unpacking rootfs image to file 'rootfs.jffs2'...
Unpacking 2nd image to file '2nd.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902'...
Unpacking xloader image to file 'xloader.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902'...
Unpacking secondary image to file 'secondary.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902'...

Then all needed is flashing N8x0 tablet with one command:

sudo  flasher --flash --reboot \
--xloader xloader.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902 \
--secondary secondary.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902 
--2nd 2nd.bin-RX-44:0801,0802,0803,0804,0805,0806,0901,0902

After reboot you will have your tablet with all your data in same places as they were (because rootfs and kernel are not touched) and it will behave properly on OFF/ON cycle.

Calling on Maemo?

My N810 runs OS2008 still. Today during normal telephone call with friend I was asked about Skype account. After call I grabbed tablet and looked at available applications.

Few minutes later I was logged into Skype account. But to get notifications application has to work… Same problem also exists with Gizmo… Both are available by default (as links to installation) in OS2008 but not integrated into system at all…

I wonder why that situation exists — user can add Google Talk, normal Jabber accounts and SIP ones and those are handled by Maemo Contacts application. Why Nokia did not made such integration possible for external IM/telephony applications…

Probably same reason as with i18n: lack of thinking on design phase…