Part Number: M2-CC3301
Tool/software:
Hi,
I am trying to integrate cc3301 in the custom AM62xx.
getting below error while loading the driver, please give suggestion
$ sudo dmesg
[ 118.702689] cc33xx_sdio mmc2:0001:2: sdio PM caps = 0x1
[ 118.702755] cc33xx_sdio mmc2:0001:2: Using GPIO as IRQ
[ 118.703816] wlcore: cc33xx_probe :: Start
[ 118.708319] ------------[ cut here ]------------
[ 118.708345] WARNING: CPU: 2 PID: 413 at net/mac80211/main.c:630 ieee80211_alloc_hw_nm+0xa4/0x608
[ 118.708401] Modules linked in: cc33xx_sdio(+) cc33xx usb_f_acm u_serial usb_f_rndis u_ether ip6t_REJECT nf_reject_ipv6 ipt_REJECT nf_reject_ipv4 xt_tcpudp xt_conntrack nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 nft_compat nf_tables libcrc32c nfnetlink cdns_csi2rx v4l2_fwnode aes_ce_blk aes_ce_cipher crct10dif_ce crct10dif_common polyval_ce polyval_generic j721e_csi2rx ghash_ce sha2_ce videobuf2_dma_contig videobuf2_memops sha256_arm64 sha1_ce videobuf2_v4l2 videobuf2_common optee v4l2_async ina2xx_adc leds_gpio tee ti_tla2518 ti_ads1118 videodev kfifo_buf k3_j72xx_bandgap mc industrialio ina2xx st1232 evdev libcomposite dm_mod configfs ip_tables x_tables autofs4 ext4 crc16 mbcache jbd2 crc32c_generic panfrost drm_shmem_helper gpu_sched governor_simpleondemand cls_cgroup xhci_plat_hcd xhci_hcd usbcore dwc3 ulpi udc_core roles usb_common gpio_regulator fixed sdhci_am654 sdhci_pltfm cqhci sdhci dwc3_am62 rtc_ti_k3 ti_am65_cpsw_nuss phylink k3_cppi_desc_pool libphy cdns_dphy_rx spi_omap2_mcspi phy_gmii_sel
[ 118.709063] CPU: 2 PID: 413 Comm: modprobe Not tainted 6.6+unreleased-arm64
[ 118.709086] Hardware name: TI AM6234 (DT)
[ 118.709100] pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)
[ 118.709118] pc : ieee80211_alloc_hw_nm+0xa4/0x608
[ 118.709148] lr : wlcore_alloc_hw+0x34/0x480 [cc33xx]
[ 118.709238] sp : ffff8000822d3470
[ 118.709246] x29: ffff8000822d3470 x28: 000000000000000c x27: 0000000000000001
[ 118.709276] x26: 0000000000000000 x25: 0000000000000000 x24: 0000000000000000
[ 118.709304] x23: 000000000000004e x22: 0000000000008000 x21: ffff80007a2ff510
[ 118.709334] x20: ffff000001858810 x19: ffff000001858800 x18: 0000000000000006
[ 118.709363] x17: 0000000000000000 x16: 0000000000000020 x15: 0000000000000002
[ 118.709392] x14: 0000000000000001 x13: 0000000000000004 x12: 0000000000000000
[ 118.709420] x11: 00000000ffffefff x10: ffff800081b68af0 x9 : ffff80007a2e4cec
[ 118.709448] x8 : 0000000000017fe8 x7 : c0000000ffffefff x6 : 0000000000000001
[ 118.709476] x5 : 0000000000000000 x4 : 0000000000000000 x3 : ffff80007a2dfa38
[ 118.709503] x2 : 0000000000000000 x1 : 0000000000000000 x0 : 0000000000002018
[ 118.709532] Call trace:
[ 118.709548] ieee80211_alloc_hw_nm+0xa4/0x608
[ 118.709574] wlcore_alloc_hw+0x34/0x480 [cc33xx]
[ 118.709638] cc33xx_probe+0x30/0xb8 [cc33xx]
[ 118.709697] platform_probe+0x70/0xd0
[ 118.709727] really_probe+0x18c/0x3d8
[ 118.709746] __driver_probe_device+0x84/0x180
[ 118.709767] driver_probe_device+0x44/0x120
[ 118.709787] __device_attach_driver+0xc4/0x168
[ 118.709806] bus_for_each_drv+0x8c/0xf0
[ 118.709825] __device_attach+0xa4/0x1c0
[ 118.709843] device_initial_probe+0x1c/0x30
[ 118.709863] bus_probe_device+0xb4/0xc0
[ 118.709881] device_add+0x5f8/0x7e8
[ 118.709899] platform_device_add+0x188/0x288
[ 118.709921] sdio_cc33xx_probe+0x218/0x3b8 [cc33xx_sdio]
[ 118.709964] sdio_bus_probe+0x144/0x1f8
[ 118.709991] really_probe+0x18c/0x3d8
[ 118.710010] __driver_probe_device+0x84/0x180
[ 118.710029] driver_probe_device+0x44/0x120
[ 118.710051] __driver_attach+0xfc/0x210
[ 118.710069] bus_for_each_dev+0x80/0xe8
[ 118.710087] driver_attach+0x2c/0x40
[ 118.710104] bus_add_driver+0x118/0x228
[ 118.710122] driver_register+0x68/0x138
[ 118.710144] sdio_register_driver+0x30/0x48
[ 118.710166] sdio_cc33xx_init+0x20/0xff8 [cc33xx_sdio]
[ 118.710202] do_one_initcall+0x60/0x290
[ 118.710223] do_init_module+0x60/0x218
[ 118.710245] load_module+0x2298/0x2348
[ 118.710263] init_module_from_file+0x8c/0xd8
[ 118.710281] __arm64_sys_finit_module+0x1b4/0x388
[ 118.710301] invoke_syscall+0x78/0x108
[ 118.710326] el0_svc_common.constprop.0+0x48/0xf0
[ 118.710350] do_el0_svc+0x24/0x38
[ 118.710371] el0_svc+0x48/0x138
[ 118.710397] el0t_64_sync_handler+0x100/0x130
[ 118.710414] el0t_64_sync+0x190/0x198
[ 118.710432] ---[ end trace 0000000000000000 ]---
[ 118.710539] wlcore: ERROR could not alloc ieee80211_hw
[ 118.715941] wlcore: ERROR can't allocate hw
[ 118.720418] cc33xx_driver: probe of cc33xx.5.auto failed with error -12
Thanks,
Gireesh Hiremath