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.

WiLink 1837MOD support in SDK 7.01



Hi All,

            Is WiLink 1837MOD supported in SDK 7.01?

Regards,

Rudresh

  • Hi Rudresh,

    Yes, you can find the prebuilt images at: processors.wiki.ti.com/.../WL18xx_AMxxx_Platform_Integration_Guide

    Regards,
    Gigi Joseph.
  • Hi Joseph,
    I need the patch for SDK 7.01 to support. By default DTS entry for Wi-link is not there. Also I think firmware fro 1837 is different .
    So, please guide us

    Regards,
    Rudresh
  • Hi Rudresh,

    The link I sent you contains the patch set that are required. Please check that.
    The firmware is the same.

    Regards,
    Gigi Joseph.
  • Hi Joseph,
    We found that there was a wrong settings for pinmux in SDIO. After doing that we are getting following crash.


    [ 0.000000] Booting Linux on physical CPU 0x0
    [ 0.000000] Linux version 3.12.10-ti2013.12.01 (guardhat1tb@guardhat) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #4 Tue Apr 21 18:43:24 IST 2015
    [ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c53c7d
    [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
    [ 0.000000] Machine: Generic AM43 (Flattened Device Tree), model: TI AM437x gp EVM
    [ 0.000000] cma: CMA: reserved 24 MiB at ae000000
    [ 0.000000] Memory policy: ECC disabled, Data cache writeback
    [ 0.000000] CPU: All CPU(s) started in SVC mode.
    [ 0.000000] AM437x ES1.0 (sgx neon )
    [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 259856
    [ 0.000000] Kernel command line: console=ttyO0,115200n8 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
    [ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
    [ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    [ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    [ 0.000000] Memory: 1003132K/1045504K available (5563K kernel code, 558K rwdata, 1868K rodata, 341K init, 224K bss, 42372K reserved, 267264K highmem)
    [ 0.000000] Virtual kernel memory layout:
    [ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
    [ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
    [ 0.000000] vmalloc : 0xf0000000 - 0xff000000 ( 240 MB)
    [ 0.000000] lowmem : 0xc0000000 - 0xef800000 ( 760 MB)
    [ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
    [ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
    [ 0.000000] .text : 0xc0008000 - 0xc074a03c (7433 kB)
    [ 0.000000] .init : 0xc074b000 - 0xc07a07e0 ( 342 kB)
    [ 0.000000] .data : 0xc07a2000 - 0xc082d9e0 ( 559 kB)
    [ 0.000000] .bss : 0xc082d9e0 - 0xc0865bf8 ( 225 kB)
    [ 0.000000] NR_IRQS:16 nr_irqs:16 16
    [ 0.000000] GIC CPU mask not found - kernel will fail to boot.
    [ 0.000000] GIC CPU mask not found - kernel will fail to boot.
    [ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
    [ 0.000000] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 178956ms
    [ 0.000000] OMAP clocksource: timer1 at 24000000 Hz
    [ 0.000000] Console: colour dummy device 80x30
    [ 0.000399] Calibrating delay loop... 597.60 BogoMIPS (lpj=2988032)
    [ 0.059559] pid_max: default: 32768 minimum: 301
    [ 0.059720] Security Framework initialized
    [ 0.059800] Mount-cache hash table entries: 512
    [ 0.068270] CPU: Testing write buffer coherency: ok
    [ 0.068716] Setting up static identity map for 0xc0574648 - 0xc05746b8
    [ 0.068849] L310 cache controller enabled
    [ 0.068874] l2x0: 16 ways, CACHE_ID 0x410000c9, AUX_CTRL 0x7e030000, Cache size: 256 kB
    [ 0.069752] devtmpfs: initialized
    [ 0.073027] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
    [ 0.137457] omap_hwmod: dss_dispc: cannot be enabled for reset (3)
    [ 0.140745] omap_hwmod: dss_rfbi: cannot be enabled for reset (3)
    [ 0.141407] pinctrl core: initialized pinctrl subsystem
    [ 0.142270] regulator-dummy: no parameters
    [ 0.144479] NET: Registered protocol family 16
    [ 0.147169] DMA: preallocated 256 KiB pool for atomic coherent allocations
    [ 0.149990] cpuidle: using governor ladder
    [ 0.150005] cpuidle: using governor menu
    [ 0.163823] L3 debug error: target 13 clkdm 1 (unclearable)
    [ 0.163869] L3 application error: target 13 clkdm 1 (unclearable)
    [ 0.164127] platform 49000000.edma: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.167129] OMAP GPIO hardware version 0.1
    [ 0.176950] platform 56000000.sgx: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.178955] platform ocp2scp.0: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.179260] platform ocp2scp.1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.179678] platform 48380000.omap_dwc3_1: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.180057] platform 483c0000.omap_dwc3_2: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.180398] platform 4832a000.dss: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.180768] platform 4832a400.dispc: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.181341] platform 4832a800.rfbi: FIXME: clock-name 'fck' DOES NOT exist in dt!
    [ 0.183550] No ATAGs?
    [ 0.183574] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
    [ 0.183586] hw-breakpoint: maximum watchpoint size is 4 bytes.
    [ 0.210843] bio: create slab <bio-0> at 0
    [ 0.227488] edma-dma-engine edma-dma-engine.0: TI EDMA DMA engine driver
    [ 0.228455] vmmcsd_fixed: 3300 mV
    [ 0.229030] vmmcwl_fixed: 1800 mV
    [ 0.229473] evm_v3p3: 3300 mV
    [ 0.233056] vgaarb: loaded
    [ 0.234418] SCSI subsystem initialized
    [ 0.235926] usbcore: registered new interface driver usbfs
    [ 0.236153] usbcore: registered new interface driver hub
    [ 0.236384] usbcore: registered new device driver usb
    [ 0.237334] omap_i2c 44e0b000.i2c: could not find pctldev for node /pinmux@44e10800/pinmux_i2c0_pins, deferring probe
    [ 0.237365] platform 44e0b000.i2c: Driver omap_i2c requests probe deferral
    [ 0.237629] media: Linux media interface: v0.10
    [ 0.237823] Linux video capture interface: v2.00
    [ 0.238135] pps_core: LinuxPPS API ver. 1 registered
    [ 0.238147] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>
    [ 0.238295] PTP clock support registered
    [ 0.241102] Switched to clocksource timer1
    [ 0.262253] NET: Registered protocol family 2
    [ 0.262847] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
    [ 0.263045] TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
    [ 0.263152] TCP: Hash tables configured (established 8192 bind 8192)
    [ 0.263294] TCP: reno registered
    [ 0.263310] UDP hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.263346] UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
    [ 0.263597] NET: Registered protocol family 1
    [ 0.263979] RPC: Registered named UNIX socket transport module.
    [ 0.263994] RPC: Registered udp transport module.
    [ 0.264002] RPC: Registered tcp transport module.
    [ 0.264009] RPC: Registered tcp NFSv4.1 backchannel transport module.
    [ 0.264922] NetWinder Floating Point Emulator V0.97 (double precision)
    [ 0.265591] PM: Loading am335x-pm-firmware.binbounce pool size: 64 pages
    [ 0.420483] VFS: Disk quotas dquot_6.5.2
    [ 0.420546] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
    [ 0.421180] NFS: Registering the id_resolver key type
    [ 0.421250] Key type id_resolver registered
    [ 0.421262] Key type id_legacy registered
    [ 0.421303] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
    [ 0.421505] msgmni has been set to 1485
    [ 0.423282] NET: Registered protocol family 38
    [ 0.423327] io scheduler noop registered
    [ 0.423337] io scheduler deadline registered
    [ 0.423361] io scheduler cfq registered (default)
    [ 0.424115] omap-ocp2scp ocp2scp.0: invalid resource
    [ 0.424150] omap-ocp2scp: probe of ocp2scp.0 failed with error -22
    [ 0.424635] omap-ocp2scp ocp2scp.1: invalid resource
    [ 0.424663] omap-ocp2scp: probe of ocp2scp.1 failed with error -22
    [ 0.427888] pinctrl-single 44e10800.pinmux: 199 pins at pa f9e10800 size 796
    [ 0.433270] OMAP DSS rev 2.0
    [ 0.438066] omapfb omapfb: no displays
    [ 0.438149] omapfb omapfb: failed to setup omapfb
    [ 0.438173] platform omapfb: Driver omapfb requests probe deferral
    [ 0.440452] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
    [ 0.443285] omap_uart 44e09000.serial: No clock speed specified: using default:48000000
    [ 0.443576] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 104, base_baud = 3000000) is a OMAP UART0
    [ 1.184581] console [ttyO0] enabled
    [ 1.188943] omap_uart 48022000.serial: No clock speed specified: using default:48000000
    [ 1.197784] omap_uart 48022000.serial: [UART-1]: failure [serial_omap_probe]: -22
    [ 1.205845] omap_uart: probe of 48022000.serial failed with error -22
    [ 1.213843] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
    [ 1.231849] brd: module loaded
    [ 1.240701] loop: module loaded
    [ 1.244440] (stk) :sysfs entries created
    [ 1.248655] (stk) : debugfs entries created
    [ 1.256677] mtdoops: mtd device (mtddev=name/number) must be supplied
    [ 1.268201] usbcore: registered new interface driver asix
    [ 1.274244] usbcore: registered new interface driver ax88179_178a
    [ 1.280954] usbcore: registered new interface driver cdc_ether
    [ 1.287361] usbcore: registered new interface driver r815x
    [ 1.293448] usbcore: registered new interface driver smsc95xx
    [ 1.299790] usbcore: registered new interface driver net1080
    [ 1.305999] usbcore: registered new interface driver cdc_subset
    [ 1.312513] usbcore: registered new interface driver zaurus
    [ 1.318719] usbcore: registered new interface driver cdc_ncm
    [ 1.325300] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
    [ 1.332294] ehci-pci: EHCI PCI platform driver
    [ 1.337263] ehci-omap: OMAP-EHCI Host Controller driver
    [ 1.343947] usbcore: registered new interface driver cdc_wdm
    [ 1.350222] usbcore: registered new interface driver usb-storage
    [ 1.357878] mousedev: PS/2 mouse device common for all mice
    [ 1.366308] i2c /dev entries driver
    [ 1.370730] Driver for 1-wire Dallas network protocol.
    [ 1.378946] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
    [ 1.388515] edma-dma-engine edma-dma-engine.0: allocated channel for 0:3
    [ 1.395821] edma-dma-engine edma-dma-engine.0: allocated channel for 0:2
    [ 1.403545] Unable to handle kernel NULL pointer dereference at virtual address 00000004
    [ 1.412169] pgd = c0004000
    [ 1.415049] [00000004] *pgd=00000000
    [ 1.418864] Internal error: Oops: 5 [#1] ARM
    [ 1.423410] Modules linked in:
    [ 1.426672] CPU: 0 PID: 4 Comm: kworker/0:0 Not tainted 3.12.10-ti2013.12.01 #4
    [ 1.434466] task: ed087080 ti: ed094000 task.ti: ed094000
    [ 1.440231] PC is at process_one_work+0x24/0x33c
    [ 1.445150] LR is at worker_thread+0x128/0x384
    [ 1.449884] pc : [<c00595e4>] lr : [<c0059cb8>] psr: 400001d3
    [ 1.449884] sp : ed095ef8 ip : ed095f38 fp : ed095f34
    [ 1.462110] r10: 00000009 r9 : c07f6264 r8 : ed07add8
    [ 1.467672] r7 : c07f6274 r6 : 00000000 r5 : c07f6264 r4 : ed07adc0
    [ 1.474622] r3 : 00000000 r2 : 00000001 r1 : ed25fbd0 r0 : ed07adc0
    [ 1.481575] Flags: nZcv IRQs off FIQs off Mode SVC_32 ISA ARM Segment kernel
    [ 1.489544] Control: 10c53c7d Table: 80004059 DAC: 00000017
    [ 1.495662] Process kworker/0:0 (pid: 4, stack limit = 0xed094240)
    [ 1.502243] Stack: (0xed095ef8 to 0xed096000)
    [ 1.506884] 5ee0: c0058240 ed07adc0
    [ 1.515599] 5f00: c07f6264 ed094000 c07f6274 ed07adc0 c07f6264 ed094000 c07f6274 ed07add8
    [ 1.524312] 5f20: c07f6264 00000009 ed095f64 ed095f38 c0059cb8 c00595cc ed087080 ed089de8
    [ 1.533025] 5f40: 00000000 ed07adc0 c0059b90 00000000 00000000 00000000 ed095fac ed095f68
    [ 1.541738] 5f60: c005f74c c0059b9c 042ac892 00000000 c0171205 ed07adc0 00000000 ed095f7c
    [ 1.550451] 5f80: ed095f7c 00000000 ed095f88 ed095f88 ed089de8 c005f6a0 00000000 00000000
    [ 1.559163] 5fa0: 00000000 ed095fb0 c0014238 c005f6ac 00000000 00000000 00000000 00000000
    [ 1.567875] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 1.576588] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 1531bc60 08414844
    [ 1.585292] Backtrace:
    [ 1.587911] [<c00595c0>] (process_one_work+0x0/0x33c) from [<c0059cb8>] (worker_thread+0x128/0x384)
    [ 1.597555] [<c0059b90>] (worker_thread+0x0/0x384) from [<c005f74c>] (kthread+0xac/0xb8)
    [ 1.606191] [<c005f6a0>] (kthread+0x0/0xb8) from [<c0014238>] (ret_from_fork+0x14/0x3c)
    [ 1.614715] r7:00000000 r6:00000000 r5:c005f6a0 r4:ed089de8
    [ 1.620768] Code: e590202c e2136004 13c360ff e3120080 (e5963004)
    [ 1.627287] ---[ end trace 964d8a45bb51f2df ]---
    [ 1.632281] mmc0: clock 400000Hz busmode 2 powermode 2 cs 0 Vdd 21 width 0 timing 0
    [ 1.640702] Unable to handle kernel paging request at virtual address fffffff0
    [ 1.648395] pgd = c0004000
    [ 1.651275] [fffffff0] *pgd=adff2821, *pte=00000000, *ppte=00000000
    [ 1.657965] Internal error: Oops: 17 [#2] ARM
    [ 1.662601] Modules linked in:
    [ 1.665860] CPU: 0 PID: 4 Comm: kworker/0:0 Tainted: G D 3.12.10-ti2013.12.01 #4
    [ 1.674672] task: ed087080 ti: ed094000 task.ti: ed094000
    [ 1.680424] PC is at kthread_data+0x10/0x18
    [ 1.684882] LR is at wq_worker_sleeping+0x14/0xbc
    [ 1.689893] pc : [<c005f958>] lr : [<c005a5c8>] psr: 200001d3
    [ 1.689893] sp : ed095b78 ip : ed095b88 fp : ed095b84
    [ 1.702118] r10: c07f6c70 r9 : ed087160 r8 : ed087160
    [ 1.707681] r7 : ed094000 r6 : c07f6c70 r5 : 00000000 r4 : ed0871dc
    [ 1.714631] r3 : 00000000 r2 : 00002e7b r1 : 00000000 r0 : ed087080
    [ 1.721583] Flags: nzCv IRQs off FIQs off Mode SVC_32 ISA ARM Segment user
    [ 1.729367] Control: 10c53c7d Table: 80004059 DAC: 00000015
    [ 1.735484] Process kworker/0:0 (pid: 4, stack limit = 0xed094240)
    [ 1.742064] Stack: (0xed095b78 to 0xed096000)
    [ 1.746704] 5b60: ed095b9c ed095b88
    [ 1.755418] 5b80: c005a5c8 c005f954 ed0871dc ed087080 ed095c34 ed095ba0 c056f5e4 c005a5c0
    [ 1.764131] 5ba0: ed080440 00000000 ed095be4 ed095bb8 c005c06c c008a428 ed095bec c056fa5c
    [ 1.772845] 5bc0: c032b1d0 ed087080 ed07f700 c082f198 c082f180 ed081040 ed07f700 c082f198
    [ 1.781557] 5be0: ed095c04 ed095bf0 c0044f34 c00cb328 ed094000 ed087080 ed095c44 ed095c08
    [ 1.790271] 5c00: c004714c c008a428 c0097c7c ed087080 00000001 ed087078 ed087a40 ed087160
    [ 1.798984] 5c20: ed087160 ed094000 ed095c44 ed095c38 c056fa5c c056f3b8 ed095c7c ed095c48
    [ 1.807697] 5c40: c0048290 c056fa30 c082dc04 00000001 ed087160 ed095c5c 00000001 ed095c5c
    [ 1.816410] 5c60: ed095c5c ed0871a8 c0046ab8 0000000b ed095d04 ed095c80 c00178ec c0047cfc
    [ 1.825123] 5c80: ed094240 0000000b 00000000 ed095eb0 00000000 00000008 c00595e8 600001d3
    [ 1.833836] 5ca0: 65000005 32303935 20633230 33313265 34303036 63333120 66303633 33652066
    [ 1.842549] 5cc0: 30303231 28203038 36393565 34303033 c0002029 c056b160 c06eab00 00000000
    [ 1.851262] 5ce0: 00000004 00000005 ed095eb0 ed07add8 00000005 ed087080 ed095d1c ed095d08
    [ 1.859975] 5d00: c056a6cc c001760c ed095eb0 00000004 ed095dbc ed095d20 c05724a8 c056a67c
    [ 1.868688] 5d20: c05727dc c07b5370 00000003 00000003 00000000 00000002 00000000 c07f5e80
    [ 1.877401] 5d40: ed095d5c ed095d50 c007df14 c007de5c ed095d84 ed095d60 c0034770 c007df08
    [ 1.886113] 5d60: c07b5370 00000003 00000003 00000000 00000002 00000000 ed095dac ed095d88
    [ 1.894826] 5d80: c0039ffc c0034754 c07b5370 00000000 c082ecd8 ed095eb0 00000005 00000004
    [ 1.903538] 5da0: ed095eb0 ed07add8 c07f6264 00000009 ed095ddc ed095dc0 c05726d8 c05722f4
    [ 1.912251] 5dc0: 00000004 00000005 c07ae5c4 00000004 ed095dfc ed095de0 c0572788 c0572680
    [ 1.920964] 5de0: 00000005 c07ae5c4 00000004 ed095eb0 ed095eac ed095e00 c00085b4 c05726f0
    [ 1.929677] 5e00: 27e5a26e 00000000 ed087080 c07f6c70 ed0870b0 00000001 ed07add8 c07f6c70
    [ 1.938390] 5e20: ed095e5c ed095e30 c006a834 c0069d64 c006a6c4 ed1edaf0 ffffffff c07ad3b0
    [ 1.947103] 5e40: ed095e74 ed095e50 c05727dc c000a50c ffffffff ed1ee01c ed087080 00000017
    [ 1.955816] 5e60: 155e62df 00000001 ed095e8c ed095e78 ffffffff 00000000 ed087080 c07f6c70
    [ 1.964529] 5e80: ed095f24 ed095e90 c056f550 c00595e4 400001d3 ffffffff ed095ee4 ed07add8
    [ 1.973241] 5ea0: ed095f34 ed095eb0 c0570a60 c0008584 ed07adc0 ed25fbd0 00000001 00000000
    [ 1.981955] 5ec0: ed07adc0 c07f6264 00000000 c07f6274 ed07add8 c07f6264 00000009 ed095f34
    [ 1.990668] 5ee0: ed095f38 ed095ef8 c0059cb8 c00595e4 400001d3 ffffffff c0058240 ed07adc0
    [ 1.999381] 5f00: c07f6264 ed094000 c07f6274 ed07adc0 c07f6264 ed094000 c07f6274 ed07add8
    [ 2.008094] 5f20: c07f6264 00000009 ed095f64 ed095f38 c0059cb8 c00595cc ed087080 ed089de8
    [ 2.016807] 5f40: 00000000 ed07adc0 c0059b90 00000000 00000000 00000000 ed095fac ed095f68
    [ 2.025520] 5f60: c005f74c c0059b9c 042ac892 00000000 c0171205 ed07adc0 00000000 ed095f7c
    [ 2.034232] 5f80: ed095f7c 00000001 ed095f88 ed095f88 ed089de8 c005f6a0 00000000 00000000
    [ 2.042945] 5fa0: 00000000 ed095fb0 c0014238 c005f6ac 00000000 00000000 00000000 00000000
    [ 2.051657] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
    [ 2.060369] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 1531bc60 08414844
    [ 2.069073] Backtrace:
    [ 2.071691] [<c005f948>] (kthread_data+0x0/0x18) from [<c005a5c8>] (wq_worker_sleeping+0x14/0xbc)


    Regards,
    Rudresh
  • Hi Joseph,
    In the DTS entry following are for edma channels allocation.
    &mmc3 {
    status = "okay";
    /* these are on the crossbar and are outlined in the
    xbar-event-map element */
    dmas = <&edma 32
    &edma 33>;
    dma-names = "tx", "rx";
    vmmc-supply = <&vmmcwl_fixed>;
    bus-width = <4>;
    pinctrl-names = "default", "sleep";
    pinctrl-0 = <&mmc3_pins_default>;
    pinctrl-1 = <&mmc3_pins_sleep>;
    cap-power-off-card;
    keep-power-in-suspend;
    ti,non-removable;
    };

    How the edma values are configured as 32 and 33. This is for am437xx for Wilink SDIO interface.

    Regards,
    Rudresh