This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Gingerbread on 2.6.38

Upgrading from 2.6.32 to 2.6.38 prevents kernel from executing init - may be related to ttyS* to ttyO* OMAP specific port mapping.

If you have had success running this or higher Kernel release with either Froyo or GB, I wil appreciate any pointers on init scripts or the like

to get around this ttyO* issue.

 

Thanks - JP

  • I am having similar problems. I am using a .config from a third party rom. Simply Stunning for the Moto Droid.

    When I use the .config on 2.6.38 and run make oldconfig, it actually compiles okay. I have to use the wl127x-rfkill.c and .h files from 2.6.32 for it too compile.

    But sholes_defconfig isnt actually in the arch/arm/configs folder... (Do I use omap2plus?) And if I borrow it from 2.6.32 it still compiles, but I cant seem to get the wireless driver from the kernel-omap repository to compile, even with the gingergread branch. Nor can I get the drivers on the ti.com website to compile against it.

    I cant boot 2.6.32 with the Koush AnyKernel unless I include the wirless driver or in linux the .ko module file in the signed zip file under /system/lib/modules. But If I do include it, then it boots. This leads me to believe that for what I want to do, I need the wireless module to be included.. just to even boot.

    Would like to try 2.6.38 for fun, but cant get the wireless to compile. You do have to change some files that say "freezeable" to "freezable", but then it gets stuck on some linux sdio stuff.. and I cant get past that.. Care to see the output? Or am I wasting my time?

    I noticed 2.6.39 has some wl127x stuff that is new on a different repository, but it doesnt have yaffs2 filesystem compiling for me.

     

    Had to edit my post. "doesnt work" is not descriptive enough.

  • Here is my output:

    ../../platforms/os/linux/src/WlanDrvWext.o
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:136: error: unknown field 'private' specified in initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:136: warning: initialization from incompatible pointer type
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:137: error: unknown field 'num_private' specified in initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:137: warning: excess elements in struct initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:137: warning: (near initialization for 'tWextIf')
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:138: error: unknown field 'private_args' specified in initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:138: warning: excess elements in struct initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:138: warning: (near initialization for 'tWextIf')
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:139: error: unknown field 'num_private_args' specified in initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:139: warning: excess elements in struct initializer
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:139: warning: (near initialization for 'tWextIf')
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c: In function 'wlanDrvWext_Init':
    /home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.c:150: error: 'struct net_device' has no member named 'wireless_handlers'
    make[3]: *** [/home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build/../../../../platforms/os/linux/src/WlanDrvWext.o] Error 1
    make[2]: *** [_module_/home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build] Error 2
    make[2]: Leaving directory `/home/justin/kernel/droid/omap'
    make[1]: *** [../../../../platforms/os/linux/build/tiwlan_drv_stub.o] Error 2
    make[1]: Leaving directory `/home/justin/kernel/droid/ti/wilink_6_1/platforms/os/linux/build'
    make: *** [../../../platforms/os/linux/build/tiwlan_drv_stub.o] Error 2
    justin@ubuntu:~/kernel/droid/ti/wilink_6_1/platforms/os/linux$

  • Okay that is fixed. Had to manually add CONFIG_HOSTAP=y and CONFIG_WIRELESS_EXT=y.. even though CONFIG_WIRELESS_EXT wasnt listed as an option in xconfig.

    Then had to change freezable on Sdio file, and then steal more files from 2.6.38, like resource.h and some i2c file that was renamed I think.

    Just changed the ttyO2 so curious what will happen.

        Platform Glue Layer
          1. TUSB6010 (USB_MUSB_TUSB6010) (NEW)
          2. OMAP2430 and onwards (USB_MUSB_OMAP2PLUS)
        > 3. AM35x (USB_MUSB_AM35X)

    ???????????