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.

wl18xx compilation issue

Other Parts Discussed in Thread: WL1831, AM3352, DA8XX, WL1271

Hi all,

I am using AM3352 based board for wl1831 wifi module. Currently i am using SDK6 with kernel 3.2.

I am using "Wilink8Add-on_installer_sdk06_00_3.zip" for adding support of wl1831. But now i am facing some wifi module firmware crach issue, so want to move to latest drivers and firmwares.

After downloading latest sourec from git i found that there is no source of driver in "compat-wireless". In "compat-wireless" of  "Wilink8Add-on_installer_sdk06_00_3.zip" package has driver source which we are using it currently.

How to compile latest wl18xx driver for kernel 3.2??4073.Wilink8Add-on_installer_sdk06_00_3.zip

  • Hi,

    Please see: http://processors.wiki.ti.com/index.php/WiLink8_Release_Notes/R8.3SP1#For_Legacy_SDK6.0_Kernel_3.2_support:

    Regards,
    Gigi Joseph.

  • Hi,

    Joseph Gigi said:
    see: http://processors.wiki.ti.com/index.php/WiLink8_Release_Notes/R8.3SP1#For_Legacy_SDK6.0_Kernel_3.2_support:

    I have already visited the link. I found there is given compete kernel(3.12)and removed driver source from "compat-wireless". as we already have kernel 3.2 it is unused for us. In previous release of wifi add on required driver source was given in "compta-wireless".

    I have shared earlier version of wifi add on in previous mail.

    Thanks in advance

  • Hi,

    For building, you have to follow: https://github.com/TI-ECS/build-utilites/blob/master/wl18xx_build.sh

    As you can see in the script, the GIT_TREE & GIT_COMPAT_TREE needs to be defined. Then cd to "compat-wireless" and do 

    ./scripts/admin-refresh.sh network
    ./scripts/driver-select wl18xx

    The script takes care of all this... 

    Regards,
    Gigi Joseph.

  • Hi,

    I have tried to build compat-wireless using build script wl18xx_build.sh. But i am facing compilation error, below is the compilation log.

    ./scripts/gen-compat-autoconf.sh /home/yashvadan/compat-wireless/.config /home/yashvadan/compat-wireless/config.mk > include/linux/compat_autoconf.h
    make -C /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10 M=/home/yashvadan/compat-wireless modules
    make[1]: Entering directory `/home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10'
      CC [M]  /home/yashvadan/compat-wireless/compat/main.o
    In file included from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/bitops.h:449:0,
                     from /home/yashvadan/compat-wireless/include/linux/bitops.h:24,
                     from include/linux/kernel.h:17,
                     from include/linux/skbuff.h:17,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/arch_hweight.h: In function ‘__arch_hweight64’:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/arch_hweight.h:53:7: error: expected ‘:’ or ‘)’ before ‘POPCNT64’
    In file included from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/thread_info.h:22:0,
                     from include/linux/thread_info.h:53,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:50,
                     from include/linux/mm_types.h:8,
                     from include/linux/kmemcheck.h:4,
                     from include/linux/skbuff.h:18,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h: At top level:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h:115:30: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h:115:1: error: requested alignment is not a constant
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h:157:0: warning: "cache_line_size" redefined [enabled by default]
    include/linux/cache.h:64:0: note: this is the location of the previous definition
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h:238:1: error: requested alignment is not a constant
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/processor.h:269:1: error: requested alignment is not a constant
    In file included from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic.h:314:0,
                     from include/linux/atomic.h:4,
                     from /home/yashvadan/compat-wireless/include/linux/atomic.h:7,
                     from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/thread_info.h:24,
                     from include/linux/thread_info.h:53,
                     from include/linux/preempt.h:9,
                     from include/linux/spinlock.h:50,
                     from include/linux/mm_types.h:8,
                     from include/linux/kmemcheck.h:4,
                     from include/linux/skbuff.h:18,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:19:1: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h: In function ‘atomic64_read’:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:21:32: error: request for member ‘counter’ in something not a structure or union
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h: At top level:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:31:33: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:43:41: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:57:41: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:73:49: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:89:33: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:102:33: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:117:41: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:135:41: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:154:49: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:171:48: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:176:48: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:184:37: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:189:34: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:203:39: error: unknown type name ‘atomic64_t’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/atomic64_64.h:227:45: error: unknown type name ‘atomic64_t’
    In file included from include/linux/slab_def.h:146:0,
                     from include/linux/slab.h:189,
                     from include/linux/textsearch.h:8,
                     from include/linux/skbuff.h:27,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/linux/kmalloc_sizes.h: In function ‘kmalloc’:
    include/linux/kmalloc_sizes.h:5:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined [-Wundef]
    include/linux/kmalloc_sizes.h:9:5: warning: "CONFIG_X86_L1_CACHE_SHIFT" is not defined [-Wundef]
    In file included from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/x86_init.h:5:0,
                     from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/pgtable.h:19,
                     from include/linux/mm.h:43,
                     from include/linux/scatterlist.h:6,
                     from include/linux/dmaengine.h:27,
                     from include/linux/skbuff.h:30,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/bootparam.h: At top level:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/bootparam.h:106:19: error: field ‘edid_info’ has incomplete type
    In file included from include/linux/dma-mapping.h:68:0,
                     from include/linux/skbuff.h:32,
                     from include/linux/if_ether.h:133,
                     from include/linux/netdevice.h:29,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/dma-mapping.h: In function ‘get_dma_ops’:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/dma-mapping.h:36:38: error: ‘struct dev_archdata’ has no member named ‘dma_ops’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/dma-mapping.h:39:23: error: ‘struct dev_archdata’ has no member named ‘dma_ops’
    In file included from include/linux/netfilter.h:324:0,
                     from include/net/netns/x_tables.h:5,
                     from include/net/net_namespace.h:19,
                     from /home/yashvadan/compat-wireless/include/net/net_namespace.h:7,
                     from include/linux/netdevice.h:48,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/net/flow.h: In function ‘flow_key_size’:
    include/net/flow.h:174:3: error: size of unnamed array is negative
    include/net/flow.h:177:3: error: size of unnamed array is negative
    In file included from include/linux/fs.h:382:0,
                     from include/linux/proc_fs.h:5,
                     from include/linux/netfilter.h:344,
                     from include/net/netns/x_tables.h:5,
                     from include/net/net_namespace.h:19,
                     from /home/yashvadan/compat-wireless/include/net/net_namespace.h:7,
                     from include/linux/netdevice.h:48,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/linux/dcache.h: At top level:
    include/linux/dcache.h:173:1: error: requested alignment is not a constant
    In file included from include/linux/proc_fs.h:5:0,
                     from include/linux/netfilter.h:344,
                     from include/net/netns/x_tables.h:5,
                     from include/net/net_namespace.h:19,
                     from /home/yashvadan/compat-wireless/include/net/net_namespace.h:7,
                     from include/linux/netdevice.h:48,
                     from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/linux/fs.h:1641:1: error: requested alignment is not a constant
    In file included from /home/yashvadan/compat-wireless/include/linux/netdevice.h:1:0,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.29.h:5,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:54,
                     from <command-line>:0:
    include/linux/netdevice.h:1780:1: error: requested alignment is not a constant
    In file included from /home/yashvadan/compat-wireless/include/linux/compat-3.4.h:44:0,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:69,
                     from <command-line>:0:
    /home/yashvadan/compat-wireless/include/linux/compat-3.5.h: In function ‘fault_in_multipages_writeable’:
    /home/yashvadan/compat-wireless/include/linux/compat-3.5.h:63:17: error: implicit declaration of function ‘__copy_to_user_ll’ [-Werror=implicit-function-declaration]
    In file included from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/pci.h:139:0,
                     from include/linux/pci.h:1312,
                     from /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/prom.h:19,
                     from include/linux/of.h:133,
                     from /home/yashvadan/compat-wireless/include/linux/of.h:7,
                     from include/linux/i2c.h:35,
                     from include/linux/fb.h:5,
                     from include/linux/vga_switcheroo.h:10,
                     from /home/yashvadan/compat-wireless/include/linux/vga_switcheroo.h:7,
                     from /home/yashvadan/compat-wireless/include/linux/compat-3.5.h:106,
                     from /home/yashvadan/compat-wireless/include/linux/compat-3.4.h:44,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:69,
                     from <command-line>:0:
    include/asm-generic/pci-dma-compat.h: In function ‘pci_map_single’:
    include/asm-generic/pci-dma-compat.h:32:2: error: implicit declaration of function ‘dma_map_single’ [-Werror=implicit-function-declaration]
    include/asm-generic/pci-dma-compat.h: In function ‘pci_unmap_single’:
    include/asm-generic/pci-dma-compat.h:39:2: error: implicit declaration of function ‘dma_unmap_single’ [-Werror=implicit-function-declaration]
    include/asm-generic/pci-dma-compat.h: In function ‘pci_map_sg’:
    include/asm-generic/pci-dma-compat.h:60:2: error: implicit declaration of function ‘dma_map_sg’ [-Werror=implicit-function-declaration]
    include/asm-generic/pci-dma-compat.h: In function ‘pci_unmap_sg’:
    include/asm-generic/pci-dma-compat.h:67:2: error: implicit declaration of function ‘dma_unmap_sg’ [-Werror=implicit-function-declaration]
    In file included from include/linux/hardirq.h:7:0,
                     from include/linux/interrupt.h:12,
                     from include/linux/serial_core.h:213,
                     from include/linux/serial_8250.h:14,
                     from include/linux/kgdb.h:16,
                     from include/linux/fb.h:7,
                     from include/linux/vga_switcheroo.h:10,
                     from /home/yashvadan/compat-wireless/include/linux/vga_switcheroo.h:7,
                     from /home/yashvadan/compat-wireless/include/linux/compat-3.5.h:106,
                     from /home/yashvadan/compat-wireless/include/linux/compat-3.4.h:44,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:69,
                     from <command-line>:0:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/hardirq.h: At top level:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/hardirq.h:29:1: error: requested alignment is not a constant
    In file included from include/net/sock.h:62:0,
                     from /home/yashvadan/compat-wireless/include/linux/compat-3.9.h:13,
                     from /home/yashvadan/compat-wireless/include/linux/compat-2.6.h:74,
                     from <command-line>:0:
    include/net/dst.h: In function ‘dst_hold’:
    include/net/dst.h:243:2: error: size of unnamed array is negative
    In file included from include/linux/elf.h:7:0,
                     from include/linux/module.h:14,
                     from /home/yashvadan/compat-wireless/compat/main.c:1:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/elf.h: In function ‘elf_common_init’:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/elf.h:168:3: error: ‘struct thread_struct’ has no member named ‘fs’
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/elf.h: At top level:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/elf.h:350:1: error: requested alignment is not a constant
    In file included from include/linux/module.h:22:0,
                     from /home/yashvadan/compat-wireless/compat/main.c:1:
    /home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10/arch/x86/include/asm/module.h:59:2: error: #error unknown processor family
    cc1: some warnings being treated as errors
    make[3]: *** [/home/yashvadan/compat-wireless/compat/main.o] Error 1
    make[2]: *** [/home/yashvadan/compat-wireless/compat] Error 2
    make[1]: *** [_module_/home/yashvadan/compat-wireless] Error 2
    make[1]: Leaving directory `/home/yashvadan/svnYashavadan/AccessControlSystem/SDT/Device/DirectDoor/GateController/Source/V1/linux-3.2.0-psp04.06.00.10'
    make: *** [modules] Error 2

  • Hi,

    After making some changes in build script compat-wireless compiled successfully.

    Now, i am facing another issue. It gives following error at power on.

    wlcore : ERROR coudn't get hw info.

    With old version of firmware and driver wifi is working.

  • Hi,

    Please help me out from,

    wlcore : ERROR coudn't get hw info.

    I have tried so much but unable to find out the root cause of above error.

    This error is coming only when i use new version of wilink8 drivers, with old version of wilink8 wifi is working fine but some wifi module firmware crashes are there.

  • Hi Yashavadan,

    Please share the complete boot log + the log when you try to turn on WLAN.


    Regards,
    Gigi Joseph.

  • Hi Joseph,

    I have added the complete linux boot log below.

    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
    [ 0.000000] modules : 0xbf000000 - 0xc0000000 ( 16 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc061c000 (6224 kB)
    [ 0.000000] .init : 0xc061c000 - 0xc0664000 ( 288 kB)
    [ 0.000000] .data : 0xc0664000 - 0xc06c54b0 ( 390 kB)
    [ 0.000000] .bss : 0xc06c54d4 - 0xc06f1008 ( 175 kB)
    [ 0.000000] NR_IRQS:396
    [ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
    [ 0.000000] Total of 128 interrupts on 1 active controller
    [ 0.000000] OMAP clockevent source: GPTIMER2 at 25000000 Hz
    [ 0.000000] omap_dm_timer_switch_src: Switching to HW default clocksource(sys_clkin_ck) for timer1, this may impact timekeeping in low power state
    [ 0.000000] OMAP clocksource: GPTIMER1 at 25000000 Hz
    [ 0.000000] sched_clock: 32 bits at 25MHz, resolution 40ns, wraps every 171798ms
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000186] Calibrating delay loop... 795.44 BogoMIPS (lpj=3977216)
    [ 0.037424] pid_max: default: 32768 minimum: 301
    [ 0.037539] Security Framework initialized
    [ 0.037636] Mount-cache hash table entries: 512
    [ 0.038009] CPU: Testing write buffer coherency: ok
    [ 0.044649] omap_hwmod: lcdc: _wait_target_disable failed
    [ 0.060705] omap_hwmod: gfx: failed to hardreset
    [ 0.076707] omap_hwmod: pruss: failed to hardreset
    [ 0.077806] print_constraints: dummy:
    [ 0.078140] NET: Registered protocol family 16
    [ 0.080096] OMAP GPIO hardware version 0.1
    [ 0.083742] ####AM3352 kernel Last modified on Aug 30 2014 13:04:34 ######
    [ 0.084203] omap_hsmmc.0: alias fck already exists
    [ 0.084414] omap_hsmmc.2: alias fck already exists
    [ 0.084606] omap_i2c.2: alias fck already exists
    [ 0.084803] omap_i2c.3: alias fck already exists
    [ 0.085058] da8xx_lcdc.0: alias fck already exists
    [ 0.085441] ##wl18xx initialised
    [ 0.086015] registered am33xx_sr device
    [ 0.086808] edma.0: alias fck already exists
    [ 0.086826] edma.0: alias fck already exists
    [ 0.086842] edma.0: alias fck already exists
    [ 0.108992] bio: create slab <bio-0> at 0
    [ 0.110561] SCSI subsystem initialized
    [ 0.111219] usbcore: registered new interface driver usbfs
    [ 0.111492] usbcore: registered new interface driver hub
    [ 0.111671] usbcore: registered new device driver usb
    [ 0.111839] musb-ti81xx musb-ti81xx: musb0, board_mode=0x13, plat_mode=0x3
    [ 0.112103] musb-ti81xx musb-ti81xx: musb1, board_mode=0x13, plat_mode=0x1
    [ 0.127447] omap_i2c omap_i2c.2: bus 2 rev2.4.0 at 400 kHz
    [ 0.147437] omap_i2c omap_i2c.3: bus 3 rev2.4.0 at 400 kHz
    [ 0.149667] Switching to clocksource gp timer
    [ 0.163659] musb-hdrc: version 6.0, ?dma?, otg (peripheral+host)
    [ 0.163792] musb-hdrc musb-hdrc.0: dma type: pio
    [ 0.164082] MUSB0 controller's USBSS revision = 4ea20800
    [ 0.164106] musb0: Enabled SW babble control
    [ 0.164125] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 0.164141] musb-hdrc: MHDRC RTL version 2.0
    [ 0.164151] musb-hdrc: setup fifo_mode 4
    [ 0.164178] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 0.164192] musb-hdrc.0: bulk split disabled
    [ 0.164199] musb-hdrc.0: bulk combine disabled
    [ 0.164622] musb-hdrc musb-hdrc.0: USB OTG mode controller at e083c000 using PIO, IRQ 18
    [ 0.164784] musb-hdrc musb-hdrc.1: dma type: pio
    [ 0.165060] MUSB1 controller's USBSS revision = 4ea20800
    [ 0.165078] musb1: Enabled SW babble control
    [ 0.165094] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
    [ 0.165108] musb-hdrc: MHDRC RTL version 2.0
    [ 0.165117] musb-hdrc: setup fifo_mode 4
    [ 0.165141] musb-hdrc: 28/31 max ep, 16384/16384 memory
    [ 0.165152] musb-hdrc.1: bulk split disabled
    [ 0.165159] musb-hdrc.1: bulk combine disabled
    [ 0.165183] musb-hdrc musb-hdrc.1: MUSB HDRC host driver
    [ 0.165267] musb-hdrc musb-hdrc.1: new USB bus registered, assigned bus number 1
    [ 0.165387] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
    [ 0.165399] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
    [ 0.165411] usb usb1: Product: MUSB HDRC host driver
    [ 0.165420] usb usb1: Manufacturer: Linux 3.2.0 musb-hcd
    [ 0.165429] usb usb1: SerialNumber: musb-hdrc.1
    [ 0.166121] hub 1-0:1.0: USB hub found
    [ 0.166147] hub 1-0:1.0: 1 port detected
    [ 0.166638] musb-hdrc musb-hdrc.1: USB Host mode controller at e083e800 using PIO, IRQ 19
    [ 0.167024] NET: Registered protocol family 2
    [ 0.167219] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.167575] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
    [ 0.167843] TCP bind hash table entries: 16384 (order: 4, 65536 bytes)
    [ 0.167998] TCP: Hash tables configured (established 16384 bind 16384)
    [ 0.168010] TCP reno registered
    [ 0.168021] UDP hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.168041] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
    [ 0.168222] NET: Registered protocol family 1
    [ 0.168465] RPC: Registered named UNIX socket transport module.
    [ 0.168476] RPC: Registered udp transport module.
    [ 0.168483] RPC: Registered tcp transport module.
    [ 0.168491] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.168704] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.168910] omap-gpmc omap-gpmc: GPMC revision 6.0
    [ 0.168926] Registering NAND on CS0
    [ 0.188760] VFS: Disk quotas dquot_6.5.2
    [ 0.188826] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.189567] msgmni has been set to 1001
    [ 0.192854] alg: No test for stdrng (krng)
    [ 0.193533] io scheduler noop registered
    [ 0.193546] io scheduler deadline registered
    [ 0.193617] io scheduler cfq registered (default)
    [ 0.194748] da8xx_lcdc da8xx_lcdc.0: GLCD: Found RFC35C-CIW-D-010 panel
    [ 0.206808] Console: switching to colour frame buffer device 40x30
    [ 0.212788] omap_uart.0: ttyO0 at MMIO 0x44e09000 (irq = 72) is a OMAP UART0
    [ 0.212964] console [ttyO0] enabled
    [ 0.213392] omap_uart.1: ttyO1 at MMIO 0x48022000 (irq = 73) is a OMAP UART1
    [ 0.213754] omap_uart.2: ttyO2 at MMIO 0x48024000 (irq = 74) is a OMAP UART2
    [ 0.214088] omap_uart.3: ttyO3 at MMIO 0x481a6000 (irq = 44) is a OMAP UART3
    [ 0.214410] omap_uart.4: ttyO4 at MMIO 0x481a8000 (irq = 45) is a OMAP UART4
    [ 0.214735] omap_uart.5: ttyO5 at MMIO 0x481aa000 (irq = 46) is a OMAP UART5
    [ 0.215518] omap4_rng omap4_rng: OMAP4 Random Number Generator ver. 2.00
    [ 0.223799] brd: module loaded
    [ 0.228171] loop: module loaded
    [ 0.230142] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 0.237231] omap2-nand driver initializing
    [ 0.237557] ONFI flash detected
    [ 0.237679] ONFI param page 0 valid
    [ 0.237696] NAND device: Manufacturer ID: 0x2c, Chip ID: 0xda (Micron MT29F2G08ABAEAWP)
    [ 0.237767] 12 cmdlinepart partitions found on MTD device omap2-nand.0
    [ 0.237778] Creating 12 MTD partitions on "omap2-nand.0":
    [ 0.237795] 0x000000000000-0x000000020000 : "SPL"
    [ 0.239187] 0x000000020000-0x000000040000 : "SPL.backup1"
    [ 0.240380] 0x000000040000-0x000000060000 : "SPL.backup2"
    [ 0.241473] 0x000000060000-0x000000080000 : "SPL.backup3"
    [ 0.242538] 0x000000080000-0x0000001c0000 : "U-Boot"
    [ 0.244152] 0x0000001c0000-0x000000240000 : "U-Boot-Env"
    [ 0.245418] 0x000000240000-0x0000002a0000 : "User-Info"
    [ 0.246677] 0x0000002a0000-0x0000007a0000 : "Recovery-Kernel"
    [ 0.249865] 0x0000007a0000-0x000001ba0000 : "Recovery-Fs"
    [ 0.259225] 0x000001ba0000-0x0000020a0000 : "Kernel"
    [ 0.262539] 0x0000020a0000-0x0000084a0000 : "Rootfs"
    [ 0.304725] 0x0000084a0000-0x000010000000 : "Data"
    [ 0.356651] OneNAND driver initializing
    [ 0.357337] UBI: attaching mtd8 to ubi0
    [ 0.357355] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 0.357364] UBI: logical eraseblock size: 126976 bytes
    [ 0.357372] UBI: smallest flash I/O unit: 2048
    [ 0.357380] UBI: VID header offset: 2048 (aligned 2048)
    [ 0.357388] UBI: data offset: 4096
    [ 0.511751] UBI: max. sequence number: 3
    [ 0.523589] UBI: attached mtd8 to ubi0
    [ 0.523601] UBI: MTD device name: "Recovery-Fs"
    [ 0.523609] UBI: MTD device size: 20 MiB
    [ 0.523617] UBI: number of good PEBs: 158
    [ 0.523624] UBI: number of bad PEBs: 2
    [ 0.523631] UBI: number of corrupted PEBs: 0
    [ 0.523638] UBI: max. allowed volumes: 128
    [ 0.523645] UBI: wear-leveling threshold: 4096
    [ 0.523652] UBI: number of internal volumes: 1
    [ 0.523659] UBI: number of user volumes: 1
    [ 0.523665] UBI: available PEBs: 0
    [ 0.523673] UBI: total number of reserved PEBs: 158
    [ 0.523680] UBI: number of PEBs reserved for bad PEB handling: 2
    [ 0.523688] UBI: max/mean erase counter: 1/0
    [ 0.523695] UBI: image sequence number: 1075452833
    [ 0.524119] UBI: background thread "ubi_bgt0d" started, PID 553
    [ 0.569732] davinci_mdio davinci_mdio.0: davinci mdio revision 1.6
    [ 0.569748] davinci_mdio davinci_mdio.0: detected phy mask ffffff7f
    [ 0.570369] davinci_mdio.0: probed
    [ 0.570386] davinci_mdio davinci_mdio.0: phy[7]: device 0:07, driver unknown
    [ 0.570557] PPP generic driver version 2.4.2
    [ 0.570916] PPP BSD Compression module registered
    [ 0.570926] PPP Deflate Compression module registered
    [ 0.571539] PPP MPPE Compression module registered
    [ 0.571552] NET: Registered protocol family 24
    [ 0.571863] usbcore: registered new interface driver zd1201
    [ 0.572047] usbcore: registered new interface driver cdc_ether
    [ 0.572191] usbcore: registered new interface driver cdc_eem
    [ 0.572345] usbcore: registered new interface driver dm9601
    [ 0.572399] cdc_ncm: 04-Aug-2011
    [ 0.572548] usbcore: registered new interface driver cdc_ncm
    [ 0.572559] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 0.572770] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
    [ 0.573112] usbcore: registered new interface driver cdc_acm
    [ 0.573122] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
    [ 0.573292] usbcore: registered new interface driver usblp
    [ 0.573433] usbcore: registered new interface driver cdc_wdm
    [ 0.573442] Initializing USB Mass Storage driver...
    [ 0.573647] usbcore: registered new interface driver usb-storage
    [ 0.573656] USB Mass Storage support registered.
    [ 0.573796] usbcore: registered new interface driver otg-eh-test
    [ 0.574209] mousedev: PS/2 mouse device common for all mice
    [ 0.577047] rtc-s35390a 2-0030: rtc core: registered rtc-s35390a as rtc0
    [ 0.577554] i2c /dev entries driver
    [ 0.578118] Linux video capture interface: v2.00
    [ 0.578422] usbcore: registered new interface driver uvcvideo
    [ 0.578433] USB Video Class driver (1.1.1)
    [ 0.579243] OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 0.579480] _regulator_get: deviceless supply vdd_mpu not found, using dummy regulator
    [ 0.579964] cpuidle: using governor ladder
    [ 0.580419] cpuidle: using governor menu
    [ 0.583857] omap4_aes_mod_init: loading AM33X AES driver
    [ 0.583982] omap4-aes omap4-aes: AM33X AES hw accel rev: 3.02
    [ 0.584502] omap4_aes_probe: probe() done
    [ 0.584710] omap4_sham_mod_init: loading AM33X SHA/MD5 driver
    [ 0.584847] omap4-sham omap4-sham: AM33X SHA/MD5 hw accel rev: 4.03
    [ 0.589396] omap4_sham_probe: probe() done
    [ 0.589623] oprofile: hardware counters not available
    [ 0.589634] oprofile: using timer interrupt.
    [ 0.589865] nf_conntrack version 0.5.0 (8010 buckets, 32040 max)
    [ 0.590324] ip_tables: (C) 2000-2006 Netfilter Core Team
    [ 0.590450] TCP cubic registered
    [ 0.590579] NET: Registered protocol family 10
    [ 0.591357] IPv6 over IPv4 tunneling driver
    [ 0.592921] NET: Registered protocol family 17
    [ 0.592986] lib80211: common routines for IEEE802.11 drivers
    [ 0.592996] lib80211_crypt: registered algorithm 'NULL'
    [ 0.593006] Registering the dns_resolver key type
    [ 0.593085] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
    [ 0.593106] ThumbEE CPU extension supported.
    [ 0.593119] Power Management for AM33XX family
    [ 0.593237] smartreflex smartreflex: am33xx_sr_probe: Smartreflex requires ES 1.0
    [ 0.601144] smartreflex: probe of smartreflex failed with error -22
    [ 0.601805] sr_init: platform driver register failed
    [ 0.611629] clock: disabling unused clocks to save power
    [ 0.626011] Mac from bootloader:00:1b:09:ab:de:01
    [ 0.626030] Detected MACID=0:1b:9:ab:de:1
    [ 0.627191] cpsw: Detected MACID = 90:59:af:6d:7a:c5
    [ 0.631868] rtc-s35390a 2-0030: setting system clock to 2014-09-20 18:32:42 UTC (1411237962)
    [ 0.632830] UBIFS: parse sync
    [ 0.750489] UBIFS: mounted UBI device 0, volume 0, name "rootfs"
    [ 0.750520] UBIFS: mounted read-only
    [ 0.750532] UBIFS: file system size: 16506880 bytes (16120 KiB, 15 MiB, 130 LEBs)
    [ 0.750544] UBIFS: journal size: 2539520 bytes (2480 KiB, 2 MiB, 20 LEBs)
    [ 0.750555] UBIFS: media format: w4/r0 (latest is w4/r0)
    [ 0.750563] UBIFS: default compressor: lzo
    [ 0.750571] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 0.753063] VFS: Mounted root (ubifs filesystem) readonly on device 0:13.
    [ 0.753432] Freeing init memory: 288K
    [ 0.854154] mmc0: host does not support reading read-only switch. assuming write-enable.
    [ 0.854254] mmc0: new SD card at address aaaa
    [ 0.860833] mmcblk0: mmc0:aaaa SU02G 1.84 GiB
    [ 0.874852] mmcblk0: p1 p2
    [ 0.890996] ####wl12xx_set_power=1
    [ 1.061679] mmc1: card claims to support voltages below the defined range. These will be ignored.
    [ 1.101681] mmc1: queuing unknown CIS tuple 0x91 (3 bytes)
    [ 1.102224] mmc1: new high speed SDIO card at address 0001
    [ 1.357059] udevd (845): /proc/845/oom_adj is deprecated, please use /proc/845/oom_score_adj instead.
    [ 3.881858] UBI: attaching mtd10 to ubi1
    [ 3.881882] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 3.881891] UBI: logical eraseblock size: 126976 bytes
    [ 3.881899] UBI: smallest flash I/O unit: 2048
    [ 3.881908] UBI: VID header offset: 2048 (aligned 2048)
    [ 3.881916] UBI: data offset: 4096
    [ 4.662169] UBI: max. sequence number: 677
    [ 4.676045] UBI: attached mtd10 to ubi1
    [ 4.676063] UBI: MTD device name: "Rootfs"
    [ 4.676072] UBI: MTD device size: 100 MiB
    [ 4.676079] UBI: number of good PEBs: 800
    [ 4.676086] UBI: number of bad PEBs: 0
    [ 4.676093] UBI: number of corrupted PEBs: 0
    [ 4.676100] UBI: max. allowed volumes: 128
    [ 4.676107] UBI: wear-leveling threshold: 4096
    [ 4.676114] UBI: number of internal volumes: 1
    [ 4.676121] UBI: number of user volumes: 1
    [ 4.676128] UBI: available PEBs: 0
    [ 4.676135] UBI: total number of reserved PEBs: 800
    [ 4.676142] UBI: number of PEBs reserved for bad PEB handling: 8
    [ 4.676151] UBI: max/mean erase counter: 4/0
    [ 4.676158] UBI: image sequence number: 807425749
    [ 4.676186] UBI: background thread "ubi_bgt1d" started, PID 873
    [ 4.763415] UBIFS: recovery needed
    [ 5.403480] UBIFS: recovery completed
    [ 5.403512] UBIFS: mounted UBI device 1, volume 0, name "rootfs"
    [ 5.403527] UBIFS: file system size: 98660352 bytes (96348 KiB, 94 MiB, 777 LEBs)
    [ 5.403539] UBIFS: journal size: 9023488 bytes (8812 KiB, 8 MiB, 72 LEBs)
    [ 5.403550] UBIFS: media format: w4/r0 (latest is w4/r0)
    [ 5.403559] UBIFS: default compressor: lzo
    [ 5.403566] UBIFS: reserved for root: 0 bytes (0 KiB)
    [ 6.902300] net eth0: CPSW phy found : id is : 0x7c0c4
    [ 6.909757] ADDRCONF(NETDEV_UP): eth0: link is not ready
    [ 8.412410] UBI: attaching mtd11 to ubi2
    [ 8.412435] UBI: physical eraseblock size: 131072 bytes (128 KiB)
    [ 8.412444] UBI: logical eraseblock size: 126976 bytes
    [ 8.412452] UBI: smallest flash I/O unit: 2048
    [ 8.412461] UBI: VID header offset: 2048 (aligned 2048)
    [ 8.412469] UBI: data offset: 4096
    [ 9.376096] UBI: max. sequence number: 579
    [ 9.396620] UBI: attached mtd11 to ubi2
    [ 9.396640] UBI: MTD device name: "Data"
    [ 9.396650] UBI: MTD device size: 123 MiB
    [ 9.396657] UBI: number of good PEBs: 986
    [ 9.396665] UBI: number of bad PEBs: 1
    [ 9.396672] UBI: number of corrupted PEBs: 0
    [ 9.396679] UBI: max. allowed volumes: 128
    [ 9.396686] UBI: wear-leveling threshold: 4096
    [ 9.396693] UBI: number of internal volumes: 1
    [ 9.396700] UBI: number of user volumes: 1
    [ 9.396707] UBI: available PEBs: 0
    [ 9.396714] UBI: total number of reserved PEBs: 986
    [ 9.396722] UBI: number of PEBs reserved for bad PEB handling: 9
    [ 9.396730] UBI: max/mean erase counter: 1/0
    [ 9.396737] UBI: image sequence number: 443000017
    [ 9.400814] UBI: background thread "ubi_bgt2d" started, PID 997
    [ 9.478635] UBIFS: recovery needed
    [ 9.611750] UBIFS: recovery completed
    [ 9.611777] UBIFS: mounted UBI device 2, volume 0, name "data"
    [ 9.611791] UBIFS: file system size: 122277888 bytes (119412 KiB, 116 MiB, 963 LEBs)
    [ 9.611804] UBIFS: journal size: 6094848 bytes (5952 KiB, 5 MiB, 48 LEBs)
    [ 9.611815] UBIFS: media format: w4/r0 (latest is w4/r0)
    [ 9.611823] UBIFS: default compressor: lzo
    [ 9.611831] UBIFS: reserved for root: 4952683 bytes (4836 KiB)
    [ 9.709405] Disabling lock debugging due to kernel taint
    [ 9.711722] compat-drivers backport release: ol_r8.a8.04_32
    [ 9.711736] Backport based on wl18xx.git ol_r8.a8.10
    [ 9.711744] compat.git: wl18xx.git
    [ 9.825193] cfg80211: Calling CRDA to update world regulatory domain
    [ 10.192179] wlcore: wl18xx driver version: ol_r8.a8.04_32-dirty
    [ 10.194090] hello 1
    [ 10.194106] wl12xx_set_power_on strated
    [ 10.219835] ####wl12xx_set_power=1
    [ 10.294779] r8712u: module is from the staging directory, the quality is unknown, you have been warned.
    [ 10.304043] usbcore: registered new interface driver r8712u
    [ 10.321621]
    [ 10.321630] *******GPIO driver: last Modified On Aug 29 2014 at 09:56:49
    [ 10.341839]
    [ 10.341848] *******WIEGAND DRIVER: last Modified On Aug 29 2014 at 09:56:50
    [ 10.373282] usbcore: registered new interface driver usbserial
    [ 10.373351] USB Serial support registered for generic
    [ 10.373417] usbcore: registered new interface driver usbserial_generic
    [ 10.373426] usbserial: USB Serial Driver core
    [ 10.424237] USB Serial support registered for GSM modem (1-port)
    [ 10.424408] usbcore: registered new interface driver option
    [ 10.424417] option: v0.7.2:USB Driver for GSM modems
    [ 10.445873] ti_adc: module is from the staging directory, the quality is unknown, you have been warned.
    [ 10.447282] tiadc tiadc: attached adc driver
    [ 10.463062] wl1271_power_on return[-110]
    [ 10.463082] wl12xx_set_power_on return[-110]
    [ 10.463090] wlcore: ERROR couldn't get hw info
    [ 10.573446] input: raystar-touchscreen as /devices/platform/omap/omap_i2c.3/i2c-3/3-0038/input/input0
    [ 22.825328] WIEGAND DRIVER: Opened Successfully

  • Hi Yashavadan,

    It looks to me that the WLAN_EN is not toggled during turn on.
    Can you probe the WLAN_EN line and see if it is okay?

    Regards,
    Gigi Joseph.

  • Hi Joseph,

    After debugging i found that there is an order change in "wl12xx_platform_data" structure. So there is two different wl12xx_palform_data structure with different member in linux kernel 3.2 and in wilink8 R8.3SP1.

    After correcting order of "wl12xx_platform_data" structure member wifi start working successfully.