{"id":1434,"date":"2015-03-12T20:32:20","date_gmt":"2015-03-12T12:32:20","guid":{"rendered":"http:\/\/www.freemindworld.com\/blog\/?p=1434"},"modified":"2015-07-29T17:17:21","modified_gmt":"2015-07-29T09:17:21","slug":"150312_complie_kernel_module_for_raspberry_pi_2","status":"publish","type":"post","link":"https:\/\/www.freemindworld.com\/blog\/2015\/150312_complie_kernel_module_for_raspberry_pi_2.shtml","title":{"rendered":"\u4e3aRaspberry Pi 2\u7f16\u8bd1\u5185\u6838\u6a21\u5757"},"content":{"rendered":"<p><strong>2015-04-21\u66f4\u65b0\uff1a<\/strong>\u539f\u59cb\u7684<a title=\"rpi-source\" href=\"https:\/\/github.com\/notro\/rpi-source\" target=\"_blank\">rpi-source<\/a>\u9879\u76ee\u5df2\u7ecf\u7531<a href=\"https:\/\/github.com\/PeterOGB\" rel=\"contributor\">PeterOGB<\/a>\u00a0\u63a5\u624b\u7ef4\u62a4\uff0c\u6240\u4ee5\u65e0\u987b\u518d\u7528\u6211\u4e0b\u6587\u4e2d\u63d0\u5230\u7684\u6211\u6539\u8fc7\u7684rpi-source\u811a\u672c\uff0c\u76f4\u63a5\u7528\u539f\u59cb\u7684\u5c31\u53ef\u4ee5\u4e86\u3002\u5176\u5b83\u6587\u4e2d\u63d0\u5230\u7684\u80cc\u666f\u77e5\u8bc6\u90fd\u4ecd\u7136\u6709\u6548\u3002<\/p>\n<p>\u5373\u628a\u7b2c\u4e00\u4e2a\u547d\u4ee4\u6539\u4e3a\uff1a<code><br \/>\n$ wget\u00a0https:\/\/raw.githubusercontent.com\/notro\/rpi-source\/master\/rpi-source<br \/>\n&amp;&amp; chmod a+x rpi-source<\/code><\/p>\n<p><strong>2015-07-29\u66f4\u65b0\uff1a<\/strong>Raspbian\u7684\u5185\u6838\u7248\u672c\u5df2\u7ecf\u5347\u7ea7\u52304.x\uff0crpi-source\u8fd8\u4e0d\u80fd\u6b63\u786e\u5904\u7406\uff0c\u9700\u8981\u8fdb\u884c\u4ee5\u4e0b\u989d\u5916\u7684\u5de5\u4f5c\uff1a<\/p>\n<p>1. rpi-source\u9700\u8981\u83b7\u53d6\u7684\/proc\/config.gz\u9ed8\u8ba4\u4e0d\u5b58\u5728\u4e86\uff0c\u9700\u8981\u989d\u5916\u52a0\u8f7d\u6a21\u5757\u6765\u5b9e\u73b0\uff1a<\/p>\n<p><code> $ sudo modprobe configs <\/code><\/p>\n<p>2. rpi-source\u57284.x\u5185\u6838\u4e0b\u65e0\u6cd5\u6b63\u786e\u68c0\u6d4bgcc\u7248\u672c\uff0c\u8fd0\u884crpi-source\u65f6\u8bf7\u52a0&#8211;skip-gcc\u9009\u9879\u3002<\/p>\n<hr \/>\n<p>&nbsp;<\/p>\n<p>\u300a<a title=\"\u5728Linux\u4e0b\u4f7f\u7528\u201c360\u968f\u8eabWiFi 2\u201d\" href=\"http:\/\/www.freemindworld.com\/blog\/2013\/131010_360_wifi_in_linux.shtml\">\u5728Linux\u4e0b\u4f7f\u7528\u201c360\u968f\u8eabWiFi 2\u201d<\/a>\u300b\u4e00\u6587\u7684\u7559\u8a00\u533a\u4e2d\uff0c\u66fe\u7ecf\u6709\u4eba\u95ee\u8fc7\uff0c\u4e3a\u4ec0\u4e48\u7f16\u8bd1\u51fa\u6765\u7684\u6a21\u5757insmod\/modprobe\u65f6\u62a5\u201cExec format error\u201d\uff0c\u6211\u4e0d\u5047\u601d\u7d22\u7684\u56de\u590d\uff0c\u8bf7\u4ed6\u68c0\u67e5\u7f16\u8bd1\u6a21\u5757\u65f6\u7528\u7684\u5185\u6838\u5934\u6587\u4ef6\u4e0e\u5b9e\u9645\u8fd0\u884c\u7684\u5185\u6838\u662f\u5426\u5b8c\u5168\u5339\u914d\u3002\u8fd9\u4e2a\u7b54\u6848\u5012\u4e5f\u4e0d\u7b97\u9519\uff0c\u4e0d\u8fc7\u5176\u5b9e\u5e76\u6ca1\u6709\u89e3\u51b3\u95ee\u9898\uff0c\u56e0\u4e3a\u9047\u5230\u7684\u8fd9\u4e2a\u95ee\u9898\u7684\u4eba\u4e00\u822c\u90fd\u5df2\u7ecf\u7528\u4e86\u201c\u6b63\u786e\u201d\u7684\u65b9\u5f0f\u53bb\u7f16\u8bd1\u4ed6\u7684\u6a21\u5757\uff0c\u5c31\u7b97\u518d\u91cd\u65b0\u505a\u51e0\u904d\uff0c\u8fd8\u662f\u4f1a\u9047\u5230\u4e00\u6837\u7684\u95ee\u9898\u3002<\/p>\n<p>\u6700\u8fd1\u6211\u7ed9Raspberry Pi 2\u7f16\u8bd1\u5185\u6838\u6a21\u5757\u65f6\uff0c\u9047\u5230\u4e86\u4e00\u6837\u7684\u95ee\u9898\uff0c\u82b1\u4e86\u5f88\u591a\u65f6\u95f4\u624d\u771f\u6b63\u89e3\u51b3\uff0c\u5728\u8fd9\u91cc\u603b\u7ed3\u4e00\u4e0b\u3002\u4ee5\u4e0b\u63cf\u8ff0\u7684\u65b9\u6cd5\u548c\u5185\u5bb9\uff0c\u5bf9Raspberry Pi \uff08A\/A+\/B\/B+\uff09\u548cRaspberry Pi 2\u90fd\u9002\u7528\u3002<\/p>\n<h1>\u51c6\u5907\u7f16\u8bd1\u6a21\u5757\u9700\u8981\u7684\u5185\u6838\u6811\u7684\u65b9\u6cd5\uff08\u9002\u7528\u4e8eRaspbian\uff09\uff1a<\/h1>\n<p>1. \u4e0b\u8f7d\u6211\u6539\u8fc7\u7684rpi-source\u811a\u672c<br \/>\n<code>$ wget https:\/\/raw.githubusercontent.com\/lifanxi\/rpi-source\/master\/rpi-source<br \/>\n&amp;&amp; chmod a+x rpi-source<\/code><\/p>\n<p>2. \u8fd0\u884crpi-source<br \/>\n<code>$ .\/rpi-source<\/code><\/p>\n<p>3. \u597d\u4e86\uff0c\u53ef\u4ee5\u8fdb\u5165\u6a21\u5757\u6e90\u4ee3\u7801\u7684\u76ee\u5f55\u8fdb\u884c\u6a21\u5757\u7f16\u8bd1\u4e86\u3002<\/p>\n<h1>\u7591\u96be\u6392\u89e3\uff1a<\/h1>\n<p>1. rpi-source\u62a5gcc\u7248\u672c\u4e0d\u4e00\u81f4<\/p>\n<p>\u622a\u6b622015-03-12\uff0cRaspbian\u6700\u65b0\u7684\u5185\u6838\u662f\u7528gcc 4.8\u7f16\u8bd1\u7684\uff08\u53ef\u4ee5\u67e5\u770b\/proc\/version\u786e\u8ba4\uff09\uff0c\u800cRaspbian\u4e2d\u81ea\u5e26\u7684gcc\u662f4.6\u7684\uff0c\u9700\u8981\u5347\u7ea7\u52304.8\u3002\u56e0\u4e3a4.8\u7684gcc\u5df2\u7ecfbackport\u4e86\uff0c\u6240\u4ee5\u53ef\u4ee5\u76f4\u63a5sudo apt-get install gcc-4.8 g++-4.8\uff0c\u7136\u540e\u7528update-alternatives\u8bbe\u7f6e\u4f18\u5148\u7ea7\u5373\u53ef[1]\u3002<\/p>\n<p>2. \u5982\u679c\u7528rpi-source &#8211;skip-gcc\u5ffd\u7565gcc\u7248\u672c\u68c0\u67e5\uff0c\u5e76\u5f3a\u884c\u75284.6\u7684gcc\u4f1a\u7f16\u8bd1\u6a21\u5757\u600e\u4e48\u6837\uff1f<\/p>\n<p>\u6211\u7684\u8bd5\u9a8c\u7ed3\u679c\u662f\u6a21\u5757\u53ef\u4ee5\u7f16\u8bd1\uff0c\u4f46\u5728\u52a0\u8f7d\u6a21\u5757\u65f6\u4f1a\u9020\u6210kernel oops\uff0c\u7136\u540e\u518d\u7528insmod\/modprobe\/rmmod\/lsmod\u7b49\u547d\u4ee4\u65f6\u4f1a\u6302\u4f4f\uff0c\u53ea\u80fd\u91cd\u542f\u89e3\u51b3\u3002\u5982\u679c\u4f60\u7f16\u7684\u6a21\u5757\u662f\u4f1a\u81ea\u52a8\u52a0\u8f7d\u7684\uff0c\u91cd\u542f\u524d\u5148\u628a\u5b83\u5220\u6389\uff0c\u4e0d\u7136\u542f\u52a8\u65f6\u5c31\u4f1a\u6302\u4f4f\u3002<\/p>\n<p>3. rpi-source\u65e0\u6cd5\u6b63\u5e38\u4e0b\u8f7d\u5185\u6838\u4ee3\u7801\u6216Modules.symvers\u6587\u4ef6<\/p>\n<p>\u6709\u53ef\u80fd\u662f\u4f60\u7684\u5185\u6838\u7248\u672c\u592a\u8001\uff0crpi-source\u53ea\u652f\u6301Raspberry Pi 3.10.37\u4ee5\u4e0a\u7684\u5185\u6838\u3002\u5bf9\u4e8eRaspberry Pi 2\uff0c\u5b83\u53ea\u652f\u63013.18.6\u4ee5\u4e0a\u7684\u5185\u6838\u3002\u89e3\u51b3\u529e\u6cd5\u662f\u5148\u8fd0\u884csudo rpi-update\u66f4\u65b0\u5185\u6838\u548c\u56fa\u4ef6\uff0c\u66f4\u65b0\u540e\u8bf7\u91cd\u542f\u7cfb\u7edf\uff0c\u7136\u540e\u518d\u91cd\u65b0\u8fd0\u884crpi-source\u3002<\/p>\n<p>4. \u7f16\u8bd1\u6a21\u5757\u65f6\u62a5\u627e\u4e0d\u5230arch\/armv6l\u6216arch\/armv7l\u76ee\u5f55<\/p>\n<p>\u5c1d\u8bd5\u5728make\u547d\u4ee4\u524d\u52a0ARCH=arm\u53c2\u6570\uff0c\u6216\u5c1d\u8bd5\u628a\/lib\/modules\/`uname -r`\/build\/arch\u4e2d\u7684arm\u8f6f\u94fe\u4e3aarmv6l\u6216armv7l\u540e\u518d\u7f16\u8bd1\u3002<\/p>\n<h1>\u80cc\u666f\u77e5\u8bc6\uff1a<\/h1>\n<p>1. Raspbian\u7684\u5185\u6838\u5305<\/p>\n<p>\u4e0d\u8981\u6309\u7167\u4f7f\u7528Debian\u7684\u4e60\u60ef\u53bb\u627e\u4ec0\u4e48linux-image\u3001linux-source\u4e4b\u7c7b\u7684\u5305\uff0cRaspbian\u7684\u5185\u6838\u5305\u662fraspberrypi-bootloader\uff0c\u91cc\u9762\u5305\u542b\u4e86\u5185\u6838\u3001\u6a21\u5757\u548c\u4e00\u4e9b\u542f\u52a8\u6587\u4ef6\uff0c\u4f46\u6ca1\u6709Module.symvers\u548c\u5934\u6587\u4ef6\u3002<\/p>\n<p>2. rpi-update\u662f\u5565<\/p>\n<p>rpi-update\u662fRaspbian\u5185\u7f6e\u7684\u66f4\u65b0\u5185\u6838\u548c\u76f8\u5173\u56fa\u4ef6\u7684\u811a\u672c\uff0c\u5b83\u7684\u903b\u8f91\u662f\u53bb<a href=\"https:\/\/github.com\/Hexxeh\/rpi-firmware\" target=\"_blank\">https:\/\/github.com\/Hexxeh\/rpi-firmware<\/a>\u8fd9\u4e2a\u4ed3\u5e93\u4e0b\u8f7d\u6700\u65b0\u7684\u5185\u6838\u548c\u56fa\u4ef6\uff0c\u66ff\u6362\u73b0\u6709\u7684\u7248\u672c\u3002\u66f4\u65b0\u5b8c\u6210\u540e\u4f1a\u66f4\u65b0\/boot\/.firmware_revision\uff0c\u8bb0\u4e0b\u6700\u65b0\u7248\u672c\u5bf9\u5e94\u7684Git Hash\uff0c\u4ee5\u540erpi-update\u6216rpi-source\u90fd\u4f1a\u6839\u636e\u8fd9\u4e2aHash\u53bbGitHub\u627e\u5bf9\u5e94\u6587\u4ef6\u3002<\/p>\n<p>3. Raspberry Pi\u7684\u5b98\u65b9\u5185\u6838\u53bb\u54ea\u91cc\u627e<\/p>\n<p><a href=\"http:\/\/github.com\/raspberrypi\" target=\"_blank\">http:\/\/github.com\/raspberrypi<\/a>\uff0c\u91cc\u9762\u7684linux\u5bf9\u5e94\u5185\u6838\u6e90\u4ee3\u7801\uff0cfirmware\u662f\u7f16\u8bd1\u597d\u7684\u5185\u6838\u548c\u76f8\u5173\u6587\u4ef6\u3002\u800crpi-update\u7528\u7684<a href=\"https:\/\/github.com\/Hexxeh\/rpi-firmware\" target=\"_blank\">https:\/\/github.com\/Hexxeh\/rpi-firmware<\/a>\u5176\u5b9e\u662ffirmware\u4e2d\u90e8\u5206\u6587\u4ef6\u7684\u4e00\u4e2a\u955c\u50cf\uff0c\u5206\u51fa\u4e00\u4e2a\u955c\u50cf\u4ed3\u5e93\u53ef\u4ee5\u8ba9rpi-update\u811a\u672c\u7684\u5b9e\u73b0\u53d8\u5f97\u6bd4\u8f83\u7b80\u5355[2]\u3002<\/p>\n<p>4. rpi-source\u505a\u4e86\u4e9b\u5565<\/p>\n<p>\u6839\u636erpi-update\u8bb0\u5f55\u5728\/boot\/.firmware_revision\u4e2d\u7684\u5185\u6838\u7248\u672cGit Hash\uff08\u5982\u679c\u6ca1\u6709\u7528rpi-update\u66f4\u65b0\u8fc7\u5185\u6838\uff0c\u5c31\u4eceraspberrypi-bootloaderq\u5305\u7684changlog\u4e2d\u89e3\u6790\u51faHash\uff09\uff0c\u53bbraspberrypi\/linux\u4ed3\u5e93\u4e2d\u83b7\u53d6\u5bf9\u5e94\u7684\u6e90\u4ee3\u7801\uff0c\u628a\/lib\/modules\/`uname -r`\/build\u548c\/lib\/modules\/`uname -r`\/source\u5bf9\u5e94\u7684\u8f6f\u94fe\u5efa\u597d\uff0c\u4ece\/proc\/config.gz\u83b7\u53d6\u5f53\u524d\u5185\u6838\u914d\u7f6e\uff0c\u53bbraspberrypi\/firmware\u4ed3\u5e93\u4e2d\u83b7\u53d6\u5bf9\u5e94\u7684Modules.symvers\u8ddf\u5185\u6838\u4ee3\u7801\u653e\u5728\u4e00\u8d77\uff0c\u7136\u540emake modules_prepare\u51c6\u5907\u597d\u7f16\u8bd1\u6a21\u5757\u6240\u9700\u8981\u7684\u5185\u6838\u6811\u3002<\/p>\n<p>5. \u4f60\u6539\u7684rpi-source\u6539\u4e86\u4e9b\u5565<\/p>\n<p>rpi-source\u7684\u4f5c\u8005\u5df2\u7ecf\u5ba3\u5e03\u4e0d\u518d\u7ef4\u62a4\u8fd9\u4e2a\u811a\u672c\uff0c\u5e76\u4e14\u8fd9\u4e2a\u811a\u672c\u4e0d\u652f\u6301Raspberry Pi 2\uff0c\u6240\u4ee5\u6211\u5728GitHub\u4e0a<a title=\"rpi-source\" href=\"https:\/\/github.com\/lifanxi\/rpi-source\" target=\"_blank\">Fork<\/a>\u4e86\u4e00\u4efd\uff0c\u505a\u4e86\u4ee5\u4e0b\u6539\u52a8\uff1a<\/p>\n<ul>\n<li>\u4fee\u6539\u4e86\u811a\u672c\u81ea\u52a8\u66f4\u65b0URL\u5230\u6211Fork\u51fa\u6765\u7684\u7248\u672c\uff1b<\/li>\n<li>\u68c0\u67e5\/proc\/cpuinfo\uff0c\u5224\u65ad\u5f53\u524d\u786c\u4ef6\u662fRaspberry Pi\u8fd8\u662fRaspberry Pi 2\uff1b<\/li>\n<li>\u53ef\u4ee5\u901a\u8fc7-b\u53c2\u6570\u5f3a\u884c\u6307\u5b9aRaspberry Pi\u7684\u786c\u4ef6\u7248\u672c\uff1b<\/li>\n<li>\u6839\u636e\u4e0d\u540c\u7684\u786c\u4ef6\uff0c\u4e0b\u8f7d\u4e0d\u540c\u7248\u672c\u7684Modules.symvers\uff1b<\/li>\n<li>\u5982\u679c\u7528\u53c2\u6570\u6307\u5b9a\u4e86\u8981\u6c42\u7528\u9ed8\u8ba4\u914d\u7f6e\u6765\u914d\u7f6e\u5185\u6838\u6811\uff0c\u5219\u5bf9\u4e0d\u540c\u786c\u4ef6\u7248\u672c\u7684Raspberry Pi\u8c03\u7528\u4e0d\u540c\u7684\u547d\u4ee4[3]\u3002<\/li>\n<\/ul>\n<p>6. Raspberry Pi\u548cRaspberry Pi 2\u7684\u5185\u6838\u6709\u5565\u533a\u522b<\/p>\n<p>Raspberry Pi 2\u7684SOC\u662fBCM2709\uff0c\u57fa\u4e8eARM 7\uff08armv7l\uff09\uff0c\u800c\u4e00\u4ee3\u662fBCM2708\uff0cARM 6\uff08armv6l\uff09\uff0c\u6240\u4ee5\u4e8c\u4ee3\u7684\u5185\u6838\u4e2d\u7528\u4e86\u4e00\u4e9barmv7l\u4e2d\u7279\u6709\u7279\u6027\u3002\u76ee\u524d\u5728\u6253\u5305\u7684\u65f6\u5019\u4e24\u4e2a\u7248\u672c\u5185\u6838\u6587\u4ef6\u662f\u6253\u5305\u5728\u4e00\u8d77\u7684\uff0c\u53ea\u662f\u7528\u540e\u7f007\u6216v7\u6765\u533a\u522b\uff0c\u542f\u52a8\u7684\u65f6\u5019\u4f1a\u6309\u5b9e\u9645\u786c\u4ef6\u9009\u62e9\u3002<\/p>\n<p>7. Module.symvers\u662f\u5e72\u561b\u7528\u7684\uff1f<\/p>\n<p>\u4e00\u53e5\u8bdd\u8bb2\u4e0d\u6e05\uff0c\u6709\u5174\u8da3\u8bf7\u53c2\u8003[4]\u3002\u603b\u4e4b\uff0c\u6ca1\u6709Module.symvers\u6216\u7528\u9519\u4e86Module.symvers\u90fd\u53ef\u80fd\u4f1a\u9020\u6210\u4f60\u52a0\u8f7d\u6a21\u5757\u65f6\u62a5Exec format error\u3002\u5982\u679c\u4f60\u9047\u5230\u4e86\u8fd9\u6837\u7684\u60c5\u51b5\uff0c\u8bf7\u786e\u8ba4rpi-source\u7684\u6267\u884c\u8fc7\u7a0b\u4e2d\u6709\u6ca1\u6709\u5931\u8d25\u7684\u6b65\u9aa4\u3002armv7l\u548carmv6l\u7248\u672c\u7684\u5185\u6838\u7528\u7684Module.symvers\u662f\u4e0d\u901a\u7528\u7684\uff0c\u5728raspberrypi\/firmware\u4e2d\u5206\u522b\u547d\u540d\u4e3aModule.symvers\u548cModules7.symvers\uff0c\u4f46\u653e\u5230\u5185\u6838\u6811\u4e2d\u4f7f\u7528\u65f6\u9700\u8981\u547d\u540d\u4e3aModule.symvers\uff0c\u5982\u679c\u662f\u4f60\u81ea\u5df1\u51c6\u5907\u5185\u6838\u6811\uff0c\u52a1\u5fc5\u8981\u5c0f\u5fc3\uff0c\u6211\u81ea\u5df1\u5728\u8fd9\u4e2a\u95ee\u9898\u4e0a\u72af\u4e86\u9519\u8bef\uff0c\u6d6a\u8d39\u4e86\u5f88\u591a\u65f6\u95f4\u3002\u5f53\u7136\uff0c\u5982\u679c\u7528\u6211\u6539\u8fc7\u7684rpi-source\uff0c\u90a3\u5b83\u5df2\u7ecf\u5e2e\u4f60\u641e\u5b9a\u4e86\u8fd9\u4ef6\u4e8b\u3002<\/p>\n<p>8. \u6211\u7528\u4e86rpi-update\u548crpi-source\u540e\u7f16\u51fa\u6765\u7684\u6a21\u5757\u8fd8\u662f\u65e0\u6cd5\u52a0\u8f7d\u3002<\/p>\n<p>\u76ee\u524d\u6211\u7528\u672c\u6587\u63cf\u8ff0\u7684\u65b9\u6cd5\u7f16\u8bd1\u4e86\u8fc7\u5929\u732b\u9b54\u76d8\uff08<a title=\"\u6811\u8393\u6d3eb+\u4e0a\u4f7f\u7528\u4f7f\u7528RTL8192EU(\u5929\u732b\u9b54\u76d8)\u505a\u65e0\u7ebf\u7f51\u5361\" href=\"http:\/\/bbs.yunos.com\/read\/263281710\" target=\"_blank\">rtl8192eu<\/a>\uff09\u3001360\u968f\u8eabWiFi 2\uff08<a title=\"mt7601 Linux Driver\" href=\"https:\/\/github.com\/porjo\/mt7601\" target=\"_blank\">mt7601u<\/a>\uff09\u8fd9\u4e24\u79cd\u65e0\u7ebf\u7f51\u5361\u7684\u9a71\u52a8\uff0c\u90fd\u5de5\u4f5c\u6b63\u5e38\u3002\u5982\u679c\u4f60\u9047\u5230\u4e86\u522b\u7684\u95ee\u9898\uff0c\u4e0d\u59a8\u5728\u8fd9\u91cc\u7559\u8a00\uff0c\u53ef\u4ee5\u4e00\u8d77\u8ba8\u8bba\u4e00\u4e0b\u3002<\/p>\n<p>\u53e6\u5916\uff0c\u7ec8\u7ea7\u5927\u6cd5\u4e00\u5b9a\u662f\u91cd\u65b0\u5b8c\u6574\u7684\u7f16\u8bd1\u6574\u4e2a\u5185\u6838\uff0c\u4e0d\u8fc7\u5982\u679c\u4f60\u60f3\u5728Raspberry Pi\u4e0a\u5b8c\u6210\u8fd9\u4e2a\u5de5\u4f5c\uff0c\u90a3\u5fc5\u987b\u7b49\u6709\u5145\u5206\u7684\u8010\u5fc3\u3002\u6240\u4ee5\uff0c\u6700\u597d\u662f\u5728PC\u4e0a\u8fdb\u884c\u4ea4\u53c9\u7f16\u8bd1[3]\u3002<\/p>\n<p>[1] <a title=\"rpi-source wiki\" href=\"https:\/\/github.com\/notro\/rpi-source\/wiki\" target=\"_blank\">https:\/\/github.com\/notro\/rpi-source\/wiki<\/a><\/p>\n<p>[2] <a title=\"rpi-firmware\" href=\"https:\/\/github.com\/Hexxeh\/rpi-firmware\/blob\/master\/README.md\" target=\"_blank\">https:\/\/github.com\/Hexxeh\/rpi-firmware\/blob\/master\/README.md<\/a><\/p>\n<p>[3] <a title=\"Kernel Building\" href=\"https:\/\/github.com\/raspberrypi\/documentation\/blob\/master\/linux\/kernel\/building.md\" target=\"_blank\">https:\/\/github.com\/raspberrypi\/documentation\/blob\/master\/linux\/kernel\/building.md<\/a><\/p>\n<p>[4] <a title=\"\u89e3\u6790 Linux \u5185\u6838\u53ef\u88c5\u8f7d\u6a21\u5757\u7684\u7248\u672c\u68c0\u67e5\u673a\u5236\" href=\"http:\/\/www.ibm.com\/developerworks\/cn\/linux\/l-cn-kernelmodules\/\" target=\"_blank\">http:\/\/www.ibm.com\/developerworks\/cn\/linux\/l-cn-kernelmodules\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>2015-04-21\u66f4\u65b0\uff1a\u539f\u59cb\u7684rpi-source\u9879\u76ee\u5df2\u7ecf\u7531PeterOGB\u00a0 &hellip; <a href=\"https:\/\/www.freemindworld.com\/blog\/2015\/150312_complie_kernel_module_for_raspberry_pi_2.shtml\">\u7ee7\u7eed\u9605\u8bfb <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[11],"tags":[62,64,60,58,59,46,57,43,61,63],"class_list":["post-1434","post","type-post","status-publish","format-standard","hentry","category-11","tag-compile","tag-driver","tag-gcc","tag-kernel","tag-module","tag-raspberry-pi","tag-57","tag-43","tag-61","tag-63"],"_links":{"self":[{"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/posts\/1434","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/comments?post=1434"}],"version-history":[{"count":15,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions"}],"predecessor-version":[{"id":1442,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/posts\/1434\/revisions\/1442"}],"wp:attachment":[{"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/media?parent=1434"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/categories?post=1434"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.freemindworld.com\/blog\/wp-json\/wp\/v2\/tags?post=1434"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}