{"id":110782,"date":"2024-12-04T10:36:11","date_gmt":"2024-12-04T02:36:11","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=110782"},"modified":"2024-12-04T10:36:11","modified_gmt":"2024-12-04T02:36:11","slug":"embedded-linux-tools","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/embedded-linux-tools.html","title":{"rendered":"\u6784\u5efa\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u76844\u79cd\u6709\u6548\u5de5\u5177"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e86\u89e3 Yocto\u3001Buildroot\u3001 OpenWRT\uff0c\u548c\u6539\u9020\u8fc7\u7684\u684c\u9762\u53d1\u884c\u7248\u4ee5\u786e\u5b9a\u54ea\u79cd\u65b9\u5f0f\u6700\u9002\u5408\u4f60\u7684\u9879\u76ee\u3002<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

\"\"<\/p>\n

Linux \u88ab\u90e8\u7f72\u5230\u6bd4 Linus Torvalds \u5728\u4ed6\u7684\u5bbf\u820d\u91cc\u5f00\u53d1\u65f6\u6240\u9884\u671f\u7684\u66f4\u5e7f\u6cdb\u7684\u8bbe\u5907\u3002\u4ee4\u4eba\u9707\u60ca\u7684\u652f\u6301\u4e86\u5404\u79cd\u82af\u7247\uff0c\u4f7f\u5f97Linux \u53ef\u4ee5\u5e94\u7528\u4e8e\u5927\u5927\u5c0f\u5c0f\u7684\u8bbe\u5907\u4e0a\uff1a\u4ece IBM \u7684\u5de8\u578b\u673a\u5230\u4e0d\u5982\u5176\u8fde\u63a5\u7684\u7aef\u53e3\u5927\u7684\u5fae\u578b\u8bbe\u5907\uff0c\u4ee5\u53ca\u5404\u79cd\u5927\u5c0f\u7684\u8bbe\u5907\u3002\u5b83\u88ab\u7528\u4e8e\u5927\u578b\u4f01\u4e1a\u6570\u636e\u4e2d\u5fc3\u3001\u4e92\u8054\u7f51\u57fa\u7840\u8bbe\u65bd\u8bbe\u5907\u548c\u4e2a\u4eba\u7684\u5f00\u53d1\u7cfb\u7edf\u3002\u5b83\u8fd8\u4e3a\u6d88\u8d39\u7c7b\u7535\u5b50\u4ea7\u54c1\u3001\u79fb\u52a8\u7535\u8bdd\u548c\u8bb8\u591a\u7269\u8054\u7f51\u8bbe\u5907\u63d0\u4f9b\u4e86\u52a8\u529b\u3002<\/p>\n

\u5728\u4e3a\u684c\u9762\u548c\u4f01\u4e1a\u7ea7\u8bbe\u5907\u6784\u5efa Linux \u8f6f\u4ef6\u65f6\uff0c\u5f00\u53d1\u8005\u901a\u5e38\u5728\u4ed6\u4eec\u7684\u6784\u5efa\u673a\u5668\u4e0a\u4f7f\u7528\u684c\u9762\u53d1\u884c\u7248\uff0c\u5982 Ubuntu \u4ee5\u4fbf\u5c3d\u53ef\u80fd\u4e0e\u88ab\u90e8\u7f72\u7684\u673a\u5668\u76f8\u4f3c\u3002\u5982 VirtualBox \u548c Docker \u8fd9\u6837\u7684\u5de5\u5177\u4f7f\u5f97\u5f00\u53d1\u3001\u6d4b\u8bd5\u548c\u751f\u4ea7\u73af\u5883\u66f4\u597d\u7684\u4fdd\u6301\u4e86\u4e00\u81f4\u3002<\/p>\n

\u4ec0\u4e48\u662f\u5d4c\u5165\u5f0f\u7cfb\u7edf\uff1f<\/strong><\/div>\n

\u7ef4\u57fa\u767e\u79d1\u5c06\u5d4c\u5165\u5f0f\u7cfb\u7edf\u5b9a\u4e49\u4e3a\uff1a\u201c\u5728\u66f4\u5927\u7684\u673a\u68b0\u6216\u7535\u6c14\u7cfb\u7edf\u4e2d\u5177\u6709\u4e13\u7528\u529f\u80fd\u7684\u8ba1\u7b97\u673a\u7cfb\u7edf\uff0c\u5f80\u5f80\u4f34\u968f\u7740\u5b9e\u65f6\u8ba1\u7b97\u9650\u5236\u3002\u201d<\/p>\n

\u6211\u89c9\u5f97\u53ef\u4ee5\u5f88\u7b80\u5355\u5730\u8bf4\uff0c\u5d4c\u5165\u5f0f\u7cfb\u7edf\u662f\u5927\u591a\u6570\u4eba\u4e0d\u8ba4\u4e3a\u662f\u8ba1\u7b97\u673a\u7684\u8ba1\u7b97\u673a\u3002\u5b83\u7684\u4e3b\u8981\u4f5c\u7528\u662f\u4f5c\u4e3a\u67d0\u79cd\u8bbe\u5907\uff0c\u800c\u4e0d\u88ab\u89c6\u4e3a\u901a\u7528\u8ba1\u7b97\u5e73\u53f0\u3002<\/p>\n

\u5d4c\u5165\u5f0f\u7cfb\u7edf\u7f16\u7a0b\u7684\u5f00\u53d1\u73af\u5883\u901a\u5e38\u4e0e\u6d4b\u8bd5\u548c\u751f\u4ea7\u73af\u5883\u5927\u4e0d\u76f8\u540c\u3002\u5b83\u4eec\u53ef\u80fd\u4f1a\u4f7f\u7528\u4e0d\u540c\u7684\u82af\u7247\u67b6\u6784\u3001\u8f6f\u4ef6\u5806\u6808\u751a\u81f3\u64cd\u4f5c\u7cfb\u7edf\u3002\u5f00\u53d1\u5de5\u4f5c\u6d41\u7a0b\u5bf9\u4e8e\u5d4c\u5165\u5f0f\u5f00\u53d1\u4eba\u5458\u4e0e\u684c\u9762\u548c Web \u5f00\u53d1\u4eba\u5458\u6765\u8bf4\u662f\u975e\u5e38\u4e0d\u540c\u7684\u3002\u901a\u5e38\uff0c\u5176\u6784\u5efa\u540e\u7684\u8f93\u51fa\u5c06\u5305\u542b\u76ee\u6807\u8bbe\u5907\u7684\u6574\u4e2a\u8f6f\u4ef6\u6620\u50cf\uff0c\u5305\u62ec\u5185\u6838\u3001\u8bbe\u5907\u9a71\u52a8\u7a0b\u5e8f\u3001\u5e93\u548c\u5e94\u7528\u7a0b\u5e8f\u8f6f\u4ef6\uff08\u6709\u65f6\u4e5f\u5305\u62ec\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff09\u3002<\/p>\n

\u5728\u672c\u6587\u4e2d\uff0c\u6211\u5c06\u5bf9\u6784\u5efa\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u7684\u56db\u79cd\u5e38\u7528\u65b9\u5f0f\u8fdb\u884c\u7eb5\u89c8\u3002\u6211\u5c06\u4ecb\u7ecd\u4e00\u4e0b\u6bcf\u79cd\u4ea7\u54c1\u7684\u5de5\u4f5c\u539f\u7406\uff0c\u5e76\u63d0\u4f9b\u8db3\u591f\u7684\u4fe1\u606f\u6765\u5e2e\u52a9\u8bfb\u8005\u786e\u5b9a\u4f7f\u7528\u54ea\u79cd\u5de5\u5177\u8fdb\u884c\u8bbe\u8ba1\u3002\u6211\u4e0d\u4f1a\u6559\u4f60\u5982\u4f55\u4f7f\u7528\u5b83\u4eec\u4e2d\u7684\u4efb\u4f55\u4e00\u4e2a\uff1b\u4e00\u65e6\u7f29\u5c0f\u4e86\u9009\u62e9\u8303\u56f4\uff0c\u5c31\u6709\u5927\u91cf\u6df1\u5165\u7684\u5728\u7ebf\u5b66\u4e60\u8d44\u6e90\u3002\u6ca1\u6709\u4efb\u4f55\u9009\u62e9\u9002\u7528\u4e8e\u6240\u6709\u60c5\u51b5\uff0c\u6211\u5e0c\u671b\u63d0\u4f9b\u8db3\u591f\u7684\u7ec6\u8282\u6765\u6307\u5bfc\u60a8\u7684\u51b3\u5b9a\u3002<\/p>\n

Yocto<\/strong><\/div>\n

Yocto \u9879\u76ee \u5b9a\u4e49\u4e3a\u201c\u4e00\u4e2a\u5f00\u6e90\u534f\u4f5c\u9879\u76ee\uff0c\u63d0\u4f9b\u6a21\u677f\u3001\u5de5\u5177\u548c\u65b9\u6cd5\uff0c\u5e2e\u52a9\u60a8\u4e3a\u5d4c\u5165\u5f0f\u4ea7\u54c1\u521b\u5efa\u5b9a\u5236\u7684\u57fa\u4e8e Linux \u7684\u7cfb\u7edf\uff0c\u800c\u4e0d\u7ba1\u786c\u4ef6\u67b6\u6784\u5982\u4f55\u3002\u201d\u5b83\u662f\u7528\u4e8e\u521b\u5efa\u5b9a\u5236\u7684 Linux \u8fd0\u884c\u65f6\u6620\u50cf\u7684\u914d\u65b9\u3001\u914d\u7f6e\u503c\u548c\u4f9d\u8d56\u5173\u7cfb\u7684\u96c6\u5408\uff0c\u53ef\u6839\u636e\u60a8\u7684\u7279\u5b9a\u9700\u6c42\u8fdb\u884c\u5b9a\u5236\u3002<\/p>\n

\u5b8c\u5168\u516c\u5f00\uff1a\u6211\u5728\u5d4c\u5165\u5f0f Linux \u4e2d\u7684\u5927\u90e8\u5206\u5de5\u4f5c\u90fd\u96c6\u4e2d\u5728 Yocto \u9879\u76ee\u4e0a\uff0c\u800c\u4e14\u6211\u5bf9\u8fd9\u4e2a\u7cfb\u7edf\u7684\u8ba4\u8bc6\u548c\u504f\u89c1\u53ef\u80fd\u5f88\u660e\u663e\u3002<\/p>\n

Yocto \u4f7f\u7528 Openembedded \u4f5c\u4e3a\u5176\u6784\u5efa\u7cfb\u7edf\u3002\u4ece\u6280\u672f\u4e0a\u8bb2\uff0c\u8fd9\u4e24\u4e2a\u662f\u72ec\u7acb\u7684\u9879\u76ee\uff1b\u7136\u800c\uff0c\u5728\u5b9e\u8df5\u4e2d\uff0c\u7528\u6237\u4e0d\u9700\u8981\u4e86\u89e3\u533a\u522b\uff0c\u9879\u76ee\u540d\u79f0\u7ecf\u5e38\u53ef\u4ee5\u4e92\u6362\u4f7f\u7528\u3002<\/p>\n

Yocto \u9879\u76ee\u7684\u8f93\u51fa\u5927\u81f4\u7531\u4e09\u90e8\u5206\u7ec4\u6210\uff1a<\/p>\n

\u76ee\u6807\u8fd0\u884c\u65f6\u4e8c\u8fdb\u5236\u6587\u4ef6\uff1a\u8fd9\u4e9b\u5305\u62ec\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u3001\u5185\u6838\u3001\u5185\u6838\u6a21\u5757\u3001\u6839\u6587\u4ef6\u7cfb\u7edf\u6620\u50cf\u3002\u4ee5\u53ca\u5c06 Linux \u90e8\u7f72\u5230\u76ee\u6807\u5e73\u53f0\u6240\u9700\u7684\u4efb\u4f55\u5176\u4ed6\u8f85\u52a9\u6587\u4ef6\u3002
\n\u5305\u6d41\uff1a\u8fd9\u662f\u53ef\u4ee5\u5b89\u88c5\u5728\u76ee\u6807\u4e0a\u7684\u8f6f\u4ef6\u5305\u96c6\u5408\u3002\u60a8\u53ef\u4ee5\u6839\u636e\u9700\u8981\u9009\u62e9\u8f6f\u4ef6\u5305\u683c\u5f0f\uff08\u4f8b\u5982\uff0cdeb\u3001rpm\u3001ipk\uff09\u3002\u5176\u4e2d\u4e00\u4e9b\u53ef\u80fd\u9884\u5148\u5b89\u88c5\u5728\u76ee\u6807\u8fd0\u884c\u65f6\u4e8c\u8fdb\u5236\u6587\u4ef6\u4e2d\uff0c\u4f46\u53ef\u4ee5\u6784\u5efa\u7528\u4e8e\u5b89\u88c5\u5230\u5df2\u90e8\u7f72\u7cfb\u7edf\u7684\u8f6f\u4ef6\u5305\u3002
\n\u76ee\u6807 SDK\uff1a\u8fd9\u4e9b\u662f\u5b89\u88c5\u5728\u76ee\u6807\u5e73\u53f0\u4e0a\u7684\u8f6f\u4ef6\u7684\u5e93\u548c\u5934\u6587\u4ef6\u7684\u96c6\u5408\u3002\u5e94\u7528\u7a0b\u5e8f\u5f00\u53d1\u4eba\u5458\u5728\u6784\u5efa\u4ee3\u7801\u65f6\u4f7f\u7528\u5b83\u4eec\uff0c\u4ee5\u786e\u4fdd\u5b83\u4eec\u4e0e\u9002\u5f53\u7684\u5e93\u94fe\u63a5<\/p>\n

\u4f18\u70b9<\/strong><\/span><\/div>\n

Yocto \u9879\u76ee\u5728\u884c\u4e1a\u4e2d\u5f97\u5230\u5e7f\u6cdb\u5e94\u7528\uff0c\u5e76\u5f97\u5230\u8bb8\u591a\u6709\u5f71\u54cd\u529b\u7684\u516c\u53f8\u7684\u652f\u6301\u3002\u6b64\u5916\uff0c\u5b83\u8fd8\u62e5\u6709\u4e00\u4e2a\u5e9e\u5927\u4e14\u5145\u6ee1\u6d3b\u529b\u7684\u5f00\u53d1\u4eba\u5458\u793e\u533a\u548c\u751f\u6001\u7cfb\u7edf\u3002\u5f00\u6e90\u7231\u597d\u8005\u548c\u4f01\u4e1a\u8d5e\u52a9\u5546\u7684\u7ed3\u5408\u7684\u65b9\u5f0f\u6709\u52a9\u4e8e\u63a8\u52a8 Yocto \u9879\u76ee\u3002<\/p>\n

\u83b7\u5f97 Yocto \u7684\u652f\u6301\u6709\u5f88\u591a\u9009\u62e9\u3002\u5982\u679c\u60a8\u60f3\u81ea\u5df1\u52a8\u624b\uff0c\u6709\u4e66\u7c4d\u548c\u5176\u4ed6\u57f9\u8bad\u6750\u6599\u3002\u5982\u679c\u60a8\u60f3\u83b7\u5f97\u4e13\u4e1a\u77e5\u8bc6\uff0c\u6709\u8bb8\u591a\u6709 Yocto \u7ecf\u9a8c\u7684\u5de5\u7a0b\u5e08\u3002\u800c\u4e14\u8bb8\u591a\u5546\u4e1a\u7ec4\u7ec7\u53ef\u4ee5\u4e3a\u60a8\u7684\u8bbe\u8ba1\u63d0\u4f9b\u57fa\u4e8e Yocto \u7684 Turnkey \u4ea7\u54c1\u6216\u57fa\u4e8e\u670d\u52a1\u7684\u5b9e\u65bd\u548c\u5b9a\u5236\u3002<\/p>\n

Yocto \u9879\u76ee\u5f88\u5bb9\u6613\u901a\u8fc7 \u5c42 \u8fdb\u884c\u6269\u5c55\uff0c\u5c42\u53ef\u4ee5\u72ec\u7acb\u53d1\u5e03\u4ee5\u6dfb\u52a0\u989d\u5916\u7684\u529f\u80fd\uff0c\u6216\u9488\u5bf9\u9879\u76ee\u53d1\u5e03\u65f6\u5c1a\u4e0d\u53ef\u7528\u7684\u5e73\u53f0\uff0c\u6216\u7528\u4e8e\u4fdd\u5b58\u7cfb\u7edf\u7279\u6709\u5b9a\u5236\u529f\u80fd\u3002\u5c42\u53ef\u4ee5\u6dfb\u52a0\u5230\u4f60\u7684\u914d\u7f6e\u4e2d\uff0c\u4ee5\u6dfb\u52a0\u672a\u7279\u522b\u5305\u542b\u5728\u5e02\u9762\u4e0a\u7248\u672c\u4e2d\u7684\u72ec\u7279\u529f\u80fd\uff1b\u4f8b\u5982\uff0c\u201cmeta-browser\u201d \u5c42\u5305\u542b Web \u6d4f\u89c8\u5668\u7684\u6e05\u5355\uff0c\u53ef\u4ee5\u8f7b\u677e\u4e3a\u60a8\u7684\u7cfb\u7edf\u8fdb\u884c\u6784\u5efa\u3002\u56e0\u4e3a\u5b83\u4eec\u662f\u72ec\u7acb\u7ef4\u62a4\u7684\uff0c\u6240\u4ee5\u5c42\u53ef\u4ee5\u6309\u4e0d\u540c\u7684\u65f6\u95f4\u53d1\u5e03\uff08\u6839\u636e\u5c42\u7684\u5f00\u53d1\u901f\u5ea6\uff09\uff0c\u800c\u4e0d\u662f\u8ddf\u7740\u6807\u51c6\u7684 Yocto \u7248\u672c\u53d1\u5e03\u3002<\/p>\n

Yocto \u53ef\u4ee5\u8bf4\u662f\u672c\u6587\u8ba8\u8bba\u7684\u4efb\u4f55\u65b9\u5f0f\u4e2d\u6700\u5e7f\u6cdb\u7684\u8bbe\u5907\u652f\u6301\u3002\u7531\u4e8e\u8bb8\u591a\u534a\u5bfc\u4f53\u548c\u7535\u8def\u677f\u5236\u9020\u5546\u7684\u652f\u6301\uff0cYocto \u5f88\u53ef\u80fd\u80fd\u591f\u652f\u6301\u60a8\u9009\u62e9\u7684\u4efb\u4f55\u76ee\u6807\u5e73\u53f0\u3002\u4e3b\u7248\u672c Yocto \u5206\u652f\u4ec5\u652f\u6301\u5c11\u6570\u51e0\u5757\u4e3b\u677f\uff08\u4ee5\u4fbf\u8fbe\u6210\u5408\u7406\u7684\u6d4b\u8bd5\u548c\u53d1\u5e03\u5468\u671f\uff09\uff0c\u4f46\u662f\uff0c\u6807\u51c6\u5de5\u4f5c\u6a21\u5f0f\u662f\u4f7f\u7528\u5916\u90e8\u4e3b\u677f\u652f\u6301\u5c42\u3002<\/p>\n

\u6700\u540e\uff0cYocto \u975e\u5e38\u7075\u6d3b\u548c\u53ef\u5b9a\u5236\u3002\u60a8\u7684\u7279\u5b9a\u5e94\u7528\u7a0b\u5e8f\u7684\u81ea\u5b9a\u4e49\u53ef\u4ee5\u5b58\u50a8\u5728\u4e00\u4e2a\u5c42\u8fdb\u884c\u5c01\u88c5\u548c\u9694\u79bb\uff0c\u901a\u5e38\u5c06\u8981\u7d20\u5c42\u7279\u6709\u7684\u81ea\u5b9a\u4e49\u9879\u5b58\u50a8\u4e3a\u5c42\u672c\u8eab\u7684\u4e00\u90e8\u5206\uff0c\u8fd9\u53ef\u4ee5\u5c06\u76f8\u540c\u7684\u8bbe\u7f6e\u540c\u65f6\u5e94\u7528\u4e8e\u591a\u4e2a\u7cfb\u7edf\u914d\u7f6e\u3002Yocto \u8fd8\u63d0\u4f9b\u4e86\u4e00\u4e2a\u5b9a\u4e49\u826f\u597d\u7684\u5c42\u4f18\u5148\u548c\u8986\u76d6\u529f\u80fd\u3002\u8fd9\u4f7f\u60a8\u53ef\u4ee5\u5b9a\u4e49\u5c42\u5e94\u7528\u548c\u641c\u7d22\u5143\u6570\u636e\u7684\u987a\u5e8f\u3002\u5b83\u8fd8\u4f7f\u60a8\u53ef\u4ee5\u8986\u76d6\u5177\u6709\u66f4\u9ad8\u4f18\u5148\u7ea7\u7684\u5c42\u7684\u8bbe\u7f6e\uff1b\u4f8b\u5982\uff0c\u73b0\u6709\u6e05\u5355\u7684\u8bb8\u591a\u81ea\u5b9a\u4e49\u529f\u80fd\u90fd\u5c06\u4fdd\u7559\u3002<\/p>\n

\u7f3a\u70b9<\/strong><\/span><\/div>\n

Yocto \u9879\u76ee\u6700\u5927\u7684\u7f3a\u70b9\u662f\u5b66\u4e60\u66f2\u7ebf\u9661\u5ced\u3002\u5b66\u4e60\u8be5\u7cfb\u7edf\u5e76\u771f\u6b63\u7406\u89e3\u7cfb\u7edf\u9700\u8981\u82b1\u8d39\u5927\u91cf\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002 \u6839\u636e\u60a8\u7684\u9700\u6c42\uff0c\u8fd9\u53ef\u80fd\u5bf9\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u4e0d\u91cd\u8981\u7684\u6280\u672f\u548c\u80fd\u529b\u6295\u5165\u592a\u5927\u3002 \u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u4e0e\u4e00\u5bb6\u5546\u4e1a\u4f9b\u5e94\u5546\u5408\u4f5c\u53ef\u80fd\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002<\/p>\n

Yocto \u9879\u76ee\u7684\u5f00\u53d1\u65f6\u95f4\u548c\u8d44\u6e90\u76f8\u5f53\u9ad8\u3002 \u9700\u8981\u6784\u5efa\u7684\u5305\uff08\u5305\u62ec\u5de5\u5177\u94fe\uff0c\u5185\u6838\u548c\u6240\u6709\u76ee\u6807\u8fd0\u884c\u65f6\u7ec4\u4ef6\uff09\u7684\u6570\u91cf\u76f8\u5f53\u4e0d\u5c11\u3002 Yocto \u5f00\u53d1\u4eba\u5458\u7684\u5f00\u53d1\u5de5\u4f5c\u7ad9\u5f80\u5f80\u662f\u5927\u578b\u7cfb\u7edf\u3002 \u4e0d\u5efa\u8bae\u4f7f\u7528\u5c0f\u578b\u7b14\u8bb0\u672c\u7535\u8111\u3002 \u8fd9\u53ef\u4ee5\u901a\u8fc7\u4f7f\u7528\u8bb8\u591a\u63d0\u4f9b\u5546\u63d0\u4f9b\u7684\u57fa\u4e8e\u4e91\u7684\u6784\u5efa\u670d\u52a1\u5668\u6765\u7f13\u89e3\u3002 \u53e6\u5916\uff0cYocto \u6709\u4e00\u4e2a\u5185\u7f6e\u7684\u7f13\u5b58\u673a\u5236\uff0c\u5f53\u5b83\u786e\u5b9a\u7528\u4e8e\u6784\u5efa\u7279\u5b9a\u5305\u7684\u53c2\u6570\u6ca1\u6709\u6539\u53d8\u65f6\uff0c\u5b83\u5141\u8bb8\u5b83\u91cd\u65b0\u4f7f\u7528\u5148\u524d\u6784\u5efa\u7684\u7ec4\u4ef6\u3002<\/p>\n

\u5efa\u8bae<\/strong><\/span><\/div>\n

\u4e3a\u60a8\u7684\u4e0b\u4e00\u4e2a\u5d4c\u5165\u5f0f Linux \u8bbe\u8ba1\u4f7f\u7528 Yocto \u9879\u76ee\u662f\u4e00\u4e2a\u5f3a\u6709\u529b\u7684\u9009\u62e9\u3002 \u5728\u8fd9\u91cc\u4ecb\u7ecd\u7684\u9009\u9879\u4e2d\uff0c\u65e0\u8bba\u60a8\u7684\u76ee\u6807\u7528\u4f8b\u5982\u4f55\uff0c\u5b83\u90fd\u662f\u6700\u5e7f\u6cdb\u9002\u7528\u7684\u3002 \u5e7f\u6cdb\u7684\u884c\u4e1a\u652f\u6301\uff0c\u79ef\u6781\u7684\u793e\u533a\u548c\u5e7f\u6cdb\u7684\u5e73\u53f0\u652f\u6301\u4f7f\u5176\u6210\u4e3a\u5fc5\u987b\u8bbe\u8ba1\u5e08\u7684\u4e0d\u9519\u9009\u62e9\u3002<\/p>\n

Buildroot<\/strong><\/div>\n

Buildroot \u9879\u76ee\u5b9a\u4e49\u4e3a\u201c\u901a\u8fc7\u4ea4\u53c9\u7f16\u8bd1\u751f\u6210\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u7684\u7b80\u5355\u3001\u9ad8\u6548\u4e14\u6613\u4e8e\u4f7f\u7528\u7684\u5de5\u5177\u3002\u201d\u5b83\u4e0e Yocto \u9879\u76ee\u5177\u6709\u8bb8\u591a\u76f8\u540c\u7684\u76ee\u6807\uff0c\u4f46\u5b83\u6ce8\u91cd\u7b80\u5355\u6027\u548c\u7b80\u7ea6\u6027\u3002\u4e00\u822c\u6765\u8bf4\uff0cBuildroot \u4f1a\u7981\u7528\u6240\u6709\u8f6f\u4ef6\u5305\u7684\u6240\u6709\u53ef\u9009\u7f16\u8bd1\u65f6\u8bbe\u7f6e\uff08\u6709\u4e00\u4e9b\u503c\u5f97\u6ce8\u610f\u7684\u4f8b\u5916\uff09\uff0c\u4ece\u800c\u751f\u6210\u5c3d\u53ef\u80fd\u5c0f\u7684\u7cfb\u7edf\u3002\u7cfb\u7edf\u8bbe\u8ba1\u4eba\u5458\u9700\u8981\u542f\u7528\u9002\u7528\u4e8e\u7ed9\u5b9a\u8bbe\u5907\u7684\u8bbe\u7f6e\u3002<\/p>\n

Buildroot \u4ece\u6e90\u4ee3\u7801\u6784\u5efa\u6240\u6709\u7ec4\u4ef6\uff0c\u4f46\u4e0d\u652f\u6301\u6309\u76ee\u6807\u5305\u7ba1\u7406\u3002\u56e0\u6b64\uff0c\u5b83\u6709\u65f6\u79f0\u4e3a\u56fa\u4ef6\u751f\u6210\u5668\uff0c\u56e0\u4e3a\u955c\u50cf\u5728\u6784\u5efa\u65f6\u5927\u90e8\u5206\u662f\u56fa\u5b9a\u7684\u3002\u5e94\u7528\u7a0b\u5e8f\u53ef\u4ee5\u66f4\u65b0\u76ee\u6807\u6587\u4ef6\u7cfb\u7edf\uff0c\u4f46\u662f\u6ca1\u6709\u673a\u5236\u5c06\u65b0\u8f6f\u4ef6\u5305\u5b89\u88c5\u5230\u6b63\u5728\u8fd0\u884c\u7684\u7cfb\u7edf\u4e2d\u3002<\/p>\n

Buildroot \u8f93\u51fa\u4e3b\u8981\u7531\u4e09\u90e8\u5206\u7ec4\u6210\uff1a<\/p>\n

\u5c06 Linux \u90e8\u7f72\u5230\u76ee\u6807\u5e73\u53f0\u6240\u9700\u7684\u6839\u6587\u4ef6\u7cfb\u7edf\u6620\u50cf\u548c\u4efb\u4f55\u5176\u4ed6\u8f85\u52a9\u6587\u4ef6
\n\u9002\u7528\u4e8e\u76ee\u6807\u786c\u4ef6\u7684\u5185\u6838\uff0c\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u548c\u5185\u6838\u6a21\u5757
\n\u7528\u4e8e\u6784\u5efa\u6240\u6709\u76ee\u6807\u4e8c\u8fdb\u5236\u6587\u4ef6\u7684\u5de5\u5177\u94fe\u3002<\/p>\n

\u4f18\u70b9<\/strong><\/span><\/div>\n

Buildroot \u5bf9\u7b80\u5355\u6027\u7684\u5173\u6ce8\u610f\u5473\u7740\uff0c\u4e00\u822c\u6765\u8bf4\uff0c\u5b83\u6bd4 Yocto \u66f4\u5bb9\u6613\u5b66\u4e60\u3002\u6838\u5fc3\u6784\u5efa\u7cfb\u7edf\u7528 Make \u7f16\u5199\uff0c\u5e76\u4e14\u8db3\u591f\u77ed\u4ee5\u4fbf\u5f00\u53d1\u4eba\u5458\u4e86\u89e3\u6574\u4e2a\u7cfb\u7edf\uff0c\u540c\u65f6\u53ef\u6269\u5c55\u5230\u8db3\u4ee5\u6ee1\u8db3\u5d4c\u5165\u5f0f Linux \u5f00\u53d1\u4eba\u5458\u7684\u9700\u6c42\u3002 Buildroot \u6838\u5fc3\u901a\u5e38\u53ea\u5904\u7406\u5e38\u89c1\u7528\u4f8b\uff0c\u4f46\u5b83\u53ef\u4ee5\u901a\u8fc7\u811a\u672c\u8fdb\u884c\u6269\u5c55\u3002<\/p>\n

Buildroot \u7cfb\u7edf\u4f7f\u7528\u666e\u901a\u7684 Makefile \u548c Kconfig \u8bed\u8a00\u6765\u8fdb\u884c\u914d\u7f6e\u3002 Kconfig \u7531 Linux \u5185\u6838\u793e\u533a\u5f00\u53d1\uff0c\u5e7f\u6cdb\u7528\u4e8e\u5f00\u6e90\u9879\u76ee\uff0c\u4f7f\u5f97\u8bb8\u591a\u5f00\u53d1\u4eba\u5458\u90fd\u719f\u6089\u5b83\u3002<\/p>\n

\u7531\u4e8e\u7981\u7528\u6240\u6709\u53ef\u9009\u7684\u6784\u5efa\u65f6\u8bbe\u7f6e\u7684\u8bbe\u8ba1\u76ee\u6807\uff0cBuildroot \u901a\u5e38\u4f1a\u4f7f\u7528\u5f00\u7bb1\u5373\u7528\u7684\u914d\u7f6e\u751f\u6210\u5c3d\u53ef\u80fd\u6700\u5c0f\u7684\u955c\u50cf\u3002\u4e00\u822c\u6765\u8bf4\uff0c\u6784\u5efa\u65f6\u95f4\u548c\u6784\u5efa\u4e3b\u673a\u8d44\u6e90\u7684\u89c4\u6a21\u5c06\u6bd4 Yocto \u9879\u76ee\u7684\u89c4\u6a21\u66f4\u5c0f\u3002<\/p>\n

\u7f3a\u70b9<\/strong><\/span><\/div>\n

\u5173\u6ce8\u7b80\u5355\u6027\u548c\u6700\u5c0f\u5316\u542f\u7528\u7684\u6784\u5efa\u65b9\u5f0f\u610f\u5473\u7740\u60a8\u53ef\u80fd\u9700\u8981\u6267\u884c\u5927\u91cf\u7684\u81ea\u5b9a\u4e49\u6765\u4e3a\u5e94\u7528\u7a0b\u5e8f\u914d\u7f6e Buildroot \u6784\u5efa\u3002\u6b64\u5916\uff0c\u6240\u6709\u914d\u7f6e\u9009\u9879\u90fd\u5b58\u50a8\u5728\u5355\u4e2a\u6587\u4ef6\u4e2d\uff0c\u8fd9\u610f\u5473\u7740\u5982\u679c\u60a8\u6709\u591a\u4e2a\u786c\u4ef6\u5e73\u53f0\uff0c\u5219\u9700\u8981\u4e3a\u6bcf\u4e2a\u5e73\u53f0\u8fdb\u884c\u6bcf\u4e2a\u5b9a\u5236\u66f4\u6539\u3002<\/p>\n

\u5bf9\u7cfb\u7edf\u914d\u7f6e\u6587\u4ef6\u7684\u4efb\u4f55\u66f4\u6539\u90fd\u9700\u8981\u5168\u90e8\u91cd\u65b0\u6784\u5efa\u6240\u6709\u8f6f\u4ef6\u5305\u3002\u4e0e Yocto \u76f8\u6bd4\uff0c\u8fd9\u4e2a\u95ee\u9898\u901a\u8fc7\u6700\u5c0f\u7684\u955c\u50cf\u5927\u5c0f\u548c\u6784\u5efa\u65f6\u95f4\u5f97\u5230\u4e86\u4e00\u5b9a\u7684\u89e3\u51b3\uff0c\u4f46\u5728\u4f60\u8c03\u6574\u914d\u7f6e\u65f6\u53ef\u80fd\u4f1a\u5bfc\u81f4\u6784\u5efa\u65f6\u95f4\u8fc7\u957f\u3002<\/p>\n

\u4e2d\u95f4\u8f6f\u4ef6\u5305\u72b6\u6001\u7f13\u5b58\u9ed8\u8ba4\u60c5\u51b5\u4e0b\u672a\u542f\u7528\uff0c\u5e76\u4e14\u4e0d\u50cf Yocto \u5b9e\u65bd\u90a3\u4e48\u5f7b\u5e95\u3002\u8fd9\u610f\u5473\u7740\uff0c\u867d\u7136\u7b2c\u4e00\u6b21\u6784\u5efa\u53ef\u80fd\u6bd4\u7b49\u6548\u7684 Yocto \u6784\u5efa\u77ed\uff0c\u4f46\u540e\u7eed\u6784\u5efa\u53ef\u80fd\u9700\u8981\u91cd\u5efa\u8bb8\u591a\u7ec4\u4ef6\u3002<\/p>\n

\u5efa\u8bae<\/strong><\/span><\/div>\n

\u5bf9\u4e8e\u5927\u591a\u6570\u5e94\u7528\u7a0b\u5e8f\uff0c\u4f7f\u7528 Buildroot \u8fdb\u884c\u4e0b\u4e00\u4e2a\u5d4c\u5165\u5f0f Linux \u8bbe\u8ba1\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u5982\u679c\u60a8\u7684\u8bbe\u8ba1\u9700\u8981\u591a\u79cd\u786c\u4ef6\u7c7b\u578b\u6216\u5176\u4ed6\u5dee\u5f02\uff0c\u4f46\u7531\u4e8e\u540c\u6b65\u591a\u4e2a\u914d\u7f6e\u7684\u590d\u6742\u6027\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u91cd\u65b0\u8003\u8651\uff0c\u4f46\u5bf9\u4e8e\u7531\u5355\u4e00\u8bbe\u7f6e\u7ec4\u6210\u7684\u7cfb\u7edf\uff0cBuildroot \u53ef\u80fd\u9002\u5408\u60a8\u3002<\/p>\n

OpenWRT\/LEDE<\/strong><\/div>\n

OpenWRT \u9879\u76ee\u5f00\u59cb\u4e3a\u6d88\u8d39\u7c7b\u8def\u7531\u5668\u5f00\u53d1\u5b9a\u5236\u56fa\u4ef6\u3002\u60a8\u5f53\u5730\u96f6\u552e\u5546\u63d0\u4f9b\u7684\u8bb8\u591a\u4f4e\u6210\u672c\u8def\u7531\u5668\u90fd\u53ef\u4ee5\u8fd0\u884c Linux \u7cfb\u7edf\uff0c\u4f46\u53ef\u80fd\u65e0\u6cd5\u5f00\u7bb1\u5373\u7528\u3002\u8fd9\u4e9b\u8def\u7531\u5668\u7684\u5236\u9020\u5546\u53ef\u80fd\u65e0\u6cd5\u63d0\u4f9b\u9891\u7e41\u7684\u66f4\u65b0\u6765\u89e3\u51b3\u65b0\u7684\u5a01\u80c1\uff0c\u5373\u4f7f\u4ed6\u4eec\u8fd9\u6837\u505a\uff0c\u5b89\u88c5\u66f4\u65b0\u955c\u50cf\u7684\u673a\u5236\u4e5f\u5f88\u56f0\u96be\u4e14\u5bb9\u6613\u51fa\u9519\u3002 OpenWRT \u9879\u76ee\u4e3a\u8bb8\u591a\u5df2\u88ab\u5176\u5236\u9020\u5546\u653e\u5f03\u7684\u8bbe\u5907\u751f\u6210\u66f4\u65b0\u7684\u56fa\u4ef6\u955c\u50cf\uff0c\u8ba9\u8fd9\u4e9b\u8bbe\u5907\u7115\u53d1\u65b0\u751f\u3002<\/p>\n

OpenWRT \u9879\u76ee\u7684\u4e3b\u8981\u4ea4\u4ed8\u7269\u662f\u53ef\u7528\u4e8e\u5927\u91cf\u5546\u4e1a\u8bbe\u5907\u7684\u4e8c\u8fdb\u5236\u955c\u50cf\u3002\u5b83\u6709\u7f51\u7edc\u53ef\u8bbf\u95ee\u7684\u8f6f\u4ef6\u5305\u5b58\u50a8\u5e93\uff0c\u5141\u8bb8\u8bbe\u5907\u6700\u7ec8\u7528\u6237\u5c06\u65b0\u8f6f\u4ef6\u6dfb\u52a0\u5230\u4ed6\u4eec\u7684\u7cfb\u7edf\u4e2d\u3002 OpenWRT \u6784\u5efa\u7cfb\u7edf\u662f\u4e00\u4e2a\u901a\u7528\u6784\u5efa\u7cfb\u7edf\uff0c\u5b83\u5141\u8bb8\u5f00\u53d1\u4eba\u5458\u521b\u5efa\u81ea\u5b9a\u4e49\u7248\u672c\u4ee5\u6ee1\u8db3\u4ed6\u4eec\u81ea\u5df1\u7684\u9700\u6c42\u5e76\u6dfb\u52a0\u65b0\u8f6f\u4ef6\u5305\uff0c\u4f46\u5176\u4e3b\u8981\u91cd\u70b9\u662f\u76ee\u6807\u4e8c\u8fdb\u5236\u6587\u4ef6\u3002<\/p>\n

\u4f18\u70b9<\/strong><\/span><\/div>\n

\u5982\u679c\u60a8\u6b63\u5728\u4e3a\u5546\u4e1a\u8bbe\u5907\u5bfb\u627e\u66ff\u4ee3\u56fa\u4ef6\uff0c\u5219 OpenWRT \u5e94\u4f4d\u4e8e\u60a8\u7684\u9009\u9879\u5217\u8868\u4e2d\u3002\u5b83\u7684\u7ef4\u62a4\u826f\u597d\uff0c\u53ef\u4ee5\u4fdd\u62a4\u60a8\u514d\u53d7\u5236\u9020\u5546\u56fa\u4ef6\u65e0\u6cd5\u89e3\u51b3\u7684\u95ee\u9898\u3002\u60a8\u4e5f\u53ef\u4ee5\u6dfb\u52a0\u989d\u5916\u7684\u529f\u80fd\uff0c\u4f7f\u60a8\u7684\u8bbe\u5907\u66f4\u6709\u7528\u3002<\/p>\n

\u5982\u679c\u60a8\u7684\u5d4c\u5165\u5f0f\u8bbe\u8ba1\u4e13\u6ce8\u4e8e\u7f51\u7edc\uff0c\u5219 OpenWRT \u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\u3002\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u662f OpenWRT \u7684\u4e3b\u8981\u7528\u4f8b\uff0c\u60a8\u53ef\u80fd\u4f1a\u53d1\u73b0\u8bb8\u591a\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\u3002<\/p>\n

\u7f3a\u70b9<\/strong><\/span><\/div>\n

OpenWRT \u5bf9\u60a8\u7684\u8bbe\u8ba1\u9650\u5236\u5f88\u591a\uff08\u4e0e Yocto \u548c Buildroot \u76f8\u6bd4\uff09\u3002\u5982\u679c\u8fd9\u4e9b\u51b3\u5b9a\u4e0d\u7b26\u5408\u60a8\u7684\u8bbe\u8ba1\u76ee\u6807\uff0c\u5219\u53ef\u80fd\u9700\u8981\u8fdb\u884c\u5927\u91cf\u7684\u4fee\u6539\u3002<\/p>\n

\u5728\u90e8\u7f72\u7684\u8bbe\u5907\u4e2d\u5141\u8bb8\u57fa\u4e8e\u8f6f\u4ef6\u5305\u7684\u66f4\u65b0\u662f\u5f88\u96be\u7ba1\u7406\u7684\u3002\u6309\u7167\u5176\u5b9a\u4e49\uff0c\u8fd9\u4f1a\u5bfc\u81f4\u4e0e\u60a8\u7684 QA \u56e2\u961f\u6d4b\u8bd5\u7684\u8f6f\u4ef6\u8d1f\u8f7d\u4e0d\u540c\u3002\u6b64\u5916\uff0c\u5f88\u96be\u4fdd\u8bc1\u5927\u591a\u6570\u8f6f\u4ef6\u5305\u7ba1\u7406\u5668\u7684\u539f\u5b50\u5b89\u88c5\uff0c\u4ee5\u53ca\u9519\u8bef\u7684\u7535\u6e90\u5faa\u73af\u53ef\u80fd\u4f1a\u4f7f\u60a8\u7684\u8bbe\u5907\u5904\u4e8e\u4e0d\u53ef\u9884\u77e5\u7684\u72b6\u6001\u3002<\/p>\n

\u5efa\u8bae<\/strong><\/span><\/div>\n

OpenWRT \u662f\u7231\u597d\u8005\u9879\u76ee\u6216\u5546\u7528\u786c\u4ef6\u518d\u5229\u7528\u7684\u4e0d\u9519\u9009\u62e9\u3002\u5b83\u4e5f\u662f\u7f51\u7edc\u5e94\u7528\u7a0b\u5e8f\u7684\u4e0d\u9519\u9009\u62e9\u3002\u5982\u679c\u60a8\u9700\u8981\u4ece\u9ed8\u8ba4\u8bbe\u7f6e\u8fdb\u884c\u5927\u91cf\u5b9a\u5236\uff0c\u60a8\u53ef\u80fd\u66f4\u559c\u6b22 Buildroot \u6216 Yocto\u3002<\/p>\n

\u684c\u9762\u53d1\u884c\u7248<\/strong><\/div>\n

\u8bbe\u8ba1\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u7684\u4e00\u79cd\u5e38\u89c1\u65b9\u6cd5\u662f\u4ece\u684c\u9762\u53d1\u884c\u7248\u5f00\u59cb\uff0c\u4f8b\u5982 Debian \u6216 Red Hat\uff0c\u5e76\u5220\u9664\u4e0d\u9700\u8981\u7684\u7ec4\u4ef6\uff0c\u76f4\u5230\u5b89\u88c5\u7684\u955c\u50cf\u7b26\u5408\u76ee\u6807\u8bbe\u5907\u7684\u5360\u7528\u7a7a\u95f4\u3002\u8fd9\u662f Raspberry Pi \u5e73\u53f0\u6d41\u884c\u7684 Raspbian\u53d1\u884c\u7248\u7684\u65b9\u6cd5\u3002<\/p>\n

\u4f18\u70b9<\/strong><\/span><\/div>\n

\u8fd9\u79cd\u65b9\u6cd5\u7684\u4e3b\u8981\u4f18\u70b9\u662f\u719f\u6089\u3002\u901a\u5e38\uff0c\u5d4c\u5165\u5f0f Linux \u5f00\u53d1\u4eba\u5458\u4e5f\u662f\u684c\u9762 Linux \u7528\u6237\uff0c\u5e76\u4e14\u7cbe\u901a\u4ed6\u4eec\u7684\u9009\u62e9\u53d1\u884c\u7248\u3002\u5728\u76ee\u6807\u4e0a\u4f7f\u7528\u7c7b\u4f3c\u7684\u73af\u5883\u53ef\u80fd\u4f1a\u8ba9\u5f00\u53d1\u4eba\u5458\u66f4\u5feb\u5730\u5165\u95e8\u3002\u6839\u636e\u6240\u9009\u7684\u5206\u5e03\uff0c\u53ef\u4ee5\u4f7f\u7528 apt \u548c yum \u7b49\u6807\u51c6\u5c01\u88c5\u5de5\u5177\u5b89\u88c5\u8bb8\u591a\u5176\u4ed6\u5de5\u5177\u3002<\/p>\n

\u53ef\u4ee5\u5c06\u663e\u793a\u5668\u548c\u952e\u76d8\u8fde\u63a5\u5230\u76ee\u6807\u8bbe\u5907\uff0c\u5e76\u76f4\u63a5\u5728\u90a3\u91cc\u8fdb\u884c\u6240\u6709\u7684\u5f00\u53d1\u3002\u5bf9\u4e8e\u4e0d\u719f\u6089\u5d4c\u5165\u5f0f\u7a7a\u95f4\u7684\u5f00\u53d1\u4eba\u5458\u6765\u8bf4\uff0c\u8fd9\u53ef\u80fd\u662f\u4e00\u4e2a\u66f4\u4e3a\u719f\u6089\u7684\u73af\u5883\uff0c\u65e0\u9700\u914d\u7f6e\u548c\u4f7f\u7528\u68d8\u624b\u7684\u8de8\u5f00\u53d1\u5e73\u53f0\u8bbe\u7f6e\u3002<\/p>\n

\u5927\u591a\u6570\u684c\u9762\u53d1\u884c\u7248\u53ef\u7528\u7684\u8f6f\u4ef6\u5305\u6570\u91cf\u901a\u5e38\u5927\u4e8e\u524d\u9762\u8ba8\u8bba\u7684\u5d4c\u5165\u5f0f\u7279\u5b9a\u7684\u6784\u5efa\u5668\u53ef\u7528\u8f6f\u4ef6\u5305\u6570\u91cf\u3002\u7531\u4e8e\u8f83\u5927\u7684\u7528\u6237\u7fa4\u548c\u66f4\u5e7f\u6cdb\u7684\u7528\u4f8b\uff0c\u60a8\u53ef\u80fd\u80fd\u591f\u627e\u5230\u60a8\u7684\u5e94\u7528\u7a0b\u5e8f\u6240\u9700\u7684\u6240\u6709\u8fd0\u884c\u65f6\u5305\uff0c\u8fd9\u4e9b\u5305\u5df2\u7ecf\u6784\u5efa\u5e76\u53ef\u4f9b\u4f7f\u7528\u3002<\/p>\n

\u7f3a\u70b9<\/strong><\/span><\/div>\n

\u5c06\u76ee\u6807\u5e73\u53f0\u4f5c\u4e3a\u60a8\u7684\u4e3b\u8981\u5f00\u53d1\u73af\u5883\u53ef\u80fd\u4f1a\u5f88\u6162\u3002\u8fd0\u884c\u7f16\u8bd1\u5668\u5de5\u5177\u662f\u4e00\u9879\u8d44\u6e90\u5bc6\u96c6\u578b\u64cd\u4f5c\uff0c\u6839\u636e\u60a8\u6784\u5efa\u7684\u4ee3\u7801\u7684\u591a\u5c11\uff0c\u8fd9\u53ef\u80fd\u4f1a\u4e25\u91cd\u59a8\u788d\u60a8\u7684\u6027\u80fd\u3002<\/p>\n

\u9664\u4e86\u4e00\u4e9b\u4f8b\u5916\u60c5\u51b5\uff0c\u684c\u9762\u53d1\u884c\u7248\u7684\u8bbe\u8ba1\u5e76\u4e0d\u9002\u5408\u4f4e\u8d44\u6e90\u7cfb\u7edf\uff0c\u5e76\u4e14\u53ef\u80fd\u96be\u4ee5\u5145\u5206\u88c1\u526a\u76ee\u6807\u6620\u50cf\u3002\u540c\u6837\uff0c\u684c\u9762\u73af\u5883\u4e2d\u7684\u9884\u8bbe\u5de5\u4f5c\u6d41\u7a0b\u5bf9\u4e8e\u5927\u591a\u6570\u5d4c\u5165\u5f0f\u8bbe\u8ba1\u6765\u8bf4\u90fd\u4e0d\u7406\u60f3\u3002\u4ee5\u8fd9\u79cd\u65b9\u5f0f\u83b7\u5f97\u53ef\u518d\u73b0\u7684\u73af\u5883\u5f88\u56f0\u96be\u3002\u624b\u52a8\u6dfb\u52a0\u548c\u5220\u9664\u8f6f\u4ef6\u5305\u5f88\u5bb9\u6613\u51fa\u9519\u3002\u8fd9\u53ef\u4ee5\u4f7f\u7528\u7279\u5b9a\u4e8e\u53d1\u884c\u7248\u7684\u5de5\u5177\u8fdb\u884c\u811a\u672c\u5316\uff0c\u4f8b\u5982\u57fa\u4e8e Debian \u7cfb\u7edf\u7684 debootstrap\u3002\u4e3a\u4e86\u8fdb\u4e00\u6b65\u63d0\u9ad8\u53ef\u518d\u73b0\u6027\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u914d\u7f6e\u7ba1\u7406\u5de5\u5177\uff0c\u5982 CFEngine\uff08\u6211\u7684\u96c7\u4e3b Mender.io \u5b8c\u6574\u62ab\u9732\u4e86 \u8fd9\u4e00\u5de5\u5177\uff09\u3002\u4f46\u662f\uff0c\u60a8\u4ecd\u7136\u53d7\u53d1\u884c\u7248\u63d0\u4f9b\u5546\u7684\u652f\u914d\uff0c\u4ed6\u4eec\u5c06\u66f4\u65b0\u8f6f\u4ef6\u5305\u4ee5\u6ee1\u8db3\u4ed6\u4eec\u7684\u9700\u6c42\uff0c\u800c\u4e0d\u662f\u60a8\u7684\u9700\u6c42\u3002<\/p>\n

\u5efa\u8bae<\/strong><\/span><\/div>\n

\u5bf9\u4e8e\u60a8\u6253\u7b97\u63a8\u5411\u5e02\u573a\u7684\u4ea7\u54c1\uff0c\u8bf7\u8c28\u614e\u4f7f\u7528\u6b64\u65b9\u6cd5\u3002\u8fd9\u5bf9\u4e8e\u7231\u597d\u8005\u5e94\u7528\u7a0b\u5e8f\u6765\u8bf4\u662f\u4e00\u4e2a\u5f88\u597d\u7684\u6a21\u578b\uff1b\u4f46\u662f\uff0c\u5bf9\u4e8e\u9700\u8981\u652f\u6301\u7684\u4ea7\u54c1\uff0c\u8fd9\u79cd\u65b9\u6cd5\u5f88\u53ef\u80fd\u4f1a\u9047\u5230\u9ebb\u70e6\u3002\u867d\u7136\u60a8\u53ef\u80fd\u80fd\u591f\u83b7\u5f97\u66f4\u5feb\u7684\u8d77\u6b65\uff0c\u4f46\u4ece\u957f\u8fdc\u6765\u770b\uff0c\u60a8\u53ef\u80fd\u4f1a\u82b1\u8d39\u60a8\u7684\u65f6\u95f4\u548c\u7cbe\u529b\u3002<\/p>\n

\u5176\u4ed6\u8003\u8651<\/strong><\/div>\n

\u8fd9\u4e2a\u8ba8\u8bba\u96c6\u4e2d\u5728\u6784\u5efa\u7cfb\u7edf\u7684\u529f\u80fd\u4e0a\uff0c\u4f46\u901a\u5e38\u6709\u975e\u529f\u80fd\u6027\u9700\u6c42\u53ef\u80fd\u4f1a\u5f71\u54cd\u60a8\u7684\u51b3\u5b9a\u3002\u5982\u679c\u60a8\u5df2\u7ecf\u9009\u62e9\u4e86\u7247\u4e0a\u7cfb\u7edf\uff08SoC\uff09\u6216\u7535\u8def\u677f\uff0c\u5219\u60a8\u7684\u9009\u62e9\u5f88\u53ef\u80fd\u7531\u4f9b\u5e94\u5546\u51b3\u5b9a\u3002\u5982\u679c\u60a8\u7684\u4f9b\u5e94\u5546\u4e3a\u7279\u5b9a\u7cfb\u7edf\u63d0\u4f9b\u677f\u7ea7\u652f\u6301\u5305\uff08BSP\uff09\uff0c\u4f7f\u7528\u5b83\u901a\u5e38\u4f1a\u8282\u7701\u76f8\u5f53\u591a\u7684\u65f6\u95f4\uff0c\u4f46\u8bf7\u7814\u7a76 BSP \u7684\u8d28\u91cf\u4ee5\u907f\u514d\u5728\u5f00\u53d1\u5468\u671f\u540e\u671f\u53d1\u751f\u95ee\u9898\u3002<\/p>\n

\u5982\u679c\u60a8\u7684\u9884\u7b97\u5141\u8bb8\uff0c\u60a8\u53ef\u80fd\u9700\u8981\u8003\u8651\u4e3a\u76ee\u6807\u64cd\u4f5c\u7cfb\u7edf\u4f7f\u7528\u5546\u4e1a\u4f9b\u5e94\u5546\u3002\u6709\u4e9b\u516c\u53f8\u4f1a\u4e3a\u8fd9\u91cc\u8ba8\u8bba\u7684\u8bb8\u591a\u9009\u9879\u63d0\u4f9b\u7ecf\u8fc7\u9a8c\u8bc1\u548c\u652f\u6301\u7684\u914d\u7f6e\uff0c\u9664\u975e\u60a8\u62e5\u6709\u5d4c\u5165\u5f0f Linux \u6784\u5efa\u7cfb\u7edf\u65b9\u9762\u7684\u4e13\u4e1a\u77e5\u8bc6\uff0c\u5426\u5219\u8fd9\u662f\u4e00\u4e2a\u4e0d\u9519\u7684\u9009\u62e9\uff0c\u53ef\u4ee5\u8ba9\u60a8\u4e13\u6ce8\u4e8e\u6838\u5fc3\u80fd\u529b\u3002<\/p>\n

\u4f5c\u4e3a\u66ff\u4ee3\uff0c\u60a8\u53ef\u4ee5\u8003\u8651\u4e3a\u60a8\u7684\u5f00\u53d1\u4eba\u5458\u8fdb\u884c\u5546\u4e1a\u57f9\u8bad\u3002\u8fd9\u53ef\u80fd\u6bd4\u5546\u4e1a\u64cd\u4f5c\u7cfb\u7edf\u4f9b\u5e94\u5546\u4fbf\u5b9c\uff0c\u5e76\u4e14\u53ef\u4ee5\u8ba9\u4f60\u66f4\u52a0\u81ea\u7ed9\u81ea\u8db3\u3002\u8fd9\u662f\u5feb\u901f\u627e\u5230\u60a8\u9009\u62e9\u7684\u6784\u5efa\u7cfb\u7edf\u57fa\u7840\u77e5\u8bc6\u7684\u5b66\u4e60\u66f2\u7ebf\u3002<\/p>\n

\u6700\u540e\uff0c\u60a8\u53ef\u80fd\u5df2\u7ecf\u6709\u4e00\u4e9b\u5f00\u53d1\u4eba\u5458\u62e5\u6709\u4e00\u4e2a\u6216\u591a\u4e2a\u7cfb\u7edf\u7684\u7ecf\u9a8c\u3002\u5982\u679c\u4f60\u7684\u5de5\u7a0b\u5e08\u6709\u503e\u5411\u6027\uff0c\u5f53\u4f60\u505a\u51fa\u51b3\u5b9a\u65f6\uff0c\u80af\u5b9a\u503c\u5f97\u8003\u8651\u3002<\/p>\n

\u603b\u7ed3<\/strong><\/div>\n

\u6784\u5efa\u5d4c\u5165\u5f0f Linux \u7cfb\u7edf\u6709\u591a\u79cd\u9009\u62e9\uff0c\u6bcf\u79cd\u90fd\u6709\u4f18\u70b9\u548c\u7f3a\u70b9\u3002\u5c06\u8fd9\u90e8\u5206\u8bbe\u8ba1\u653e\u5728\u4f18\u5148\u4f4d\u7f6e\u81f3\u5173\u91cd\u8981\uff0c\u56e0\u4e3a\u5728\u4ee5\u540e\u7684\u8fc7\u7a0b\u4e2d\u5207\u6362\u7cfb\u7edf\u7684\u6210\u672c\u975e\u5e38\u9ad8\u3002\u9664\u4e86\u8fd9\u4e9b\u9009\u62e9\u4e4b\u5916\uff0c\u8fd8\u6709\u65b0\u7684\u7cfb\u7edf\u5728\u5f00\u53d1\u4e2d\u3002\u5e0c\u671b\u8fd9\u6b21\u8ba8\u8bba\u80fd\u591f\u4e3a\u8bc4\u4f30\u65b0\u7684\u7cfb\u7edf\uff08\u4ee5\u53ca\u8fd9\u91cc\u63d0\u5230\u7684\u7cfb\u7edf\uff09\u63d0\u4f9b\u4e00\u4e9b\u80cc\u666f\uff0c\u5e76\u5e2e\u52a9\u60a8\u4e3a\u4e0b\u4e00\u4e2a\u9879\u76ee\u505a\u51fa\u575a\u5b9e\u7684\u51b3\u5b9a\u3002<\/p>\n

\n

\u539f\u6587\u6765\u81ea\uff1ahttps:\/\/linux.cn\/article-9811-1.html<\/a><\/p>\n

\u672c\u6587\u5730\u5740\uff1ahttps:\/\/lrxjmw.cn\/embedded-linux-tools.html<\/a>\u7f16\u8f91\uff1a\u5b54\u80dc\u8d85\uff0c\u5ba1\u6838\u5458\uff1a\u9022\u589e\u5b9d<\/span><\/p>\n<\/blockquote>\n","protected":false},"excerpt":{"rendered":"

\u5bfc\u8bfb \u4e86\u89e3 Yocto\u3001Buildroot\u3001 OpenWRT\uff0c\u548c\u6539\u9020\u8fc7\u7684\u684c\u9762\u53d1\u884c\u7248\u4ee5\u786e\u5b9a\u54ea\u79cd\u65b9\u5f0f\u6700\u9002\u5408\u4f60\u7684\u9879\u76ee […]<\/p>\n","protected":false},"author":63,"featured_media":110785,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-110782","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110782","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=110782"}],"version-history":[{"count":6,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110782\/revisions"}],"predecessor-version":[{"id":111301,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/110782\/revisions\/111301"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/110785"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=110782"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=110782"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=110782"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}