[maemo-developers] correct kernel source for RX-34_2008SE_2.2007.50-2 ?

From: Frantisek Dufka dufkaf at seznam.cz
Date: Tue Jan 1 14:56:38 EET 2008
Another update. I checked also kernel from first OS2008 beta

kernel version in firmware is
SW version in image: RX-34_2008SE_1.2007.44-4_PR_MR0
Image 'kernel', size 1529984 bytes
         Version 2.6.21.0-200744osso2

debian/changelog:
kernel-source-rx-34 (2.6.21.0-osso55) unstable; urgency=low

   * week200741-2 release
   * Fixes: NB#72086, NB#72075
   * Revert "JFFS2: Reduce time for which erase_free_sem is held during 
erase."
   * USB: OTG: Disable autosuspend for whitelisted nokia devices
   * USB: MUSB: Add missing otg_set_error when device draws too much current
   * Reduce dirty ratio granularity to 0.1%.
   * MMC: OMAP: Cleanups and fixes for mmc clock management.

  -- Yauheni Kaliuta <yauheni.kaliuta at nokia.com>  Tue,  9 Oct 2007 
19:01:56 +0300

kernel-source-rx-34 (2.6.21.0-osso54) unstable; urgency=low

   * Updated bugfixes. Fixes: NB#71677, NB#72396

  -- Yauheni Kaliuta <yauheni.kaliuta at nokia.com>  Mon,  8 Oct 2007 
18:33:31 +0300
...
...

Looks like even osso55 is not exactly same as 200744osso2 from firmware 
image. Changelog in kernel source has week200741-2 release on the top 
(!? 41 vs 44). And what is also interesting - with both older kernels 
(from 1.2007.44-4 firmware and self compiled osso55) external mmc slot 
doesn't work on my N800. It only starts to work once I flash kernel 
extracted from RX-34_2008SE_2.2007.50-2_PR_MR0. I tried 3 different SD 
cards (256MB SD, 1GB SD, 4GB SDHC) with same result. Internal slot works 
fine with these cards.

Another interesting thing is that kernel images from both firmwares are 
shorter (even if they are padded in firmware image) than self compiled 
ones (no patches, nokia_2420_defconfig).

RX-34_2008SE_1.2007.44-4:
2.6.21.0-200744osso2 - file size 1529984, kernel size inside 1529876
self compiled 2.6.21.0-osso55 - file and kernel size 1532176

RX-34_2008SE_2.2007.50-2:
2.6.21.0-200749osso2 - file size 1529984, kernel inside 1529864
2.6.21.0-osso63.1 - file and kernel size 1530288 bytes

In all cases /proc/version reports same compiler - gcc version 3.4.4 
(release) (CodeSourcery ARM 2005q3-2), the one from scratchbox arm 
targets for all recent SDK (snice 2.2?). I have used the one from SDK40.

So either the published kernel sources for both recent OS2008 releases 
are different or Nokia uses different build procedure (patched compiler, 
different compiler flags) or even both. That's unfortunate. How can we 
trust such kernels when the result compiled from published sources 
differs both in size and functionality?

Frantisek

More information about the maemo-developers mailing list