Tuesday, February 21, 2012

Getting a Nokia 603 for testing

I was quick enough to get a picture of myself uploaded to Nokia Connects Try Something New thingy. They will send me a Nokia 603 and Luna headset for 2 weeks testing. I just hope I will get it before my skiing vacation, it would be a perfect time (and place!) to make some nice pictures and videos.

It is going to be interesting to try a modern Symbian phone, I haven't used one since I switched to the N900 from a N73 in 2009.

Friday, February 17, 2012

Kernel for S/390 and hercules

So now you have a cross-compiler, now to get a kernel for your mainframe!

Download kernel source, unpack and configure:
wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.2.6.tar.bz2
tar jxf linux-3.2.6.tar.bz2
cd linux-3.2.6
make ARCH=s390 CROSS_COMPILE=/opt/s390/bin/s390-ibm-linux- defconfig

Now you have your kernel source setup for building a S/390 kernel with the default kernel configuration. You can now customize the configuration by running:
make ARCH=s390 CROSS_COMPILE=/opt/s390/bin/s390-ibm-linux- menuconfig
For example, some drivers defaults to being built as modules, that you might like to have in your kernel image instead.

Now build the kernel (add -j2 or more if you have a SMP system to speed up the compilation):
make ARCH=s390 CROSS_COMPILE=/opt/s390/bin/s390-ibm-linux- 

The kernel should build successfully, and you should have a kernel image in
arch/s390/boot/image ready for IPL on your mainframe.

Thursday, February 16, 2012

Cross-compiling for S/390

Playing with hercules S/390 emulator I wanted an up-to-date Linux kernel. And to get that you need tools: binutils (assembler and linker) and gcc (C compiler). Cross-compiling binutils and gcc that is able to build a kernel is very easy, just follow these steps and you should end up with a gcc able to build a kernel for you.

Download and build binutils:
wget http://ftp.gnu.org/gnu/binutils/binutils-2.22.tar.bz2
tar jxvf binutils-2.22.tar.bz2
mkdir os390 && cd os390
../binutils-2.22/configure --prefix=/opt/s390 --target=s390-ibm-linux
make install

Ok, now you have binutils built and installed, next the compiler itself. So, download and build gcc:
(Note the make build and install targets!)
wget http://ftp.gnu.org/gnu/gcc/gcc-4.6.2/gcc-4.6.2.tar.bz2
tar jxvf gcc-4.6.2.tar.bz2
mkdir gs390 && cd gs390
../gcc-4.6.2/configure --prefix=/opt/s390 --target=s390-ibm-linux --enable-languages=c
make all-gcc
make install-gcc

Now you have gcc that you can use to build a kernel for your S/390 mainframe (or Hercules emulator if you are like me and can't afford one :)

Friday, February 10, 2012

The Nokia Lumia 800, Part 2: Contacts, workaround

By pure luck, we had a E55 collecting dust at work that I could borrow (Well, I already used it for some QR code testing, anyway..) and it supports PBAP! So I could use that phone as a source. Transferring everything (contacts, sms, calendar) was smooth and painless, no problems whatsoever. Now the E55 containes all my gf stuff.

And now Contacts transfer did it's thing, no problems encountered. But I was expecting too much from it, unfortunately it is Contacts transfer ONLY nothing else get transfered over.
You can imagine my gf: But where are my calendar entries? Where are my messages ???? I want my messages!

I have no idea how to get those transfered over, any ideas?

The Nokia Lumia 800, Part 1: Contacts

So I got a shiny Nokia Lumia 800 as a gift. I gave it to my girlfriend, to replace her old Nokia E51. So the first thing, transfer all data from the E51 to the Lumia, that shouldn't be too hard right ? AFAIK all new and somewhat new Symbian based phones have this syncing/data transfering thing so this shouldn't be too hard, the Lumia is Nokia device so it should have the same capabilities as an older phone, right ?

Contacts transfer, ok, that looks promising! And over bluetooth even, very nice. I start it up, do the bluetooth connection hurdle and.. nothing. Again? Nothing. Just an error message that it failed. After some messages on twitter and googling around I found that the source phone for Contacts transfer must support PBAP. And the old E51 does not do that. Now what?