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.

Issues with amr2008q1 Tool chain

Hi All,

We rebuilt the new kernel and WLAN drivers using new tool chain 'arm-2008q1'. Build was successful, however when we try insmod, we are getting the following error.

 

"unknown relocation:43

insmod: cannot insert xxxx Invalid module format"

 

Is this is know issue with arm2008q1, if so is there fix.

 

Note: WLAN driver built with arm-2007q3; here there are no insmod issue and the WLAN driver works fine.

 


  • In general I would suggest using the tool chain version that is recommended for your particular software stack, as it should work. Are you using the TI PSP SDK and if so what version?

    If you try building the WLAN driver in to the kernel statically does that work?

  • We had built the kernel and WLAN driver with arm-2007q3. Here things are working fine.  Currently TI PSP SDK is being built with arm-2008q1. Hence we wanted the WLAN driver to be built with arm-2008q1. We are using TI PSP SDK version 02.01.03.11.

    We havent tried statically, as our requirement is for supporting WLAN dynamically. Do you want use to try this please suggest.

  • The Code Sourcery lite cross-compiler version 'arm-2008q1' supports the armv7a & Thumb instruction sets. But the Linux kernel version prior to 2.6.30 is missing the handling / relocating for "MOVW" & "MOVT" instuction types for armv7a.

    You need to apply the kernel patch in the following link to your kernel:

     http://www.kernel.org/pub/linux/kernel/v2.6/testing/v2.6.30/ChangeLog-2.6.30-rc5

    commit ae51e609843f7d0aaeb1c2ad9f89d252a4899885
    Author: Paul Gortmaker <paul.gortmaker@gmail.com>
    Date:   Thu May 7 16:18:40 2009 +0100

        [ARM] 5507/1: support R_ARM_MOVW_ABS_NC and MOVT_ABS relocation types
       
        From: Bruce Ashfield <bruce.ashfield@windriver.com>
       
        To fully support the armv7-a instruction set/optimizations, support
        for the R_ARM_MOVW_ABS_NC and R_ARM_MOVT_ABS relocation types is
        required.
       
        The MOVW and MOVT are both load-immediate instructions, MOVW loads 16
        bits into the bottom half of a register, and MOVT loads 16 bits into the
        top half of a register.
       
        The relocation information for these instructions has a full 32 bit
        value, plus an addend which is stored in the 16 immediate bits in the
        instruction itself.  The immediate bits in the instruction are not
        contiguous (the register # splits it into a 4 bit and 12 bit value),
        so the addend has to be extracted accordingly and added to the value.
        The value is then split and put into the instruction; a MOVW uses the
        bottom 16 bits of the value, and a MOVT uses the top 16 bits.
       
        Signed-off-by: David Borman <david.borman@windriver.com>
        Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
        Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
        Signed-off-by: Russell King rmk+kernel@arm.linux.org.uk

     

    --- a/arch/arm/include/asm/elf.h
    +++ b/arch/arm/include/asm/elf.h
    @@ -45,11 +45,15 @@
     #define EF_ARM_HASENTRY  0x00000002 /* All */
     #define EF_ARM_RELEXEC  0x00000001 /* All */
     
    -#define R_ARM_NONE 0
    -#define R_ARM_PC24 1
    -#define R_ARM_ABS32 2
    -#define R_ARM_CALL 28
    -#define R_ARM_JUMP24 29
    +#define R_ARM_NONE  0
    +#define R_ARM_PC24  1
    +#define R_ARM_ABS32  2
    +#define R_ARM_CALL  28
    +#define R_ARM_JUMP24  29
    +#define R_ARM_V4BX  40
    +#define R_ARM_PREL31  42
    +#define R_ARM_MOVW_ABS_NC 43
    +#define R_ARM_MOVT_ABS  44
     
     /*
      * These are used to set parameters in the core dumps.
    --- a/arch/arm/kernel/module.c
    +++ b/arch/arm/kernel/module.c
    @@ -132,6 +132,21 @@
        *(u32 *)loc |= offset & 0x00ffffff;
        break;
     
    +  case R_ARM_MOVW_ABS_NC:
    +  case R_ARM_MOVT_ABS:
    +   offset = *(u32 *)loc;
    +   offset = ((offset & 0xf0000) >> 4) | (offset & 0xfff);
    +   offset = (offset ^ 0x8000) - 0x8000;
    +
    +   offset += sym->st_value;
    +   if (ELF32_R_TYPE(rel->r_info) == R_ARM_MOVT_ABS)
    +    offset >>= 16;
    +
    +   *(u32 *)loc &= 0xfff0f000;
    +   *(u32 *)loc |= ((offset & 0xf000) << 4) |
    +     (offset & 0x0fff);
    +   break;
    +
       default:
        printk(KERN_ERR "%s: unknown relocation: %u\n",
               module->name, ELF32_R_TYPE(rel->r_info));

     

  • Hi Chi Tran,

    Thank you very much for sending the patch. When we use this patch, the insmod does not give any error. However the kernel crashes while opening network interface (ifconfig up and CLI). Below is the kernel dump of the same.

     

    root@omap3evm:~/wlan# insmod sdio.ko
    root@omap3evm:~/wlan#
    root@omap3evm:~/wlan# insmod bmtrace.ko
    root@omap3evm:~/wlan# insmod tiwlan_drv.ko tiwlan0 (): not using net_device_ops yet Old CONTROL_PADCONF_UART1_CTS value = 0x01000110 Old CONTROL_PADCONF_UART1_RTS value = 0x00000000 New CONTROL_PADCONF_UART1_CTS value = 0x01000104 New CONTROL_PADCONF_UART1_RTS value = 0x011c0000 GPIO-150 autorequested Inside hPlatform_DevicePowerOff() root@omap3evm:~/wlan# root@omap3evm:~/wlan# ./tiwlan_loader root@omap3evm:~/wlan# ifconfig tiwlan0 192.168.103.23 netmask 255.255.255.0 up
    TIWLAN: 2844.766844: pInitParams->RoamingScanning_2_4G_enable 0 Inside hPlatform_DevicePowerOn() @@@ enable_mmc_power() 2 setting SDIO F&I clock Configuration done setting SDIO F&I clock Configuration SDIO clock Configuration is now set to 24Mhz After sdioDrv_ConnectBus, iStatus=0 After SD_IO_GO_IDLE_STATE, iStatus=0 After VDD_VOLTAGE_WINDOW, iStatus=0 After SD_IO_SEND_RELATIVE_ADDR, iStatus=0 After SD_IO_SELECT_CARD, iStatus=0 After w 0x82, iStatus=0 After r 0x82, iStatus=0 After w 0xC8, iStatus=0 After CCCR_BUS_INTERFACE_CONTOROL, uCount=1 After CCCR_IO_ENABLE, uCount=1 Try to SDBus Connect again...
    Inside hPlatform_DevicePowerOff()
    Inside hPlatform_DevicePowerOn()
    @@@ enable_mmc_power() 2
    setting SDIO F&I clock Configuration
    done setting SDIO F&I clock Configuration SDIO clock Configuration is now set to 24Mhz
    sdioDrv_InitHw() -  request_irq FAILED!!
    After sdioDrv_ConnectBus, iStatus=-16
    Try to SDBus Connect again...
    Inside hPlatform_DevicePowerOff()
    Inside hPlatform_DevicePowerOn()
    @@@ enable_mmc_power() 2
    setting SDIO F&I clock Configuration
    done setting SDIO F&I clock Configuration SDIO clock Configuration is now set to 24Mhz After sdioDrv_ConnectBus, iStatus=0 After SD_IO_GO_IDLE_STATE, iStatus=0 After VDD_VOLTAGE_WINDOW, iStatus=0 After SD_IO_SEND_RELATIVE_ADDR, iStatus=0 After SD_IO_SELECT_CARD, iStatus=0 After w 0x82, iStatus=0 After r 0x82, iStatus=0 After w 0xC8, iStatus=0 After CCCR_BUS_INTERFACE_CONTOROL, uCount=1 After CCCR_IO_ENABLE, uCount=1 CHIP VERSION... set 1273 chip top registers Working on a 1273 PG 2.0 board.
    Starting to process NVS...
    No Nvs, Setting default MAC address
    pHwInit->uEEPROMCurLen: 1c
    ERROR: If you are not calibating the device, you will soon get errors !!!
    Chip ID is 0x4030111.
    FEM Type 1
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Starting to download firmware...
    Finished downloading firmware.
    Firmware running.

    --------------------------------------------------------------------
    Driver Version  : WiLink_Driver_6.1.3.01.5 Firmware Version: Rev 6.1.3.01.5
    Station ID      : 08-00-28-12-34-56
    --------------------------------------------------------------------

    root@omap3evm:~/wlan# ver not created!

    root@omap3evm:~/wlan# ./wpa_supplicant -Dwext -itiwlan0 -c wpa_supplicant.txt & root@omap3evm:~/wlan# ./wlan_cu Connection established with supplicant user_main, start \> Driver/, Connection/, Management/, Show/, Privacy/, scAn/, roaminG/, qOs/, poWer/, eVents/, Bt coexsistance/, Report/, dEt A .../scAn> Start, sTop, Wextstart, configApp/, configpEriodic/, configPolicy/ S Unable to handle kernel NULL pointer dereference at virtual address
    00000002
    pgd = c0004000
    [00000002] *pgd=00000000
    Internal error: Oops: 17 [#1]
    Modules linked in: tiwlan_drv bmtrace sdio
    CPU: 0    Not tainted  (2.6.29-rc3_Mistral_WL1271-omap1 #3)
    PC is at wlanDrvWext_Handler+0x4c/0x310 [tiwlan_drv] LR is at os_memoryZero+0x20/0x24 [tiwlan_drv]
    pc : [<bf014b34>]    lr : [<bf014224>]    psr: 40000013
    sp : c55f5598  ip : 00000000  fp : c55f560c
    r10: c729d214  r9 : c729d224  r8 : 00000002
    r7 : c55f55b4  r6 : c55f55cc  r5 : c72bfab4  r4 : c72bfe14
    r3 : 00000000  r2 : 00000000  r1 : ffffffd4  r0 : c55f55e0
    Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
    Control: 10c5387d  Table: 87318019  DAC: 00000017 Process tiwlan (pid: 1278, stack limit = 0xc55f42e0)
    Stack: (0xc55f5598 to 0xc55f6000)
    5580:                                                       bf049d6c
    bf049c80
    55a0: 00071d24 000c9e1c 00071d64 000c9e1c 00071da0 00000000 00000000 00000000
    55c0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    55e0: 0007203c 00000002 c72bfb28 00000002 00000002 00000000 00000000 00000000
    5600: c55f5624 c55f5610 bf08c2d0 bf014af4 c72bfab4 c72bfb28 c55f565c
    c55f5628
    5620: bf06aea8 bf08c26c 00072430 000c9e1c 00072464 000c9e1c 0007249c e80c9e1c
    5640: c72bfab4 c542b05c 00000001 00000000 c55f568c c55f5660 bf06a664
    bf06ae14
    5660: 000725b0 0005d302 0007261c c546e014 00000001 00000000 c542b05c 00000000
    5680: c55f56c4 c55f5690 bf070700 bf06a564 00000000 00000000 00000001 00000000
    56a0: 00000000 00000000 00000000 c542b014 00000001 00000001 c55f56fc
    c55f56c8
    56c0: bf0392ac bf070684 00000000 00000000 00000001 00000000 00000000 00000000
    56e0: 000729d8 c542b014 bf0d23f0 bf0d23b0 c55f571c c55f5700 bf038d64 bf03925c
    5700: 00072b28 00000102 00072b2c c70eb514 c55f575c c55f5720 bf08c5c0 bf038d1c
    5720: 00072b38 00000102 00072b58 0008b21c 00072b6c c5450c4c c5450c4c
    c5450c14
    5740: c5450c4c 00000010 c728a814 00000000 c55f58ac c55f5760 bf0383a0 bf08c530
    5760: 00072dd4 00000102 00072dd8 00000102 00072ddc 00000102 00072de0
    00000102
    5780: 00072e64 ffffb21c ffffffff 000c9e1c 00072ef4 000c9e1c 00072f00
    0005e902
    57a0: 00073094 000c9e1c 000730c4 00000102 000730c8 00000003 00000000
    c55f5786
    57c0: bf02af0c 00000003 c55f5d60 c55de814 c55f58dc c55f57e0 bf0534ac bf0916c0
    57e0: 00073214 000c9e1c 000732a8 000f071c 00073344 000f071c 00073360
    00000102
    5800: 00073364 00000102 c04a3d68 c04a3d48 c552c99f 00801507 c55f5d60
    c5450c14
    5820: 00000050 00000140 c6798634 00000000 c55f58b4 c55f5840 bf03aeec
    bf03ac74
    5840: c05c82c0 00000003 c55f5874 c55f5858 c005cb30 c005c9d4 00b6229a 00000000
    5860: 00000001 c55f5d64 c72bef94 00000003 c55f5894 00000004 c005c524 00000000
    5880: c73d1350 c706cc90 c55f58bc 08021501 c5450c14 c55f5d60 00000006 00000140
    58a0: c55f58dc c55f58b0 bf03a988 bf0382ac bf03a728 bf03aeac c7296014 c55f5d60
    58c0: 08021501 c7296014 c55f5d60 00000050 c55f5914 c55f58e0 bf01a490
    bf03a744
    58e0: 000001c8 000001e0 c728b614 c54ba6b4 c728b614 c6709d94 c54ba6b4
    c728b614
    5900: ab99e799 00000000 c55f5f2c c55f5918 bf017200 bf01a3f8 00000000 c6709e90
    5920: c72980d4 c7296214 00000004 00000000 c72bef94 00000000 00000001
    c71d9494
    5940: c67efd88 c704dd60 c729cac4 00000011 c55f597c c55f5960 c005bbc8 c005bb30
    5960: c55f5980 c55f59e0 00000060 c71d9488 c55f5994 c55f5980 c00746d8 c005bbac
    5980: c729caa0 c71d9440 c729caa0 00000060 c55f59b4 c55f59a0 c0297304 c00aa08c
    59a0: c729caa0 c71d9440 c55f59cc c55f59b8 c729caa0 c71d9440 c729caa0 00000060
    59c0: c55f59e4 c55f59d0 c02970d8 c00aa144 c704dd60 c71d9440 c55f59f4
    c55f59e8
    59e0: c0297128 c0297040 c55f5a0c c55f59f8 c029a2c0 c02970ec 00000060 c71d9440
    5a00: c55f5a3c c55f5a10 c034c68c c029a2b4 00000000 c729caa0 c55f5a3c c704dd60
    5a20: 00000068 00000000 00000068 00000000 c55f5a5c c55f5a40 01dcd64c 00000000
    5a40: c55f5aac c55f5a50 c007a614 c007b598 00002bb8 00000000 00002bb8 00000000
    5a60: c55f5a7c c55f5a70 c0041e90 c0041ce8 c55f5abc c55f5a80 c007a770
    c0041cc8
    5a80: ffffffff 00000000 c55f5abc 00000018 00000011 00000030 c55f5ab4
    c55f5d09
    5aa0: 00000000 bf0142d8 c55f5b1c c55f5ab8 bf02d49c c89cb014 00000000
    00000108
    5ac0: 00004ba4 c89ccb70 00004ba0 bf0142d8 c55f5b0c c55f5ae0 bf0760c4
    bf0142c8
    5ae0: 00000005 c55eca1c c55ec014 00000000 c55eca1c c55ec014 00000000
    00000003
    5b00: c55f5c4c c55f5b10 bf080368 bf075fb8 00000000 00000000 00000000 bf02d240
    5b20: 00030060 00000000 00020a0a 00000040 ffffffff 0008ffff 56341228 ffffffff
    5b40: 0000ffff 00002000 00000000 00000000 c04a3258 c04a3238 a3b0ad85
    00000001
    5b60: 00000001 00000003 c55f5b9c c55f5b78 c005ca68 c0186944 c04a3238 c04a3da0
    5b80: 00000001 00000000 c72be608 00000003 c55f5bbc c55f5ba0 c005cb30
    c005c9d4
    5ba0: c04a3da0 c04a3200 c73d1320 00000000 c55f5bd4 c55f5bc0 c005ccb8
    c005ca78
    5bc0: c73d1320 c04a3200 c55f5bec c55f5bd8 c005b8d8 c005cc9c c04a3200 c04a3200
    5be0: c55f5c04 c55f5bf0 c55f5c04 c55f5bf8 c005d63c c005d1f8 c55f5c2c
    c55f5c08
    5c00: c005cd54 c005d634 c55f5c2c 80000193 c55f5fac c72be5fc c55f5c3c
    c55f5c28
    5c20: bf000078 bf00000c 0000010c 00000400 0000002f 00000000 bf005060
    00000043
    5c40: 00000001 00000002 c55f5c8c c55f5c58 bf000988 c0044a7c 00000001 0000002f
    5c60: 00000000 00000003 00000001 c729dc14 c729dc14 00000000 00000000 00000000
    5c80: c55f5cb4 c55f5c90 bf0178b0 bf000814 00000000 00000000 00000150 d80562cc
    5ca0: c55f5cc4 c55f5cb0 bf000078 bf00000c c73e4000 00000800 c55f5cdc
    c55f5cc8
    5cc0: bf000078 bf00000c c73e4000 00000400 c55f5cf4 c55f5ce0 bf000500 bf00000c
    5ce0: c73e4000 00000400 c55f5d1c c55f5cf8 bf00058c bf00000c 00000000
    c55f5d08
    5d00: bf000750 00000001 c55f5d2c c55f5d18 bf000078 bf00000c c73e4001 0001fffd
    5d20: c55f5d54 c55f5d30 bf000390 bf000048 00000000 c729dc14 c729dc14 00000000
    5d40: 00000000 00000000 c55f5d6c c55f5d58 bf017840 bf000344 00000000
    c55f5d68
    5d60: 08021501 000001c8 c728a814 00000003 00000000 ffffffff c55fffff 00000000
    5d80: c55f8adc c55f8adc c729dc14 c7296460 00000004 c542e7c8 c7296464 00000000
    5da0: c542e7cc c542e7cc c729dc14 c542e7c8 00000001 0001fffd c55f5e04
    c55f5dc8
    5dc0: bf08bdf4 bf08b9ec 00000000 c73e4000 c04a3d68 c04a3d48 cab65e66
    00000003
    5de0: 00000001 00000003 c55f5e1c c55f5df8 c005ca68 c0186944 c04a3d48 c70ea3d0
    5e00: 00000001 00000000 c67decb8 00000003 c55f5e3c c55f5e20 c005cb30
    c005c9d4
    5e20: c70ea3d0 c04a3200 c70ea3a0 00000000 c55f5e54 c55f5e40 c73d1350 c70ea3d0
    5e40: c73d1320 c70ea3a0 c04a3da0 c04a3da0 c55f5e84 c55f5e60 c005ec78
    c005c4d4
    5e60: 00000001 c04a3200 c70ea3a0 00000000 c67decb8 00000003 c55f5eac
    c55f5e88
    5e80: c005cd54 c005eb20 00000002 80000093 c5401cc4 c67decac 00000001
    00000001
    5ea0: c55f5ebc c55f5eb0 c005cd9c c005ccd8 c55f5eec c55f5ec0 c005bb5c
    c005cd94
    5ec0: c55f5f0c c55f5ed0 c007a770 c0041cc8 ffffffff 00000000 00000000 00000000
    5ee0: c55f5f0c c55f5f30 c55f4000 c728b614 c72be600 00000000 00000000 00000000
    5f00: c55f5f2c c72980d4 c54ba6b4 c728b614 ab99e799 00000000 00000000 00000000
    5f20: c55f5f44 c55f5f30 bf019bdc bf015534 c728b620 00000003 c55f5f74
    c55f5f48
    5f40: bf08d55c bf019bbc c007839c c00782e4 00000000 c04a3d48 c72be600 c55f4000
    5f60: bf0132d4 c72be600 c55f5f84 c55f5f78 bf0132e8 bf08d4c4 c55f5fa4
    c55f5f88
    5f80: c007090c bf0132e0 c72be608 c55f5fb8 c73d1320 c72be600 c55f5fdc
    c55f5fa8
    5fa0: c0071448 c0070874 c55f5fdc 00000000 c73d1320 c0074708 c55f5fb8
    c55f5fb8
    5fc0: c72be600 c007139c 00000000 00000000 c55f5ff4 c55f5fe0 c0074238
    c00713a8
    5fe0: 00000000 00000000 00000000 c55f5ff8 c0063fbc c00741f0 00075858
    00000102
    Backtrace:
    [<bf014ae8>] (wlanDrvWext_Handler+0x0/0x310 [tiwlan_drv]) from [<bf08c2d0>] (fsm_Event+0x70/0x74 [tiwlan_drv]) [<bf08c260>] (fsm_Event+0x0/0x74 [tiwlan_drv]) from [<bf06aea8>]
    (scanSRVSM_SMEvent+0xa0/0x108 [tiwlan_drv])
     r5:c72bfb28 r4:c72bfab4
    [<bf06ae08>] (scanSRVSM_SMEvent+0x0/0x108 [tiwlan_drv]) from [<bf06a664>] (MacServices_scanSRV_scan+0x10c/0x188 [tiwlan_drv])  r7:00000000 r6:00000001 r5:c542b05c r4:c72bfab4 [<bf06a558>] (MacServices_scanSRV_scan+0x0/0x188 [tiwlan_drv]) from [<bf070700>] (TWD_Scan+0x88/0xb0 [tiwlan_drv])  r8:00000000 r7:c542b05c r6:00000000 r5:00000001 r4:c546e014 [<bf070678>] (TWD_Scan+0x0/0xb0 [tiwlan_drv]) from [<bf0392ac>]
    (scanCncnSmApp1Shot_StartScan+0x5c/0xc4 [tiwlan_drv])
     r7:00000001 r6:00000001 r5:c542b014 r4:00000000 [<bf039250>] (scanCncnSmApp1Shot_StartScan+0x0/0xc4 [tiwlan_drv]) from [<bf038d64>] (scanCncnSm_StartScan+0x54/0x7c [tiwlan_)  r6:bf0d23b0 r5:bf0d23f0 r4:c542b014 [<bf038d10>] (scanCncnSm_StartScan+0x0/0x7c [tiwlan_drv]) from [<bf08c5c0>] (genSM_Event+0x9c/0x1f8 [tiwlan_drv])
     r4:c70eb514
    [<bf08c524>] (genSM_Event+0x0/0x1f8 [tiwlan_drv]) from [<bf0383a0>]
    (scanCncn_Start1ShotScan+0x100/0x1b4 [tiwlan_drv]) [<bf0382a0>] (scanCncn_Start1ShotScan+0x0/0x1b4 [tiwlan_drv]) from [<bf03a988>] (scanCncnApp_SetParam+0x250/0x498 [tiwlan_dr)  r8:00000140 r7:00000006 r6:c55f5d60 r5:c5450c14 r4:08021501 [<bf03a738>] (scanCncnApp_SetParam+0x0/0x498 [tiwlan_drv]) from [<bf01a490>] (cmdDispatch_SetParam+0xa4/0xe8 [tiwlan_drv])  r7:00000050 r6:c55f5d60 r5:c7296014 r4:08021501 [<bf01a3ec>] (cmdDispatch_SetParam+0x0/0xe8 [tiwlan_drv]) from [<bf017200>] (cmdInterpret_convertAndExecute+0x1cd8/0x218c [t)  r8:00000000 r7:ab99e799 r6:c728b614 r5:c54ba6b4 r4:c6709d94 [<bf015528>] (cmdInterpret_convertAndExecute+0x0/0x218c [tiwlan_drv]) from [<bf019bdc>] (cmdHndlr_HandleCommands+0x2c/0x84 [) [<bf019bb0>] (cmdHndlr_HandleCommands+0x0/0x84 [tiwlan_drv]) from [<bf08d55c>] (context_DriverTask+0xa4/0x16c [tiwlan_drv])
     r5:00000003 r4:c728b620
    [<bf08d4b8>] (context_DriverTask+0x0/0x16c [tiwlan_drv]) from [<bf0132e8>] (wlanDrvIf_DriverTask+0x14/0x18 [tiwlan_drv])  r7:c72be600 r6:bf0132d4 r5:c55f4000 r4:c72be600 [<bf0132d4>] (wlanDrvIf_DriverTask+0x0/0x18 [tiwlan_drv]) from [<c007090c>] (run_workqueue+0xa4/0x120) [<c0070868>] (run_workqueue+0x0/0x120) from [<c0071448>] (worker_thread
    +0xac/0xc0)
     r7:c72be600 r6:c73d1320 r5:c55f5fb8 r4:c72be608 [<c007139c>] (worker_thread+0x0/0xc0) from [<c0074238>] (kthread
    +0x54/0x80)
     r7:00000000 r6:00000000 r5:c007139c r4:c72be600 [<c00741e4>] (kthread+0x0/0x80) from [<c0063fbc>] (do_exit+0x0/0x65c)  r5:00000000 r4:00000000
    Code: e3a02014 e1a00004 e1a01006 ebfffdb3 (e1d820b0) ---[ end trace fffbceb539af56e0 ]---

    Any thoughts?

  • Vijay,

    While building the driver with new toolchain, and PSP release, are you sure that there isn't any hard-coded link to older PSP release?

    Best regards,

    Sanjeev

  • Also, what was the older PSP version you were using?

    Best regards,
    Sanjeev

  • Hi Sanjeev,

    Thanks for ckecking this. We are using the PSP release 2.1.3.11. I think this does not have any link to the older PSP releases?

     

     

  •  

    Hi All,

    It is found that when WLAN and SDIO drivers are built with compiler optimization option O2, insmod has issues. However, insmod works with out any issue with optimization level option Os. This can be used as a workaround for the time being.