Jump to content

jens

Members
  • Posts

    1
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hi, my cubietruck works for few days flawless with 4.19.y, but after 5 days i need to power off for a while and when i restart i lost my wifi hardware :-( brcmfmac: brcmf_attach: dongle is not responding: err=-110 even power off for a long time didn't help, i've tried reboot / power off several times, but wifi remains brocken with the above message Googling this i found Hans de Goede 's work 0001-ARM-dts-sun7i-Disable-OOB-IRQ-for-brcm-wifi-on-Cubie.patch here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=908438 and here: https://patchwork.kernel.org/patch/10621433/#22252025 "With an unmodified 4.17 kernel both boards intermittently would come up with non working wifi with the following errors: brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout brcmfmac: brcmf_bus_started: failed: -110 brcmfmac: brcmf_attach: dongle is not responding: err=-110 brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed" copy 0001-ARM-dts-sun7i-Disable-OOB-IRQ-for-brcm-wifi-on-Cubie.patch in build/userpatches/kernel/sunxi-dev the patch applies OK: &mmc3 { pinctrl-names = "default"; pinctrl-0 = <&mmc3_pins_a>; vmmc-supply = <&reg_vcc3v3>; mmc-pwrseq = <&mmc3_pwrseq>; bus-width = <4>; non-removable; status = "okay"; brcmf: wifi@1 { reg = <1>; compatible = "brcm,bcm4329-fmac"; /* * OOB interrupt support is broken ATM, often the first irq * does not get seen resulting in the drv probe failing with: * * brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout * brcmfmac: brcmf_bus_started: failed: -110 * brcmfmac: brcmf_attach: dongle is not responding: err=-110 * brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed * * interrupt-parent = <&pio>; * interrupts = <7 10 IRQ_TYPE_LEVEL_LOW>; /* PH10 / EINT10 */ * interrupt-names = "host-wake"; */ }; }; &mmc3_pins_a { /* AP6210 requires pull-up */ bias-pull-up; }; but now kernel 4.19.y (Armbian) fails to compile with syntax error: Error: arch/arm/boot/dts/sun7i-a20-cubietruck.dts:238.6-7 syntax error here i have a lack of knowlege so do not see any reason for that syntax error :-( as it worked before for me there must be some other difference, so when booting stock android from nand (pulling out my arbian sd card) and restart without power off from plugged in sdcard dmesg | grep brcm [ 7.279570] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 7.554755] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 [ 7.555023] brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.clm_blob failed with error -2 [ 7.555036] brcmfmac mmc1:0001:1: Falling back to syfs fallback for: brcm/brcmfmac43362-sdio.clm_blob [ 8.620996] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available [ 8.621474] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43362/1 wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d [ 30.695496] brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred [ 30.695523] brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 and i got my wifi back :-) --- i've tried to reproduce this, but power off for 15min does not show up this error edit: after having my cubietruck offline for some hours (6 or so) after power on wifi was gone again: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 brcmfmac: brcmf_sdio_bus_rxctl: resumed on timeout brcmfmac: brcmf_bus_started: failed: -110 brcmfmac: brcmf_attach: dongle is not responding: err=-110 brcmfmac: brcmf_sdio_firmware_callback: brcmf_attach failed reboot does not help, but after booting android from nand an shutting anndroid down (not just resetting) i've my wifi back: brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43362-sdio for chip BCM43362/1 brcmfmac mmc1:0001:1: Direct firmware load for brcm/brcmfmac43362-sdio.clm_blob failed with error -2 brcmfmac mmc1:0001:1: Falling back to syfs fallback for: brcm/brcmfmac43362-sdio.clm_blob brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43362/1 wl0: Apr 22 2013 14:50:00 version 5.90.195.89.6 FWID 01-b30a427d brcmfmac: brcmf_p2p_create_p2pdev: timeout occurred brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlan0 type 10 failed: err=-5 so same bit or a blob remains on the chipset making it work stable wifi on cubietruck with mainline kernel 4.19 - even if it is just a workaround..... an other point is that nand starts partialy working with mainline kernel 4.19: [ 2.191160] nand: device found, Manufacturer ID: 0xad, Chip ID: 0xde [ 2.191170] nand: Hynix H27UCG8T2ATR-BC 64G 3.3V 8-bit [ 2.191178] nand: 8192 MiB, MLC, erase size: 2048 KiB, page size: 8192, OOB size: 640 [ 2.192047] Bad block table found at page 1048320, version 0x01 [ 2.192442] Bad block table found at page 1048064, version 0x01 [ 2.192621] nand_read_bbt: bad block at 0x000001800000 .... [ 2.194259] nand_read_bbt: bad block at 0x0001fde00000 [ 2.194620] 6 fixed-partitions partitions found on MTD device 1c03000.nand [ 2.194626] Creating 6 MTD partitions on "1c03000.nand": [ 2.194641] 0x000000a00000-0x0001ffa00000 : "rootfs" [ 2.195789] 0x000001000000-0x000001400000 : "env" [ 2.196088] 0x000000c00000-0x000001000000 : "U-Boot.backup" [ 2.196369] 0x000000800000-0x000000c00000 : "U-Boot" [ 2.196670] 0x000000400000-0x000000800000 : "SPL.backup" [ 2.196946] 0x000000000000-0x000000400000 : "SPL" but then is too much marked as bad block ..... but it might be possible to put newer u-boot on nand to get rid of the sdcard
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines