Tool/software: Linux
I'm using the wl1835 chip debug on the kernel 3.0.35, Android 4.4.2 in imx6.
1. I found the TI web site on the TI: The build script will work with any Linux kernel version > 3.12, using standard backports methodology.
I chose to transplant the backports-3.17.1-1 code separately.
Can I do this, please? Maybe you have better porting steps to guide us on 3.0.35's low - version kernel. Please let me know, thank you.
2. If the direction of my transplant is right, please help solve the following problems.
According to the above steps, I load the compiled wl18xx.ko, wlcore_sdio.ko, wlcore.ko mac80211.ko cfg80211.ko compat.ko driver and have the following error:
Internal error: Oops: 17 [#1] PREEMPT SMP
[ 55.666466] Modules linked in: wl18xx wlcore_sdio wlcore mac80211 cfg80211 compat
[ 55.677264] CPU: 0 Not tainted (3.0.35-ga49c2ba-dirty #75)
[ 55.683207] PC is at wlcore_nvs_cb+0x1c/0x914 [wlcore]
[ 55.688470] LR is at request_firmware_work_func+0x40/0x74
[ 55.693935] pc : [<bf276110>] lr : [<c031a488>] psr: 60070013
[ 55.693939] sp : d7a8df80 ip : 00000001 fp : 00000000
[ 55.705603] r10: 00000000 r9 : 00000000 r8 : 00000000
[ 55.710945] r7 : c08c7750 r6 : c031a448 r5 : d79672c0 r4 : d2bcd8a0
[ 55.717535] r3 : bf2760f4 r2 : 00000041 r1 : d2bcd8a0 r0 : bf2892e0
[ 55.724184] Flags: nZCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment kernel
[ 55.731613] Control: 10c53c7d Table: 22d4404a DAC: 00000015
[ 55.737423]
[ 55.737425] LR: 0xc031a408:
[ 55.741827] a408 c07d86c0 c07d85fc c0698c5c c07d8700 c07d86ac c07d864c c07d866c c07d8624
[ 55.750780] a428 e52de004 e24dd00c e3a03001 e3a0c000 e58dc000 ebfffef6 e28dd00c e8bd8000
[ 55.759733] a448 e92d4030 e2504000 e24dd014 0a000012 e5942018 e28d000c e5941014 e3a0c001
[ 55.768689] a468 e5d43024 e58dc000 ebfffee9 e594101c e5943020 e1a05000 e59d000c e12fff33
[ 55.777587] a488 e5940010 ebf6a76b e1a00004 ebf84575 e1a00005 e28dd014 e8bd8030 e59f000c
[ 55.786540] a4a8 e3a01f9f ebf5cfb9 e1a05004 eafffff7 c07d864c e2823d7f e283303e e3c33eff
[ 55.795499] a4c8 e3c3300f e92d4010 e1a04002 e1a02001 e0641003 e3510001 da000014 e3500000
[ 55.804407] a4e8 e2411002 e1a00004 e3a03004 1a000007 ebfe6356 e3a0200a e1a03000 e2830001
[ 55.813359]
[ 55.813361] SP: 0xd7a8df00:
[ 55.817817] df00 d2c4e428 00000000 c030d0ac d2bb3dbc 00000000 d237a8a0 d7872660 d7872600
[ 55.826717] df20 00000000 0000040f 00000007 c031a448 c08c7750 c004d2d0 bf2892e0 d2bcd8a0
[ 55.835664] df40 00000041 bf2760f4 d2bcd8a0 d79672c0 c031a448 c08c7750 00000000 00000000
[ 55.844619] df60 00000000 00000000 00000001 d7a8df80 c031a488 bf276110 60070013 ffffffff
[ 55.853519] df80 be8bb8fc d2bb3ce0 d2bb3ce0 00000000 c031a448 00000013 00000000 00000000
[ 55.862475] dfa0 00000000 c031a488 00000001 c031a448 00000013 d79672c0 00000000 d7aa5d8c
[ 55.871368] dfc0 d2bb3ce0 c00acd64 c004e408 00000000 d2bb3ce0 00000000 00000000 00000000
[ 55.880322] dfe0 d7a8dfe0 d7a8dfe0 d7aa5d8c c00acce4 c004e408 c004e408 4000ae58 80c94001
[ 55.889224]
[ 55.889226] R1: 0xd2bcd820:
[ 55.893682] d820 d2bcd820 d2bcd820 bf1d0248 d2bcd82c d2bcd82c 00000500 d2bcd838 d2bcd838
[ 55.902584] d840 bf1da5d0 00000500 d2bcd848 d2bcd848 bf1daa14 00000000 00000000 00000000
[ 55.911529] d860 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 55.920426] d880 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 55.929375] d8a0 00000000 d2bccbc0 00000000 c08c7758 c08c7750 00000000 00000000 00000000
[ 55.938274] d8c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
[ 55.947225] d8e0 00000000 00000000 d2bcd8e8 d2bcd8e8 00000000 00000000 00000000 00000000
[ 55.956179] d900 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 55.965134]
[ 55.965137] R4: 0xd2bcd820:
[ 55.969538] d820 d2bcd820 d2bcd820 bf1d0248 d2bcd82c d2bcd82c 00000500 d2bcd838 d2bcd838
[ 55.978491] d840 bf1da5d0 00000500 d2bcd848 d2bcd848 bf1daa14 00000000 00000000 00000000
[ 55.987391] d860 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 55.996342] d880 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.005292] d8a0 00000000 d2bccbc0 00000000 c08c7758 c08c7750 00000000 00000000 00000000
[ 56.014241] d8c0 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000001
[ 56.023138] d8e0 00000000 00000000 d2bcd8e8 d2bcd8e8 00000000 00000000 00000000 00000000
[ 56.032090] d900 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.041041]
[ 56.041043] R5: 0xd7967240:
[ 56.045447] 7240 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.054403] 7260 6d726966 65726177 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.063348] 7280 6d726966 65726177 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.072246] 72a0 38316c77 302e7878 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.081199] 72c0 00000008 dd8f0000 d2c4d880 00000000 00000000 00000000 00000000 00000000
[ 56.090153] 72e0 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.099055] 7300 00000001 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.108011] 7320 00000002 00200200 00000000 00000000 00000000 00000000 00000000 c00b3c80
[ 56.116962]
[ 56.116964] R6: 0xc031a3c8:
[ 56.121367] a3c8 c08d4910 c083aedc c083aee8 c090d628 c0977378 c0319b9c c081b868 c08df618
[ 56.130324] a3e8 c07d86dc c0698c70 c089e080 c08df65c c08df690 c08df674 c07d8690 c079b464
[ 56.139283] a408 c07d86c0 c07d85fc c0698c5c c07d8700 c07d86ac c07d864c c07d866c c07d8624
[ 56.148181] a428 e52de004 e24dd00c e3a03001 e3a0c000 e58dc000 ebfffef6 e28dd00c e8bd8000
[ 56.157138] a448 e92d4030 e2504000 e24dd014 0a000012 e5942018 e28d000c e5941014 e3a0c001
[ 56.166091] a468 e5d43024 e58dc000 ebfffee9 e594101c e5943020 e1a05000 e59d000c e12fff33
[ 56.174990] a488 e5940010 ebf6a76b e1a00004 ebf84575 e1a00005 e28dd014 e8bd8030 e59f000c
[ 56.183889] a4a8 e3a01f9f ebf5cfb9 e1a05004 eafffff7 c07d864c e2823d7f e283303e e3c33eff
[ 56.192848]
[ 56.192850] R7: 0xc08c76d0:
[ 56.197253] 76d0 ffff8b10 00000000 00000000 00000000 00000000 00000000 00000000 c08c76ec
[ 56.206209] 76f0 c08c76ec 00000000 00000000 00000000 00000000 00000000 c08c7708 c08c7708
[ 56.215163] 7710 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 56.224065] 7730 00000000 00000000 00000000 00000000 c08bf0f0 c08bf144 00000004 00000002
[ 56.232963] 7750 c079fb94 00000000 c08df1f0 d618c720 d6151600 d616e814 d616ea14 c08df1f8
[ 56.241921] 7770 d6015120 c08df048 d6153ba8 00000003 00000007 00000000 00000000 00000001
[ 56.250877] 7790 00000000 00000000 c08c7798 c08c7798 00000000 c08df1b8 bf2b3d48 00000000
[ 56.259832] 77b0 00000000 00000000 00000000 00000000 d616e870 d616ea70 7fffffff 00000000
[ 56.268737] Process firmware/ti-con (pid: 3291, stack limit = 0xd7a8c2f0)
[ 56.275643] Stack: (0xd7a8df80 to 0xd7a8e000)
[ 56.280067] df80: be8bb8fc d2bb3ce0 d2bb3ce0 00000000 c031a448 00000013 00000000 00000000
[ 56.288366] dfa0: 00000000 c031a488 00000001 c031a448 00000013 d79672c0 00000000 d7aa5d8c
[ 56.296664] dfc0: d2bb3ce0 c00acd64 c004e408 00000000 d2bb3ce0 00000000 00000000 00000000
[ 56.304910] dfe0: d7a8dfe0 d7a8dfe0 d7aa5d8c c00acce4 c004e408 c004e408 4000ae58 80c94001
[ 56.313238] [<bf276110>] (wlcore_nvs_cb+0x1c/0x914 [wlcore]) from [<c031a488>] (request_firmware_work_func+0x40/0x74)
[ 56.323977] [<c031a488>] (request_firmware_work_func+0x40/0x74) from [<c00acd64>] (kthread+0x80/0x88)
[ 56.333331] [<c00acd64>] (kthread+0x80/0x88) from [<c004e408>] (kernel_thread_exit+0x0/0x8)
[ 56.341807] Code: e24dd008 e59f087c e1a04001 e597a05c (e59a6000)
[ 56.348194] ---[ end trace b740240d33d85f19 ]---
[ 56.352983] Kernel panic - not syncing: Fatal exception
[ 56.358311] [<c0054fe4>] (unwind_backtrace+0x0/0x138) from [<c065e02c>] (panic+0x74/0x194)
[ 56.366729] [<c065e02c>] (panic+0x74/0x194) from [<c0051470>] (die+0x218/0x284)
[ 56.374143] [<c0051470>] (die+0x218/0x284) from [<c065d4a8>] (__do_kernel_fault.part.3+0x54/0x74)
[ 56.383196] [<c065d4a8>] (__do_kernel_fault.part.3+0x54/0x74) from [<c0058d90>] (do_page_fault+0x2cc/0x334)
[ 56.393086] [<c0058d90>] (do_page_fault+0x2cc/0x334) from [<c0047410>] (do_DataAbort+0x34/0x9c)
[ 56.401930] [<c0047410>] (do_DataAbort+0x34/0x9c) from [<c004d2d0>] (__dabt_svc+0x70/0xa0)
/0x208)
I checked repeatedly, no lack of firmware, can not find the location of the method, please help to locate, thank you!
3.Please help to provide the required reference code and the necessary reference documents for the
transplant of wl1835 on our platform.
Thank you!