{"id":220674,"date":"2020-11-20T09:46:34","date_gmt":"2020-11-20T01:46:34","guid":{"rendered":"http:\/\/4563.org\/?p=220674"},"modified":"2020-11-20T09:46:34","modified_gmt":"2020-11-20T01:46:34","slug":"cpu-%e4%b8%8a%e7%94%b5%e6%97%b6%e6%98%af%e5%a6%82%e4%bd%95%e8%af%bb%e5%8f%96-spi-flash-%e9%87%8c%e9%9d%a2%e5%86%85%e5%ae%b9%e7%9a%84%ef%bc%8c%e4%b8%8d%e9%9c%80%e8%a6%81%e9%a9%b1%e5%8a%a8%e5%90%97","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=220674","title":{"rendered":"CPU \u4e0a\u7535\u65f6\u662f\u5982\u4f55\u8bfb\u53d6 SPI Flash \u91cc\u9762\u5185\u5bb9\u7684\uff0c\u4e0d\u9700\u8981\u9a71\u52a8\u5417\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  CPU \u4e0a\u7535\u65f6\u662f\u5982\u4f55\u8bfb\u53d6 SPI Flash \u91cc\u9762\u5185\u5bb9\u7684\uff0c\u4e0d\u9700\u8981\u9a71\u52a8\u5417\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : liyongjun0803 <\/span>  <span><i><\/i> 3<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u786c\u4ef6\u7684\u9a71\u52a8\u90fd\u5199\u5728 uboot \u6216 kernel \u91cc\u9762\uff0c\u5b83\u4eec\u90fd\u662f\u5b58\u50a8\u5728 SPI Flash \u4e2d\u7684\uff0c\u90a3\u4e48\uff0cCPU \u521a\u4e0a\u7535\u65f6\uff0c\u4e0d\u9700\u8981\u9a71\u52a8\u6765\u8bfb\u53d6 SPI Flash \u5417\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>6<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"4446824\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : BingoXuan <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u8a18\u5f97\u662f arm \u4e0d\u9700\u8981\uff0ccpu \u4e0a\u96fb\u5f8c\u6703\u901a\u904e\u81ea\u5e36\u786c\u4ef6\u8b80\u53d6 flash \u7684\u7a0b\u5e8f\u5230\u5167\u5b58\u7136\u5f8c\u5f9e\u7279\u5b9a\u5167\u5b58\u4f4d\u7f6e\u958b\u59cb                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4446825\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : zhujinliang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e CPU \u5185\u8fd8\u6709\u4e00\u5757 ROM\uff0c\u56fa\u5316\u4e86\u4e00\u6bb5\u542f\u52a8\u4ee3\u7801\uff0c\u4f5c\u7528\u5927\u6982\u5c31\u662f\u8bfb\u53d6\u914d\u7f6e\u5b57\u8282\u6216 GPIO \u72b6\u6001\u786e\u5b9a\u4ece\u54ea\u4e9b\u5916\u8bbe\u542f\u52a8\u3001\u641c\u7d22\u53ef\u7528\u4e8e\u542f\u52a8\u7684\u8bbe\u5907\u3001\u4ece\u5916\u8bbe\u8bfb\u51fa\u6570\u636e\u653e\u5230\u5185\u5b58\u505a\u7b2c 1 \u9636\u6bb5\u7684\u5f15\u5bfc<br \/>\u7b2c 1 \u9636\u6bb5\u5f15\u5bfc\u7a0b\u5e8f\u901a\u5e38\u5927\u5c0f\u56fa\u5b9a\uff0c\u53ea\u6709 64K \u6216\u8005 128K\uff0c\u7528\u6765\u52a0\u8f7d uboot \u7b49\u5f15\u5bfc\u7a0b\u5e8f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4446826\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : liyongjun0803 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @zhujinliang \u8fd9\u6bb5\u56fa\u5316\u7684\u542f\u52a8\u4ee3\u7801\uff0c\u662f\u4e0d\u662f\u6839\u636e CPU \uff08\u751a\u81f3\u4e3b\u677f\uff09 \u81ea\u8eab\u8bbe\u8ba1\u7684\uff1f\u6211\u5982\u679c\u66ff\u6362\u4e00\u9897 Flash\uff0c\u53ea\u8981\u8fd9\u9897 Flash \u7684\u57fa\u672c\u53c2\u6570\u548c\u539f\u6765 Flash \u4e00\u81f4\uff0c\u662f\u5426\u5bf9 CPU \u6765\u8bf4\u662f\u65e0\u611f\u7684\u3002\u8fd9\u4e5f\u5c31\u662f\u4e3a\u4ec0\u4e48\u597d\u591a\u8def\u7531\u5668\u73a9\u5bb6\u81ea\u5df1\u66ff\u6362 Flash \u4e5f\u80fd\u591f\u6210\u529f\u8fd0\u884c\u7684\u539f\u56e0\u5417\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4446827\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hjc4869 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             bootrom \u8d1f\u8d23\u52a0\u8f7d SPI flash \u91cc\u7684 bootloader\uff0cbootrom \u77e5\u9053\u600e\u4e48\u521d\u59cb\u5316 SoC \u4e0a\u7684 sd\/emmc \u6216\u8005 spi \u63a7\u5236\u5668\u5e76\u4e14\u8bfb\u53d6\u5185\u5bb9\uff0c\u81f3\u4e8e\u600e\u4e48\u8ddf spi flash \u6253\u4ea4\u9053\uff0c\u662f spi \u63a7\u5236\u5668\u7684\u4e8b\u60c5\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4446828\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cmostuor <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u673a\u5668\u4e0a\u7535\u540e\u8bfb\u53d6 spiflash \u7684\u5185\u5bb9\u6709\u591a\u79cd\u5b9e\u73b0\u65b9\u5f0f \u4f60\u7684\u9a71\u52a8\u662f\u6307\u786c\u9a71\u6216\u8f6f\u9a71? \u8fd8\u662f\u6307\u64cd\u4f5c\u7cfb\u7edf\u5c42\u9762\u7684\u9a71\u52a8? \u786c\u9a71\u5b9e\u73b0\u65b9\u5f0f\u662f\u5728 cpu \u4e0a\u7535\u65f6\u901a\u8fc7\u590d\u4f4d\u4fe1\u53f7\u8ba9 spi \u63a7\u5236\u5668\u4ece 0x0 \u5730\u5740\u8bfb\u53d6\u5230\u5185\u5b58\u7136\u540e CPU \u5728\u6267\u884c\u8fd9\u8fc7\u7a0b\u7eaf\u786c\u4ef6\u5b9e\u73b0 \u8f6f\u9a71\u7528 bootrom \u7b80\u5355\u7684 bootrom \u5176\u5b9e\u4e0d\u8fc7\u662f\u8ba9 spi \u63a7\u5236\u5668\u4ece 0x0 \u5730\u5740\u5f00\u59cb\u8bfb\u53d6\u6570\u636e\u5230\u5185\u5b58\u5730\u5740\u7136\u540e\u5728\u8df3\u8f6c\u8fc7\u53bb\u6bd4\u5982\u8fd9\u4e2a https:\/\/github.com\/kchhero\/riscv-bootrom \u590d\u6742\u7684\u6bd4\u5982\u8fd9\u4e2a https:\/\/github.com\/j-core\/bootrom                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"4446829\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : benmaowang <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             SPI Flash \u6709\u4e2a\u6807\u51c6\u7684\u8bfb\u6307\u4ee4\uff0cCPU \u4e0a\u7535\u540e\u4f1a\u81ea\u52a8\u8bfb N \u5b57\u8282\u5230\u542f\u52a8\u5730\u5740\uff08\u4e00\u822c\u6620\u5c04\u5230\u7247\u5185 RAM\uff0c\u6216 Cache\uff0c\u6216\u5185\u5b58\uff09\uff0c\u7136\u540e\u8df3\u8f6c\u8fc7\u53bb\u6267\u884c\u3002<br \/>\u6240\u4ee5 Flash \u4e0a\u8d77\u59cb\u5730\u5740\u4f1a\u4fdd\u5b58 uboot \u7b49 bootload \u7a0b\u5e8f\uff0c\u5c3d\u91cf\u5728\u8fd9 N \u5b57\u8282\u5185\u505a\u5230\u628a\u5185\u5b58\u521d\u59cb\u5316\uff0c\u5e76\u5b9e\u73b0\u628a\u5269\u4f59\u7684 boot \u4ee3\u7801\u62f7\u5230\u5185\u5b58\u3002<br \/>bootload \u4e00\u65e6\u8fd0\u884c\u8d77\u6765\uff0c\u5176\u5b83\u7684\u5c31\u597d\u529e\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>CPU \u4e0a\u7535\u65f6\u662f\u5982\u4f55\u8bfb\u53d6 SPI &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/220674"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=220674"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/220674\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=220674"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=220674"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=220674"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}