From nobody Fri Jun 04 11:07:38 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CC25613AC3FC for ; Fri, 4 Jun 2021 11:07:49 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (1.212.52.36.ap.yournet.ne.jp [36.52.212.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp", Issuer "smtp" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FxKjv60DTz3F9l for ; Fri, 4 Jun 2021 11:07:47 +0000 (UTC) (envelope-from kiri@truefc.org) Received: from kx.truefc.org (kx.truefc.org [36.52.212.1]) by kx.truefc.org (8.16.1/8.16.1) with ESMTP id 154B7cQD087733; Fri, 4 Jun 2021 20:07:38 +0900 (JST) (envelope-from kiri@kx.truefc.org) Message-Id: <202106041107.154B7cQD087733@kx.truefc.org> Date: Fri, 04 Jun 2021 20:07:38 +0900 From: KIRIYAMA Kazuhiko To: freebsd-arm@freebsd.org Cc: kiri@truefc.org Subject: Can't enable SDIO wifi module on PBP User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 MULE XEmacs/21.4 (patch 24) (Standard C) (amd64--freebsd) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Rspamd-Queue-Id: 4FxKjv60DTz3F9l X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kiri@truefc.org designates 36.52.212.1 as permitted sender) smtp.mailfrom=kiri@truefc.org X-Spamd-Result: default: False [-3.10 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[36.52.212.1:from]; FREEFALL_USER(0.00)[kiri]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:36.52.212.0/29]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; DMARC_NA(0.00)[truefc.org]; SPAMHAUS_ZRD(0.00)[36.52.212.1:from:127.0.2.255]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-1.00)[-1.000]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_ONE(0.00)[1]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:10013, ipnet:36.52.208.0/21, country:JP]; MAILMAN_DEST(0.00)[freebsd-arm]; ONCE_RECEIVED(0.10)[] X-ThisMailContainsUnwantedMimeParts: N Hi, all I've reconfigured kernel to GENERIC-MMCCAM on Pinebook Pro (PBP) to use SDIO wifi module Broadcom BCM43456 (AMPAK AP6256 [1]). But nothing SDIO module found : root@kazu:~ # camcontrol devlist -v scbus0 on dw_mmc_sim0 bus 0: scbus1 on dw_mmc_sim1 bus 0: scbus2 on sdhci_slot0 bus 0: at scbus2 target 0 lun 0 (pass0,sdda0) scbus-1 on xpt0 bus 0: <> at scbus-1 target -1 lun ffffffff (xpt0) root@kazu:~ # My environments are as follows : root@kazu:~ # uname -a FreeBSD kazu.tfc 14.0-CURRENT FreeBSD 14.0-CURRENT #0 n246349-daa5350d0e0c: Wed Jun 2 17:01:11 JST 2021 root@tbedfc:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM arm64 root@kazu:~ # cat /var/run/dmesg.boot ---<>--- GDB: debug ports: uart GDB: current port: uart KDB: debugger backends: ddb gdb KDB: current backend: ddb WARNING: Cannot find freebsd,dts-version property, cannot check DTB compliance Copyright (c) 1992-2021 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 14.0-CURRENT #0 n246349-daa5350d0e0c: Wed Jun 2 17:01:11 JST 2021 root@tbedfc:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC-MMCCAM arm64 FreeBSD clang version 11.0.1 (git@github.com:llvm/llvm-project.git llvmorg-11.0.1-0-g43ff75f2c3fe) WARNING: WITNESS option enabled, expect reduced performance. VT(efifb): resolution 1920x1080 module firmware already present! real memory = 4158373888 (3965 MB) avail memory = 4025626624 (3839 MB) Starting CPU 1 (1) Starting CPU 2 (2) Starting CPU 3 (3) Starting CPU 4 (100) Starting CPU 5 (101) FreeBSD/SMP: Multiprocessor System Detected: 6 CPUs random: unblocking device. random: entropy device external interface MAP f3f16000 mode 2 pages 4 MAP f3f1b000 mode 2 pages 4 MAP f6f40000 mode 2 pages 16 WARNING: Device "kbd" is Giant locked and may be deleted before FreeBSD 14.0. kbd0 at kbdmux0 WARNING: Device "openfirm" is Giant locked and may be deleted before FreeBSD 14.0. ofwbus0: clk_fixed0: on ofwbus0 simplebus0: on ofwbus0 rk_grf0: mem 0xff320000-0xff320fff on ofwbus0 rk3399_pmucru0: mem 0xff750000-0xff750fff on ofwbus0 rk3399_cru0: mem 0xff760000-0xff760fff on ofwbus0 rk_grf1: mem 0xff770000-0xff77ffff on ofwbus0 regfix0: on ofwbus0 regfix1: on ofwbus0 regfix2: on ofwbus0 regfix3: on ofwbus0 regfix4: on ofwbus0 regfix5: on ofwbus0 regfix6: on ofwbus0 regfix7: on ofwbus0 regfix8: on ofwbus0 regfix9: on ofwbus0 regfix10: on ofwbus0 regfix11: on ofwbus0 simple_mfd0: mem 0xff310000-0xff310fff on ofwbus0 psci0: on ofwbus0 gic0: mem 0xfee00000-0xfee0ffff,0xfef00000-0xfefbffff,0xfff00000-0xfff0ffff,0xfff10000-0xfff1ffff,0xfff20000-0xfff2ffff irq 18 on ofwbus0 its0: mem 0xfee20000-0xfee3ffff on gic0 rk_iodomain0: mem 0-0xff31ffff,0-0xfff on rk_grf0 rk_iodomain1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_pinctrl0: on ofwbus0 gpio0: mem 0xff720000-0xff7200ff irq 71 on rk_pinctrl0 gpiobus0: on gpio0 gpio1: mem 0xff730000-0xff7300ff irq 72 on rk_pinctrl0 gpiobus1: on gpio1 gpio2: mem 0xff780000-0xff7800ff irq 73 on rk_pinctrl0 gpiobus2: on gpio2 gpio3: mem 0xff788000-0xff7880ff irq 74 on rk_pinctrl0 gpiobus3: on gpio3 gpio4: mem 0xff790000-0xff7900ff irq 75 on rk_pinctrl0 gpiobus4: on gpio4 rk_i2c0: mem 0xff110000-0xff110fff irq 20 on ofwbus0 iicbus0: on rk_i2c0 rk_i2c1: mem 0xff130000-0xff130fff irq 22 on ofwbus0 iicbus1: on rk_i2c1 rk_i2c2: mem 0xff3c0000-0xff3c0fff irq 38 on ofwbus0 iicbus2: on rk_i2c2 syr8270: at addr 0x80 on iicbus2 rk_i2c3: mem 0xff3d0000-0xff3d0fff irq 39 on ofwbus0 iicbus3: on rk_i2c3 rk805_pmu0: at addr 0x36 irq 76 on iicbus2 generic_timer0: irq 2,3,4,5 on ofwbus0 Timecounter "ARM MPCore Timecounter" frequency 24000000 Hz quality 1000 Event timer "ARM MPCore Eventtimer" frequency 24000000 Hz quality 1000 rk_tsadc0: mem 0xff260000-0xff2600ff irq 35 on ofwbus0 rk_usb2phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_usb2phy1: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_emmcphy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_pcie_phy0: mem 0-0xff76ffff,0-0xffff on rk_grf1 rk_typec_phy0: mem 0xff7c0000-0xff7fffff on ofwbus0 rk_typec_phy1: mem 0xff800000-0xff83ffff on ofwbus0 cpulist0: on ofwbus0 cpu0: on cpulist0 cpufreq_dt0: on cpu0 cpu1: on cpulist0 cpufreq_dt1: on cpu1 cpu2: on cpulist0 cpufreq_dt2: on cpu2 cpu3: on cpulist0 cpufreq_dt3: on cpu3 cpu4: on cpulist0 cpufreq_dt4: on cpu4 cpu5: on cpulist0 cpufreq_dt5: on cpu5 pmu0: irq 0 on ofwbus0 pmu1: irq 1 on ofwbus0 pcib0: mem 0xf8000000-0xf9ffffff,0xfd000000-0xfdffffff irq 6,7,8 on ofwbus0 pcib0: Gen1 link training timeouted: 0x00080001. pci0: on pcib0 pcib1: at device 0.0 on pci0 pcib0: failed to reserve resource for pcib1 pcib1: failed to allocate initial memory window: 0-0xfffff pci1: on pcib1 rockchip_dwmmc0: mem 0xfe310000-0xfe313fff irq 10 on ofwbus0 rockchip_dwmmc0: Hardware version ID is 270a rockchip_dwmmc1: mem 0xfe320000-0xfe323fff irq 11 on ofwbus0 rockchip_dwmmc1: Hardware version ID is 270a sdhci_fdt0: mem 0xfe330000-0xfe33ffff irq 12 on ofwbus0 rk_emmcphy0: got emmcclk clock sdhci_fdt0-slot0: Hardware doesn't specify timeout clock frequency, setting BROKEN_TIMEOUT quirk. sdhci_fdt0: 1 slot(s) allocated uma_zalloc_debug: zone "malloc-2048" with the following non-sleepable locks held: exclusive sleep mutex SD slot mtx (sdhci) r = 0 (0xffff0000411c6030) locked @ /usr/src/sys/dev/sdhci/sdhci.c:617 stack backtrace: #0 0xffff0000004d819c at witness_debugger+0x64 #1 0xffff0000004d9320 at witness_warn+0x3e8 #2 0xffff0000006f9084 at uma_zalloc_debug+0x2c #3 0xffff0000006f8a8c at uma_zalloc_arg+0x2c #4 0xffff00000043fa18 at malloc+0xa0 #5 0xffff00000000f550 at xpt_alloc_ccb+0x1c #6 0xffff000000034ee0 at mmccam_start_discovery+0x18 #7 0xffff0000002506fc at sdhci_card_task+0x110 #8 0xffff000000255460 at sdhci_fdt_attach+0x5b4 #9 0xffff0000004a3b34 at device_attach+0x400 #10 0xffff0000004a369c at device_probe_and_attach+0x7c #11 0xffff0000004a5880 at bus_generic_new_pass+0xf8 #12 0xffff0000004a5830 at bus_generic_new_pass+0xa8 #13 0xffff0000004a5830 at bus_generic_new_pass+0xa8 #14 0xffff0000004a0ae0 at bus_set_pass+0x4c #15 0xffff0000003f644c at mi_startup+0x12c #16 0xffff0000000008a8 at virtdone+0x6c ehci0: mem 0xfe380000-0xfe39ffff irq 13 on ofwbus0 usbus0: EHCI version 1.0 usbus0 on ehci0 ohci0: mem 0xfe3a0000-0xfe3bffff irq 14 on ofwbus0 usbus1 on ohci0 ehci1: mem 0xfe3c0000-0xfe3dffff irq 15 on ofwbus0 usbus2: EHCI version 1.0 usbus2 on ehci1 ohci1: mem 0xfe3e0000-0xfe3fffff irq 16 on ofwbus0 usbus3 on ohci1 rk_dwc30: on ofwbus0 xhci0: mem 0xfe800000-0xfe8fffff irq 77 on rk_dwc30 xhci0: 64 bytes context size, 32-bit DMA usbus4: trying to attach usbus4 on xhci0 rk_dwc31: on ofwbus0 xhci1: mem 0xfe900000-0xfe9fffff irq 78 on rk_dwc31 xhci1: 64 bytes context size, 32-bit DMA usbus5: trying to attach usbus5 on xhci1 iicbus0: at addr 0x22 iic0: on iicbus0 iic1: on iicbus1 uart0: mem 0xff180000-0xff1800ff irq 26 on ofwbus0 uart0: debug port (-1,n,8,1) uart1: <16750 or compatible> mem 0xff1a0000-0xff1a00ff irq 28 on ofwbus0 uart1: console (1500000,n,8,1) spi0: mem 0xff1d0000-0xff1d0fff irq 31 on ofwbus0 spibus0: on spi0 spibus0: at cs 0 mode 0 iicbus2: at addr 0x82 iic2: on iicbus2 iicbus3: at addr 0x44 iic3: on iicbus3 pwm0: mem 0xff420000-0xff42000f on ofwbus0 pwmbus0: on pwm0 pwmc0: channel 0 on pwmbus0 pwm1: mem 0xff420020-0xff42002f on ofwbus0 pwmbus1: on pwm1 pwmc1: channel 0 on pwmbus1 gpioc0: on gpio0 gpioc1: on gpio1 gpioc2: on gpio2 gpioc3: on gpio3 gpioc4: on gpio4 gpioled0: on ofwbus0 armv8crypto0: Timecounters tick every 1.000 msec usbus0: 480Mbps High Speed USB v2.0 usbus1: 12Mbps Full Speed USB v1.0 rk805_pmu0: registered as a time-of-day clock, resolution 1.000000s Release APs...done usbus2: 480Mbps High Speed USB v2.0 CPU 0: ARM Cortex-A53 r0p4 affinity: 0 0 usbus3: 12Mbps Full Speed USB v1.0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> usbus4: 5.0Gbps Super Speed USB v3.0 Instruction Set Attributes 0 = usbus5: 5.0Gbps Super Speed USB v3.0 Instruction Set Attributes 1 = <> (noperiph:dw_mmc_sim0:0:-1:ffffffff): Processor Features 0 = Processor Features 1 = <> Memory Model Features 0 = Memory Model Features 1 = <8bit VMID> Memory Model Features 2 = <32bit CCIDX,48bit VA> Debug Features 0 = <2 CTX BKPTs,4 Watchpoints,6 Breakpoints,PMUv3,Debugv8> Debug Features 1 = <> Auxiliary Features 0 = <> Auxiliary Features 1 = <> CPU 1: ARM Cortex-A53 r0p4 affinity: 0 1 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 2: ARM Cortex-A53 r0p4 affinity: 0 2 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 3: ARM Cortex-A53 r0p4 affinity: 0 3 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,VIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 4: ARM Cortex-A72 r0p2 affinity: 1 0 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = CPU 5: ARM Cortex-A72 r0p2 affinity: 1 1 Cache Type = <64 byte D-cacheline,64 byte I-cacheline,PIPT ICache,64 byte ERG,64 byte CWG> Memory Model Features 0 = XPT_SCAN_{BUS,TGT,LUN} (noperiph:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} (noperiph:dw_mmc_sim0:0:0:0): ugen4.1: at usbus4 Set up the mmcprobe device... ugen0.1: at usbus0 (mmcprobe0:dw_mmc_sim0:0:0:0): ugen3.1: at usbus3 Periph created ugen1.1: at usbus1 ugen5.1: at usbus5 ugen2.1: at usbus2 (mmcprobe0:dw_mmc_sim0:0:0:0): sysctl_warn_reuse: can't re-use a leaf (dev.uhub.%parent)! sysctl_warn_reuse: can't re-use a leaf (dev.uhub.%parent)! sysctl_warn_reuse: can't re-use a leaf (dev.uhub.%parent)! sysctl_warn_reuse: can't re-use a leaf (dev.uhub.%parent)! sysctl_warn_reuse: can't re-use a leaf (dev.uhub.%parent)! uhub1 on usbus0 uhub5 on usbus2 uhub1: on usbus0 uhub5: on usbus2 uhub4Probe started on usbus5 (mmcprobe0:dw_mmc_sim0:0:0:0): uhub2Probe PROBE_INVALID to PROBE_RESET on usbus3 (mmcprobe0:dw_mmc_sim0:0:0:0): uhub3mmcprobe_start on usbus1 uhub2: on usbus3 (mmcprobe0:dw_mmc_sim0:0:0:0): uhub4: on usbus5 Trying to mount root from ufs:/dev/mmcsd0p3 [rw]... Start with PROBE_RESET uhub3: on usbus1 (mmcprobe0:dw_mmc_sim0:0:0:0): Root mount waiting for:uhub0Start with PROBE_IDENTIFY CAM usbus0 usbus1 on usbus4 usbus2uhub0: on usbus4 usbus3 usbus4 usbus5 WARNING: WITNESS option enabled, expect reduced performance. Unresolved linked clock found: clkin_gmac lock order reversal: (sleepable after non-sleepable) 1st 0xffffa00001026558 dwmmcsim (dwmmcsim, sleep mutex) @ /usr/src/sys/cam/cam_xpt.c:2802 2nd 0xffff000000c12a30 Clock topology lock (Clock topology lock, sx) @ /usr/src/sys/dev/extres/clk/clk.c:1154 lock order dwmmcsim -> Clock topology lock attempted at: #0 0xffff0000004d7e7c at witness_checkorder+0xc50 #1 0xffff0000004743e8 at _sx_xlock+0x7c #2 0xffff0000001ac808 at clk_set_freq+0x4c #3 0xffff00000078a998 at dwmmc_rockchip_update_ios+0x3c #4 0xffff00000078a3bc at dwmmc_update_ios+0xfc #5 0xffff000000789854 at dwmmc_cam_action+0x14c #6 0xffff000000009c34 at xpt_action_default+0xca8 #7 0xffff000000008f5c at xpt_action+0x270 #8 0xffff00000003633c at mmcprobe_start+0x89c #9 0xffff00000000cc10 at xpt_run_allocq+0x104 #10 0xffff00000000cadc at xpt_schedule+0x230 #11 0xffff000000035a78 at mmcprobe_register+0x2a4 #12 0xffff000000003b90 at cam_periph_alloc+0x528 #13 0xffff0000000354dc at mmc_action+0x484 #14 0xffff000000008f5c at xpt_action+0x270 #15 0xffff000000011750 at xpt_scanner_thread+0xcc #16 0xffff000000424198 at fork_exit+0x74 #17 0xffff00000076716c at fork_trampoline+0x14 uhub3: 1 port with 1 removable, self powered (mmcprobe0:dw_mmc_sim0:0:0:0): uhub2: 1 port with 1 removable, self powered Send first XPT_MMC_IO (noperiph:dw_mmc_sim1:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} (noperiph:dw_mmc_sim1:0:0:0): (mmcprobe0:dw_mmc_sim0:0:0:0): XPT_SCAN_{BUS,TGT,LUN} done with PROBE_RESET (noperiph:dw_mmc_sim1:0:0:0): (mmcprobe0:dw_mmc_sim0:0:0:0): Set up the mmcprobe device... Probe PROBE_RESET to PROBE_SEND_IF_COND (mmcprobe1:dw_mmc_sim1:0:0:0): (mmcprobe0:dw_mmc_sim0:0:0:0): Periph created mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): (mmcprobe0:dw_mmc_sim0:0:0:0): Probe started mmcprobe_start (mmcprobe0:dw_mmc_sim0:0:0:0): (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_SEND_IF_COND Probe PROBE_INVALID to PROBE_RESET (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_RESET (mmcprobe0:dw_mmc_sim0:0:0:0): (mmcprobe1:dw_mmc_sim1:0:0:0): IF_COND: error 1, pattern 00000000 Start with PROBE_IDENTIFY (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_SDIO_RESET (mmcprobe0:dw_mmc_sim0:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000 (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_SDIO_INIT (mmcprobe0:dw_mmc_sim0:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000 (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start (mmcprobe0:dw_mmc_sim0:0:0:0): APP_OP_COND: error 1, resp 00000000 (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_MMC_INIT (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_start (mmcprobe0:dw_mmc_sim0:0:0:0): Start with PROBE_MMC_INIT (mmcprobe0:dw_mmc_sim0:0:0:0): MMC_INIT: error 1, resp 00000000 (mmcprobe0:dw_mmc_sim0:0:0:0): Probe PROBE_MMC_INIT to PROBE_INVALID (mmcprobe0:dw_mmc_sim0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:dw_mmc_sim0:0:0:0): Periph invalidated (mmcprobe0:dw_mmc_sim0:0:0:0): Periph destroyed uhub0: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered (mmcprobe1:dw_mmc_sim1:0:0:0): Send first XPT_MMC_IO (noperiph:sdhci_slot0:0:-1:ffffffff): XPT_SCAN_{BUS,TGT,LUN} (mmcprobe1:dw_mmc_sim1:0:0:0): (noperiph:sdhci_slot0:0:0:0): done with PROBE_RESET XPT_SCAN_{BUS,TGT,LUN} (noperiph:sdhci_slot0:0:0:0): (mmcprobe1:dw_mmc_sim1:0:0:0): Set up the mmcprobe device... Probe PROBE_RESET to PROBE_SEND_IF_COND (mmcprobe0:sdhci_slot0:0:0:0): (mmcprobe1:dw_mmc_sim1:0:0:0): Periph created (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 Probe started (mmcprobe1:dw_mmc_sim1:0:0:0): (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_INVALID to PROBE_RESET Start with PROBE_SEND_IF_COND (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_RESET (mmcprobe0:sdhci_slot0:0:0:0): (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_IDENTIFY IF_COND: error 1, pattern 00000000 (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_SDIO_RESET (mmcprobe1:dw_mmc_sim1:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000 (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_SDIO_INIT (mmcprobe1:dw_mmc_sim1:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000 (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): APP_OP_COND: error 1, resp 00000000 (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_MMC_INIT (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_start (mmcprobe1:dw_mmc_sim1:0:0:0): Start with PROBE_MMC_INIT (mmcprobe1:dw_mmc_sim1:0:0:0): MMC_INIT: error 1, resp 00000000 (mmcprobe1:dw_mmc_sim1:0:0:0): Probe PROBE_MMC_INIT to PROBE_INVALID (mmcprobe1:dw_mmc_sim1:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe1:dw_mmc_sim1:0:0:0): Periph invalidated (mmcprobe1:dw_mmc_sim1:0:0:0): Periph destroyed uhub5: 1 port with 1 removable, self powered uhub1: 1 port with 1 removable, self powered (mmcprobe0:sdhci_slot0:0:0:0): Send first XPT_MMC_IO (mmcprobe0:sdhci_slot0:0:0:0): done with PROBE_RESET (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_RESET to PROBE_SEND_IF_COND (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SEND_IF_COND (mmcprobe0:sdhci_slot0:0:0:0): IF_COND: error 1, pattern 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_IF_COND to PROBE_SDIO_RESET (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_RESET (mmcprobe0:sdhci_slot0:0:0:0): SDIO_RESET: error 1, CCCR CTL register: 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_RESET to PROBE_SDIO_INIT (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_SDIO_INIT (mmcprobe0:sdhci_slot0:0:0:0): SDIO_INIT: error 1, 00000000 00000000 00000000 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SDIO_INIT to PROBE_SEND_APP_OP_COND (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): APP_OP_COND: error 1, resp 00000000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SEND_APP_OP_COND to PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR 40ff8080 (mmcprobe0:sdhci_slot0:0:0:0): -> sending OCR to card (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR 40ff8080 (mmcprobe0:sdhci_slot0:0:0:0): Card is still powering up (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR 40ff8080 (mmcprobe0:sdhci_slot0:0:0:0): Card is still powering up (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_MMC_INIT (mmcprobe0:sdhci_slot0:0:0:0): MMC card, OCR c0ff8080 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_MMC_INIT to PROBE_GET_CID (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): CID 45010044413431323801ad0efc3e3600 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_GET_CID to PROBE_MMC_SET_RELATIVE_ADDR (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_MMC_SET_RELATIVE_ADDR to PROBE_GET_CSD (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): CSD d00f00328f5903ffffffffef8a404000 (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_GET_CSD to PROBE_SELECT_CARD (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Probe PROBE_SELECT_CARD to PROBE_DONE (mmcprobe0:sdhci_slot0:0:0:0): mmcprobe_done: remaining freeze count 0 (noperiph:sdhci_slot0:0:0:0): (mmcprobe0:sdhci_slot0:0:0:0): xpt_async(AC_FOUND_DEVICE) mmcprobe_start (mmcprobe0:sdhci_slot0:0:0:0): Start with PROBE_DONE (mmcprobe0:sdhci_slot0:0:0:0): Periph invalidated (mmcprobe0:sdhci_slot0:0:0:0): Periph destroyed (sdda0:sdhci_slot0:0:0:0): Periph created (pass0:sdhci_slot0:0:0:0): Periph created (sdda0:sdhci_slot0:0:0:0): Capacity: 125069950976, sectors: 244277248 (sdda0:sdhci_slot0:0:0:0): Set SD freq to 25 MHz (min out of host f=25 MHz and card f=52 MHz) (sdda0:sdhci_slot0:0:0:0): Set bus width to 8-bit (min of host 8-bit and card 8-bit) (sdda0:sdhci_slot0:0:0:0): Partition type 'default', size 125069950976 (sdda0:sdhci_slot0:0:0:0): Partition type 'boot0', size 4194304 (sdda0:sdhci_slot0:0:0:0): Partition type 'boot1', size 4194304 (sdda0:sdhci_slot0:0:0:0): Partition type 'RPMB', size 16777216 (sdda0:sdhci_slot0:0:0:0): Don't know what to do with RPMB partitions yet sdda0 at sdhci_slot0 bus 0 scbus2 target 0 lun 0 sdda0: Relative addr: 00000002 Card features: Card memory OCR: 40ff8080 sdda0: Serial Number AD0EFC3E (sdda0:sdhci_slot0:0:0:0): XPT info: CLK 25000000, ... sdda0: MMCHC DA4128 0.1 SN AD0EFC3E MFG 03/2003 by 69 0x0000 (sdda0:sdhci_slot0:0:0:0): Partition 0 -> 1 g_dev_taste: make_dev_alias_p() failed (name=mmcsd0, error=17) (sdda0:sdhci_slot0:0:0:0): Partition 1 -> 2 (sdda0:sdhci_slot0:0:0:0): Partition 2 -> 0 ugen5.2: at usbus5 ure0 on uhub4 ure0: on usbus5 miibus0: on ure0 rgephy0: PHY 0 on miibus0 rgephy0: none, 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT-FDX, 1000baseT-FDX-master, auto ue0: on ure0 ue0: Ethernet address: a0:ce:c8:de:9c:95 ugen2.2: at usbus2 uhub6 on uhub5 uhub6: on usbus2 ugen1.2: at usbus1 ukbd0 on uhub3 ukbd0: on usbus1 kbd1 at ukbd0 ums0 on uhub3 ums0: on usbus1 ums0: 3 buttons and [XY] coordinates ID=1 Root mount waiting for: usbus2 uhub6: 4 ports with 4 removable, self powered ugen2.3: at usbus2 mountroot: waiting for device /dev/mmcsd0p3... WARNING: /: TRIM flag on fs but disk does not support TRIM Dual Console: Serial Primary, Video Secondary lock order reversal: 1st 0xffffa00007850770 ufs (ufs, lockmgr) @ /usr/src/sys/kern/vfs_mount.c:1780 2nd 0xffffa00005e52e70 devfs (devfs, lockmgr) @ /usr/src/sys/kern/vfs_subr.c:3035 lock order devfs -> ufs established at: #0 0xffff0000004d7670 at witness_checkorder+0x444 #1 0xffff000000439744 at lockmgr_lock_flags+0x1d8 #2 0xffff0000006debac at ffs_lock+0x64 #3 0xffff0000005647ac at _vn_lock+0x54 #4 0xffff000000544fb8 at vfs_domount+0xeb0 #5 0xffff000000543058 at vfs_donmount+0x2b4 #6 0xffff00000054783c at kernel_mount+0x4c #7 0xffff000000549fd8 at parse_mount+0x49c #8 0xffff000000548520 at vfs_mountroot+0x400 #9 0xffff0000003f7448 at start_init+0x24 #10 0xffff000000424198 at fork_exit+0x74 #11 0xffff00000076716c at fork_trampoline+0x14 lock order ufs -> devfs attempted at: #0 0xffff0000004d7e7c at witness_checkorder+0xc50 #1 0xffff00000043b198 at lockmgr_xlock+0x50 #2 0xffff0000005647ac at _vn_lock+0x54 #3 0xffff00000054e6c4 at vget_finish+0x4c #4 0xffff000000318328 at devfs_allocv+0xd0 #5 0xffff000000317ab8 at devfs_root+0x44 #6 0xffff000000553bb0 at vfs_cache_root_fallback+0x154 #7 0xffff00000054f944 at vflush+0x5c #8 0xffff0000003179c0 at devfs_unmount+0x34 #9 0xffff000000545e4c at dounmount+0x43c #10 0xffff0000005459c8 at kern_unmount+0x2d4 #11 0xffff000000767a40 at do_el0_sync+0x4a4 #12 0xffff000000746a1c at handle_el0_sync+0x90 dwwdt0: mem 0xff848000-0xff8480ff irq 47 on ofwbus0 pwm_backlight0: on ofwbus0 mx25l0: at cs 0 mode 0 on spibus0 mx25l0: device type gd25q128, size 16384K in 256 sectors of 64K, erase size 4K lo0: link state changed to UP ue0: link state changed to DOWN ue0: link state changed to UP Is there any patches to enable SDIO on Broadcom BCM43456 ? Best regards --- Kazuhiko Kiriyama