Trying to get the wireless to work with this board, and followed the user and porting guides. But, I end up with a kernel panic when trying to manually bring up the interface. The 2 docs I followed are
http://processors.wiki.ti.com/index.php/TI-Android-FroYo-DevKit-V2.2_UserGuide
and
http://processors.wiki.ti.com/index.php/Android_wireless_build_and_porting_guide
Before going further, I should ask if this is even the correct path to take? I just noticed code in the rowboat tree in the external directory, and have to wonder if that is what should be used.
If the guides are the right path, the panic looks like:
# dhcpcd tiwlan0
TIWLAN: 1070.322286: wlanDrvIf_Open()
TIWLAN: 1070.326558: pInitParams->RoamingScanning_2_4G_enable 0
TIWLAN: 1070.332478: EvHandlerSendEvent 2
TIWLAN: 1070.336507: EvHandlerSendEvent 2 to OS
TIWLAN: 1070.341023: EvHandlerSendEvent Matching OS Registered event found at EvType = 2,ModuleIndex = 0
Unable to handle kernel NULL pointer dereference at virtual address 00000026
pgd = c466c000
[00000026] *pgd=845fe031, *pte=00000000, *ppte=00000000
Internal error: Oops: 17 [#1]
last sysfs file: /sys/module/tiwlan_drv/parameters/g_sdio_debug_level
Modules linked in: tiwlan_drv omaplfb pvrsrvkm
CPU: 0 Not tainted (2.6.32 #2)
PC is at twl_i2c_write+0x30/0x100
LR is at twl_i2c_write_u8+0x1c/0x20
pc : [<c02070c0>] lr : [<c02071ac>] psr: 00000013
sp : c461bcf8 ip : 0000002b fp : 00000026
r10: 00000002 r9 : c461bd2c r8 : c84a56fc
r7 : c84a53d4 r6 : 00000001 r5 : c053ff10 r4 : bf0e59f8
r3 : 00000001 r2 : 00000000 r1 : c461bd2c r0 : 00000013
Flags: nzcv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
Control: 10c5387d Table: 8466c019 DAC: 00000015
PC: 0xc0207040:
7040 e1a00007 eb065e5b e3540002 01a04006 0a000004 e59f0028 e59f1020 eb065ab1
7060 e3540000 a3e04004 e1a00004 e28dd014 e8bd8ff0 c047bfbc c053ff10 c047bfe1
7080 c047bfdd c047c006 e3a03001 eaffffb6 e3500017 e1a0c002 e92d4ff7 81a02000
70a0 e1a09001 859f00d0 8a000007 e59f50cc e1a0b080 e5d560e4 e59520e8 e2366001
70c0 e7d22080 0a000004 e59f00b4 e59f10b4 e3e04000 eb065a93 ea000025 e3a08038
70e0 e285a004 e58d3000 e0080298 e58dc004 e08a4008 e2847020 e1a00007 eb065ebe
7100 e1c460ba e5d42004 e2841008 e59d3000 e5849010 e1c420b8 e2833001 e1c430bc
7120 e3a02001 e59530e8 e59dc004 e083b00b e5db3001 e08cc003 e5c9c000 e79a3008
LR: 0xc020712c:
712c e083b00b e5db3001 e08cc003 e5c9c000 e79a3008 e5930018 eb01a1e3 e1a04000
714c e1a00007 eb065e18 e3540001 01a04006 0a000004 e59f0024 e59f101c eb065a6e
716c e3540000 a3e04004 e1a00004 e8bd8ffe c047bfbc c053ff10 c047bfe1 c047bfdd
718c c047c037 e92d4007 e3a03000 e1cd30b4 e3a03001 e5cd1005 e28d1004 ebffffb8
71ac e8bd800e e92d4010 e59f102c ebfecb65 e59f2028 e59f3028 e3500000 e3a00000
71cc 128220a0 05832000 15832000 03a02008 13a02006 e5832004 e8bd8010 c047c10a
71ec c03c01bc c053fffc e59f301c e92d4010 e5930008 e3500000 08bd8010 e59f000c
720c eb065a45 e3e00025 e8bd8010 c053fffc c047c112 e92d41f0 e1a07001 e1a06000
SP: 0xc461bc78:
bc78 00400000 fd0d880c 00000004 00000000 002625a0 00000000 00000000 00000000
bc98 c461bcd4 ffffffff c461bce4 00000001 c84a53d4 c0033a2c 00000013 c461bd2c
bcb8 00000000 00000001 bf0e59f8 c053ff10 00000001 c84a53d4 c84a56fc c461bd2c
bcd8 00000002 00000026 0000002b c461bcf8 c02071ac c02070c0 00000013 ffffffff
bcf8 00000013 c461bd2c 0000002b bf0e59f8 c84a5214 bf0b68c8 c84a53d4 c84a56fc
bd18 c84a56fc 00000002 c84a5704 c02071ac 00000013 00002000 0000002b bf041410
bd38 00000002 bf041f78 bf0e59f4 c84a5214 bf0b68c8 c84a53d4 c84a56fc bf0407a0
bd58 c84a56fc c8b50ee0 000000fb 00000009 00000025 c0033070 c84a5214 00000001
R1: 0xc461bcac:
bcac c0033a2c 00000013 c461bd2c 00000000 00000001 bf0e59f8 c053ff10 00000001
bccc c84a53d4 c84a56fc c461bd2c 00000002 00000026 0000002b c461bcf8 c02071ac
bcec c02070c0 00000013 ffffffff 00000013 c461bd2c 0000002b bf0e59f8 c84a5214
bd0c bf0b68c8 c84a53d4 c84a56fc c84a56fc 00000002 c84a5704 c02071ac 00000013
bd2c 00002000 0000002b bf041410 00000002 bf041f78 bf0e59f4 c84a5214 bf0b68c8
bd4c c84a53d4 c84a56fc bf0407a0 c84a56fc c8b50ee0 000000fb 00000009 00000025
bd6c c0033070 c84a5214 00000001 c84a53d8 c84a53d4 c84a56fc bf0b6a6c c84a53d4
bd8c c84a53d8 c84a53dc c84a53e0 c3e1dc94 00000000 00000000 c84a56fc 00000000
R5: 0xc053fe90:
fe90 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
feb0 00000000 00000000 cf81cfc0 cf81c940 cf81cf80 cf81cf40 cf81cf00 00000000
fed0 00000000 cf81cd80 00000000 00000000 cf81cec0 00000000 cf81ce80 00000000
fef0 cf81ce40 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff10 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff30 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff50 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
ff70 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R7: 0xc84a5354:
5354 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5374 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
5394 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
53b4 00000000 00000000 00000000 00000000 00000000 00000009 00000200 000001ff
53d4 c44ce000 00002000 c44ce000 00002000 00000000 6d656d65 00000000 00000000
53f4 00000000 00000000 00000000 00000000 00000000 c00ab850 00000174 6d656d73
5414 c8b50ee0 c84a5014 00000001 00000000 00000007 bf0b83e4 bf0475f4 bf049ac4
5434 bf04416c bf0ae4c0 bf0b4f18 bf043164 00000000 c3d1dd54 c3d1c814 c8b8b554
R8: 0xc84a567c:
567c c3e24014 c3e1da54 00000000 c3e2c014 c3e25614 c3e25414 c84a3754 c8d2a2d4
569c c3d1e014 c3ec4014 c3e1d994 c3ec0214 c3e27bd4 c3e1dc94 00000000 00000000
56bc 00000002 00000002 00000001 00000001 00000000 00000000 00000000 00000000
56dc 00000000 00000000 bf042b78 c84a5614 00000000 00000000 00000000 00000006
56fc 00000009 000000fb 00000000 00000000 c3e27254 c4674294 00000001 6d656d65
571c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
573c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
575c 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
R9: 0xc461bcac:
bcac c0033a2c 00000013 c461bd2c 00000000 00000001 bf0e59f8 c053ff10 00000001
bccc c84a53d4 c84a56fc c461bd2c 00000002 00000026 0000002b c461bcf8 c02071ac
bcec c02070c0 00000013 ffffffff 00000013 c461bd2c 0000002b bf0e59f8 c84a5214
bd0c bf0b68c8 c84a53d4 c84a56fc c84a56fc 00000002 c84a5704 c02071ac 00000013
bd2c 00002000 0000002b bf041410 00000002 bf041f78 bf0e59f4 c84a5214 bf0b68c8
bd4c c84a53d4 c84a56fc bf0407a0 c84a56fc c8b50ee0 000000fb 00000009 00000025
bd6c c0033070 c84a5214 00000001 c84a53d8 c84a53d4 c84a56fc bf0b6a6c c84a53d4
bd8c c84a53d8 c84a53dc c84a53e0 c3e1dc94 00000000 00000000 c84a56fc 00000000
Process dhcpcd (pid: 1283, stack limit = 0xc461a2e8)
Stack: (0xc461bcf8 to 0xc461c000)
bce0: 00000013 c461bd2c
bd00: 0000002b bf0e59f8 c84a5214 bf0b68c8 c84a53d4 c84a56fc c84a56fc 00000002
bd20: c84a5704 c02071ac 00000013 00002000 0000002b bf041410 00000002 bf041f78
bd40: bf0e59f4 c84a5214 bf0b68c8 c84a53d4 c84a56fc bf0407a0 c84a56fc c8b50ee0
bd60: 000000fb 00000009 00000025 c0033070 c84a5214 00000001 c84a53d8 c84a53d4
bd80: c84a56fc bf0b6a6c c84a53d4 c84a53d8 c84a53dc c84a53e0 c3e1dc94 00000000
bda0: 00000000 c84a56fc 00000000 bf0b60f8 bf0b5184 c84a5704 c84a5708 c8b50ee0
bdc0: c84a5704 c84a5614 00000000 c84a5708 c44ce014 bf042314 c84a5704 c84a5708
bde0: 00000000 c8b50c00 c84a56c8 c84a5708 c8b50ee0 c44cec54 c44cefa4 c44cef74
be00: a0000013 c84a542c 00000006 c84a5414 00000000 00000001 00000000 c8d2a3cc
be20: c461bec0 bf0b7d14 c461bec0 bf03d240 c84a5614 c4674294 00000001 00000001
be40: c8d2a3c0 bf042d7c c8b50ee0 00001002 c8b50c00 c8b50ee0 00001002 bf03c3e8
be60: c8b50c00 bf03c444 c8b50c00 bf0e12e8 00001002 c02eeb64 c8b50c00 00001003
be80: 00001002 c02ee0d0 00000000 00000001 c8b50c00 00008914 c8d2a3c0 c032b07c
bea0: be90eb3c c02ef854 be90eb3c 00000000 6c776974 00306e61 00000000 00000000
bec0: 00001003 00000000 00000000 00000000 00001003 00000000 00000000 00000000
bee0: 00000000 00008914 be90eb3c 00008914 00000005 c0034068 c461a000 00000000
bf00: 00000000 c02de5f0 c44c6840 c02de3f8 00008914 c00bb030 be90eb3c c44c6840
bf20: 00008914 c00bb728 c461bf4c 00000000 c44c6840 cf707240 c03cb350 c02df8c8
bf40: c03cb350 00000000 00000000 00000000 00000000 c0471c32 cf707240 00000005
bf60: 00000000 cf707240 00000119 c44c6840 be90eb3c 00008914 00000005 c0034068
bf80: c461a000 c00bb7c8 00000005 00000000 be90eb3c 00000005 be90eb3c 000127e0
bfa0: 00000036 c0033ec0 00000005 be90eb3c 00000005 00008914 be90eb3c be90eb34
bfc0: 00000005 be90eb3c 000127e0 00000036 00000000 00000000 00000000 00000000
bfe0: 000127f0 be90eb18 afd22c3d afd0dbac 80000010 00000005 807c1021 807c1421
[<c02070c0>] (twl_i2c_write+0x30/0x100) from [<c02071ac>] (twl_i2c_write_u8+0x1c/0x20)
[<c02071ac>] (twl_i2c_write_u8+0x1c/0x20) from [<bf041410>] (sdioDrv_InitHw+0x48/0x4fc [tiwlan_drv])
[<bf041410>] (sdioDrv_InitHw+0x48/0x4fc [tiwlan_drv]) from [<bf0407a0>] (sdioAdapt_ConnectBus+0x50/0x248 [tiwlan_drv])
[<bf0407a0>] (sdioAdapt_ConnectBus+0x50/0x248 [tiwlan_drv]) from [<bf0b6a6c>] (busDrv_ConnectBus+0x74/0x15c [tiwlan_drv])
[<bf0b6a6c>] (busDrv_ConnectBus+0x74/0x15c [tiwlan_drv]) from [<bf0b60f8>] (txnQ_ConnectBus+0x70/0xa0 [tiwlan_drv])
[<bf0b60f8>] (txnQ_ConnectBus+0x70/0xa0 [tiwlan_drv]) from [<bf042314>] (drvMain_SmEvent+0x310/0xa64 [tiwlan_drv])
[<bf042314>] (drvMain_SmEvent+0x310/0xa64 [tiwlan_drv]) from [<bf0b7d14>] (context_DriverTask+0x98/0x100 [tiwlan_drv])
[<bf0b7d14>] (context_DriverTask+0x98/0x100 [tiwlan_drv]) from [<bf042d7c>] (drvMain_InsertAction+0x90/0x1b0 [tiwlan_drv])
[<bf042d7c>] (drvMain_InsertAction+0x90/0x1b0 [tiwlan_drv]) from [<bf03c3e8>] (wlanDrvIf_Start+0x30/0x50 [tiwlan_drv])
[<bf03c3e8>] (wlanDrvIf_Start+0x30/0x50 [tiwlan_drv]) from [<bf03c444>] (wlanDrvIf_Open+0x28/0x98 [tiwlan_drv])
[<bf03c444>] (wlanDrvIf_Open+0x28/0x98 [tiwlan_drv]) from [<c02eeb64>] (dev_open+0xb0/0x10c)
[<c02eeb64>] (dev_open+0xb0/0x10c) from [<c02ee0d0>] (dev_change_flags+0x8c/0x15c)
[<c02ee0d0>] (dev_change_flags+0x8c/0x15c) from [<c032b07c>] (devinet_ioctl+0x2f4/0x6bc)
[<c032b07c>] (devinet_ioctl+0x2f4/0x6bc) from [<c02de5f0>] (sock_ioctl+0x1f8/0x248)
[<c02de5f0>] (sock_ioctl+0x1f8/0x248) from [<c00bb030>] (vfs_ioctl+0x2c/0x6c)
[<c00bb030>] (vfs_ioctl+0x2c/0x6c) from [<c00bb728>] (do_vfs_ioctl+0x4e4/0x550)
[<c00bb728>] (do_vfs_ioctl+0x4e4/0x550) from [<c00bb7c8>] (sys_ioctl+0x34/0x54)
[<c00bb7c8>] (sys_ioctl+0x34/0x54) from [<c0033ec0>] (ret_fast_syscall+0x0/0x2c)
Code: e1a0b080 e5d560e4 e59520e8 e2366001 (e7d22080)
---[ end trace 812d7754a248db0e ]---
Kernel panic - not syncing: Fatal exception