Packaging 2.6.39 kernel also includes 3.5 kernel..! Why.?


Sudhangathan B S <sudhangathan@...>
 

I have asked this question in the Gumstix-Users mailing list before, but got no reply.. 
So just checking out here..!

Why does Yocto include 3.5.0/ kernel folder too in the lib/modules/ directory, while I have enabled 2.6.39 kernel recipe..?? I just extracted the file gumstix-console-image-overo-20130821225106.rootfs.tar.bz2 i  Now see there are two folders in the lib/modules/ directory namely "3.5.0/" and "2.6.39/" .

Should it be like that.. Or is there a confusion internally..??
Can I have an explanation please...?? How should I correct.?

When booting, on the console i don't see anything more than "Done booting the kernel..." The serial port set in the uboot env is ttyO2.. This is correct for 2.6.39 kernel..! Isn't it..?


This is the configuration:================

OE Build Configuration:
BB_VERSION        = "1.15.2"
TARGET_ARCH       = "arm"
TARGET_OS         = "linux-gnueabi"
MACHINE           = "overo"
DISTRO            = "poky"
DISTRO_VERSION    = "1.2.1"
TUNE_FEATURES     = "armv7a vfp neon cortexa8"
TARGET_FPU        = "vfp-neon"
meta              
meta-yocto        = "(nobranch):846b7c388738f382e83576e77b705aa547c1dd9b"
meta-gnome        
meta-oe           
meta-xfce         = "(nobranch):e77646bc2cf905fd671fc5c19ab6fd17f9b94b3f"
meta-gumstix      = "(nobranch):9293374e7a6dba72ac3b7350659f9a1877739b39"
meta-dese_iisc    = "(nobranch):846b7c388738f382e83576e77b705aa547c1dd9b"

========This is my overo.inc file:==========

desen555@desen555-UStudio:~/yocto/poky$ cat meta-dese_iisc/conf/machine/overo.inc
require conf/machine/include/omap3.inc

EXTRA_IMAGEDEPENDS = "u-boot-sakoman"

PREFERRED_PROVIDER_virtual/bootloader = "u-boot-sakoman"
UBOOT_MACHINE = "omap3_overo_config"
#PREFERRED_VERSION_pn-u-boot = "2011.12"

#PREFERRED_PROVIDER_virtual/kernel = "linux-omap3"
PREFERRED_PROVIDER_ntp = "ntp"
#PREFERRED_PROVIDER_virtual/kernel = "linux-sakoman"
PREFERRED_PROVIDER_virtual/kernel = "linux-omap-pm"  

PREFERRED_PROVIDER_virtual/xserver = "xserver-xorg"
XSERVER = "xserver-xorg \
           xf86-input-evdev \
           xf86-input-mouse \
           xf86-video-omapfb \
           xf86-input-keyboard"

PREFERRED_PROVIDER_jpeg = "libjpeg-turbo"
PREFERRED_PROVIDER_jpeg-native = "libjpeg-turbo-native"

SERIAL_CONSOLE = "115200 ttyO2"

IMAGE_FSTYPES += "tar.bz2"

MKUBIFS_ARGS = "-m 2048 -e 129024 -c 4044"
UBINIZE_ARGS = "-m 2048 -p 128KiB -s 512"

UBI_VOLNAME = "rootfs"

MACHINE_EXTRA_RDEPENDS = "omap3-writeprom"
MACHINE_EXTRA_RRECOMMENDS = " kernel-modules"

MACHINE_FEATURES = "kernel26 alsa apm ext3 screen usbgadget usbhost vfat wifi"
====================================================================
---------------------------------
Sudhangathan BS
Ph:(+91) 9731-905-205
---------------------------------

Join yocto@lists.yoctoproject.org to automatically receive all group messages.