Hi,
1. trying to enable Wilink8 on am335x custom board with 5.10.153 linux kernel;
2. as per this link https://www.ti.com/lit/ug/swru561a/swru561a.pdf?ts=1688530813079&ref_url=https%253A%252F%252Fwww.google.com%252F
added all the flags into kernel config.
3. but after below line, board is paused and rebooting.
[ 0.155901] thermal_sys: Registered thermal governor 'step_wise'
[ 0.156116] cpuidle: using governor ladder
[ 0.156296] cpuidle: using governor menu
[ 2.297461] hw-breakpoint: debug architecture 0x4 unsupported.
please refer attached log,kernel config and dts for same.
please suggest or any direction for same that would helpfull.
Thanks in advanced.
U-Boot SPL 2016.03-gf92eba1-dirty (Sep 04 2019 - 09:21:28) setting PLL to 300Mhz DDR is configured at 400Mhz - USB Input current limit set to 1.3V - MPU_VDD (DCDC2) set to 1.1V Trying to boot from MMC U-Boot 2016.03-gf92eba1-dirty (Sep 04 2019 - 09:21:28 -0400) Watchdog enabled I2C: ready DRAM: 256 MiB NAND: 0 MiB MMC: OMAP SD/MMC: 0, OMAP SD/MMC: 1 Using default environment AC pwr loss pin state is high Battery key state is high -- Partition A selected. Count: 3 Card did not respond to voltage select! Unknown command 'is' - try 'help' Card did not respond to voltage select! Fail. Switching to emmc at ====$(mmcdev)==== Card did not respond to voltage select! ** Bad device mmc 0 ** reading uEnv.txt Card did not respond to voltage select! ** Bad device mmc 0 ** 3430 bytes read in 22 ms (151.4 KiB/s) uEnv.txt read fom eMMC main partition Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... Card did not respond to voltage select! =---debug: About to boot from --- 1p1 -----==== 3168584 bytes read in 325 ms (9.3 MiB/s) 61658 bytes read in 17 ms (3.5 MiB/s) debug: [DTB loaded from 1:1] Kernel image @ 0x82000000 [ 0x000000 - 0x305948 ] ## Flattened Device Tree blob at 88000000 Booting using the fdt blob at 0x88000000 Loading Ramdisk to 90000000, end 90000000 ... OK Loading Device Tree to 8ef38000, end 8ef4a0d9 ... OK Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 5.10.153-gc384a4b071 (oe-user@oe-host) (arm-poky-linux-gnueabi-gcc (GCC) 9.5.0, GNU ld (GNU Binutils) 2.34.0.20200910) #1 PREEMPT Mon Nov 7 12:48:21 UTC 2022 [ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d [ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache [ 0.000000] OF: fdt: Machine model: TI AM335x BeagleBone Green Wireless [ 0.000000] Memory policy: Data cache writeback [ 0.000000] cma: Reserved 48 MiB at 0x8b800000 [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000080000000-0x000000008fefffff] [ 0.000000] HighMem empty [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000080000000-0x000000008fefffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000080000000-0x000000008fefffff] [ 0.000000] CPU: All CPU(s) started in SVC mode. [ 0.000000] AM335X ES2.1 (neon) [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64706 [ 0.000000] Kernel command line: console=ttyS0,115200n8 console=tty0 cma=48M root=/dev/mmcblk0p1 r rootfstype=ext4 rootwait coherent_pool=1M cape_universal=enable panic=1 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 198008K/261120K available (6144K kernel code, 595K rwdata, 1992K rodata, 1024K init, 224K bss, 13960K reserved, 49152K cma-reserved, 0K highmem) [ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1 [ 0.000000] rcu: Preemptible hierarchical RCU implementation. [ 0.000000] Trampoline variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16 [ 0.000000] IRQ: Found an INTC at 0x(ptrval) (revision 5.0) with 128 interrupts [ 0.000000] TI gptimer clocksource: always-on /ocp/interconnect@44c00000/segment@200000/target-module@31000 [ 0.000023] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns [ 0.000071] clocksource: dmtimer: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns [ 0.000838] TI gptimer clockevent: 24000000 Hz at /ocp/interconnect@48000000/segment@0/target-module@40000 [ 0.003322] Console: colour dummy device 80x30 [ 0.004717] printk: console [tty0] enabled [ 0.004885] Calibrating delay loop... 298.59 BogoMIPS (lpj=1492992) [ 0.070970] pid_max: default: 32768 minimum: 301 [ 0.071387] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.071486] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.073458] CPU: Testing write buffer coherency: ok [ 0.073662] CPU0: Spectre v2: using BPIALL workaround [ 0.075884] Setting up static identity map for 0x80100000 - 0x80100060 [ 0.076327] rcu: Hierarchical SRCU implementation. [ 0.077327] devtmpfs: initialized [ 0.106224] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3 [ 0.106887] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.107013] futex hash table entries: 256 (order: -1, 3072 bytes, linear) [ 0.113899] pinctrl core: initialized pinctrl subsystem [ 0.117658] NET: Registered protocol family 16 [ 0.125757] DMA: preallocated 1024 KiB pool for atomic coherent allocations [ 0.153462] l3-aon-clkctrl:0000:0: failed to disable [ 0.155901] thermal_sys: Registered thermal governor 'step_wise' [ 0.156116] cpuidle: using governor ladder [ 0.156296] cpuidle: using governor menu [ 2.297461] hw-breakpoint: debug architecture 0x4 unsupported.
/ { wlan_en_reg: fixedregulator@2 { compatible = "regulator-fixed"; regulator-name = "wlan-en-regulator"; regulator-min-microvolt = <1800000>; regulator-max-microvolt = <1800000>; startup-delay-us= <70000>; /* WL_EN */ gpio = <&gpio0 26 0>; enable-active-high; }; }; &am33xx_pinmux { bt_pins: pinmux_bt_pins { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_GPMC_BEN1, PIN_OUTPUT, MUX_MODE7) /* gpmc_ad12.gpio1_28 BT_EN */ >; }; mmc3_pins: pinmux_mmc3_pins { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio1_12 gpmc_ad12.mmc2_dat0 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio1_13 gpmc_ad13.mmc2_dat1 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio1_14 gpmc_ad14.mmc2_dat2 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio1_15 gpmc_ad15.mmc2_dat3 */ AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio2_0 gpmc_csn3.mmc2_cmd */ AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLUP, MUX_MODE3) /* gpio2_1 gpmc_clk.mmc2_clk */ >; }; mmc3_pins_sleep: pinmux_mmc3_pins_sleep { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_GPMC_AD12, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio1_12 gpmc_ad12.mmc2_dat0 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD13, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio1_13 gpmc_ad13.mmc2_dat1 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD14, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio1_14 gpmc_ad14.mmc2_dat2 */ AM33XX_PADCONF(AM335X_PIN_GPMC_AD15, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio1_15 gpmc_ad15.mmc2_dat3 */ AM33XX_PADCONF(AM335X_PIN_GPMC_CSN3, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio2_0 gpmc_csn3.mmc2_cmd */ AM33XX_PADCONF(AM335X_PIN_GPMC_CLK, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpio2_1 gpmc_clk.mmc2_clk */ >; }; /* wl18xx card enable/irq GPIOs. */ wl18xx_pins: pinmux_wl18xx_pins { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/ AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/ AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT_PULLUP, MUX_MODE0) /* gpmc_csn0.gpio1_29 Cape_Buffer_EN*/ >; }; /* wl18xx card enable/irq GPIOs. */ wl18xx_pins_sleep: pinmux_wl18xx_pins_sleep { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_GPMC_AD10, PIN_OUTPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad10.gpio0_26 WL_EN*/ AM33XX_PADCONF(AM335X_PIN_GPMC_AD11, PIN_INPUT_PULLDOWN, MUX_MODE7) /* gpmc_ad11.gpio0_27 WL_IRQ*/ AM33XX_PADCONF(AM335X_PIN_GPMC_CSN0, PIN_OUTPUT_PULLUP, MUX_MODE0) /* gpmc_csn0.gpio1_29 Cape_Buffer_EN*/ >; }; uart3_pins_default: pinmux_uart3_pins_default { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLUP, MUX_MODE1) /* (L17) gmii1_rxd3.uart3_rxd */ AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_OUTPUT_PULLDOWN, MUX_MODE1) /* (L16) gmii1_rxd2.uart3_txd */ AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT, MUX_MODE3) /* (M17) mdio_data.uart3_ctsn */ AM33XX_PADCONF(AM335X_PIN_MDC, PIN_OUTPUT_PULLDOWN, MUX_MODE3) /* (M18) mdio_clk.uart3_rtsn */ >; }; uart3_pins_sleep: pinmux_uart3_pins_sleep { pinctrl-single,pins = < AM33XX_PADCONF(AM335X_PIN_MII1_RXD3, PIN_INPUT_PULLDOWN, MUX_MODE7) /* (L17) gmii1_rxd3.uart3_rxd */ AM33XX_PADCONF(AM335X_PIN_MII1_RXD2, PIN_INPUT_PULLDOWN, MUX_MODE7) /* (L16) gmii1_rxd2.uart3_txd */ AM33XX_PADCONF(AM335X_PIN_MDIO, PIN_INPUT_PULLDOWN, MUX_MODE7) /* (M17) mdio_data.uart3_ctsn */ AM33XX_PADCONF(AM335X_PIN_MDC, PIN_INPUT_PULLDOWN, MUX_MODE7) /* (M18) mdio_clk.uart3_rtsn */ >; }; }; &mmc3 { dmas = <&edma_xbar 12 0 1 &edma_xbar 13 0 2>; dma-names = "tx", "rx"; status = "okay"; vmmc-supply = <&wlan_en_reg>; bus-width = <4>; pinctrl-names = "default"; pinctrl-0 = <&mmc3_pins &wl18xx_pins>; ti,non-removable; cap-power-off-card; keep-power-in-suspend; #address-cells = <1>; #size-cells = <0>; wlcore: wlcore@2 { compatible = "ti,wl1835"; reg = <2>; interrupt-parent = <&gpio0>; interrupts = <27 IRQ_TYPE_EDGE_RISING>; }; };