{"id":1431,"date":"2024-01-14T10:15:36","date_gmt":"2024-01-14T10:15:36","guid":{"rendered":"http:\/\/www.recologypower.com:9080\/?p=1431"},"modified":"2024-01-14T10:16:38","modified_gmt":"2024-01-14T10:16:38","slug":"%e3%80%90%e6%99%b6%e6%99%a8%e3%80%91romboot%e6%89%93%e5%8d%b0%e5%88%9d%e6%ad%a5%e8%a7%a3%e6%9e%90-amlogic%e5%bc%80%e6%9c%ba%e9%94%99%e8%af%af%e5%88%86%e6%9e%90","status":"publish","type":"post","link":"http:\/\/www.recologypower.com:9080\/?p=1431","title":{"rendered":"\u3010\u6676\u6668\u3011romboot\u6253\u5370\u521d\u6b65\u89e3\u6790 amlogic\u5f00\u673a\u9519\u8bef\u5206\u6790"},"content":{"rendered":"\n<p>romboot\u6253\u5370\u521d\u6b65\u89e3\u6790<br>\u672c\u89e3\u6790\u8bf4\u660e\u9002\u7528\u4e8e: gxb\/gxl\/txl\/axg\/txhd\/gxlx\/gxlx2\/txlx\/g12A\/G12B\/SM1\/TM2\/A1\/C1\/C2\/SC2\/T5\/T5D\/T7\/S4<\/p>\n\n\n\n<p>romboot\u4e2d\u9ed8\u8ba4\u5c06\u5176\u6253\u5370\u4eceAO uart\u8fd9\u4e00\u8def\u8f93\u51fa<\/p>\n\n\n\n<p>\u4ee5gxb nand \u5e73\u53f0\u4e3a\u4f8b\uff0c\u5176romboot\u7684\u6253\u5370\u5982\u4e0b\uff1a<\/p>\n\n\n\n<p><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GXBB:BL1:08dafd:0a8993;FEAT:E0FC3184;POC:3;RCY:0;EMMC:800;NAND:85;SD:0;READ:0;CHK:0;\n\n\u5176\u53ef\u4ee5\u62c6\u5206\u4e3a\u5982\u4e0b\u90e8\u5206\uff1a\n1. GXBB\uff1a\u4e3b\u82af\u7247\u5185\u90e8\u4ee3\u53f7\n\n2. BL1:08dafd:0a8993;FEAT:E0FC3184; bootrom\u76f8\u5173\u542f\u52a8\u4fe1\u606f\uff0c\u5b89\u5168\u76f8\u5173\u7684\u540c\u4e8b\u4f1a\u7528\u5230\u3002\n\n3. POC:3; Power on Config\u4fe1\u606f\u3002\u8868\u660e\u8bbe\u5907\u542f\u52a8\u987a\u5e8f\uff0c\u53ef\u4ee5\u53c2\u8003\u4e0b\u9762\u7684\u8868\u683c\uff1a\n\nPOC 1st Boot device 2nd Boot device 3rd Boot device 4th Boot device\n0   USB SPI NAND\/eMMC   SD Card\n1   SPI NAND\/eMMC   SD Card USB\n2   USB NAND\/eMMC   SD Card  -\n3   NAND\/eMMC   SD Card  USB     -\n\n4. RCY:0; HDMI recovery\u63a5\u53e3\u8bfb\u5230\u7684\u503c\uff0c\u53ef\u4ee5\u5b9e\u73b0\u66f4\u6539\u7b2c\u4e00\u542f\u52a8\u4ecb\u8d28\u7684\u76ee\u7684\uff0c\u901a\u5e38\u7528\u4e8e\u62ef\u6551\u70e7\u9519\u4e3b\u5b58\u50a8\u4ecb\u8d28\u7684\u677f\u5b50\uff0c\u5728\u5f00\u53d1\u9636\u6bb5\u5c24\u4e3a\u6709\u7528\uff1b\n\n        0\u4e3a\u65e0hdmi recovery\u5c0f\u677f\uff1b\n\n        1\u4e3ausb boot\u7684hdmi recovery\u5c0f\u677f\uff1b\n\n        2\u4e3asdcard boot\u7684hdmi recovery\u5c0f\u677f\uff1b\n\n5. EMMC:800;NAND:85;SD:0;READ:0;CHK:0\n\n\u8fd9\u4e2a\u662f\u9ed8\u8ba4\u7684\u4e3b\u5b58\u50a8\u4ecb\u8d28\u7684\u542f\u52a8\u987a\u5e8f\uff0c\u4f9d\u5e8f\u4e3aEMMC-&gt;NAND-&gt;SD-&gt;USB\uff0c\u8fd9\u91cc\u56e0\u4e3a\u6709\u70e7\u597d\u7684\u542f\u52a8\u5361\u63d2\u5165\uff0c\u6240\u4ee5\u76f4\u63a5\u5728sdcard\u8fd9\u91cc\u8df3\u4e86\u51fa\u6765\uff1b\n\nEMMC:800, \u4e3aemmc\u521d\u59cb\u5316\u8fc7\u7a0b\uff0c800\u8868\u793a\u62a5\u9519\uff0c\u6570\u503c\u5177\u4f53\u5bf9\u5e94\u5230emmc\u63a7\u5236\u5668\u7684SD_EMMC_STATUS\u5bc4\u5b58\u5668\uff0c\u6b64\u5904800\u8868\u793a\u4e3aresoponse timeout\uff0c\u8fd9\u4e2a\u62a5\u9519\u4fe1\u606f\u65e0\u6cd5\u770b\u51fa\u662finit\u8fc7\u7a0b\u4e2d\u54ea\u4e00\u6761\u547d\u4ee4\u62a5\u9519\uff0c\u6700\u4e3a\u6709\u6548\u7684debug\u65b9\u5f0f\u4e3a\u63a5PA\u8fdb\u884c\u5206\u6790\uff1b\n\n \n\u5982\u679c\u5e73\u53f0\u6709\u710a\u63a5emmc\uff0c\u5728\u521d\u59cb\u5316\u8fc7\u7a0b\u62a5\u4e86\u975e0\u503c\uff0c\u53ef\u4ee5\u53c2\u7167\u5982\u4e0b\u8868\u683c\u6765\u786e\u8ba4\u662f\u90a3\u6761\u7ebf\u7684\u710a\u63a5\u4e0d\u826f\uff1b\nField\nName\nDescription\n7:0\nRxd_err\nRX data CRC error per wire,\nfor multiple block read, the CRC errors are Ored together.\n8\nTxd_err\nTX data CRC error,\nFor multiple block write, any one of blocks CRC error.\n9\nDesc_err\nSD\/eMMC controller doesn\u2019t own descriptor.\nThe owner bit is \u201c0\u201d, set cfg_ignore_owner to ignore this error.\n10\nResp_err\nResponse CRC error\n11\nResp_timeout\nNo response received before time limit.\nThe timeout limit is set by cfg_resp_timeout.\n12\nDesc_timeout\nDescriptor execution time over time limit.\nThe timeout limit is set by descriptor itself.\nConsider the multiple block read\/write, set the proper timeout limits.\n \n\u5728\u710a\u63a5\u4e86emmc\u7684\u60c5\u51b5\u4e0b\uff0cEMMC\u521d\u59cb\u5316\u6253\u5370\u4e0d\u4e3a0\uff0c\u901a\u5e38\u662fhw\u76f8\u5173\u7684\u95ee\u9898\uff0c\u9700\u8981\u987a\u5e8f\u68c0\u67e5\u4ee5\u4e0b\u51e0\u4e2a\u9879\u76ee\uff1a\n1. vcc\/vccq\u7684\u4f9b\u7535\u53ca\u4e0a\u7535\u987a\u5e8f\uff0c\u4e8c\u8005\u4e0a\u7535\u95f4\u9694\u592a\u957f\u53ef\u80fd\u4f1a\u5f15\u8d77emmc\u7684\u521d\u59cb\u5316\u5931\u8d25\uff0c\u8be6\u60c5\u53ef\u4ee5\u54a8\u8be2hw\u7684fengjie(jie.feng@amlogic.com)\n2. \u5982\u679c\u662fEMMC\u521d\u59cb\u5316\u62a5Resp_timeout\/Resp_err\uff0c\u9700\u8bf7hw\u540c\u4e8b\u68c0\u67e5emmc\u7684cmd\u7ebf\u7684\u8fde\u901a\u6027\n3. \u5982\u679c\u662fEMMC\u521d\u59cb\u5316\u62a5Rxd_err\/txd_err\uff0c\u9700\u8bf7hw\u540c\u4e8b\u68c0\u67e5\u5bf9\u5e94\u7684\u62a5\u9519data\u7ebf\u7684\u8fde\u901a\u6027\n**\n\nAdd @ 20180209\n\n\u5728G12A\u4e0a\uff0cSD card\u7684romboot\u521d\u59cb\u5316\u4f1a\u9996\u5148\u68c0\u67e5GPIOC6\u7684\u7535\u5e73\u72b6\u6001\uff0c\u5982\u679c\u4e3acard\u672a\u63d2\u5165\uff0c\u5219romboot\u4f1a\u6253\u5370SD:20000 \n\n**\n\nNAND:85\uff0c\u4e3anand\u521d\u59cb\u5316\u8fc7\u7a0b\u62a5\u9519\uff0c\u6570\u503c\u4e3a\u9519\u8bef\u7801\uff0c\u5e38\u7528\u9519\u8bef\u7801\u6709\n\n#define ERROR_NAND_TIMEOUT           0x81\n\n#define ERROR_NAND_ECC                  0x82\n#define ERROR_NAND_MAGIC_WORD   0x83\n#define ERROR_NAND_INIT_READ        0x84\n#define ERROR_NAND_BLANK_PAGE     0x85\n \nSD:0;READ:0;CHK:0\uff0c\u4e3aSD\u5361\u521d\u59cb\u5316OK\uff0c\u8bfb\u53d6OK\uff0c\u5e76\u4e14\u6821\u9a8cOK\uff1b\u5bf9\u4e8e\u5176\u4ed6\u5b58\u50a8\u4ecb\u8d28\uff0c\u5728\u521d\u59cb\u5316OK\u540e\uff0c\u540c\u6837\u4f1a\u8fdb\u884cREAD\u548cCHK\u52a8\u4f5c\uff0c\u8fd4\u56de\u503c\u4e3a0\uff0c\u5219\u4e3aOK\uff0c\u975e0\u503c\uff0c\u5219\u6709\u5176\u5404\u81ea\u5bf9\u5e94\u7684\u9519\u8bef\u7801\uff0c\u8fd9\u91cc\u4e0d\u505a\u8be6\u7ec6\u63cf\u8ff0<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<div class=\"slide-text-bg2\">\n<h3>romboot\u6253\u5370\u521d\u6b65\u89e3\u6790\u672c\u89e3\u6790\u8bf4\u660e\u9002\u7528<\/h3>\n<\/div>\n<div class=\"flex-btn-div\"><a href=\"http:\/\/www.recologypower.com:9080\/?p=1431\" class=\"btn1 flex-btn\">\u9605\u8bfb\u66f4\u591a<\/a><\/div>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[145],"tags":[],"_links":{"self":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/1431"}],"collection":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1431"}],"version-history":[{"count":2,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/1431\/revisions"}],"predecessor-version":[{"id":1433,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=\/wp\/v2\/posts\/1431\/revisions\/1433"}],"wp:attachment":[{"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1431"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.recologypower.com:9080\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}