{"id":991,"date":"2019-04-15T23:47:17","date_gmt":"2019-04-15T15:47:17","guid":{"rendered":"https:\/\/www.jarvisw.com\/?p=991"},"modified":"2019-09-30T00:15:59","modified_gmt":"2019-09-29T16:15:59","slug":"armbian%e7%b3%bb%e7%bb%9f%e5%9c%a8nanopi-neo-air%e4%b8%8a%e4%bd%bf%e7%94%a8ap6234%e6%a8%a1%e5%9d%97%e5%b7%a5%e4%bd%9c%e5%bc%82%e5%b8%b8%e5%8e%9f%e5%9b%a0%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"https:\/\/www.jarvisw.com\/?p=991","title":{"rendered":"NanoPi Neo Air\u4f7f\u7528AP6234\u6a21\u5757\u5728armbian\u7cfb\u7edf\u4e2d\u5f02\u5e38\u539f\u56e0\u5206\u6790"},"content":{"rendered":"\n<p>\u3000\u3000\u5728\u524d\u9762\u7684\u6587\u7ae0\u300a<a href=\"https:\/\/www.jarvisw.com\/?p=910\">\u7ed9NanoPi Neo Air WiFi\u6a21\u5757\u66f4\u6362\u4e3aAP6234\u8bb0\u5f55<\/a>\u300b\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u95ee\u9898\u6ca1\u6709\u89e3\u51b3\uff0c\u90a3\u5c31\u662f\u4f7f\u7528armbian\u7cfb\u7edf\u7684\u65f6\u5019\uff0cwifi\u65e0\u6cd5\u6b63\u5e38\u5de5\u4f5c\uff0c\u73b0\u8c61\u7ecf\u8fc7\u540e\u6765\u7684\u5206\u6790\uff0c\u5176\u5b9e\u662fwifi\u4e00\u5f00\u59cb\u56fa\u4ef6\u5df2\u7ecf\u6b63\u5e38\u52a0\u8f7d\u5de5\u4f5c\uff0c\u4f46\u662f\u8fc7\u4e86\u5927\u698210\u79d2\u949f\u5de6\u53f3\u5c31\u4f1a\u6574\u4e2asdio\u90fddown\u6389\u3002\u56e0\u4e3a\u534a\u9014\u800c\u5e9f\u4e0d\u662f\u7b14\u8005\u7684\u884c\u4e8b\u98ce\u683c\uff0c\u4e3a\u6b64\u6700\u8fd1\u82b1\u4e86\u4e9b\u7a7a\u4f59\u65f6\u95f4\u8fdb\u884c\u4e86\u8be6\u7ec6\u5206\u6790\uff0c\u5e76\u7ed3\u8bba\u8bb0\u5f55\u5728\u672c\u6587\u5f53\u4e2d\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u7531\u4e8e\u95ee\u9898\u5b9e\u5728\u592a\u8fc7\u8be1\u5f02\uff0c\u7b14\u8005\u82b1\u4e86\u5f88\u957f\u65f6\u95f4\u6765\u5bf9\u6bd4\u5206\u6790\uff0c\u4e00\u5f00\u59cb\u4ee5\u4e3a\u662f\u8bbe\u5907\u6811dtb\u7684\u95ee\u9898\uff0c\u4e8e\u662f\u5c1d\u8bd5\u4e86\u5c06friendlyelec\u5b98\u65b9\u7684\u5185\u6838( <br><a href=\"https:\/\/github.com\/friendlyarm\/linux\">https:\/\/github.com\/friendlyarm\/linux<\/a> )\u7f16\u8bd1\u540e\u4ea7\u751f\u7684\u8bbe\u5907\u6811\u76f4\u63a5\u8986\u76d6\u7ed9armbian\u7cfb\u7edf\u4e0b\u7684\/boot\/dtb\/\u8986\u76d6\u540e\u53d1\u73b0\u4ecd\u7136\u540c\u6837\u7684\u5f02\u5e38\u95ee\u9898\u3002\u540e\u6765\u7ee7\u7eed\u5c1d\u8bd5\uff0c\u5c06\u5185\u6838\u548c\u5185\u6838\u6a21\u5757\u76f4\u63a5\u66ff\u6362\u4e3afrendlyelec\u5b98\u65b9\u7684\u5185\u6838\uff0c\u53d1\u73b0wifi\u7adf\u7136\u6b63\u5e38\u5de5\u4f5c\u4e86\uff0c\u4e3a\u6b64\u53ef\u4ee5\u786e\u5b9a\uff0c\u57fa\u672c\u5c31\u662f\u5185\u6838\u548c\u5185\u6838\u9a71\u52a8\u6a21\u5757\u7684\u95ee\u9898\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u5230\u6b64\u867d\u7136\u95ee\u9898\u5f88\u660e\u786e\u4e86\uff0c\u5c31\u662f\u5185\u6838\u7684\u95ee\u9898\uff0c\u4f46\u662f\u8981\u627e\u5230\u5177\u4f53\u539f\u56e0\u5728\u54ea\u91cc\uff0c\u7b14\u8005\u8fd8\u662f\u82b1\u4e86\u975e\u5e38\u591a\u7684\u65f6\u95f4\u3002\u901a\u8fc7\u5bf9armbian patch\u4e4b\u540e\u7684\u5185\u6838\u4e0efriendlyelec\u4fee\u6539\u8fc7\u7684\u5185\u6838\u4e4b\u95f4\u8fdb\u884cdiff\u5206\u6790\u4e4b\u540e\uff0c\u5f97\u5230\u4e861.13M\u7684\u5185\u6838diff\u6587\u4ef6\uff0c\u4e00\u5927\u5806\u4e0d\u540c\uff0c\u72b9\u5982\u5927\u6d77\u635e\u9488\u3002\u4e0d\u8fc7\u5176\u5b9e\u6211\u4eec\u53ea\u8981\u5173\u5fc3\u548cwifi\u6a21\u5757\u5de5\u4f5c\u6709\u5173\u7684\u90e8\u5206\u5373\u53ef\u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0d\u8fc7\u8fd9\u5e76\u4e0d\u5bb9\u6613\uff0c\u4e00\u5f00\u59cb\u4ee5\u4e3a\u662fbrcmfmac\u9a71\u52a8\u7684\u533a\u522b\uff0c\u540e\u6765\u7ecf\u8fc7\u6bd4\u8f83\u53d1\u73b0\u5b8c\u5168\u662f\u4e00\u6837\u7684\uff0c\u7136\u540e\u662fmmc\uff0c\u53d1\u73b0\u4e5f\u662f\u5927\u540c\u5c0f\u5f02\uff0c\u5373\u4f7fpatch\u8fc7\u6765\uff0c\u4e5f\u4ecd\u7136\u4e0d\u6b63\u5e38\uff0c\u8fd8\u6709\u4ec0\u4e48\u522b\u7684\u6709\u5f71\u54cd\u5462\uff0c\u771f\u7684\u60f3\u4e0d\u901a\uff0c\u751a\u81f3\u5230\u6700\u540e\uff0c\u8fde\u5185\u6838\u7f16\u8bd1\u914d\u7f6e.config\u6587\u4ef6\u4e5f\u8bd5\u4e86\uff0c\u4e00\u5ea6\u8fd8\u6000\u7591\u662f\u7f16\u8bd1\u5668\u7248\u672c\u95ee\u9898\uff0c\u4f46\u662f\u7528\u4e86\u540c\u6837\u7248\u672c\u7684\u7f16\u8bd1\u5668\u7f16\u8bd1\u540e\uff0c\u8fd8\u662f\u4e00\u6837\u7684\u7ed3\u679c\uff0c\u5b9e\u5728\u662f\u592a\u7384\u5b66\u4e86\u3002\u540e\u6765\u53c8\u5206\u6790\u4e86\u7a0d\u5fae\u6709\u70b9\u5173\u7cfbclk\u6a21\u5757\uff0cdma\u6a21\u5757regulator\u6a21\u5757\uff0c\u4f9d\u65e7\u65e0\u679c \uff0c\u90fd\u8981\u5feb\u54ed\u51fa\u6765\u4e86 \u3002<\/p>\n\n\n\n<p>\u3000\u3000\u4e0d\u8fc7\u4e07\u4e07\u6ca1\u60f3\u5230\uff0c\u6700\u540e\u6211\u8fd8\u662f\u627e\u5230\u4e86\u95ee\u9898\u7684\u6700\u7ec8\u539f\u56e0\uff0c\u5176\u5b9e\u5f88\u7b80\u5355\uff0c\u5c31\u662fCPU\u8fde\u63a5\u5230WIFI\u7684\u4e00\u4e2a32.768K\u7684\u8f93\u51fa\u6709\u95ee\u9898\uff0c\u4f3c\u4e4e\u8fd9\u662f\u4e00\u4e2alow power clk\u4e5f\u5c31\u662f\u4f4e\u529f\u8017\u6a21\u5f0f\u7684\u65f6\u949f\uff0c\u800c\u8fd9\u4e2a\u65f6\u949f\u5982\u679c\u6ca1\u6709\u7684\u8bdd\uff0c\u5c31\u4f1a\u5bfc\u81f4BCM\u82af\u7247\u8fdb\u5165\u4f4e\u529f\u8017\u6a21\u5f0f\u4ee5\u540e\u65e0\u6cd5\u5524\u9192\uff0c\u8868\u73b0\u5c31\u5982\u524d\u9762\u90a3\u7bc7\u6587\u7ae0\u6240\u8ff0\u7684\u90a3\u6837\uff0cwifi\u56fa\u4ef6\u6b63\u5e38\u52a0\u8f7d\u8fc7\u4e86\u5341\u51e0\u79d2\u949f\u4e4b\u540e\u5c31down\u4e86\u3002\u4e0d\u8fc7\u5947\u602a\u7684\u662f\u5bf9\u4e8eAP6212\uff0c\u7adf\u7136\u6ca1\u6709\u8fd9\u4e2a\u65f6\u949f\u4e5f\u80fd\u6b63\u5e38\u5de5\u4f5c\uff0c\u771f\u7684\u662fNB\u554a\u3002\u4e0b\u56fe\u662fAllwinner H3\u82af\u7247\u5927\u81f4\u7684\u4e00\u4e2a\u65f6\u949f\u6e90\u6a21\u5757\u56fe\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1008\" height=\"439\" src=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/rtc_clk.png\" alt=\"\" class=\"wp-image-993\" srcset=\"https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/rtc_clk.png 1008w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/rtc_clk-300x131.png 300w, https:\/\/www.jarvisw.com\/wp-content\/uploads\/2019\/04\/rtc_clk-768x334.png 768w\" sizes=\"auto, (max-width: 1008px) 100vw, 1008px\" \/><\/figure>\n\n\n\n<p>\u3000\u3000\u597d\u4e86\u8bf4\u4e86\u90a3\u4e48\u591a\uff0c\u89e3\u51b3\u65b9\u6848\u5f88\u7b80\u5355\uff0c\u53ea\u8981patch\u4e00\u4e0brtc\u90e8\u5206\u7684\u4ee3\u7801\u52a0\u4e00\u53e5\u8bdd\u4f7f\u80fd\u4e00\u4e0bLSOC_OUT_GATING_EN\u5bc4\u5b58\u5668\uff0c\u52a0\u4e0a32.768kHz\u7684\u8f93\u51fa\u5c31\u53ef\u4ee5\u4e86\uff0c\u8fd9\u91cc\u7ed9\u51fapatch\uff0c\u771f\u7684\u7279\u522b\u7b80\u5355\uff0c\u5c31\u4e24\u53e5\u8bdd\uff0c\u77e5\u9053\u7b54\u6848\u7684\u6211\u77ac\u95f4\u90fd\u8981\u5410\u51fa\u6765\u4e86\u3002<\/p>\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"diff\">diff -ur a\/drivers\/rtc\/rtc-sun6i.c b\/drivers\/rtc\/rtc-sun6i.c\n--- a\/drivers\/rtc\/rtc-sun6i.c\t2019-04-14 16:19:50.749519000 +0800\n+++ b\/drivers\/rtc\/rtc-sun6i.c\t2019-04-15 22:29:13.670404000 +0800\n@@ -215,6 +215,9 @@\n \t\/* Switch to the external, more precise, oscillator *\/\n \twritel(SUN6I_LOSC_CTRL_KEY | SUN6I_LOSC_CTRL_EXT_OSC,\n \t       rtc-&amp;gt;base + SUN6I_LOSC_CTRL);\n+\t       \n+\twritel(SUN6I_LOSC_OUT_GATING_EN,\n+\t\t\t   rtc-&amp;gt;base + SUN6I_LOSC_OUT_GATING);\n \n \t\/* Yes, I know, this is ugly. *\/\n \tsun6i_rtc = rtc;\n<\/pre>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>\u3000\u3000\u5728\u524d\u9762\u7684\u6587\u7ae0\u300a\u7ed9NanoPi Neo Air WiFi\u6a21\u5757\u66f4\u6362\u4e3aAP6234\u8bb0\u5f55\u300b\u4e2d\u7684\u6700\u540e\u4e00\u4e2a\u95ee\u9898\u6ca1\u6709\u89e3\u51b3 [&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":[199,132,133,200,198,131,187,185,186],"class_list":["post-991","post","type-post","status-publish","format-standard","hentry","category-iot","category-5","tag-armbian","tag-bcm","tag-bcm43340","tag-friendlyelec","tag-rtc","tag-wlan","tag-187","tag-185","tag-186"],"_links":{"self":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/991","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=991"}],"version-history":[{"count":5,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/991\/revisions"}],"predecessor-version":[{"id":1240,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=\/wp\/v2\/posts\/991\/revisions\/1240"}],"wp:attachment":[{"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=991"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=991"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jarvisw.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=991"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}