{"id":291524,"date":"2024-05-08T21:27:16","date_gmt":"2024-05-08T13:27:16","guid":{"rendered":"https:\/\/lrxjmw.cn\/sdjxanhqdgcj.html"},"modified":"2024-05-08T21:27:16","modified_gmt":"2024-05-08T13:27:16","slug":"sdjxanhqdgcj","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/sdjxanhqdgcj.html","title":{"rendered":"\u6df1\u5ea6\u89e3\u6790ARMLinux\u5185\u6838\u542f\u52a8\u8fc7\u7a0b\u53ca\u5176\u751f\u6001\u7cfb\u7edf\u7684\u5173\u952e\u89d2\u8272"},"content":{"rendered":"

ARM\u67b6\u6784\u5728\u5f53\u4eca\u7535\u5b50\u6280\u672f\u9886\u57df\u8d77\u7740\u4e3e\u8db3\u8f7b\u91cd\u7684\u4f5c\u7528\uff0c\u4e3b\u8981\u7528\u4e8e\u5d4c\u5165\u5f0f\u7cfb\u7edf<\/a>\u4e0e\u79fb\u52a8\u8bbe\u5907\u9886\u57df\u3002\u4f9d\u6258\u4e30\u5bcc\u7684ARM\u5e73\u53f0\u751f\u6001\u7cfb\u7edf\u53ca\u5f3a\u5927\u652f\u6301\uff0c\u5f00\u6e90\u64cd\u4f5c\u7cfb\u7edfLinux<\/a>\u5728\u8be5\u9886\u57df\u8868\u73b0\u51fa\u4e86\u4f18\u79c0\u7684\u6027\u80fd\u4f18\u52bf\u3002\u672c\u6587\u5c06\u4f1a\u8be6\u7ec6\u5730\u89e3\u6790ARMLinux\u5185\u6838\u542f\u52a8\u7684\u5168\u8fc7\u7a0b\uff0c\u5305\u62ec\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u3001\u5185\u6838\u521d\u59cb\u5316\u4ee5\u53ca\u8bbe\u5907\u6811\u89e3\u6790\u7b49\u5173\u952e\u9636\u6bb5\uff0c\u5171\u540c\u9886\u7565\u5176\u7cbe\u5bc6\u8fd0\u4f5c\u539f\u7406\u3002<\/p>\n

\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff08Bootloader\uff09<\/b><\/p>\n

U-Boot\u4e0eGRUB\u8fd9\u4e24\u4e2a\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\uff0c\u5728LinuxARM\u7cfb\u7edf\u542f\u52a8\u65f6\u62c5\u5f53\u4e86\u91cd\u8981\u89d2\u8272\uff0c\u5373\u4ece\u542f\u52a8\u8bbe\u5907\u4e0a\u7684\u5f15\u5bfc\u5206\u533a\uff08\u5982SD\u5361\u6216EMMC\uff09\u542f\u52a8\u5185\u6838\u6620\u50cf\uff0c\u5e76\u5c06\u5176\u52a0\u8f7d\u5230\u5185\u5b58\u4e2d\u8fd0\u884c\u3002\u6b64\u5916\uff0c\u5b83\u4eec\u4e5f\u8d1f\u8d23\u5b8c\u6210\u786c\u4ef6\u521d\u59cb\u5316\u548c\u6587\u4ef6\u7cfb\u7edf\u52a0\u8f7d\u7b49\u6b65\u9aa4\u3002<\/p>\n

\u501f\u52a9\u9884\u8bbe\u5173\u952e\u53c2\u6570\u4e0e\u5185\u6838\u6620\u50cf\u5730\u5740\u7b49\u8981\u7d20\uff0c\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u6709\u6548\u4fdd\u969c\u4e86\u5185\u6838\u7684\u6b63\u5e38\u542f\u52a8\u3002\u5f85\u5185\u6838\u6620\u50cf\u6210\u529f\u52a0\u8f7d\uff0c\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u5c06\u4e3b\u5bfc\u6743\u8f6c\u4ea4\u4e8e\u5185\u6838\uff0c\u540e\u7eed\u7cfb\u7edf\u542f\u52a8\u8fdb\u7a0b\u5168\u7531\u5b83\u63a5\u7ba1\u3002<\/p>\n

\u5185\u6838\u521d\u59cb\u5316<\/b><\/p>\n

\u5728ARMLinux\u64cd\u4f5c\u7cfb\u7edf\u542f\u52a8\u8fdb\u7a0b\u4e2d\uff0c\u5185\u6838\u521d\u59cb\u5316\u8d77\u7740\u6784\u7b51\u6838\u5fc3\u8fd0\u884c\u73af\u5883\u7684\u8981\u804c\u3002\u5728\u6b64\u73af\u8282\uff0c\u5176\u987b\u8fbe\u6210\u5904\u7406\u5668\u521d\u59cb\u914d\u7f6e\u3001\u786e\u7acb\u5185\u5b58\u7ba1\u7406\u4f53\u5236\u4ee5\u53ca\u8bbe\u5907\u6ce8\u518c\u767b\u5165\u7b49\u8bf8\u591a\u5173\u952e\u4efb\u52a1\u3002<\/p>\n

\u9996\u5148\uff0c\u5185\u6838\u627f\u62c5\u4e86\u521d\u59cb\u5316\u5904\u7406\u5668\u7684\u5173\u952e\u4efb\u52a1\uff0c\u5982\u521b\u5efa\u5f02\u5e38\u5411\u91cf\u8868\uff0c\u79fb\u52a8MMU\u7b49\u3002\u63a5\u7740\uff0c\u5728\u5185\u5b58\u7ba1\u7406\u6a21\u5757\u542f\u52a8\u540e\uff0c\u5305\u62ec\u6784\u9020\u9875\u8868\u548c\u8bbe\u7f6e\u865a\u62df\u5185\u5b58\u5728\u5185\u7684\u5404\u9879\u64cd\u4f5c\u9010\u6b65\u8fdb\u884c\u3002\u7531\u6b64\u53ef\u89c1\uff0c\u7cbe\u51c6\u800c\u7a33\u5b9a\u7684\u5185\u5b58\u7ba1\u7406\u5728\u6b64\u8fc7\u7a0b\u4e2d\u626e\u6f14\u7740\u81f3\u5173\u91cd\u8981\u7684\u89d2\u8272\uff0c\u5b83\u662f\u4fdd\u6301\u7cfb\u7edf\u9ad8\u6548\u8fd0\u4f5c\u7684\u57fa\u77f3\u3002<\/p>\n

\u6b64\u5916\uff0c\u5185\u6838\u91cd\u8981\u804c\u8d23\u4e4b\u4e00\u5728\u4e8e\u8d1f\u8d23\u8bbe\u5907\u7684\u521d\u59cb\u5316\u53ca\u6ce8\u518c\uff0c\u8fd9\u5305\u62ec\u8bc6\u522b\u3001\u914d\u7f6e\u5404\u7c7b\u786c\u4ef6\u8bbe\u5907\u5e76\u8d4b\u4e88\u76f8\u5e94\u8d44\u6e90\uff0c\u4f7f\u5176\u7eb3\u5165\u5185\u6838\u7ba1\u7406\u8303\u7574\u4e2d\uff0c\u4ee5\u652f\u6301\u9a71\u52a8\u7a0b\u5e8f\u6709\u6548\u4e92\u52a8\u3002\u9274\u4e8e\u6b63\u786e\u7684\u8bbe\u5907\u521d\u59cb\u5316\u5bf9\u786e\u4fdd\u7cfb\u7edf\u957f\u671f\u7a33\u5065\u8fd0\u884c\u81f3\u5173\u91cd\u8981\uff0c\u6545\u6b64\u9879\u5de5\u4f5c\u5fc5\u987b\u91cd\u89c6\u3002<\/p>\n

\u8bbe\u5907\u6811\u89e3\u6790<\/b><\/p>\n

\u5185\u6838\u542f\u52a8\u5931\u8d25_\u5185\u6838\u542f\u52a8\u6d41\u7a0b_arm linux \u5185\u6838\u542f\u52a8<\/p>\n

\u8bbe\u5907\u6811arm linux \u5185\u6838\u542f\u52a8<\/strong>\uff0c\u662f\u51c6\u786e\u5c55\u793a\u786c\u4ef6\u914d\u4e4b\u6784\u7684\u6811\u5f62\u6570\u636e\u7ed3\u6784\uff0c\u5185\u542b\u591a\u79cd\u8bbe\u5907\u7684\u8be6\u7ec6\u4fe1\u606f\uff0c\u5982\u79cd\u7c7b\u3001\u5730\u5740\u4ee5\u53ca\u4e2d\u65ad\u8bf7\u6c42\u7b49\uff0c\u5bf9\u4e8eLinux\u64cd\u4f5c\u7cfb\u7edf\u7684\u7279\u5b9a\u9636\u6bb5\uff08\u4f8b\u5982\uff0c\u542f\u52a8\uff09\u5177\u6709\u51b3\u5b9a\u6027\u5f71\u54cd\u3002<\/p>\n

\u5728\u5185\u6838\u542f\u52a8\u7684\u521d\u671f\u9636\u6bb5\uff0c\u5173\u952e\u7a0b\u5f0f\u9700\u8981\u5206\u6790\u5e76\u89e3\u6784\u8bbe\u5907\u6811\u3002\u4ee5\u6b64\u4e3a\u57fa\u7840\u7ea2\u65d7linux\u5b89\u88c5\uff0c\u5b83\u4eec\u80fd\u591f\u6536\u96c6\u5230\u5168\u9762\u51c6\u786e\u7684\u786c\u4ef6\u8d44\u6599\uff0c\u4ee5\u4f9b\u6b63\u786e\u7684\u521d\u59cb\u5316\u4e0e\u914d\u7f6e\u8fdb\u884c\u3002\u5f97\u76ca\u4e8e\u8bbe\u5907\u6811\u7684\u9ad8\u5ea6\u7075\u6d3b\u6027\uff0c\u5185\u6838\u5f97\u4ee5\u6beb\u4e0d\u8d39\u529b\u5730\u9002\u5e94\u5404\u5f0f\u5404\u6837\u7684\u786c\u4ef6\u5e73\u53f0\uff0c\u4e0d\u9700\u8981\u5bf9\u6838\u5fc3\u4ee3\u7801\u505a\u51fa\u5927\u89c4\u6a21\u6539\u52a8\u3002\u8fd9\u65e0\u7591\u589e\u5f3a\u4e86\u5185\u6838\u7684\u53ef\u79fb\u690d\u6027\u548c\u901a\u7528\u6027\u3002<\/p>\n

\u8bbe\u5907\u6811\u89e3\u6790\u9700\u5b8c\u6210\u5173\u952e\u73af\u8282arm linux \u5185\u6838\u542f\u52a8<\/strong>\uff0c\u5982\u9605\u8bfb\u8bbe\u5907\u6811\u6587\u4ef6\u3001\u89e3\u8bfb\u53ca\u62c6\u89e3\u6587\u4ef6\u5185\u5bb9\u4ee5\u53ca\u6784\u5efa\u76f8\u5173\u6570\u636e\u67b6\u6784\u3002\u901a\u8fc7\u8bbe\u5907\u6811\u6587\u4ef6\u4e2d\u7684\u8be6\u5c3d\u4fe1\u606f\uff0c\u5185\u6838\u5f97\u4ee5\u4e86\u89e3\u8bc6\u522b\u5404\u7c7b\u7cfb\u7edf\u8bbe\u5907\uff0c\u914d\u7f6e\u6240\u9700\u8d44\u6e90\u53ca\u8bbe\u5b9a\u6070\u5f53\u53c2\u6570\u3002<\/p>\n

\u8c03\u8bd5\u4e0e\u4f18\u5316<\/b><\/p>\n

LinuxARM\u5185\u6838\u8fd0\u884c\u8fc7\u7a0b\u4e2d\u7684\u8c03\u8bd5\u4e0e\u4f18\u5316\u81f3\u5173\u91cd\u8981\uff0c\u4f46\u7531\u4e8e\u6b64\u73af\u8282\u590d\u6742\u4e14\u6613\u53d7\u591a\u79cd\u56e0\u7d20\u5f71\u54cd\uff0c\u6545\u5e38\u5e38\u51fa\u73b0\u542f\u52a8\u5931\u8d25\u53ca\u8bbe\u5907\u914d\u7f6e\u4e0d\u5f53\u7684\u60c5\u5f62\u3002\u4e3a\u786e\u4fdd\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u884c\uff0c\u4e9f\u9700\u5b9e\u65bd\u6709\u6548\u7684\u8c03\u8bd5\u548c\u4f18\u5316\u7b56\u7565\u3002<\/p>\n

\u4e3b\u8981\u8c03\u8bd5\u5de5\u5177\u4e3aGDB\u8c03\u8bd5\u5668\u4e0eprintk\u63a2\u6d4b\u51fd\u6570\uff0c\u4e8c\u8005\u53ef\u5206\u522b\u5728\u5173\u952e\u4ee3\u7801\u533a\u57df\u6ce8\u5165\u8ffd\u8e2a\u4fe1\u606f\u5e76\u53d1\u6325\u5176\u5bf9\u5e94\u529f\u80fd\uff0c\u4ece\u800c\u5e2e\u52a9\u5f00\u53d1\u4eba\u5458\u8fc5\u901f\u5b9a\u4f4d\u53ca\u4fee\u590d\u95ee\u9898\u3002\u53e6\u4e00\u65b9\u9762\uff0c\u52a0\u5feb\u5185\u6838\u542f\u52a8\u901f\u5ea6\u4ea6\u663e\u5f97\u5c24\u4e3a\u5173\u952e\u3002\u8fd9\u65b9\u9762\u53ef\u4ee5\u901a\u8fc7\u6539\u826f\u542f\u52a8\u811a\u672c\u53ca\u7b80\u5316\u5185\u6838\u914d\u7f6e\u6765\u589e\u5f3a\u542f\u52a8\u6027\u80fd\u3002<\/p>\n

\u5b89\u5168\u6027\u8003\u8651<\/b><\/p>\n

\u5728ARMLinux\u64cd\u4f5c\u7cfb\u7edf\u542f\u52a8\u65f6\uff0c\u5b89\u5168\u56e0\u7d20\u663e\u5f97\u81f3\u5173\u91cd\u8981\uff0c\u5c24\u5176\u662f\u5173\u4e8e\u5f15\u5bfc\u52a0\u8f7d\u5668\u7684\u4fe1\u4efb\u94fe\u548c\u6838\u5fc3\u6620\u50cf\u5b8c\u6574\u6027\u7684\u9a8c\u8bc1\u7b49\u5173\u952e\u6b65\u9aa4\u3002\u4e3a\u6b64\uff0c\u5fc5\u987b\u91c7\u53d6\u6709\u6548\u7684\u5b89\u5168\u9632\u62a4\u63aa\u65bdlinux\u5185\u6838\uff0c\u4ee5\u786e\u4fdd\u7cfb\u7edf\u7684\u7a33\u5b9a\u8fd0\u884c\u3002<\/p>\n

\u7efc\u5408\u5b89\u9632\u7b56\u7565\u5305\u62ec\u8fd0\u7528\u6570\u5b57\u7b7e\u540d\u6280\u672f\u6838\u9a8c\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u3001\u542f\u52a8\u52a0\u5bc6\u9632\u62a4\u5de5\u5177SecureBoot\u4ee5\u53ca\u9650\u5236\u5173\u952e\u6a21\u5757\u7684\u52a0\u8f7d\uff0c\u4ee5\u6b64\u6709\u6548\u9632\u6b62\u6076\u610f\u653b\u51fb\u53ca\u975e\u6cd5\u4fb5\u5165\u884c\u4e3a\uff0c\u786e\u4fdd\u7cfb\u7edf\u7a33\u5b9a\u8fd0\u8f6c\u4e14\u52a0\u5f3a\u5b89\u5168\u6027\u3002<\/p>\n

\u672a\u6765\u53d1\u5c55\u8d8b\u52bf<\/b><\/p>\n

\u5728\u7269\u8054\u7f51\u53ca\u4eba\u5de5\u667a\u80fd\u7b49\u524d\u6cbf\u6280\u672f\u7684\u63a8\u52a8\u4e0b\uff0cARMLinux\u5185\u6838\u542f\u52a8\u65b9\u5f0f\u6b63\u9010\u6b65\u9769\u65b0\u5347\u7ea7\u3002\u672a\u6765\uff0c\u9884\u671f\u5c06\u6d8c\u73b0\u51fa\u66f4\u4e3a\u667a\u80fd\u5316\u4e14\u9ad8\u6548\u7684\u542f\u52a8\u89e3\u51b3\u65b9\u6848\uff0c\u4ee5\u5e94\u5bf9\u65e5\u8d8b\u7e41\u6742\u7684\u5e94\u7528\u73af\u5883\u3002\u540c\u65f6\uff0c\u5bf9\u4e8e\u5b89\u5168\u548c\u53ef\u9760\u6027\u7684\u8ffd\u6c42\u4e5f\u5c06\u6301\u7eed\u589e\u5f3a\uff0c\u56e0\u6b64\uff0c\u6211\u4eec\u9700\u81f4\u529b\u4e8e\u6280\u672f\u521b\u65b0\u548c\u52a0\u5927\u7814\u53d1\u6295\u5165\u529b\u5ea6\u3002<\/p>\n

\u7ed3\u8bed<\/b><\/p>\n

\u5728\u73b0\u4eca\u8ba1\u7b97\u673a\u7cfb\u7edf\u4e4b\u4e2d\uff0cARMLinux\u5185\u6838\u542f\u52a8\u8fc7\u7a0b\u5360\u636e\u81f3\u5173\u91cd\u8981\u5730\u4f4d\uff0c\u5bf9\u7cfb\u7edf\u7a33\u5b9a\u53ca\u6027\u80fd\u5177\u6709\u51b3\u5b9a\u6027\u5f71\u54cd\u3002\u672c\u7bc7\u6587\u7ae0\u5c06\u4ee5\u591a\u89d2\u5ea6\u6df1\u5165\u63a2\u8ba8\u8be5\u6d41\u7a0b\uff0c\u660e\u786e\u5176\u91cd\u8981\u6027\u3002\u540c\u65f6\uff0c\u671f\u671b\u6b64\u542f\u52a8\u7a0b\u5e8f\u6301\u7eed\u4f18\u5316\u4e0e\u5b8c\u5584\uff0c\u4ee5\u66f4\u4f73\u9002\u5e94\u5404\u7c7b\u5e94\u7528\u73af\u5883\u9700\u6c42\uff0c\u4e3a\u7528\u6237\u63d0\u4f9b\u5353\u8d8a\u670d\u52a1\u4f53\u9a8c\u3002<\/p>\n

\u8bfb\u8005\u4e92\u52a8\uff1a<\/b><\/p>\n

1.\u60a8\u5bf9ARMLinux\u5185\u6838\u542f\u52a8\u7684\u8fc7\u7a0b\u6709\u4f55\u770b\u6cd5\u548c\u4f53\u4f1a\uff1f<\/p>\n

\u9488\u5bf9ARMLinux\u6838\u5fc3\u542f\u52a8\u7684\u96be\u9898\uff0c\u5728\u60a8\u7684\u4e13\u4e1a\u77e5\u8bc6\u8303\u7574\u4e4b\u5185\uff0c\u53ef\u5426\u5206\u4eab\u4e00\u4e9b\u5177\u6709\u4ee3\u8868\u6027\u7684\u89c2\u70b9\u548c\u89c1\u89e3\u5462\uff1f<\/p>\n","protected":false},"excerpt":{"rendered":"

\u501f\u52a9\u9884\u8bbe\u5173\u952e\u53c2\u6570\u4e0e\u5185\u6838\u6620\u50cf\u5730\u5740\u7b49\u8981\u7d20\uff0c\u5f15\u5bfc\u52a0\u8f7d\u7a0b\u5e8f\u6709\u6548\u4fdd\u969c\u4e86\u5185\u6838\u7684\u6b63\u5e38\u542f\u52a8\u3002\u5728\u5185\u6838\u542f\u52a8\u7684\u521d\u671f\u9636\u6bb5\uff0c\u5173\u952e\u7a0b\u5f0f\u9700\u8981\u5206\u6790\u5e76\u89e3\u6784\u8bbe\u5907\u6811\u3002\u8bbe\u5907\u6811\u89e3\u6790\u9700\u5b8c\u6210\u5173\u952e\u73af\u8282\uff0c\u5982\u9605\u8bfb\u8bbe\u5907\u6811\u6587\u4ef6\u3001\u89e3\u8bfb\u53ca\u62c6\u89e3\u6587\u4ef6\u5185\u5bb9\u4ee5\u53ca\u6784\u5efa\u76f8\u5173\u6570\u636e\u67b6\u6784\u3002\u60a8\u5bf9ARMLinux\u5185\u6838\u542f\u52a8\u7684\u8fc7\u7a0b\u6709\u4f55\u770b\u6cd5\u548c\u4f53\u4f1a\uff1f<\/p>\n","protected":false},"author":1,"featured_media":291525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[988],"tags":[999],"class_list":["post-291524","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tougao","tag-999"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/291524","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=291524"}],"version-history":[{"count":0,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/291524\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/291525"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=291524"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=291524"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=291524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}