{"id":910,"date":"2019-04-04T22:43:56","date_gmt":"2019-04-04T14:43:56","guid":{"rendered":"https:\/\/www.jarvisw.com\/?p=910"},"modified":"2019-04-15T23:49:34","modified_gmt":"2019-04-15T15:49:34","slug":"%e7%bb%99nanopi-neo-air%e6%9b%b4%e6%8d%a2wifi%e6%a8%a1%e5%9d%97%e6%96%b9%e6%b3%95","status":"publish","type":"post","link":"https:\/\/www.jarvisw.com\/?p=910","title":{"rendered":"\u7ed9NanoPi Neo Air WiFi\u6a21\u5757\u66f4\u6362\u4e3aAP6234\u8bb0\u5f55"},"content":{"rendered":"\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1024\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1-1024x1024.jpg\" alt=\"\" class=\"wp-image-911\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1-1024x1024.jpg 1024w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1-150x150.jpg 150w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1-300x300.jpg 300w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1-768x768.jpg 768w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/NanoPi_NEO-AIR-1.jpg 1701w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure><\/div>\n\n\n\n<p>      NanoPi Neo Air\u662f\u53cb\u5584\u4e4b\u81c2\u63a8\u51fa\u7684\u4e00\u6b3e\u8d85\u5c0f\u578b\u521b\u5ba2\u677f\uff0c\u53ea\u670940&#215;40\u5927\u5c0f\uff0c\u4e14\u5e26\u6709\u4e00\u4e2aAP6212(BCM43430A0)wifi\u6a21\u5757\uff0c\u7531\u4e8e\u8fd9\u6b3e\u4ea7\u54c1\u5341\u5206\u5c0f\u5de7\uff0c\u6240\u4ee5\u8fd8\u662f\u633a\u53d7\u6b22\u8fce\u7684\uff0c\u4f46\u53ef\u60dc\u7684\u662fAP6212\u4f7f\u7528\u7684\u82af\u7247\u662fBCM43430A0\u82af\u7247\uff0c\u53ea\u652f\u63012.4G\u9891\u6bb5\uff0c\u800c\u4e14\u4e0d\u652f\u6301Monitor\u6a21\u5f0f\uff0c\u6240\u4ee5\u5728\u4f7f\u7528\u4e2d\u6709\u8bf8\u591a\u9650\u5236\uff0c\u4e8e\u662f\u7b14\u8005\u5c31\u60f3\uff0c\u65e2\u7136AMPAK\u751f\u4ea7\u7684\u7cfb\u5217\u6a21\u5757\u5927\u90e8\u5206\u662fpin to pin\u517c\u5bb9\u7684\uff0c\u6211\u80fd\u4e0d\u80fd\u81ea\u5df1\u76f4\u63a5\u628a\u6a21\u5757\u5439\u4e0b\u6765\u66f4\u6362\u5462\uff1f<\/p>\n\n\n\n<p>      \u8bf4\u5e72\u5c31\u5e72\u5427\uff0c\u6211\u9009\u62e9\u4e86AP6234\u8fd9\u4e2a\u6a21\u5757\uff0c\u4f7f\u7528\u7684\u82af\u7247\u662fBCM43340B0\uff0c\u652f\u63012.4G\u548c5G\u9891\u6bb5\uff0c40MHz\u5e26\u5bbd\uff0c\u4e14\u539f\u751f\u5c31\u652f\u6301\u6293\u5305\uff0c\u611f\u89c9\u633a\u5408\u9002\u7684\u3002\u66f4\u6362\u8fc7\u7a0b\u5e76\u6ca1\u6709\u4ec0\u4e48\u963b\u788d\uff0c\u76f4\u63a5\u5439\u4e0b\u6765\u6362\u4e0a\u65b0\u7684\u5373\u53ef\uff0c\u6362\u597d\u5982\u56fe\uff1a<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter\"><img loading=\"lazy\" decoding=\"async\" width=\"489\" height=\"439\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/6234.png\" alt=\"\" class=\"wp-image-912\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/6234.png 489w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/6234-300x269.png 300w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/figure><\/div>\n\n\n\n<p>   \u7136\u540e\u6211\u4eec\u5f00\u673a\uff0c\u770b\u770b\u662f\u5426\u65b0\u7684WLAN\u6a21\u5757\u5c31\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002\u7136\u800c\uff0c\u770b\u4e0a\u53bb\u663e\u7136\u4e0d\u884cifconfig\u770b\u4e0d\u5230\u65b0\u7684interface\uff0ciw dev\u547d\u4ee4\u4e5f\u770b\u4e0d\u5230\u65e0\u7ebfinterface\uff0c\u771f\u5947\u602a\uff0c\u96be\u9053\u710a\u5e9f\u4e86\uff0c\u5148\u770b\u770b\u65e5\u5fd7\u518d\u8bf4\uff1a<\/p>\n\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\ndmesg | grep brcmfmac\n<\/pre>\n\n\n\n<p>\u65e5\u5fd7\u662f\u8fd9\u6837\u7684\uff1a<\/p>\n\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n...\n&#x5B;    9.506758] brcmfmac: brcmf_fw_alloc_request: using brcm\/brcmfmac43340-sdio for chip BCM43340\/2\n&#x5B;    9.508450] brcmfmac mmc2:0001:1: Direct firmware load for brcm\/brcmfmac43340-sdio.bin failed with error -2\n&#x5B;    9.508489] brcmfmac mmc2:0001:1: Falling back to syfs fallback for: brcm\/brcmfmac43340-sdio.bin\n&#x5B;   11.325715] brcmfmac: brcmf_sdio_htclk: HT Avail timeout (1000000): clkctl 0x50\n...\n<\/pre>\n\n\n\n<p>\u9519\u8bef\u662f\u8fd9\u4e2a\uff1a<\/p>\n\n\n\n<p>Direct firmware load for brcm\/brcmfmac43340-sdio.bin failed with error -2<\/p>\n\n\n\n<p>\u54e6\uff0c\u8c8c\u4f3c\u662f\u6ca1\u6709\u56fa\u4ef6\uff0c\u770b\u6765\u539f\u751f\u7684\u7cfb\u7edf\u6ca1\u670943340\u7684\u56fa\u4ef6\uff0c\u6240\u4ee5\u52a0\u8f7d\u5931\u8d25\u4e86\uff0c\u8fd9\u6837\u7684\u8bdd\uff0c\u6211\u4eec\u53bb\u4e0b\u8f7d\u4e00\u4e2a\u5427\uff0c\u6211\u5728\u8fd9\u91cc\u627e\u5230\u4e86\u4e00\u4efd\u56fa\u4ef6\uff1a<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/Asus-T100\/firmware\/tree\/master\/brcm\">https:\/\/github.com\/Asus-T100\/firmware\/tree\/master\/brcm<\/a><\/p>\n\n\n\n<p>\u76f4\u63a5\u628abrcmfmac43340-sdio.bin\u548cbrcmfmac43340-sdio.txt\u653e\u5230\/lib\/firmware\/brcm\u5373\u53ef\uff0c\u4f46\u662f\u8981\u6ce8\u610f\u4e00\u4e0b\uff0cnanoPi Neo Air\u7684\u6676\u632f\u7531\u4e8e\u4e4b\u524d\u4f7f\u7528\u7684\u662fAP6212\uff0c\u6676\u632f\u7528\u7684\u662f26M\u7684\uff0c\u4f46\u662fAP6234\u7684nvram\u91cc\u4f7f\u7528\u7684\u662f\u9ed8\u8ba4\u768437.4M\u6676\u632f\uff0c\u6240\u4ee5nvram\u91cc\u9762\u7684xtalfreq\u90a3\u91cc\u5f97\u6539\u6210xtalfreq=26000\u624d\u884c\u3002<\/p>\n\n\n\n<p>   \u5230\u8fd9\u91cc\u4e3a\u6b62\uff0c\u5982\u679c\u7528\u7684frendlyELEC\u5b98\u65b9\u7684\u56fa\u4ef6(\u4e0b\u8f7d\u5730\u5740\uff1a <br><a href=\"http:\/\/download.friendlyarm.com\/nanopineoair\">http:\/\/download.friendlyarm.com\/nanopineoair<\/a> )\u7684\u8bdd\uff0c\u91cd\u542f\u5e94\u8be5\u5c31\u5df2\u7ecf\u53ef\u4ee5\u4f7f\u7528\u4e86\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>\u4f46\u662f\u540e\u6765\u60f3\u7528armbian\u7cfb\u7edf\uff0c\u7528\u7684mainline 4.19\u7684\u5185\u6838\uff0c\u5237\u4e86armbian\u4ee5\u540e\u5f53\u6211\u628a\u56fa\u4ef6\u653e\u597d\u4e4b\u540e\uff0c\u53d1\u73b0wifi\u6a21\u5757\u8fd8\u662f\u4e0d\u80fd\u6b63\u5e38\u5de5\u4f5c\u3002\u8fd9\u6b21\u7684\u65e5\u5fd7\u662f\uff1a<\/p>\n\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n...\n&#x5B;    9.525618] brcmfmac: brcmf_fw_alloc_request: using brcm\/brcmfmac43340-sdio for chip BCM43340\/2\n&#x5B;    9.767944] brcmfmac: brcmf_fw_alloc_request: using brcm\/brcmfmac43340-sdio for chip BCM43340\/2\n&#x5B;    9.768199] brcmfmac mmc2:0001:1: Direct firmware load for brcm\/brcmfmac43340-sdio.clm_blob failed with error -2\n&#x5B;    9.768221] brcmfmac mmc2:0001:1: Falling back to syfs fallback for: brcm\/brcmfmac43340-sdio.clm_blob\n&#x5B;   10.384512] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available (err=-11), device may have limited channels available\n&#x5B;   10.386943] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43340\/2 wl0: Oct 23 2017 06:52:26 version 6.49.22 (r674454) FWID 01-a9f55b00\n&#x5B;   20.520615] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n&#x5B;   20.856493] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n&#x5B;   21.192457] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n&#x5B;   21.528372] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n&#x5B;   21.865554] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n...\n<\/pre>\n\n\n\n<p>\u5947\u602a\uff0c\u600e\u4e48\u5c31\u7a81\u7136failed backplane access\u4e86\u5462\uff0c\u770b\u5230\u8fd9\u4e00\u53e5\u8c8c\u4f3c\u662f\u56fa\u4ef6\u5df2\u7ecf\u52a0\u8f7d\u6210\u529f\u4e86\uff1abrcmf_c_preinit_dcmds: Firmware: BCM43340\/2 wl0: Oct 23 2017 06:52:26 version 6.49.22 (r674454) FWID 01-a9f55b00\uff0c\u6210\u529f\u8bfb\u5230\u4e86\u56fa\u4ef6\u7248\u672c\u53f7\uff0c\u4f46\u662f\u597d\u50cf10\u79d2\u949f\u4e4b\u540e\uff0c\u82af\u7247\u5c31down\u4e86\u3002<\/p>\n\n\n\n<p>\u6211\u4ee5\u4e3a\u662fnvram\u7684\u95ee\u9898\uff0c\u6240\u4ee5\u53c8\u627e\u4e86\u51e0\u4e2anvram\u8bd5\u4e86\u4e00\u4e0b\uff0c\u540e\u6765\u53c8\u5c1d\u8bd5\u4e86\u53e6\u4e00\u4e2aAP6234\u7684nvram:<\/p>\n\n\n\n<p><a href=\"https:\/\/github.com\/geekboxzone\/mmallow_external_wlan_loader\/blob\/geekbox\/firmware\/nvram_AP6234.txt\">https:\/\/github.com\/geekboxzone\/mmallow_external_wlan_loader\/blob\/geekbox\/firmware\/nvram_AP6234.txt<\/a><\/p>\n\n\n\n<p>\u8fd9\u6b21\u7684\u65e5\u5fd7\u53d8\u6210\u8fd9\u6837\u4e86\uff1a<\/p>\n\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n...\n&#x5B;    9.521659] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43340\/2 wl0: Oct 23 2017 08:41:23 version 6.10.190.70 (r674464) FWID 01-98d71006\n&#x5B;   39.433716] brcmfmac: brcmf_sdio_kso_control: max tries: rd_val=0x0 err=0\n&#x5B;   39.433900] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame\n&#x5B;   39.434023] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame\n&#x5B;   39.434134] brcmfmac: brcmf_sdio_txfail: sdio error, abort command and terminate frame\n&#x5B;   39.434214] brcmfmac: brcmf_sdio_dpc: failed backplane access over SDIO, halting operation\n&#x5B;   39.434227] brcmfmac: brcmf_proto_bcdc_query_dcmd: brcmf_proto_bcdc_msg failed w\/status -110\n...\n<\/pre>\n\n\n\n<p>\u8fd9\u6b21\u867d\u9519\u8bef\u4e0d\u4e00\u6837\u4e86\uff0c\u4f46\u662fwifi\u6a21\u5757\u8fd8\u662f\u4e0d\u80fd\u6b63\u5e38\u8fd0\u884c\uff0c\u540e\u6765\u7f51\u4e0a\u627e\u4e86\u534a\u5929\uff0c\u51fa\u73b0\u8fd9\u4e2a\u9519\u8bef\u8c8c\u4f3c\u662f\u56e0\u4e3anvram\u91cc\u9762\u7684\u8fd9\u4e00\u53e5\u5f15\u8d77\u7684\uff1a<\/p>\n\n\n\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n# Enable OOB interrupt: level trigger\nmuxenab=0x10\n<\/pre>\n\n\n\n<p>\u8c8c\u4f3c\u662f\u56e0\u4e3alinux\u7684\u9a71\u52a8\u6ca1\u6709\u4f7f\u7528oob\u9a71\u52a8\uff0c\u5982\u679cenable\u4e86oob\u5c31\u4f1a\u5bfc\u81f4\u82af\u7247down\uff0c\u6240\u4ee5\u5f97\u6ce8\u91ca\u6389\u8fd9\u4e00\u53e5\u3002\u7136\u800c\u6ce8\u91ca\u6389\u4ee5\u540e\u8fd8\u662f\u6ca1\u4ec0\u4e48\u5375\u7528\uff0c\u9519\u8bef\u548c\u4e4b\u524d\u7684nvram\u4e00\u4e2a\u6837\u3002\u771f\u662f\u6709\u70b9\u5751\u7239\uff0c\u6682\u65f6\u4e0d\u77e5\u9053\u54ea\u91cc\u7684\u95ee\u9898\u3002\u7531\u4e8efrendlyELEC\u7528\u7684\u662f\u81ea\u5df1\u4fee\u6539\u8fc7\u7684\u5185\u6838\uff1a <br><a href=\"https:\/\/github.com\/friendlyarm\/linux\">https:\/\/github.com\/friendlyarm\/linux<\/a> \uff0c<del>\u73b0\u5728\u8fd8\u6ca1\u641e\u660e\u767dfrendlyELEC\u81ea\u5df1\u4fee\u6539\u8fc7\u7684\u5185\u6838\u548cmainline\u7684\u5185\u6838\u6709\u4ec0\u4e48\u533a\u522b\uff0c\u6253\u7b97\u4ee5\u540e\u6709\u7a7a\u518d\u4ed4\u7ec6\u7814\u7a76\u4e00\u4e0b\u3002<\/del><\/p>\n\n\n\n<p><strong>\u95ee\u9898\u539f\u56e0\u5df2\u7ecf\u627e\u5230\uff0c\u89e3\u51b3\u65b9\u6848\u5927\u5bb6\u79fb\u6b65\u65b0\u6587\u7ae0\u5373\u53ef\uff1a\u300a<\/strong><a href=\"https:\/\/www.jarvisw.com\/?p=991\"><strong>NanoPi Neo Air\u4f7f\u7528AP6234\u6a21\u5757\u5728armbian\u7cfb\u7edf\u4e2d\u5f02\u5e38\u539f\u56e0\u5206\u6790<\/strong><\/a><strong>\u300b<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>NanoPi Neo Air\u662f\u53cb\u5584\u4e4b\u81c2\u63a8\u51fa\u7684\u4e00\u6b3e\u8d85\u5c0f\u578b\u521b\u5ba2\u677f\uff0c\u53ea\u670940&#215;40\u5927\u5c0f\uff0c\u4e14\u5e26\u6709\u4e00\u4e2aAP62 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,5],"tags":[132,133,131,187,185,186],"class_list":["post-910","post","type-post","status-publish","format-standard","hentry","category-iot","category-5","tag-bcm","tag-bcm43340","tag-wlan","tag-187","tag-185","tag-186"],"_links":{"self":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/910","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=910"}],"version-history":[{"count":6,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/910\/revisions"}],"predecessor-version":[{"id":996,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/910\/revisions\/996"}],"wp:attachment":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=910"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=910"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=910"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}