{"id":109975,"date":"2026-09-25T10:48:50","date_gmt":"2026-09-25T02:48:50","guid":{"rendered":"https:\/\/www.wsisp.com\/helps\/109975.html"},"modified":"2026-09-25T10:48:50","modified_gmt":"2026-09-25T02:48:50","slug":"%e8%bd%bb%e6%9d%be%e5%ad%a6%e4%b9%a0zephyr-bsp-49-bsp-fae-%e5%ae%a2%e6%88%b7%e6%94%af%e6%8c%81","status":"publish","type":"post","link":"https:\/\/www.wsisp.com\/helps\/109975.html","title":{"rendered":"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301"},"content":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u662f BSP \u4f53\u7cfb\u5efa\u8bbe\u7684\u6536\u5b98\u7bc7&#xff0c;\u805a\u7126 49 \u2014 BSP FAE \/ Customer Support\u3002\u6838\u5fc3\u89c2\u70b9\u662f&#xff1a;BSP \u6210\u719f\u7684\u6807\u5fd7\u4e0d\u662f&#034;\u4ee3\u7801\u80fd\u8dd1&#034;&#xff0c;\u800c\u662f\u5ba2\u6237\u8131\u79bb\u539f\u5382\u5de5\u7a0b\u5e08\u4e5f\u80fd\u72ec\u7acb\u5f00\u53d1\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u4e14\u516c\u53f8\u5185\u90e8\u80fd\u5feb\u901f\u95ed\u73af\u5904\u7406\u5ba2\u6237\u95ee\u9898\u3002\u6587\u7ae0\u7cfb\u7edf\u9610\u8ff0\u4e86 FAE \u5728 BSP \u4f53\u7cfb\u4e2d\u7684\u5b9a\u4f4d&#xff08;\u95ee\u9898\u8f6c\u6362\u8005\u800c\u975e\u5ba2\u670d&#xff09;\u3001\u4e09\u5c42\u5ba2\u6237\u652f\u6301\u4f53\u7cfb&#xff08;L1 FAE \/ L2 BSP Engineer \/ L3 SoC Engineer&#xff09;\u3001\u6807\u51c6\u95ee\u9898\u5b9a\u4f4d\u6d41\u7a0b&#xff08;10 \u6b65&#xff09;\u3001BSP Issue Template\u3001\u4e00\u952e\u6536\u96c6 Debug \u4fe1\u606f&#xff08;west bsp-info \/ west bsp-support-bundle&#xff09;\u3001Temporary Patch \u4e0e Official Release \u5206\u79bb\u3001Knowledge Base \u5efa\u8bbe\u3001Support Dashboard \u4e0e Support Metrics&#xff0c;\u6700\u7ec8\u628a 42&#xff5e;49 \u4e32\u6210\u4e00\u4e2a\u5b8c\u6574\u7684\u516c\u53f8 BSP Operating Model&#xff0c;\u652f\u6491\u91cf\u4ea7\u4ea7\u54c1 &#043; \u591a\u5ba2\u6237 &#043; \u591a\u677f\u5361 &#043; \u591a SoC &#043; \u957f\u671f\u7ef4\u62a4\u3002<\/p>\n<p>BSP FAE \/ Customer Support<\/p>\n<p>\u90a3\u4e48 49 \u2014 BSP FAE \/ Customer Support \u5c31\u662f\u6700\u540e\u628a\u8fd9\u4e9b\u5de5\u7a0b\u80fd\u529b\u8fde\u63a5\u5230\u771f\u6b63\u7684\u5ba2\u6237\u3002<\/p>\n<p>\u8fd9\u4e00\u7bc7\u975e\u5e38\u91cd\u8981&#xff0c;\u56e0\u4e3a\u4e00\u4e2a\u516c\u53f8 BSP \u771f\u6b63\u6210\u719f\u7684\u6807\u5fd7&#xff0c;\u4e0d\u662f&#034;\u4ee3\u7801\u80fd\u8dd1&#034;&#xff0c;\u800c\u662f&#xff1a;<\/p>\n<p>\u5ba2\u6237\u62ff\u5230 SDK \u540e&#xff0c;\u5373\u4f7f\u6ca1\u6709 BSP \u539f\u5382\u5de5\u7a0b\u5e08\u5750\u5728\u65c1\u8fb9&#xff0c;\u4e5f\u80fd\u591f\u5f00\u53d1\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u5e76\u4e14\u516c\u53f8\u5185\u90e8\u80fd\u591f\u5feb\u901f\u5904\u7406\u5ba2\u6237\u95ee\u9898\u3002<\/p>\n<p>Zephyr \u672c\u8eab\u4e5f\u628a Board\/SoC support\u3001documentation\u3001testing \u548c\u957f\u671f\u7ef4\u62a4\u4f5c\u4e3a\u5b8c\u6574\u751f\u6001\u7684\u4e00\u90e8\u5206&#xff0c;\u800c\u4e0d\u662f\u5355\u7eaf&#034;\u628a\u4ee3\u7801\u653e\u8fdb\u53bb&#034;\u3002<\/p>\n<p>\u4e00\u3001FAE \u5230\u5e95\u5728 BSP \u4f53\u7cfb\u91cc\u505a\u4ec0\u4e48&#xff1f;<\/p>\n<p>FAE &#061; Field Application Engineer\u3002<\/p>\n<p>\u5728 BSP \u516c\u53f8\u91cc&#xff0c;FAE \u901a\u5e38\u4f4d\u4e8e&#xff1a;<\/p>\n<p>                    Customer<br \/>\n                       \u2502<br \/>\n                       \u2502<br \/>\n                \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u25bc\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                \u2502     FAE     \u2502<br \/>\n                \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                       \u2502<br \/>\n          \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u253c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n          \u2502            \u2502            \u2502<br \/>\n          \u25bc            \u25bc            \u25bc<br \/>\n       BSP Team     Hardware      Product<br \/>\n          \u2502           Team         Team<br \/>\n          \u2502<br \/>\n          \u25bc<br \/>\n       SoC <span class=\"token operator\">\/<\/span> HAL <span class=\"token operator\">\/<\/span> Driver <span class=\"token operator\">\/<\/span><br \/>\n       Zephyr <span class=\"token operator\">\/<\/span> SDK <span class=\"token operator\">\/<\/span> CI<\/p>\n<p>\u6240\u4ee5 FAE \u4e0d\u662f\u5355\u7eaf\u7684\u5ba2\u670d\u3002<br \/>\nFAE \u6700\u91cd\u8981\u7684\u5de5\u4f5c\u5176\u5b9e\u662f&#xff1a;<br \/>\n\u628a\u5ba2\u6237\u7684\u95ee\u9898\u8f6c\u6362\u6210\u5de5\u7a0b\u56e2\u961f\u53ef\u4ee5\u5904\u7406\u7684\u95ee\u9898\u3002<\/p>\n<p>\u4f8b\u5982\u5ba2\u6237\u8bf4&#xff1a;<br \/>\n\u201c\u6211\u7684 SPI \u4e0d\u5de5\u4f5c\u3002\u201d<br \/>\n\u8fd9\u53e5\u8bdd\u5bf9\u4e8e BSP Engineer \u6765\u8bf4\u51e0\u4e4e\u6ca1\u6709\u4ef7\u503c\u3002<\/p>\n<p>FAE \u5e94\u8be5\u7ee7\u7eed\u786e\u8ba4&#xff1a;<\/p>\n<p>Board:<br \/>\n    Company-ABC-EVB<\/p>\n<p>SoC:<br \/>\n    Company-XYZ123<\/p>\n<p>BSP:<br \/>\n    v2.4.1<\/p>\n<p>Zephyr:<br \/>\n    <span class=\"token number\">4<\/span>.x<\/p>\n<p>Application:<br \/>\n    samples\/drivers\/spi<\/p>\n<p>SPI:<br \/>\n    SPI2<\/p>\n<p>Clock:<br \/>\n    <span class=\"token number\">50<\/span> MHz<\/p>\n<p>Mode:<br \/>\n    Mode <span class=\"token number\">0<\/span><\/p>\n<p>CS:<br \/>\n    GPIOA.5<\/p>\n<p>Expected:<br \/>\n    <span class=\"token number\">10<\/span> MHz waveform<\/p>\n<p>Actual:<br \/>\n    SCK remains LOW<\/p>\n<p>\u8fd9\u6837 BSP \u5de5\u7a0b\u5e08\u624d\u80fd\u5f00\u59cb\u771f\u6b63 debug\u3002<\/p>\n<p>\u4e8c\u3001\u5ba2\u6237\u652f\u6301\u4f53\u7cfb\u5e94\u8be5\u5206\u4e09\u5c42<\/p>\n<p>\u4e00\u4e2a\u6210\u719f\u7684 BSP \u516c\u53f8&#xff0c;\u6700\u597d\u4e0d\u8981\u6240\u6709\u95ee\u9898\u90fd\u76f4\u63a5\u6254\u7ed9 BSP Developer\u3002<\/p>\n<p>\u63a8\u8350&#xff1a;<\/p>\n<p>                  Customer<br \/>\n                     \u2502<br \/>\n                     \u25bc<br \/>\n              \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n              \u2502   Level <span class=\"token number\">1<\/span>    \u2502<br \/>\n              \u2502 FAE <span class=\"token operator\">\/<\/span> Support\u2502<br \/>\n              \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                     \u2502<br \/>\n               BSP problem<span class=\"token operator\">?<\/span><br \/>\n                <span class=\"token operator\">\/<\/span>          \\\\<br \/>\n              NO            YES<br \/>\n              \u2502              \u2502<br \/>\n              \u25bc              \u25bc<br \/>\n        Product <span class=\"token operator\">\/<\/span> HW     Level <span class=\"token number\">2<\/span><br \/>\n          Team          BSP Engineer<br \/>\n                           \u2502<br \/>\n                     Driver <span class=\"token operator\">\/<\/span> HAL <span class=\"token operator\">\/<\/span><br \/>\n                     Zephyr <span class=\"token operator\">\/<\/span> SoC<br \/>\n                           \u2502<br \/>\n                           \u25bc<br \/>\n                        Level <span class=\"token number\">3<\/span><br \/>\n                    SoC <span class=\"token operator\">\/<\/span> Architecture<br \/>\n                    <span class=\"token operator\">\/<\/span> Silicon Engineer<\/p>\n<p>L1&#xff1a;FAE<\/p>\n<p>\u4e3b\u8981\u5904\u7406&#xff1a;<\/p>\n<p>\u73af\u5883\u95ee\u9898<br \/>\nSDK \u5b89\u88c5<br \/>\nToolchain<br \/>\nFlash<br \/>\nDebug<br \/>\n\u57fa\u672c API<br \/>\nSample<br \/>\nDevicetree<br \/>\nKconfig<br \/>\n\u5e38\u89c1\u9519\u8bef<\/p>\n<p>L2&#xff1a;BSP Engineer<\/p>\n<p>\u5904\u7406&#xff1a;<\/p>\n<p>Driver bug<br \/>\nHAL bug<br \/>\nZephyr integration<br \/>\nDevicetree bug<br \/>\nKconfig bug<br \/>\nClock<br \/>\nInterrupt<br \/>\nDMA<br \/>\nPower management<br \/>\nBoot<br \/>\nLinker<br \/>\nMemory map<\/p>\n<p>L3&#xff1a;SoC \/ Silicon Engineer<\/p>\n<p>\u5904\u7406&#xff1a;<\/p>\n<p>Silicon errata<br \/>\nHardware limitation<br \/>\nundocumented behavior<br \/>\nclock anomaly<br \/>\nperipheral hardware bug<br \/>\nCPU<span class=\"token operator\">\/<\/span>cache issue<br \/>\nreset<span class=\"token operator\">\/<\/span>power domain \u95ee\u9898<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>FAE<span class=\"token operator\">:<\/span><br \/>\n    SPI timeout<\/p>\n<p>      \u2193<\/p>\n<p>BSP<span class=\"token operator\">:<\/span><br \/>\n    SPI driver configuration looks correct<\/p>\n<p>      \u2193<\/p>\n<p>SoC<span class=\"token operator\">:<\/span><br \/>\n    SPI peripheral reset sequence has silicon issue<\/p>\n<p>      \u2193<\/p>\n<p>SoC team<span class=\"token operator\">:<\/span><br \/>\n    Errata XYZ<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">17<\/span><\/p>\n<p>      \u2193<\/p>\n<p>BSP<span class=\"token operator\">:<\/span><br \/>\n    workaround added<\/p>\n<p>      \u2193<\/p>\n<p>Release<span class=\"token operator\">:<\/span><br \/>\n    BSP v2<span class=\"token punctuation\">.<\/span><span class=\"token number\">4.2<\/span><\/p>\n<p>\u8fd9\u624d\u662f\u5b8c\u6574\u95ed\u73af\u3002<\/p>\n<p>\u4e09\u3001FAE \u6700\u91cd\u8981\u7684\u80fd\u529b&#xff1a;Problem Classification<\/p>\n<p>FAE \u7b2c\u4e00\u4ef6\u4e8b\u60c5\u4e0d\u662f&#034;\u4fee\u4ee3\u7801&#034;\u3002<br \/>\n\u800c\u662f&#xff1a;<br \/>\n\u5224\u65ad\u95ee\u9898\u5230\u5e95\u5c5e\u4e8e\u54ea\u4e00\u5c42\u3002<br \/>\n\u4f8b\u5982\u5ba2\u6237\u8bf4&#xff1a;<\/p>\n<p>UART \u6ca1\u6709\u8f93\u51fa<\/p>\n<p>\u53ef\u80fd\u6709&#xff1a;<\/p>\n<p>Application<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 printk \u914d\u9519<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 console \u914d\u9519<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 DeviceTree \u914d\u9519<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Kconfig \u914d\u9519<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 UART driver bug<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Clock \u6ca1\u6253\u5f00<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Pinmux \u9519\u8bef<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Reset \u6ca1\u91ca\u653e<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Board hardware \u9519\u8bef<br \/>\n\u2502<br \/>\n\u2514\u2500\u2500 Silicon issue<\/p>\n<p>\u56e0\u6b64 BSP FAE \u5fc5\u987b\u5efa\u7acb\u4e00\u5957&#xff1a;<br \/>\nProblem Isolation Tree<\/p>\n<p>\u56db\u3001\u6807\u51c6 BSP \u95ee\u9898\u5b9a\u4f4d\u6d41\u7a0b<\/p>\n<p>\u6211\u5efa\u8bae\u516c\u53f8\u76f4\u63a5\u89c4\u5b9a&#xff1a;<\/p>\n<p>Step <span class=\"token number\">1<\/span><br \/>\nEnvironment<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">2<\/span><br \/>\nReproduce<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">3<\/span><br \/>\nMinimal Example<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">4<\/span><br \/>\nDetermine Layer<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">5<\/span><br \/>\nCollect Evidence<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">6<\/span><br \/>\nAssign Owner<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">7<\/span><br \/>\nFix<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">8<\/span><br \/>\nRegression Test<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">9<\/span><br \/>\nRelease<\/p>\n<p>    \u2193<\/p>\n<p>Step <span class=\"token number\">10<\/span><br \/>\nUpdate Documentation<\/p>\n<p>\u6ce8\u610f\u6700\u540e\u4e24\u6b65\u3002<br \/>\nFAE \u95ee\u9898\u4e0d\u80fd\u505c\u5728&#034;\u5ba2\u6237\u73b0\u5728\u597d\u4e86&#034;\u3002<br \/>\n\u5fc5\u987b\u8fdb\u5165&#xff1a;<\/p>\n<p>Bug<br \/>\n\u2193<br \/>\nFix<br \/>\n\u2193<br \/>\nRegression Test<br \/>\n\u2193<br \/>\nDocumentation<br \/>\n\u2193<br \/>\nRelease<br \/>\n\u2193<br \/>\nKnowledge Base<\/p>\n<p>\u5426\u5219\u540c\u4e00\u4e2a\u95ee\u9898\u534a\u5e74\u4ee5\u540e\u8fd8\u4f1a\u518d\u6b21\u53d1\u751f\u3002<\/p>\n<p>\u4e94\u3001\u5ba2\u6237\u63d0\u4ea4 BSP Issue \u5e94\u8be5\u8981\u6c42\u4ec0\u4e48&#xff1f;<\/p>\n<p>\u5efa\u8bae\u516c\u53f8\u5efa\u7acb\u7edf\u4e00\u7684&#xff1a;<br \/>\nBSP Issue Template<br \/>\n\u5ba2\u6237\u81f3\u5c11\u63d0\u4f9b&#xff1a;<\/p>\n<p>Customer<span class=\"token operator\">:<\/span><br \/>\nProduct<span class=\"token operator\">:<\/span><br \/>\nBoard<span class=\"token operator\">:<\/span><br \/>\nSoC<span class=\"token operator\">:<\/span><br \/>\nBSP Version<span class=\"token operator\">:<\/span><br \/>\nSDK Version<span class=\"token operator\">:<\/span><br \/>\nZephyr Version<span class=\"token operator\">:<\/span><br \/>\nToolchain<span class=\"token operator\">:<\/span><br \/>\nHost OS<span class=\"token operator\">:<\/span><br \/>\nProblem Description<span class=\"token operator\">:<\/span><br \/>\nExpected Behavior<span class=\"token operator\">:<\/span><br \/>\nActual Behavior<span class=\"token operator\">:<\/span><br \/>\nReproduction Steps<span class=\"token operator\">:<\/span><br \/>\nMinimal Example<span class=\"token operator\">:<\/span><br \/>\nBuild Log<span class=\"token operator\">:<\/span><br \/>\nRuntime Log<span class=\"token operator\">:<\/span><br \/>\nConfiguration<span class=\"token operator\">:<\/span><br \/>\nDevicetree<span class=\"token operator\">:<\/span><br \/>\nHardware Revision<span class=\"token operator\">:<\/span><br \/>\nFrequency<span class=\"token operator\">:<\/span><br \/>\nPower Supply<span class=\"token operator\">:<\/span><br \/>\nAttachments<span class=\"token operator\">:<\/span><br \/>\nlog<br \/>\nmap<br \/>\nelf<br \/>\nconfig<br \/>\nscreenshot<br \/>\nwaveform<\/p>\n<p>\u5176\u4e2d\u6700\u91cd\u8981\u7684\u662f&#xff1a;<\/p>\n<p>BSP Version<br \/>\nBoard Revision<br \/>\nSoC Revision<br \/>\nToolchain Version<br \/>\nReproduction Steps<\/p>\n<p>\u6ca1\u6709\u8fd9\u4e9b\u4fe1\u606f&#xff0c;\u5f88\u591a BSP bug \u6839\u672c\u65e0\u6cd5\u53ef\u9760\u91cd\u73b0\u3002<\/p>\n<p>\u516d\u3001\u4e3a\u4ec0\u4e48 BSP Version \u7279\u522b\u91cd\u8981&#xff1f;<\/p>\n<p>\u5047\u8bbe\u5ba2\u6237\u8bf4&#xff1a;<br \/>\n\u201cUART \u5728\u6211\u7684\u673a\u5668\u4e0a\u4e0d\u5de5\u4f5c\u3002\u201d<br \/>\nFAE \u4e0d\u80fd\u76f4\u63a5\u56de\u7b54\u3002<br \/>\n\u9996\u5148\u5fc5\u987b\u77e5\u9053&#xff1a;<\/p>\n<p>Customer BSP<br \/>\n    v1.8.0 ?<br \/>\n    v1.9.0 ?<br \/>\n    v2.0.0 ?<br \/>\n    v2.1.3 ?<\/p>\n<p>Board<br \/>\n    Rev A ?<br \/>\n    Rev B ?<\/p>\n<p>SoC<br \/>\n    Rev <span class=\"token number\">1<\/span> ?<br \/>\n    Rev <span class=\"token number\">2<\/span> ?<\/p>\n<p>Toolchain<br \/>\n    GCC <span class=\"token number\">12<\/span> ?<br \/>\n    GCC <span class=\"token number\">14<\/span> ?<\/p>\n<p>Zephyr<br \/>\n    <span class=\"token number\">3<\/span>.x ?<br \/>\n    <span class=\"token number\">4<\/span>.x ?<\/p>\n<p>\u56e0\u4e3a&#xff1a;<\/p>\n<p>Customer A<br \/>\nBSP v2<span class=\"token punctuation\">.<\/span><span class=\"token number\">1.0<\/span><br \/>\n\u2193<br \/>\nworks<\/p>\n<p>Customer B<br \/>\nBSP v2<span class=\"token punctuation\">.<\/span><span class=\"token number\">2.0<\/span><br \/>\n\u2193<br \/>\nfails<\/p>\n<p>\u90a3\u4e48\u95ee\u9898\u8303\u56f4\u7acb\u523b\u7f29\u5c0f\u5230&#xff1a;<\/p>\n<p>v2.1.0 \u2192 v2.2.0<\/p>\n<p>\u8fd9\u6b63\u662f\u524d\u9762 42 \u2014 BSP Versioning &amp; Release Management \u6240\u4f53\u73b0\u7684\u4ef7\u503c\u3002<\/p>\n<p>\u4e03\u3001FAE \u5fc5\u987b\u80fd\u591f&#034;\u4e00\u952e\u6536\u96c6 Debug \u4fe1\u606f&#034;<\/p>\n<p>\u8fd9\u662f\u516c\u53f8 BSP SDK \u5f88\u503c\u5f97\u505a\u7684\u529f\u80fd\u3002<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>west bsp<span class=\"token operator\">&#8211;<\/span>info<\/p>\n<p>\u8f93\u51fa&#xff1a;<\/p>\n<p><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><br \/>\nCompany BSP Diagnostic Information<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><\/p>\n<p>BSP Version:<br \/>\n    <span class=\"token number\">2.4<\/span>.1<\/p>\n<p>Zephyr:<br \/>\n    <span class=\"token number\">4.2<\/span>.0<\/p>\n<p>Board:<br \/>\n    company_xyz_evb<\/p>\n<p>Board Revision:<br \/>\n    Rev.B<\/p>\n<p>SoC:<br \/>\n    XYZ123<\/p>\n<p>SoC Revision:<br \/>\n    Rev.2<\/p>\n<p>Toolchain:<br \/>\n    Zephyr SDK <span class=\"token number\">0.17<\/span>.0<\/p>\n<p>Host:<br \/>\n    Ubuntu <span class=\"token number\">24.04<\/span><\/p>\n<p>Build:<br \/>\n    Debug<\/p>\n<p>Kconfig:<br \/>\n    attached<\/p>\n<p>Devicetree:<br \/>\n    attached<\/p>\n<p>Git:<br \/>\n    commit 8a91c2d<\/p>\n<p><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><\/p>\n<p>\u751a\u81f3\u53ef\u4ee5&#xff1a;<\/p>\n<p>west bsp-support-bundle<\/p>\n<p>\u751f\u6210&#xff1a;<\/p>\n<p>support-bundle-2026-09-18.tar.gz<\/p>\n<p>\u91cc\u9762&#xff1a;<\/p>\n<p>support-bundle\/<br \/>\n\u251c\u2500\u2500 version.txt<br \/>\n\u251c\u2500\u2500 west.yml<br \/>\n\u251c\u2500\u2500 git-status.txt<br \/>\n\u251c\u2500\u2500 git-log.txt<br \/>\n\u251c\u2500\u2500 board.txt<br \/>\n\u251c\u2500\u2500 soc.txt<br \/>\n\u251c\u2500\u2500 toolchain.txt<br \/>\n\u251c\u2500\u2500 host.txt<br \/>\n\u251c\u2500\u2500 build\/<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.config<br \/>\n\u2502   \u251c\u2500\u2500 devicetree_generated.h<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.dts<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.map<br \/>\n\u2502   \u2514\u2500\u2500 zephyr.elf<br \/>\n\u251c\u2500\u2500 logs\/<br \/>\n\u2502   \u2514\u2500\u2500 console.log<br \/>\n\u2514\u2500\u2500 hardware\/<br \/>\n    \u2514\u2500\u2500 board-revision.txt<\/p>\n<p>\u4e0b\u9762\u7ed9\u51fa\u8fd9\u4e24\u4e2a\u547d\u4ee4\u7684 Zephyr \u6a21\u5757\u5b9e\u73b0\u793a\u4f8b\u3002west \u6269\u5c55\u547d\u4ee4\u672c\u8d28\u4e0a\u662f Python \u5305&#xff0c;\u653e\u5728 scripts\/west-commands\/ \u4e0b&#xff0c;\u901a\u8fc7 west.yml \u7684 west-commands \u5b57\u6bb5\u6ce8\u518c\u3002<\/p>\n<p>\u6a21\u5757\u6587\u4ef6\u7ed3\u6784<\/p>\n<p>scripts\/west-commands\/<br \/>\n\u251c\u2500\u2500 bsp_support\/<br \/>\n\u2502   \u251c\u2500\u2500 __init__.py          <span class=\"token comment\"># \u7a7a\u6587\u4ef6&#xff0c;\u6807\u8bb0\u4e3a Python \u5305<\/span><br \/>\n\u2502   \u251c\u2500\u2500 bsp_info.py          <span class=\"token comment\"># west bsp-info \u547d\u4ee4\u5b9e\u73b0<\/span><br \/>\n\u2502   \u251c\u2500\u2500 bsp_support_bundle.py<span class=\"token comment\"># west bsp-support-bundle \u547d\u4ee4\u5b9e\u73b0<\/span><br \/>\n\u2502   \u2514\u2500\u2500 common.py            <span class=\"token comment\"># \u4e24\u4e2a\u547d\u4ee4\u5171\u4eab\u7684\u6536\u96c6\/\u6253\u5305\u5de5\u5177\u51fd\u6570<\/span><\/p>\n<p>west.yml \u6ce8\u518c&#xff08;\u5728 BSP manifest \u4ed3\u5e93\u4e2d&#xff09;<\/p>\n<p><span class=\"token key atrule\">manifest<\/span><span class=\"token punctuation\">:<\/span><br \/>\n  <span class=\"token key atrule\">self<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token key atrule\">west-commands<\/span><span class=\"token punctuation\">:<\/span> scripts\/west<span class=\"token punctuation\">&#8211;<\/span>commands\/bsp_support.py<\/p>\n<p>bsp_support.py \u2014\u2014 west \u547d\u4ee4\u5165\u53e3<\/p>\n<p><span class=\"token comment\"># scripts\/west-commands\/bsp_support.py<\/span><br \/>\n<span class=\"token comment\"># \u8fd9\u662f west \u6269\u5c55\u547d\u4ee4\u7684\u5165\u53e3\u6587\u4ef6&#xff0c;west \u4f1a\u626b\u63cf\u5b83\u5e76\u6ce8\u518c\u5176\u4e2d\u7684 WestCommand \u5b50\u7c7b\u3002<\/span><br \/>\n<span class=\"token keyword\">from<\/span> west<span class=\"token punctuation\">.<\/span>commands <span class=\"token keyword\">import<\/span> WestCommand<\/p>\n<p><span class=\"token keyword\">from<\/span> bsp_support<span class=\"token punctuation\">.<\/span>bsp_info <span class=\"token keyword\">import<\/span> BspInfo<br \/>\n<span class=\"token keyword\">from<\/span> bsp_support<span class=\"token punctuation\">.<\/span>bsp_support_bundle <span class=\"token keyword\">import<\/span> BspSupportBundle<\/p>\n<p><span class=\"token comment\"># \u628a\u4e24\u4e2a\u547d\u4ee4\u7c7b\u5bfc\u51fa\u7ed9 west \u53d1\u73b0\u3002<\/span><br \/>\n<span class=\"token comment\"># west \u8981\u6c42\u6bcf\u4e2a\u547d\u4ee4\u7c7b\u90fd\u7ee7\u627f WestCommand&#xff0c;\u5e76\u5b9e\u73b0 do_add_parser \/ do_run\u3002<\/span><br \/>\n__all__ <span class=\"token operator\">&#061;<\/span> <span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;BspInfo&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;BspSupportBundle&#034;<\/span><span class=\"token punctuation\">]<\/span><\/p>\n<p>common.py \u2014\u2014 \u5171\u4eab\u5de5\u5177\u51fd\u6570<\/p>\n<p><span class=\"token comment\"># scripts\/west-commands\/bsp_support\/common.py<\/span><br \/>\n<span class=\"token comment\"># \u4e24\u4e2a\u547d\u4ee4\u5171\u7528\u7684\u8f85\u52a9\u51fd\u6570&#xff1a;\u8bfb\u53d6\u7248\u672c\u3001\u6267\u884c git \u547d\u4ee4\u3001\u6536\u96c6\u6784\u5efa\u4ea7\u7269\u3002<\/span><br \/>\n<span class=\"token keyword\">import<\/span> os<br \/>\n<span class=\"token keyword\">import<\/span> subprocess<br \/>\n<span class=\"token keyword\">from<\/span> pathlib <span class=\"token keyword\">import<\/span> Path<\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">run_cmd<\/span><span class=\"token punctuation\">(<\/span>cmd<span class=\"token punctuation\">,<\/span> cwd<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">None<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u6267\u884c shell \u547d\u4ee4\u5e76\u8fd4\u56de\u53bb\u9664\u9996\u5c3e\u7a7a\u767d\u7684\u8f93\u51fa\u3002<\/p>\n<p>    \u4f5c\u7528&#xff1a;\u7edf\u4e00\u5c01\u88c5 subprocess&#xff0c;\u65b9\u4fbf\u6536\u96c6 git \u7248\u672c\u3001toolchain \u7248\u672c\u7b49\u4fe1\u606f\u3002<br \/>\n    \u5931\u8d25\u65f6\u8fd4\u56de\u7a7a\u5b57\u7b26\u4e32&#xff0c;\u907f\u514d\u547d\u4ee4\u4e0d\u5b58\u5728\u5bfc\u81f4\u6574\u4e2a west \u547d\u4ee4\u5d29\u6e83\u3002<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">try<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        result <span class=\"token operator\">&#061;<\/span> subprocess<span class=\"token punctuation\">.<\/span>run<span class=\"token punctuation\">(<\/span><br \/>\n            cmd<span class=\"token punctuation\">,<\/span> cwd<span class=\"token operator\">&#061;<\/span>cwd<span class=\"token punctuation\">,<\/span> capture_output<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span> text<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span> check<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">False<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> result<span class=\"token punctuation\">.<\/span>stdout<span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">except<\/span> <span class=\"token punctuation\">(<\/span>FileNotFoundError<span class=\"token punctuation\">,<\/span> subprocess<span class=\"token punctuation\">.<\/span>SubprocessError<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;&#034;<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">get_bsp_version<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u8bfb\u53d6 BSP \u7248\u672c\u53f7\u3002<\/p>\n<p>    \u4f5c\u7528&#xff1a;\u4ece BSP \u4ed3\u5e93\u6839\u76ee\u5f55\u7684 VERSION \u6587\u4ef6\u8bfb\u53d6\u7248\u672c&#xff0c;\u4f9b bsp-info \u5c55\u793a\u3002<br \/>\n    \u82e5\u6587\u4ef6\u4e0d\u5b58\u5728\u5219\u56de\u9000\u5230 git describe&#xff0c;\u4fdd\u8bc1\u4efb\u4f55\u60c5\u51b5\u4e0b\u90fd\u6709\u53ef\u8bfb\u7248\u672c\u3002<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    version_file <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;VERSION&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> version_file<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> version_file<span class=\"token punctuation\">.<\/span>read_text<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;git&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;describe&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;tags&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;always&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">get_zephyr_version<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u8bfb\u53d6 Zephyr \u7248\u672c\u53f7\u3002<\/p>\n<p>    \u4f5c\u7528&#xff1a;\u4ece Zephyr \u4ed3\u5e93\u7684 VERSION \u6587\u4ef6\u8bfb\u53d6\u4e3b\u7248\u672c\u53f7&#xff0c;\u7528\u4e8e\u8bca\u65ad\u4fe1\u606f\u5c55\u793a\u3002<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    version_file <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;zephyr\/VERSION&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> version_file<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> version_file<span class=\"token punctuation\">.<\/span>read_text<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;unknown&#034;<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">get_git_commit<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u83b7\u53d6\u5f53\u524d git commit \u77ed\u54c8\u5e0c\u3002<\/p>\n<p>    \u4f5c\u7528&#xff1a;\u8ba9 FAE \u80fd\u7cbe\u786e\u77e5\u9053\u5ba2\u6237\u4f7f\u7528\u7684\u4ee3\u7801\u7248\u672c&#xff0c;\u662f\u5b9a\u4f4d\u95ee\u9898\u7684\u5173\u952e\u4fe1\u606f\u3002<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    <span class=\"token keyword\">return<\/span> run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;git&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;rev-parse&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;short&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;HEAD&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p><span class=\"token keyword\">def<\/span> <span class=\"token function\">collect_build_artifacts<\/span><span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u628a\u6784\u5efa\u4ea7\u7269\u590d\u5236\u5230 bundle \u76ee\u5f55\u3002<\/p>\n<p>    \u4f5c\u7528&#xff1a;\u5c06 zephyr.config\u3001devicetree_generated.h\u3001zephyr.dts\u3001map\u3001elf<br \/>\n    \u7b49\u6587\u4ef6\u96c6\u4e2d\u5230 support bundle \u4e2d&#xff0c;\u65b9\u4fbf FAE \u79bb\u7ebf\u5206\u6790\u3002<br \/>\n    &#034;&#034;&#034;<\/span><br \/>\n    build_dir <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;build&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n    <span class=\"token keyword\">if<\/span> <span class=\"token keyword\">not<\/span> build_dir<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token keyword\">return<\/span><\/p>\n<p>    target <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span> <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;build&#034;<\/span><br \/>\n    target<span class=\"token punctuation\">.<\/span>mkdir<span class=\"token punctuation\">(<\/span>parents<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">,<\/span> exist_ok<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token comment\"># \u9010\u4e2a\u590d\u5236\u5173\u952e\u6784\u5efa\u4ea7\u7269&#xff0c;\u7f3a\u5931\u7684\u6587\u4ef6\u8df3\u8fc7&#xff0c;\u4e0d\u4e2d\u65ad\u6253\u5305\u6d41\u7a0b\u3002<\/span><br \/>\n    <span class=\"token keyword\">for<\/span> name <span class=\"token keyword\">in<\/span> <span class=\"token punctuation\">[<\/span><br \/>\n        <span class=\"token string\">&#034;zephyr.config&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;devicetree_generated.h&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;zephyr.dts&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;zephyr.map&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token string\">&#034;zephyr.elf&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n    <span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        src <span class=\"token operator\">&#061;<\/span> build_dir <span class=\"token operator\">\/<\/span> name<br \/>\n        <span class=\"token keyword\">if<\/span> src<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token comment\"># shutil.copy2 \u4fdd\u7559\u6587\u4ef6\u65f6\u95f4\u6233&#xff0c;\u4fbf\u4e8e\u540e\u7eed\u5bf9\u6bd4\u6784\u5efa\u65f6\u95f4\u3002<\/span><br \/>\n            <span class=\"token keyword\">import<\/span> shutil<br \/>\n            shutil<span class=\"token punctuation\">.<\/span>copy2<span class=\"token punctuation\">(<\/span>src<span class=\"token punctuation\">,<\/span> target <span class=\"token operator\">\/<\/span> name<span class=\"token punctuation\">)<\/span><\/p>\n<p>bsp_info.py \u2014\u2014 west bsp-info \u5b9e\u73b0<\/p>\n<p><span class=\"token comment\"># scripts\/west-commands\/bsp_support\/bsp_info.py<\/span><br \/>\n<span class=\"token comment\"># \u5b9e\u73b0 west bsp-info&#xff1a;\u4e00\u952e\u6253\u5370\u5ba2\u6237\u73af\u5883\u7684\u5173\u952e\u8bca\u65ad\u4fe1\u606f\u3002<\/span><br \/>\n<span class=\"token keyword\">import<\/span> platform<\/p>\n<p><span class=\"token keyword\">from<\/span> west<span class=\"token punctuation\">.<\/span>commands <span class=\"token keyword\">import<\/span> WestCommand<br \/>\n<span class=\"token keyword\">from<\/span> west <span class=\"token keyword\">import<\/span> log<\/p>\n<p><span class=\"token keyword\">from<\/span> bsp_support <span class=\"token keyword\">import<\/span> common<\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">BspInfo<\/span><span class=\"token punctuation\">(<\/span>WestCommand<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;west bsp-info \u2014\u2014 \u6253\u5370 BSP \u8bca\u65ad\u4fe1\u606f\u3002&#034;&#034;&#034;<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">__init__<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token builtin\">super<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>__init__<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string\">&#034;bsp-info&#034;<\/span><span class=\"token punctuation\">,<\/span>                       <span class=\"token comment\"># \u547d\u4ee4\u540d&#xff1a;west bsp-info<\/span><br \/>\n            <span class=\"token string\">&#034;\u6253\u5370 BSP \u8bca\u65ad\u4fe1\u606f&#034;<\/span><span class=\"token punctuation\">,<\/span>               <span class=\"token comment\"># \u5e2e\u52a9\u6587\u672c<\/span><br \/>\n            <span class=\"token string\">&#034;\u6536\u96c6\u5e76\u6253\u5370 BSP \u7248\u672c\u3001Zephyr \u7248\u672c\u3001&#034;<\/span><br \/>\n            <span class=\"token string\">&#034;\u677f\u5361\u3001SoC\u3001toolchain \u7b49\u8bca\u65ad\u4fe1\u606f&#034;<\/span><span class=\"token punctuation\">,<\/span>  <span class=\"token comment\"># \u8be6\u7ec6\u63cf\u8ff0<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">do_add_parser<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> parser_adder<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token comment\"># \u6ce8\u518c\u547d\u4ee4\u884c\u53c2\u6570\u3002\u8fd9\u91cc\u6ca1\u6709\u989d\u5916\u53c2\u6570&#xff0c;\u4ec5\u6dfb\u52a0 &#8211;verbose \u7531\u7236\u7c7b\u63d0\u4f9b\u3002<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> parser_adder<span class=\"token punctuation\">.<\/span>add_parser<span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">.<\/span>name<span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">help<\/span><span class=\"token operator\">&#061;<\/span>self<span class=\"token punctuation\">.<\/span><span class=\"token builtin\">help<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">do_run<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> args<span class=\"token punctuation\">,<\/span> unknown_args<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u547d\u4ee4\u4e3b\u903b\u8f91&#xff1a;\u9010\u9879\u6536\u96c6\u4fe1\u606f\u5e76\u6253\u5370\u3002&#034;&#034;&#034;<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;Company BSP Diagnostic Information&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#061;&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># \u9010\u9879\u6536\u96c6\u5e76\u6253\u5370&#xff0c;\u6bcf\u9879\u90fd\u6765\u81ea common \u4e2d\u7684\u5de5\u5177\u51fd\u6570\u3002<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;BSP Version:    <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>common<span class=\"token punctuation\">.<\/span>get_bsp_version<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Zephyr:         <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>common<span class=\"token punctuation\">.<\/span>get_zephyr_version<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Board:          <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>self<span class=\"token punctuation\">.<\/span>_get_board<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;SoC:            <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>self<span class=\"token punctuation\">.<\/span>_get_soc<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Toolchain:      <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>self<span class=\"token punctuation\">.<\/span>_get_toolchain<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Host:           <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>platform<span class=\"token punctuation\">.<\/span>platform<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><br \/>\n        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Git:            <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>common<span class=\"token punctuation\">.<\/span>get_git_commit<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_get_board<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u4ece build \u76ee\u5f55\u7684 zephyr.dts \u6216 board \u6587\u4ef6\u8bfb\u53d6\u677f\u5361\u540d\u3002&#034;&#034;&#034;<\/span><br \/>\n        dts <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;build\/zephyr.dts&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> dts<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token comment\"># \u53d6 dts \u4e2d \/dts-v1\/ \u540e\u7684\u7b2c\u4e00\u884c\u6ce8\u91ca&#xff0c;\u901a\u5e38\u662f\u677f\u5361\u540d\u3002<\/span><br \/>\n            <span class=\"token keyword\">for<\/span> line <span class=\"token keyword\">in<\/span> dts<span class=\"token punctuation\">.<\/span>read_text<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>splitlines<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">if<\/span> <span class=\"token string\">&#034;\/*&#034;<\/span> <span class=\"token keyword\">in<\/span> line<span class=\"token punctuation\">:<\/span><br \/>\n                    <span class=\"token keyword\">return<\/span> line<span class=\"token punctuation\">.<\/span>strip<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;\/* &#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;unknown&#034;<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_get_soc<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u4ece build \u76ee\u5f55\u7684 zephyr.dts \u8bfb\u53d6 SoC \u578b\u53f7\u3002&#034;&#034;&#034;<\/span><br \/>\n        dts <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;build\/zephyr.dts&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> dts<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token keyword\">for<\/span> line <span class=\"token keyword\">in<\/span> dts<span class=\"token punctuation\">.<\/span>read_text<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>splitlines<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n                <span class=\"token keyword\">if<\/span> <span class=\"token string\">&#034;soc&#034;<\/span> <span class=\"token keyword\">in<\/span> line <span class=\"token keyword\">and<\/span> <span class=\"token string\">&#034;compatible&#034;<\/span> <span class=\"token keyword\">in<\/span> line<span class=\"token punctuation\">:<\/span><br \/>\n                    <span class=\"token keyword\">return<\/span> line<span class=\"token punctuation\">.<\/span>split<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#039;&#034;&#039;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">[<\/span><span class=\"token number\">1<\/span><span class=\"token punctuation\">]<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> <span class=\"token string\">&#034;unknown&#034;<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_get_toolchain<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u8bfb\u53d6 Zephyr SDK \u7248\u672c\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> common<span class=\"token punctuation\">.<\/span>run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;zephyr-sdk-version&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">or<\/span> <span class=\"token string\">&#034;Zephyr SDK (default)&#034;<\/span><\/p>\n<p>bsp_support_bundle.py \u2014\u2014 west bsp-support-bundle \u5b9e\u73b0<\/p>\n<p><span class=\"token comment\"># scripts\/west-commands\/bsp_support\/bsp_support_bundle.py<\/span><br \/>\n<span class=\"token comment\"># \u5b9e\u73b0 west bsp-support-bundle&#xff1a;\u628a\u8bca\u65ad\u4fe1\u606f\u6253\u5305\u6210 tar.gz&#xff0c;\u65b9\u4fbf FAE \u79bb\u7ebf\u5206\u6790\u3002<\/span><br \/>\n<span class=\"token keyword\">import<\/span> tarfile<br \/>\n<span class=\"token keyword\">from<\/span> datetime <span class=\"token keyword\">import<\/span> date<br \/>\n<span class=\"token keyword\">from<\/span> pathlib <span class=\"token keyword\">import<\/span> Path<\/p>\n<p><span class=\"token keyword\">from<\/span> west<span class=\"token punctuation\">.<\/span>commands <span class=\"token keyword\">import<\/span> WestCommand<br \/>\n<span class=\"token keyword\">from<\/span> west <span class=\"token keyword\">import<\/span> log<\/p>\n<p><span class=\"token keyword\">from<\/span> bsp_support <span class=\"token keyword\">import<\/span> common<\/p>\n<p><span class=\"token keyword\">class<\/span> <span class=\"token class-name\">BspSupportBundle<\/span><span class=\"token punctuation\">(<\/span>WestCommand<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n    <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;west bsp-support-bundle \u2014\u2014 \u6253\u5305 BSP \u8bca\u65ad\u4fe1\u606f\u3002&#034;&#034;&#034;<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">__init__<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token builtin\">super<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>__init__<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string\">&#034;bsp-support-bundle&#034;<\/span><span class=\"token punctuation\">,<\/span>              <span class=\"token comment\"># \u547d\u4ee4\u540d<\/span><br \/>\n            <span class=\"token string\">&#034;\u6253\u5305 BSP \u8bca\u65ad\u4fe1\u606f\u4e3a tar.gz&#034;<\/span><span class=\"token punctuation\">,<\/span>       <span class=\"token comment\"># \u5e2e\u52a9\u6587\u672c<\/span><br \/>\n            <span class=\"token string\">&#034;\u6536\u96c6\u7248\u672c\u3001git \u72b6\u6001\u3001\u6784\u5efa\u4ea7\u7269\u3001\u65e5\u5fd7\u7b49&#xff0c;&#034;<\/span><br \/>\n            <span class=\"token string\">&#034;\u6253\u5305\u6210 support-bundle-&lt;date&gt;.tar.gz&#034;<\/span><span class=\"token punctuation\">,<\/span>  <span class=\"token comment\"># \u8be6\u7ec6\u63cf\u8ff0<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">do_add_parser<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> parser_adder<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token comment\"># \u6ce8\u518c &#8211;output \u53c2\u6570&#xff0c;\u5141\u8bb8\u7528\u6237\u81ea\u5b9a\u4e49\u8f93\u51fa\u6587\u4ef6\u540d\u3002<\/span><br \/>\n        parser <span class=\"token operator\">&#061;<\/span> parser_adder<span class=\"token punctuation\">.<\/span>add_parser<span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">.<\/span>name<span class=\"token punctuation\">,<\/span> <span class=\"token builtin\">help<\/span><span class=\"token operator\">&#061;<\/span>self<span class=\"token punctuation\">.<\/span><span class=\"token builtin\">help<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        parser<span class=\"token punctuation\">.<\/span>add_argument<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string\">&#034;-o&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;output&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n            default<span class=\"token operator\">&#061;<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;support-bundle-<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>date<span class=\"token punctuation\">.<\/span>today<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>isoformat<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">.tar.gz&#034;<\/span><\/span><span class=\"token punctuation\">,<\/span><br \/>\n            <span class=\"token builtin\">help<\/span><span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;\u8f93\u51fa\u6587\u4ef6\u540d&#xff08;\u9ed8\u8ba4 support-bundle-&lt;date&gt;.tar.gz&#xff09;&#034;<\/span><span class=\"token punctuation\">,<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">return<\/span> parser<\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">do_run<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> args<span class=\"token punctuation\">,<\/span> unknown_args<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u547d\u4ee4\u4e3b\u903b\u8f91&#xff1a;\u521b\u5efa\u4e34\u65f6\u76ee\u5f55\u3001\u6536\u96c6\u4fe1\u606f\u3001\u6253\u5305\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token comment\"># 1. \u521b\u5efa\u4e34\u65f6\u76ee\u5f55&#xff0c;\u6240\u6709\u6587\u4ef6\u5148\u96c6\u4e2d\u5230\u8fd9\u91cc\u3002<\/span><br \/>\n        bundle_dir <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;support-bundle-tmp&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        bundle_dir<span class=\"token punctuation\">.<\/span>mkdir<span class=\"token punctuation\">(<\/span>exist_ok<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># 2. \u9010\u9879\u5199\u5165\u8bca\u65ad\u4fe1\u606f\u6587\u4ef6\u3002<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>_write_version_files<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>_write_git_files<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>_write_hardware_files<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># 3. \u590d\u5236\u6784\u5efa\u4ea7\u7269&#xff08;zephyr.config\u3001dts\u3001map\u3001elf \u7b49&#xff09;\u3002<\/span><br \/>\n        common<span class=\"token punctuation\">.<\/span>collect_build_artifacts<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># 4. \u6253\u5305\u6210 tar.gz \u5e76\u6e05\u7406\u4e34\u65f6\u76ee\u5f55\u3002<\/span><br \/>\n        self<span class=\"token punctuation\">.<\/span>_create_tarball<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">,<\/span> args<span class=\"token punctuation\">.<\/span>output<span class=\"token punctuation\">)<\/span><\/p>\n<p>        log<span class=\"token punctuation\">.<\/span>inf<span class=\"token punctuation\">(<\/span><span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Support bundle created: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>args<span class=\"token punctuation\">.<\/span>output<span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">&#034;<\/span><\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_write_version_files<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> bundle_dir<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u5199\u5165\u7248\u672c\u4fe1\u606f\u6587\u4ef6&#xff1a;version.txt\u3001west.yml\u3001toolchain.txt\u3001host.txt\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token comment\"># version.txt&#xff1a;BSP \u4e0e Zephyr \u7248\u672c&#xff0c;FAE \u7b2c\u4e00\u773c\u8981\u770b\u7684\u6587\u4ef6\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;version.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;BSP: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>common<span class=\"token punctuation\">.<\/span>get_bsp_version<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">\\\\n&#034;<\/span><\/span><br \/>\n            <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;Zephyr: <\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>common<span class=\"token punctuation\">.<\/span>get_zephyr_version<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">\\\\n&#034;<\/span><\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># west.yml&#xff1a;\u8bb0\u5f55 manifest \u5185\u5bb9&#xff0c;\u4fbf\u4e8e\u590d\u73b0\u5ba2\u6237\u73af\u5883\u3002<\/span><br \/>\n        west_yml <span class=\"token operator\">&#061;<\/span> Path<span class=\"token punctuation\">(<\/span><span class=\"token string\">&#034;west.yml&#034;<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token keyword\">if<\/span> west_yml<span class=\"token punctuation\">.<\/span>exists<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token comment\"># \u76f4\u63a5\u590d\u5236&#xff0c;\u4fdd\u7559\u539f\u59cb\u5185\u5bb9\u3002<\/span><br \/>\n            <span class=\"token keyword\">import<\/span> shutil<br \/>\n            shutil<span class=\"token punctuation\">.<\/span>copy2<span class=\"token punctuation\">(<\/span>west_yml<span class=\"token punctuation\">,<\/span> bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;west.yml&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># toolchain.txt&#xff1a;\u8bb0\u5f55 toolchain \u7248\u672c\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;toolchain.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            common<span class=\"token punctuation\">.<\/span>run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;gcc&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;version&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">or<\/span> <span class=\"token string\">&#034;unknown\\\\n&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># host.txt&#xff1a;\u8bb0\u5f55\u4e3b\u673a\u7cfb\u7edf\u4fe1\u606f\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;host.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string-interpolation\"><span class=\"token string\">f&#034;<\/span><span class=\"token interpolation\"><span class=\"token punctuation\">{<\/span>platform<span class=\"token punctuation\">.<\/span>platform<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">}<\/span><\/span><span class=\"token string\">\\\\n&#034;<\/span><\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_write_git_files<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> bundle_dir<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u5199\u5165 git \u72b6\u6001\u4e0e\u65e5\u5fd7&#xff1a;git-status.txt\u3001git-log.txt\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token comment\"># git-status.txt&#xff1a;\u8bb0\u5f55\u5de5\u4f5c\u533a\u662f\u5426\u6709\u672a\u63d0\u4ea4\u4fee\u6539\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;git-status.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            common<span class=\"token punctuation\">.<\/span>run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;git&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;status&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;short&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">or<\/span> <span class=\"token string\">&#034;clean\\\\n&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># git-log.txt&#xff1a;\u6700\u8fd1 20 \u6761\u63d0\u4ea4\u8bb0\u5f55&#xff0c;\u5e2e\u52a9\u5b9a\u4f4d\u4ee3\u7801\u53d8\u66f4\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;git-log.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            common<span class=\"token punctuation\">.<\/span>run_cmd<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">[<\/span><span class=\"token string\">&#034;git&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;log&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;&#8211;oneline&#034;<\/span><span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;-20&#034;<\/span><span class=\"token punctuation\">]<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">or<\/span> <span class=\"token string\">&#034;no history\\\\n&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_write_hardware_files<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> bundle_dir<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u5199\u5165\u786c\u4ef6\u4fe1\u606f&#xff1a;board.txt\u3001soc.txt\u3001hardware\/board-revision.txt\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token comment\"># board.txt \/ soc.txt&#xff1a;\u4ece dts \u63d0\u53d6\u7684\u677f\u5361\u4e0e SoC \u578b\u53f7\u3002<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;board.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            self<span class=\"token punctuation\">.<\/span>_get_board<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;\\\\n&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;soc.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            self<span class=\"token punctuation\">.<\/span>_get_soc<span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token operator\">&#043;<\/span> <span class=\"token string\">&#034;\\\\n&#034;<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># hardware\/board-revision.txt&#xff1a;\u677f\u5361\u786c\u4ef6\u7248\u672c&#xff0c;\u533a\u5206 Rev A\/B \u7684\u5173\u952e\u3002<\/span><br \/>\n        hw_dir <span class=\"token operator\">&#061;<\/span> bundle_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;hardware&#034;<\/span><br \/>\n        hw_dir<span class=\"token punctuation\">.<\/span>mkdir<span class=\"token punctuation\">(<\/span>exist_ok<span class=\"token operator\">&#061;<\/span><span class=\"token boolean\">True<\/span><span class=\"token punctuation\">)<\/span><br \/>\n        <span class=\"token punctuation\">(<\/span>hw_dir <span class=\"token operator\">\/<\/span> <span class=\"token string\">&#034;board-revision.txt&#034;<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">.<\/span>write_text<span class=\"token punctuation\">(<\/span><br \/>\n            <span class=\"token string\">&#034;Rev.B\\\\n&#034;<\/span>  <span class=\"token comment\"># \u5b9e\u9645\u5e94\u4ece EEPROM \u6216 board \u6587\u4ef6\u8bfb\u53d6<\/span><br \/>\n        <span class=\"token punctuation\">)<\/span><\/p>\n<p>    <span class=\"token keyword\">def<\/span> <span class=\"token function\">_create_tarball<\/span><span class=\"token punctuation\">(<\/span>self<span class=\"token punctuation\">,<\/span> bundle_dir<span class=\"token punctuation\">,<\/span> output<span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">:<\/span><br \/>\n        <span class=\"token triple-quoted-string string\">&#034;&#034;&#034;\u628a\u4e34\u65f6\u76ee\u5f55\u6253\u5305\u6210 tar.gz&#xff0c;\u5e76\u5220\u9664\u4e34\u65f6\u76ee\u5f55\u3002&#034;&#034;&#034;<\/span><br \/>\n        <span class=\"token keyword\">with<\/span> tarfile<span class=\"token punctuation\">.<\/span><span class=\"token builtin\">open<\/span><span class=\"token punctuation\">(<\/span>output<span class=\"token punctuation\">,<\/span> <span class=\"token string\">&#034;w:gz&#034;<\/span><span class=\"token punctuation\">)<\/span> <span class=\"token keyword\">as<\/span> tar<span class=\"token punctuation\">:<\/span><br \/>\n            <span class=\"token comment\"># arcname \u53bb\u6389\u9876\u5c42\u76ee\u5f55\u540d&#xff0c;\u8ba9\u538b\u7f29\u5305\u5185\u76f4\u63a5\u662f support-bundle\/\u3002<\/span><br \/>\n            tar<span class=\"token punctuation\">.<\/span>add<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">,<\/span> arcname<span class=\"token operator\">&#061;<\/span><span class=\"token string\">&#034;support-bundle&#034;<\/span><span class=\"token punctuation\">)<\/span><\/p>\n<p>        <span class=\"token comment\"># \u6253\u5305\u5b8c\u6210\u540e\u6e05\u7406\u4e34\u65f6\u76ee\u5f55&#xff0c;\u907f\u514d\u6b8b\u7559\u3002<\/span><br \/>\n        <span class=\"token keyword\">import<\/span> shutil<br \/>\n        shutil<span class=\"token punctuation\">.<\/span>rmtree<span class=\"token punctuation\">(<\/span>bundle_dir<span class=\"token punctuation\">)<\/span><\/p>\n<p>\u4f7f\u7528\u6548\u679c<\/p>\n<p><span class=\"token comment\"># \u5728 BSP \u4ed3\u5e93\u6839\u76ee\u5f55\u6267\u884c<\/span><br \/>\nwest bsp-info<br \/>\nwest bsp-support-bundle <span class=\"token parameter variable\">-o<\/span> support-bundle-2026-09-18.tar.gz<\/p>\n<p>\u5b9e\u6218\u6848\u4f8b&#xff1a;SPI2 DMA \u4f20\u8f93\u8d85\u65f6<\/p>\n<p>\u4e0b\u9762\u7528\u4e00\u4e2a\u5b8c\u6574\u6848\u4f8b&#xff0c;\u6f14\u793a FAE \u4ece\u63a5\u5230\u5ba2\u6237\u62a5\u544a\u5230\u95ee\u9898\u95ed\u73af\u7684\u5168\u8fc7\u7a0b\u3002<\/p>\n<p>Step 1&#xff1a;\u5ba2\u6237\u539f\u59cb\u95ee\u9898\u63cf\u8ff0<\/p>\n<p>\u5ba2\u6237\u901a\u8fc7 BSP Issue Template \u63d0\u4ea4\u5de5\u5355&#xff1a;<\/p>\n<p>Customer:            Company-ABC<br \/>\nProduct:             Smart Sensor Gateway<br \/>\nBoard:               company_xyz_evb <span class=\"token punctuation\">(<\/span>Rev.B<span class=\"token punctuation\">)<\/span><br \/>\nSoC:                 XYZ123<br \/>\nBSP Version:         <span class=\"token number\">2.4<\/span>.1<br \/>\nZephyr Version:      <span class=\"token number\">4.2<\/span>.0<br \/>\nToolchain:           Zephyr SDK <span class=\"token number\">0.17<\/span>.0<br \/>\nHost OS:             Ubuntu <span class=\"token number\">24.04<\/span><\/p>\n<p>Problem Description:<br \/>\n    SPI2 DMA \u4f20\u8f93\u8d85\u65f6&#xff0c;\u8bfb\u53d6\u4f20\u611f\u5668\u6570\u636e\u65f6\u5076\u53d1\u5931\u8d25\u3002<\/p>\n<p>Expected Behavior:<br \/>\n    SPI2 \u4ee5 DMA \u65b9\u5f0f\u6301\u7eed\u8bfb\u53d6&#xff0c;\u4e0d\u5e94\u8d85\u65f6\u3002<\/p>\n<p>Actual Behavior:<br \/>\n    \u4f20\u8f93\u7ea6 <span class=\"token number\">30<\/span>% \u6982\u7387\u8d85\u65f6&#xff0c;SCK \u6ce2\u5f62\u6b63\u5e38\u4f46 MISO \u65e0\u6570\u636e\u3002<\/p>\n<p>Reproduction Steps:<br \/>\n    <span class=\"token number\">1<\/span>. \u8fd0\u884c samples\/drivers\/spi \u7684 DMA \u793a\u4f8b<br \/>\n    <span class=\"token number\">2<\/span>. \u8fde\u7eed\u8bfb\u53d6 <span class=\"token number\">100<\/span> \u6b21<br \/>\n    <span class=\"token number\">3<\/span>. \u7ea6 <span class=\"token number\">30<\/span> \u6b21\u51fa\u73b0 DMA <span class=\"token function\">timeout<\/span><\/p>\n<p>Attachments:<br \/>\n    build log, runtime log, zephyr.dts<\/p>\n<p>Step 2&#xff1a;FAE \u6267\u884c west bsp-info \u786e\u8ba4\u73af\u5883\u57fa\u7ebf<\/p>\n<p>$ <span class=\"token builtin class-name\">cd<\/span> ~\/workspace\/company-bsp<br \/>\n$ west bsp-info<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><br \/>\nCompany BSP Diagnostic Information<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><br \/>\nBSP Version:    <span class=\"token number\">2.4<\/span>.1<br \/>\nZephyr:         <span class=\"token number\">4.2<\/span>.0<br \/>\nBoard:          company_xyz_evb<br \/>\nSoC:            XYZ123<br \/>\nToolchain:      Zephyr SDK <span class=\"token number\">0.17<\/span>.0<br \/>\nHost:           Linux-5.15.0-91-generic-x86_64-with-glibc2.39<br \/>\nGit:            8a91c2d<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><\/p>\n<p>FAE \u7b2c\u4e00\u773c\u786e\u8ba4\u4e09\u4ef6\u4e8b&#xff1a;<\/p>\n<ul>\n<li>BSP \u7248\u672c\u662f 2.4.1&#xff0c;\u4e0d\u662f\u5ba2\u6237\u53e3\u5934\u8bf4\u7684&#034;\u6700\u65b0\u7248&#034;&#xff1b;<\/li>\n<li>Zephyr \u662f 4.2.0&#xff0c;\u4e0e BSP 2.4.1 \u7684\u517c\u5bb9\u77e9\u9635\u5339\u914d&#xff1b;<\/li>\n<li>Git commit \u662f 8a91c2d&#xff0c;\u53ef\u4ee5\u7cbe\u786e\u5230\u4ee3\u7801\u884c\u7ea7\u3002<\/li>\n<\/ul>\n<p>Step 3&#xff1a;\u6267\u884c west bsp-support-bundle \u751f\u6210\u538b\u7f29\u5305<\/p>\n<p>$ west bsp-support-bundle <span class=\"token parameter variable\">-o<\/span> support-bundle-2026-09-18.tar.gz<br \/>\nSupport bundle created: support-bundle-2026-09-18.tar.gz<\/p>\n<p>$ <span class=\"token function\">ls<\/span> <span class=\"token parameter variable\">-lh<\/span> support-bundle-2026-09-18.tar.gz<br \/>\n-rw-r&#8211;r&#8211; <span class=\"token number\">1<\/span> user user <span class=\"token number\">2<\/span>.3M Sep <span class=\"token number\">18<\/span> <span class=\"token number\">14<\/span>:32 support-bundle-2026-09-18.tar.gz<\/p>\n<p>Step 4&#xff1a;FAE \u89e3\u538b\u5e76\u67e5\u770b\u5173\u952e\u6587\u4ef6<\/p>\n<p>$ <span class=\"token function\">tar<\/span> <span class=\"token parameter variable\">-xzf<\/span> support-bundle-2026-09-18.tar.gz<br \/>\n$ <span class=\"token builtin class-name\">cd<\/span> support-bundle<br \/>\n$ tree<br \/>\n<span class=\"token builtin class-name\">.<\/span><br \/>\n\u251c\u2500\u2500 version.txt<br \/>\n\u251c\u2500\u2500 west.yml<br \/>\n\u251c\u2500\u2500 git-status.txt<br \/>\n\u251c\u2500\u2500 git-log.txt<br \/>\n\u251c\u2500\u2500 board.txt<br \/>\n\u251c\u2500\u2500 soc.txt<br \/>\n\u251c\u2500\u2500 toolchain.txt<br \/>\n\u251c\u2500\u2500 host.txt<br \/>\n\u251c\u2500\u2500 build\/<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.config<br \/>\n\u2502   \u251c\u2500\u2500 devicetree_generated.h<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.dts<br \/>\n\u2502   \u251c\u2500\u2500 zephyr.map<br \/>\n\u2502   \u2514\u2500\u2500 zephyr.elf<br \/>\n\u251c\u2500\u2500 logs\/<br \/>\n\u2502   \u2514\u2500\u2500 console.log<br \/>\n\u2514\u2500\u2500 hardware\/<br \/>\n    \u2514\u2500\u2500 board-revision.txt<\/p>\n<p>Step 5&#xff1a;\u6309\u987a\u5e8f\u68c0\u67e5\u5173\u952e\u6587\u4ef6<\/p>\n<p>\u5148\u770b version.txt&#xff0c;\u786e\u8ba4\u5ba2\u6237\u73af\u5883\u57fa\u7ebf&#xff1a;<\/p>\n<p>$ <span class=\"token function\">cat<\/span> version.txt<br \/>\nBSP: <span class=\"token number\">2.4<\/span>.1<br \/>\nZephyr: <span class=\"token number\">4.2<\/span>.0<\/p>\n<p>\u518d\u770b git-log.txt&#xff0c;\u786e\u8ba4\u5ba2\u6237\u662f\u5426\u6539\u8fc7\u4ee3\u7801&#xff1a;<\/p>\n<p>$ <span class=\"token function\">cat<\/span> git-log.txt<br \/>\n8a91c2d <span class=\"token punctuation\">(<\/span>HEAD &#8211;<span class=\"token operator\">&gt;<\/span> main<span class=\"token punctuation\">)<\/span> BSP: <span class=\"token builtin class-name\">enable<\/span> SPI2 DMA on company_xyz_evb<br \/>\n7f3e9a1 BSP: fix UART clock gating on XYZ123<br \/>\n5b2c8d4 BSP: <span class=\"token function\">add<\/span> devicetree <span class=\"token keyword\">for<\/span> company_xyz_evb Rev.B<\/p>\n<p>git-log.txt \u663e\u793a\u6700\u8fd1\u4e00\u6b21\u63d0\u4ea4\u6070\u597d\u662f 8a91c2d BSP: enable SPI2 DMA&#xff0c;\u95ee\u9898\u8303\u56f4\u7acb\u523b\u7f29\u5c0f\u5230\u8fd9\u6b21\u63d0\u4ea4\u3002<\/p>\n<p>\u6700\u540e\u770b build\/zephyr.dts&#xff0c;\u786e\u8ba4 SPI2 \u7684 DMA \u901a\u9053\u914d\u7f6e&#xff1a;<\/p>\n<p>$ <span class=\"token function\">grep<\/span> <span class=\"token parameter variable\">-A<\/span> <span class=\"token number\">8<\/span> <span class=\"token string\">&#034;spi2&#034;<\/span> build\/zephyr.dts<br \/>\nspi2: <span class=\"token operator\">&amp;<\/span>spi2 <span class=\"token punctuation\">{<\/span><br \/>\n    status <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;okay&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    dmas <span class=\"token operator\">&#061;<\/span> <span class=\"token operator\">&lt;&amp;<\/span>dma0 <span class=\"token number\">0<\/span> 0x40<span class=\"token operator\"><span class=\"token file-descriptor important\">0<\/span>&gt;<\/span>, <span class=\"token operator\">&lt;&amp;<\/span>dma0 <span class=\"token number\">1<\/span> 0x40<span class=\"token operator\"><span class=\"token file-descriptor important\">0<\/span>&gt;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    dma-names <span class=\"token operator\">&#061;<\/span> <span class=\"token string\">&#034;tx&#034;<\/span>, <span class=\"token string\">&#034;rx&#034;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n    cs-gpios <span class=\"token operator\">&#061;<\/span> <span class=\"token operator\">&lt;&amp;<\/span>gpioa <span class=\"token number\">5<\/span> GPIO_ACTIVE_LOW<span class=\"token operator\">&gt;<\/span><span class=\"token punctuation\">;<\/span><br \/>\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">;<\/span><\/p>\n<p>FAE \u53d1\u73b0 dmas \u4f7f\u7528\u4e86 DMA \u901a\u9053 0 \u548c 1\u3002<\/p>\n<p>Step 6&#xff1a;\u5bf9\u7167 Knowledge Base \u5b9a\u4f4d\u5df2\u77e5\u95ee\u9898<\/p>\n<p>FAE \u5728 Knowledge Base \u4e2d\u68c0\u7d22 SPI2 DMA timeout&#xff0c;\u547d\u4e2d KB-0037&#xff1a;<\/p>\n<p>KB<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">0037<\/span><\/p>\n<p>Problem<span class=\"token operator\">:<\/span><br \/>\nSPI2 DMA transfer timeout<\/p>\n<p>Affected<span class=\"token operator\">:<\/span><br \/>\nBSP <span class=\"token operator\">&lt;&#061;<\/span> <span class=\"token number\">2.3<\/span><span class=\"token number\">.1<\/span><\/p>\n<p>Cause<span class=\"token operator\">:<\/span><br \/>\nDMA channel configuration conflict<\/p>\n<p>Workaround<span class=\"token operator\">:<\/span><br \/>\nUse DMA channel <span class=\"token number\">4<\/span><\/p>\n<p>Fixed<span class=\"token operator\">:<\/span><br \/>\nBSP <span class=\"token number\">2.3<\/span><span class=\"token number\">.2<\/span><\/p>\n<p>Regression<span class=\"token operator\">:<\/span><br \/>\nspi_dma_test<\/p>\n<p>\u5bf9\u7167 zephyr.dts \u4e2d\u7684 dmas &#061; &lt;&amp;dma0 0 0x400&gt;, &lt;&amp;dma0 1 0x400&gt;&#xff0c;FAE \u786e\u8ba4\u5ba2\u6237\u4f7f\u7528\u7684 DMA \u901a\u9053 0\/1 \u6b63\u662f KB-0037 \u8bb0\u5f55\u7684\u51b2\u7a81\u901a\u9053\u3002\u8fd9\u662f\u5df2\u77e5\u95ee\u9898&#xff0c;\u65e0\u9700\u518d\u5c42\u5c42\u4e0a\u62a5\u3002<\/p>\n<p>Step 7&#xff1a;\u7ed9\u51fa workaround \u5e76\u95ed\u73af<\/p>\n<p>FAE \u7ed9\u51fa\u4e34\u65f6 workaround&#xff1a;<\/p>\n<p>PATCH-ID:<br \/>\n    BSP-2026-0147<\/p>\n<p>STATUS:<br \/>\n    Temporary workaround<\/p>\n<p>WORKAROUND:<br \/>\n    \u5c06 SPI2 \u7684 DMA \u901a\u9053\u4ece <span class=\"token number\">0<\/span>\/1 \u6539\u4e3a <span class=\"token number\">4<\/span>\/5<\/p>\n<p>UPSTREAM FIX:<br \/>\n    Planned <span class=\"token keyword\">for<\/span> BSP v2.5.0<\/p>\n<p>\u5ba2\u6237\u4fee\u6539 devicetree \u540e\u9a8c\u8bc1\u901a\u8fc7&#xff0c;\u95ee\u9898\u95ed\u73af&#xff1a;<\/p>\n<p><span class=\"token comment\"># 1. \u5ba2\u6237\u62a5\u544a&#xff1a;SPI2 DMA \u4f20\u8f93\u8d85\u65f6<\/span><br \/>\n<span class=\"token comment\"># 2. FAE \u6267\u884c west bsp-info&#xff0c;\u786e\u8ba4 BSP 2.4.1 \/ Zephyr 4.2.0<\/span><br \/>\n<span class=\"token comment\"># 3. FAE \u6267\u884c west bsp-support-bundle&#xff0c;\u62ff\u5230\u538b\u7f29\u5305<\/span><br \/>\n<span class=\"token comment\"># 4. \u89e3\u538b\u540e\u4f9d\u6b21\u67e5\u770b version.txt \u2192 git-log.txt \u2192 zephyr.dts<\/span><br \/>\n<span class=\"token comment\"># 5. \u53d1\u73b0 dmas \u7528\u4e86 channel 0\/1&#xff0c;\u5bf9\u7167 KB-0037 \u786e\u8ba4\u662f\u5df2\u77e5\u95ee\u9898<\/span><br \/>\n<span class=\"token comment\"># 6. \u7ed9\u51fa workaround&#xff1a;\u6539\u7528 DMA channel 4<\/span><br \/>\n<span class=\"token comment\"># 7. \u5ba2\u6237\u9a8c\u8bc1\u901a\u8fc7&#xff0c;\u95ee\u9898\u95ed\u73af<\/span><\/p>\n<p>\u6574\u4e2a\u6d41\u7a0b\u4ece\u5ba2\u6237\u62a5\u544a\u5230\u7ed9\u51fa workaround&#xff0c;FAE \u53ea\u9700\u8981\u4e00\u4e2a\u538b\u7f29\u5305&#xff0c;\u4e0d\u9700\u8981\u53cd\u590d\u8ffd\u95ee\u7248\u672c\u3001\u677f\u5361\u3001SoC \u4fe1\u606f\u3002\u8fd9\u5c31\u662f&#034;\u4e00\u952e\u6536\u96c6 Debug \u4fe1\u606f&#034;\u7684\u4ef7\u503c\u3002<\/p>\n<p>\u8fd9\u6837 FAE \u62ff\u5230\u4e00\u4e2a\u538b\u7f29\u5305\u5c31\u80fd\u5b8c\u6574\u590d\u73b0\u5ba2\u6237\u73af\u5883&#xff0c;\u65e0\u9700\u53cd\u590d\u8ffd\u95ee\u7248\u672c\u4fe1\u606f\u3002<\/p>\n<p>\u8fd9\u5c06\u663e\u8457\u63d0\u5347 FAE \u7684\u5de5\u4f5c\u6548\u7387\u3002<\/p>\n<p>\u516b\u3001FAE \u4e0d\u5e94\u8be5\u76f4\u63a5\u4fee\u6539\u5ba2\u6237 BSP<\/p>\n<p>\u8fd9\u662f\u4e00\u4e2a\u975e\u5e38\u91cd\u8981\u7684\u516c\u53f8\u89c4\u5219\u3002<\/p>\n<p>\u9519\u8bef\u65b9\u5f0f&#xff1a;<\/p>\n<p>Customer<br \/>\n\u2193<br \/>\nFAE<br \/>\n\u2193<br \/>\n\u76f4\u63a5\u6539 SDK<br \/>\n\u2193<br \/>\nzip \u53d1\u7ed9\u5ba2\u6237<\/p>\n<p>\u7ed3\u679c\u5f88\u5feb\u51fa\u73b0&#xff1a;<\/p>\n<p>Customer A<br \/>\n    SDK modified by FAE<\/p>\n<p>Customer B<br \/>\n    SDK modified by FAE<\/p>\n<p>Customer C<br \/>\n    SDK modified by FAE<\/p>\n<p>\u6700\u540e\u516c\u53f8\u6839\u672c\u4e0d\u77e5\u9053\u5ba2\u6237\u5230\u5e95\u4f7f\u7528\u4e86\u54ea\u4e2a\u7248\u672c\u3002<\/p>\n<p>\u6b63\u786e\u65b9\u5f0f&#xff1a;<\/p>\n<p>Customer Issue<br \/>\n\u2193<br \/>\nIssue ID<br \/>\n\u2193<br \/>\nRoot Cause<br \/>\n\u2193<br \/>\nGit branch<br \/>\n\u2193<br \/>\nPull Request<br \/>\n\u2193<br \/>\nCI<br \/>\n\u2193<br \/>\nRegression<br \/>\n\u2193<br \/>\nRelease<br \/>\n\u2193<br \/>\nOfficial SDK<br \/>\n\u2193<br \/>\nCustomer<\/p>\n<p>FAE \u53ef\u4ee5\u63d0\u4f9b&#xff1a;<\/p>\n<p>temporary patch<\/p>\n<p>\u4f46\u5fc5\u987b\u660e\u786e&#xff1a;<\/p>\n<p>PATCH-ID:<br \/>\n    BSP-2026-0147<\/p>\n<p>STATUS:<br \/>\n    Temporary workaround<\/p>\n<p>UPSTREAM FIX:<br \/>\n    Planned <span class=\"token keyword\">for<\/span> BSP v2.5.0<\/p>\n<p>\u4e5d\u3001Temporary Patch \u548c Official Release \u5fc5\u987b\u5206\u5f00<\/p>\n<p>\u4f8b\u5982\u5ba2\u6237\u4ea7\u54c1\u9a6c\u4e0a\u8981\u91cf\u4ea7\u3002<\/p>\n<p>\u53d1\u73b0&#xff1a;<\/p>\n<p>SPI DMA bug<\/p>\n<p>\u4e0d\u80fd\u7b49\u4e09\u4e2a\u6708\u6b63\u5f0f release\u3002<\/p>\n<p>\u53ef\u4ee5\u7ed9&#xff1a;<\/p>\n<p>BSP v2.4.1<br \/>\n&#043;<br \/>\nCustomer Patch CP-0147<\/p>\n<p>\u4f46\u662f\u8fd9\u4e2a patch \u5fc5\u987b\u6709\u751f\u547d\u5468\u671f&#xff1a;<\/p>\n<p>CP<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">0147<\/span><br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Created<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Customer validation<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Upstream fix<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 Regression<br \/>\n\u2502<br \/>\n\u251c\u2500\u2500 BSP v2<span class=\"token punctuation\">.<\/span><span class=\"token number\">4.2<\/span><br \/>\n\u2502<br \/>\n\u2514\u2500\u2500 CP<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">0147<\/span> deprecated<\/p>\n<p>\u4e0b\u9762\u4ece\u4e94\u4e2a\u7ef4\u5ea6\u5bf9\u6bd4 Temporary Patch \u4e0e Official Release \u7684\u5dee\u5f02&#xff1a;<\/p>\n<table>\n<tr>\u7ef4\u5ea6Temporary PatchOfficial Release<\/tr>\n<tbody>\n<tr>\n<td>\u53d1\u5e03\u6e20\u9053<\/td>\n<td>FAE \u76f4\u63a5\u53d1\u7ed9\u5ba2\u6237&#xff0c;\u4e0d\u8fdb\u5165\u5b98\u65b9\u53d1\u5e03\u901a\u9053<\/td>\n<td>\u8d70\u5b98\u65b9\u53d1\u5e03\u6d41\u7a0b&#xff0c;\u8fdb\u5165\u6b63\u5f0f SDK \u4e0e\u7248\u672c\u4ed3\u5e93<\/td>\n<\/tr>\n<tr>\n<td>\u9a8c\u8bc1\u6d41\u7a0b<\/td>\n<td>\u4ec5\u5ba2\u6237\u4fa7\u9a8c\u8bc1&#xff0c;\u7ed5\u8fc7\u5b8c\u6574 CI\/HIL\/Regression<\/td>\n<td>\u8d70\u5b8c\u6574\u6d41\u7a0b&#xff1a;PR \u2192 CI \u2192 HIL \u2192 Regression \u2192 Release<\/td>\n<\/tr>\n<tr>\n<td>\u751f\u547d\u5468\u671f<\/td>\n<td>\u6709\u660e\u786e\u751f\u547d\u5468\u671f&#xff0c;\u4e0a\u6e38\u4fee\u590d\u540e\u5373 deprecated<\/td>\n<td>\u957f\u671f\u7ef4\u62a4&#xff0c;\u8fdb\u5165\u5b98\u65b9\u652f\u6301\u4e0e\u517c\u5bb9\u77e9\u9635<\/td>\n<\/tr>\n<tr>\n<td>\u5ba2\u6237\u4f7f\u7528\u65b9\u5f0f<\/td>\n<td>\u5ba2\u6237\u624b\u52a8\u5408\u5165\u79c1\u6709\u5206\u652f&#xff0c;\u9700\u81ea\u884c\u8ddf\u8e2a<\/td>\n<td>\u5ba2\u6237\u76f4\u63a5\u5347\u7ea7\u5b98\u65b9\u7248\u672c&#xff0c;\u968f SDK \u81ea\u52a8\u83b7\u53d6<\/td>\n<\/tr>\n<tr>\n<td>\u56de\u6eda\u7b56\u7565<\/td>\n<td>\u53ef\u968f\u65f6\u79fb\u9664&#xff0c;\u4f46\u9700\u5ba2\u6237\u624b\u52a8\u56de\u9000<\/td>\n<td>\u7248\u672c\u53ef\u8ffd\u6eaf&#xff0c;\u652f\u6301\u5b98\u65b9\u56de\u6eda\u4e0e\u964d\u7ea7\u8def\u5f84<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u603b\u7ed3&#xff1a;\u5f53\u5ba2\u6237\u91cf\u4ea7\u5728\u5373\u3001\u7b49\u4e0d\u53ca\u6b63\u5f0f release \u65f6&#xff0c;\u7528 Temporary Patch \u5feb\u901f\u6b62\u8840&#xff1b;\u5f53\u95ee\u9898\u9700\u8981\u957f\u671f\u7a33\u5b9a\u4ea4\u4ed8\u3001\u8fdb\u5165\u5b98\u65b9\u652f\u6301\u4f53\u7cfb\u65f6&#xff0c;\u5fc5\u987b\u8d70 Official Release\u3002<\/p>\n<p>\u8fd9\u6837\u624d\u80fd\u907f\u514d\u5f62\u6210&#034;\u5ba2\u6237\u79c1\u6709 BSP \u5206\u53c9&#034;\u7684\u6df7\u4e71\u5c40\u9762\u3002<\/p>\n<p>\u5341\u3001FAE Knowledge Base<\/p>\n<p>\u516c\u53f8\u5e94\u8be5\u5efa\u7acb&#xff1a;<\/p>\n<p>BSP Knowledge Base<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>KB\/<br \/>\n\u251c\u2500\u2500 Getting Started<br \/>\n\u251c\u2500\u2500 Toolchain<br \/>\n\u251c\u2500\u2500 Flash<br \/>\n\u251c\u2500\u2500 Debug<br \/>\n\u251c\u2500\u2500 UART<br \/>\n\u251c\u2500\u2500 GPIO<br \/>\n\u251c\u2500\u2500 SPI<br \/>\n\u251c\u2500\u2500 I2C<br \/>\n\u251c\u2500\u2500 DMA<br \/>\n\u251c\u2500\u2500 Interrupt<br \/>\n\u251c\u2500\u2500 Clock<br \/>\n\u251c\u2500\u2500 Power<br \/>\n\u251c\u2500\u2500 Boot<br \/>\n\u251c\u2500\u2500 Memory<br \/>\n\u251c\u2500\u2500 Network<br \/>\n\u251c\u2500\u2500 Security<br \/>\n\u2514\u2500\u2500 Known Issues<\/p>\n<p>\u6bcf\u4e00\u4e2a\u5e38\u89c1\u95ee\u9898\u6700\u597d\u6709&#xff1a;<\/p>\n<p>Problem<br \/>\nCause<br \/>\nHow to reproduce<br \/>\nDiagnosis<br \/>\nSolution<br \/>\nAffected versions<br \/>\nFixed versions<br \/>\nWorkaround<br \/>\nReferences<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p>KB<span class=\"token operator\">&#8211;<\/span><span class=\"token number\">0037<\/span><\/p>\n<p>Problem<span class=\"token operator\">:<\/span><br \/>\nSPI2 DMA transfer timeout<\/p>\n<p>Affected<span class=\"token operator\">:<\/span><br \/>\nBSP <span class=\"token operator\">&lt;&#061;<\/span> <span class=\"token number\">2.3<\/span><span class=\"token number\">.1<\/span><\/p>\n<p>Cause<span class=\"token operator\">:<\/span><br \/>\nDMA channel configuration conflict<\/p>\n<p>Workaround<span class=\"token operator\">:<\/span><br \/>\nUse DMA channel <span class=\"token number\">4<\/span><\/p>\n<p>Fixed<span class=\"token operator\">:<\/span><br \/>\nBSP <span class=\"token number\">2.3<\/span><span class=\"token number\">.2<\/span><\/p>\n<p>Regression<span class=\"token operator\">:<\/span><br \/>\nspi_dma_test<\/p>\n<p>\u5341\u4e00\u3001Support Ticket \u5fc5\u987b\u8fdb\u5165 BSP \u751f\u547d\u5468\u671f<\/p>\n<p>\u6700\u7ec8\u5f62\u6210&#xff1a;<\/p>\n<p>Customer<br \/>\n   \u2502<br \/>\n   \u25bc<br \/>\nSupport Ticket<br \/>\n   \u2502<br \/>\n   \u25bc<br \/>\nFAE Analysis<br \/>\n   \u2502<br \/>\n   \u251c\u2500\u2500 Documentation issue<br \/>\n   \u2502<br \/>\n   \u251c\u2500\u2500 Customer application issue<br \/>\n   \u2502<br \/>\n   \u251c\u2500\u2500 Hardware issue<br \/>\n   \u2502<br \/>\n   \u251c\u2500\u2500 BSP issue<br \/>\n   \u2502<br \/>\n   \u2514\u2500\u2500 Silicon issue<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n          Engineering<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n             Fix<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n          CI <span class=\"token operator\">\/<\/span> HIL<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n        Regression Test<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n           Release<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n        Documentation<br \/>\n             \u2502<br \/>\n             \u25bc<br \/>\n        Customer<\/p>\n<p>\u8fd9\u5b9e\u9645\u4e0a\u628a\u524d\u9762 42&#xff5e;48 \u5168\u90e8\u4e32\u8d77\u6765\u4e86\u3002<\/p>\n<p>\u5341\u4e8c\u3001FAE \u548c BSP Engineer \u7684\u8fb9\u754c<\/p>\n<table>\n<tr>\u5de5\u4f5cFAEBSP Engineer<\/tr>\n<tbody>\n<tr>\n<td>SDK \u5b89\u88c5<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Toolchain \u914d\u7f6e<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Sample \u4f7f\u7528<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u57fa\u7840 Devicetree<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u57fa\u7840 Kconfig<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>\u5ba2\u6237\u4ee3\u7801\u5206\u6790<\/td>\n<td>\u2705<\/td>\n<td><\/td>\n<\/tr>\n<tr>\n<td>Bug reproduce<\/td>\n<td>\u2705<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Driver debug<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>HAL debug<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>SoC startup<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Interrupt controller<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Clock \/ Reset<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Linker<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>BSP architecture<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Silicon errata<\/td>\n<td><\/td>\n<td>\u2192 SoC team<\/td>\n<\/tr>\n<tr>\n<td>Customer training<\/td>\n<td>\u2705<\/td>\n<td>\u53ef\u53c2\u4e0e<\/td>\n<\/tr>\n<tr>\n<td>SDK documentation<\/td>\n<td>\u2705<\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Release<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<tr>\n<td>Regression<\/td>\n<td><\/td>\n<td>\u2705<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>\u5341\u4e09\u3001FAE \u6700\u7ec8\u5e94\u8be5\u62e5\u6709\u4e00\u4e2a&#034;Support Dashboard&#034;<\/p>\n<p>\u4f8b\u5982&#xff1a;<\/p>\n<p><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><br \/>\n             BSP Customer Support<br \/>\n<span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><span class=\"token operator\">&#061;&#061;<\/span><\/p>\n<p>Open Tickets                  <span class=\"token number\">27<\/span><\/p>\n<p>Critical                       <span class=\"token number\">2<\/span><br \/>\nHigh                           <span class=\"token number\">7<\/span><br \/>\nMedium                        <span class=\"token number\">13<\/span><br \/>\nLow                            <span class=\"token number\">5<\/span><\/p>\n<p>Average First Response       <span class=\"token number\">4.2<\/span> h<br \/>\nAverage Resolution           <span class=\"token number\">2.8<\/span> days<\/p>\n<p>BSP Related                  <span class=\"token number\">11<\/span><br \/>\nDocumentation                 <span class=\"token number\">6<\/span><br \/>\nHardware                      <span class=\"token number\">5<\/span><br \/>\nApplication                   <span class=\"token number\">4<\/span><br \/>\nToolchain                     <span class=\"token number\">1<\/span><\/p>\n<p>Top Problems<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br \/>\n<span class=\"token number\">1<\/span>. SPI DMA                     <span class=\"token number\">7<\/span><br \/>\n<span class=\"token number\">2<\/span>. Devicetree                  <span class=\"token number\">5<\/span><br \/>\n<span class=\"token number\">3<\/span>. Flash                       <span class=\"token number\">4<\/span><br \/>\n<span class=\"token number\">4<\/span>. UART                        <span class=\"token number\">3<\/span><br \/>\n<span class=\"token number\">5<\/span>. Power Management            <span class=\"token number\">3<\/span><\/p>\n<p>\u8fdb\u4e00\u6b65\u8fd8\u53ef\u4ee5\u7edf\u8ba1&#xff1a;<\/p>\n<p>Customer A<br \/>\n    <span class=\"token number\">13<\/span> tickets<\/p>\n<p>Customer B<br \/>\n     <span class=\"token number\">7<\/span> tickets<\/p>\n<p>Customer C<br \/>\n     <span class=\"token number\">2<\/span> tickets<\/p>\n<p>\u8fd9\u53ef\u4ee5\u5e2e\u52a9\u516c\u53f8\u53d1\u73b0&#xff1a;<br \/>\n\u54ea\u4e9b BSP \u6a21\u5757\u5b9e\u9645\u4e0a\u6700\u96be\u7528&#xff1f;<\/p>\n<p>\u5341\u56db\u3001Support Metrics<\/p>\n<p>\u4e0d\u8981\u53ea\u7edf\u8ba1&#xff1a;<\/p>\n<p><span class=\"token string\">&#034;FAE \u56de\u590d\u5f97\u5feb\u4e0d\u5feb&#034;<\/span><\/p>\n<p>\u66f4\u91cd\u8981\u7684\u662f&#xff1a;<br \/>\nFirst Response Time<\/p>\n<p>Ticket<br \/>\n\u2193<br \/>\nFAE \u7b2c\u4e00\u6b21\u54cd\u5e94<\/p>\n<p>Time to Reproduce<\/p>\n<p>Ticket<br \/>\n\u2193<br \/>\n\u6210\u529f\u590d\u73b0<\/p>\n<p>Time to Root Cause<\/p>\n<p>Ticket<br \/>\n\u2193<br \/>\n\u627e\u5230\u6839\u56e0<\/p>\n<p>Time to Fix<\/p>\n<p>Root Cause<br \/>\n\u2193<br \/>\n\u4ee3\u7801\u4fee\u590d<\/p>\n<p>Time to Release<\/p>\n<p>Fix<br \/>\n\u2193<br \/>\nCI<br \/>\n\u2193<br \/>\nHIL<br \/>\n\u2193<br \/>\nRelease<\/p>\n<p>Recurrence Rate<\/p>\n<p>\u6700\u91cd\u8981\u7684\u6307\u6807\u4e4b\u4e00&#xff1a;<\/p>\n<p>\u540c\u4e00\u4e2a\u95ee\u9898<br \/>\n\u2193<br \/>\n\u518d\u6b21\u51fa\u73b0&#xff1f;<\/p>\n<p>\u5982\u679c&#xff1a;<\/p>\n<p><span class=\"token number\">2026<\/span> Q1<span class=\"token operator\">:<\/span><br \/>\nSPI DMA issue <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">12<\/span><\/p>\n<p><span class=\"token number\">2026<\/span> Q2<span class=\"token operator\">:<\/span><br \/>\nSPI DMA issue <span class=\"token operator\">&#061;<\/span> <span class=\"token number\">11<\/span><\/p>\n<p>\u8bf4\u660e\u516c\u53f8\u4e0d\u662f\u5355\u7eaf\u7f3a\u5c11 FAE&#xff0c;\u800c\u662f&#xff1a;<\/p>\n<p>BSP \u5de5\u7a0b\u8d28\u91cf\u6216\u6587\u6863\u4f53\u7cfb\u5b58\u5728\u95ee\u9898\u3002<\/p>\n<p>\u5341\u4e94\u3001Customer Support \u6700\u7ec8\u8981\u5f62\u6210\u95ed\u73af<\/p>\n<p>                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502   Customer   \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502     FAE      \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502    Ticket    \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502 BSP Engineer \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502     Fix      \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n             \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n             \u2502 CI <span class=\"token operator\">&#043;<\/span> HIL <span class=\"token operator\">&#043;<\/span> Regression\u2502<br \/>\n             \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n                        \u25bc<br \/>\n                 \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n                 \u2502    Release   \u2502<br \/>\n                 \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u2502<br \/>\n             \u250c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2534\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2510<br \/>\n             \u25bc                     \u25bc<br \/>\n        Documentation          Customer SDK<br \/>\n             \u2502                     \u2502<br \/>\n             \u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u252c\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2518<br \/>\n                        \u25bc<br \/>\n                     Customer<\/p>\n<p>\u8fd9\u65f6\u5019\u4f60\u4f1a\u53d1\u73b0&#xff1a;<\/p>\n<p>42&#xff5e;49 \u5176\u5b9e\u5df2\u7ecf\u5f62\u6210\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u516c\u53f8 BSP Operating Model\u3002<\/p>\n<p><span class=\"token number\">42<\/span> Version \/ Release<br \/>\n\u2193<br \/>\n<span class=\"token number\">43<\/span> CI\/CD<br \/>\n\u2193<br \/>\n<span class=\"token number\">44<\/span> HIL<br \/>\n\u2193<br \/>\n<span class=\"token number\">45<\/span> Regression<br \/>\n\u2193<br \/>\n<span class=\"token number\">46<\/span> Security \/ SBOM<br \/>\n\u2193<br \/>\n<span class=\"token number\">47<\/span> Customer SDK<br \/>\n\u2193<br \/>\n<span class=\"token number\">48<\/span> Documentation<br \/>\n\u2193<br \/>\n<span class=\"token number\">49<\/span> FAE \/ Customer Support<br \/>\n\u2193<br \/>\nCustomer Feedback<br \/>\n\u2502<br \/>\n\u2514\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2500\u2192 \u56de\u5230 BSP <\/p>\n<p>Engineering<br \/>\n\u8fd9\u5c31\u662f\u4e00\u4e2a\u771f\u6b63\u53ef\u4ee5\u652f\u6491\u91cf\u4ea7\u4ea7\u54c1 &#043; \u591a\u5ba2\u6237 &#043; \u591a\u677f\u5361 &#043; \u591a SoC &#043; \u957f\u671f\u7ef4\u62a4\u7684 BSP \u4f53\u7cfb&#xff0c;\u800c\u4e0d\u518d\u53ea\u662f\u4e00\u4e2a&#034;\u80fd\u7f16\u8bd1\u3001\u80fd\u70e7\u5f55\u7684 Zephyr repository&#034;\u3002Zephyr \u5b98\u65b9\u672c\u8eab\u4e5f\u5f3a\u8c03&#xff0c;\u5916\u90e8\u96c6\u6210\u4ee3\u7801\u9700\u8981\u6301\u7eed\u7ef4\u62a4&#xff0c;\u800c\u677f\u7ea7\u652f\u6301\u4e0d\u4ec5\u5305\u62ec\u4ee3\u7801&#xff0c;\u8fd8\u5305\u62ec\u6587\u6863\u3001\u6d4b\u8bd5\u548c\u957f\u671f\u7ef4\u62a4\u8d23\u4efb\u3002<\/p>\n<h3>\u603b\u7ed3<\/h3>\n<p>\u4ece 42 \u2014 BSP Versioning &amp; Release Management \u5230 49 \u2014 BSP FAE \/ Customer Support&#xff0c;\u8fd9\u516b\u7bc7\u5171\u540c\u6784\u6210\u4e86\u4e00\u4e2a\u5b8c\u6574\u7684\u516c\u53f8 BSP Operating Model\u3002\u7248\u672c\u7ba1\u7406\u4e0e\u53d1\u5e03\u6d41\u7a0b\u4e3a\u6574\u4e2a\u4f53\u7cfb\u63d0\u4f9b\u4e86\u53ef\u8ffd\u6eaf\u7684\u57fa\u7ebf&#xff0c;CI\/CD \u4e0e HIL \u4fdd\u8bc1\u4e86\u6bcf\u4e00\u6b21\u53d8\u66f4\u90fd\u7ecf\u8fc7\u81ea\u52a8\u5316\u9a8c\u8bc1&#xff0c;Regression \u6d4b\u8bd5\u5b88\u4f4f\u8d28\u91cf\u5e95\u7ebf&#xff0c;Security \/ SBOM \u8ba9\u4ea4\u4ed8\u7269\u53ef\u5ba1\u8ba1\u3001\u53ef\u5408\u89c4\u3002\u5728\u6b64\u57fa\u7840\u4e0a&#xff0c;Customer SDK \u4e0e Documentation \u628a\u5de5\u7a0b\u80fd\u529b\u5c01\u88c5\u6210\u5ba2\u6237\u53ef\u76f4\u63a5\u4f7f\u7528\u7684\u4ea7\u54c1&#xff0c;\u800c FAE \/ Customer Support \u5219\u628a\u8fd9\u4e9b\u80fd\u529b\u8fde\u63a5\u5230\u771f\u6b63\u7684\u5ba2\u6237&#xff0c;\u5f62\u6210\u4ece\u95ee\u9898\u4e0a\u62a5\u3001\u5b9a\u4f4d\u3001\u4fee\u590d\u5230\u53d1\u5e03\u3001\u6c89\u6dc0 Knowledge Base \u7684\u5b8c\u6574\u95ed\u73af\u3002\u8fd9\u4e2a\u95ed\u73af\u7684\u5173\u952e\u5728\u4e8e&#xff1a;\u6bcf\u4e00\u4e2a\u73af\u8282\u90fd\u4e0d\u662f\u5b64\u7acb\u7684&#xff0c;\u5ba2\u6237\u53cd\u9988\u4f1a\u91cd\u65b0\u8fdb\u5165 BSP \u8fed\u4ee3&#xff0c;\u9a71\u52a8\u4e0b\u4e00\u8f6e\u7248\u672c\u6f14\u8fdb\u3002\u6700\u7ec8&#xff0c;\u8fd9\u5957\u4f53\u7cfb\u652f\u6491\u7684\u662f\u91cf\u4ea7\u4ea7\u54c1 &#043; \u591a\u5ba2\u6237 &#043; \u591a\u677f\u5361 &#043; \u591a SoC &#043; \u957f\u671f\u7ef4\u62a4\u7684\u89c4\u6a21\u5316\u4ea4\u4ed8&#xff0c;\u800c\u4e0d\u518d\u53ea\u662f\u4e00\u4e2a&#034;\u80fd\u7f16\u8bd1\u3001\u80fd\u70e7\u5f55\u7684 Zephyr repository&#034;\u3002<\/p>\n<h3>\u7cfb\u5217\u6587\u7ae0\u7d22\u5f15<\/h3>\n<p>\u56de\u987e\u6574\u4e2a BSP \u4f53\u7cfb\u5efa\u8bbe\u8def\u5f84&#xff0c;42&#xff5e;49 \u6bcf\u7bc7\u7684\u6838\u5fc3\u4e3b\u9898\u5982\u4e0b&#xff1a;<\/p>\n<ul>\n<li>42 \u2014 BSP Versioning &amp; Release Management&#xff1a;\u5efa\u7acb\u7248\u672c\u53f7\u89c4\u8303\u4e0e\u53d1\u5e03\u6d41\u7a0b&#xff0c;\u8ba9\u6bcf\u4e2a\u4ea4\u4ed8\u7269\u53ef\u8ffd\u6eaf\u3001\u53ef\u590d\u73b0\u3002<\/li>\n<li>43 \u2014 CI\/CD&#xff1a;\u7528\u81ea\u52a8\u5316\u6d41\u6c34\u7ebf\u628a\u6784\u5efa\u3001\u6d4b\u8bd5\u3001\u53d1\u5e03\u4e32\u8d77\u6765&#xff0c;\u7f29\u77ed\u4ea4\u4ed8\u5468\u671f\u3001\u51cf\u5c11\u4eba\u4e3a\u5931\u8bef\u3002<\/li>\n<li>44 \u2014 HIL&#xff08;Hardware-in-the-Loop&#xff09;&#xff1a;\u5728\u771f\u5b9e\u786c\u4ef6\u4e0a\u505a\u81ea\u52a8\u5316\u9a8c\u8bc1&#xff0c;\u5f25\u8865\u7eaf\u8f6f\u4ef6\u6d4b\u8bd5\u7684\u76f2\u533a\u3002<\/li>\n<li>45 \u2014 Regression Test&#xff1a;\u5b88\u4f4f\u8d28\u91cf\u5e95\u7ebf&#xff0c;\u786e\u4fdd\u65b0\u6539\u52a8\u4e0d\u7834\u574f\u5df2\u6709\u529f\u80fd\u3002<\/li>\n<li>46 \u2014 Security \/ SBOM&#xff1a;\u8ba9 BSP \u4ea4\u4ed8\u7269\u53ef\u5ba1\u8ba1\u3001\u53ef\u5408\u89c4&#xff0c;\u6ee1\u8db3\u5ba2\u6237\u4e0e\u6cd5\u89c4\u7684\u5b89\u5168\u8981\u6c42\u3002<\/li>\n<li>47 \u2014 Customer SDK&#xff1a;\u628a BSP \u5de5\u7a0b\u80fd\u529b\u5c01\u88c5\u6210\u5ba2\u6237\u6613\u7528\u3001\u53ef\u72ec\u7acb\u5f00\u53d1\u7684 SDK \u4ea7\u54c1\u3002<\/li>\n<li>48 \u2014 Documentation&#xff1a;\u7528\u9ad8\u8d28\u91cf\u6587\u6863\u8ba9\u5ba2\u6237\u8131\u79bb\u539f\u5382\u5de5\u7a0b\u5e08\u4e5f\u80fd\u4e0a\u624b\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898\u3002<\/li>\n<li>49 \u2014 BSP FAE \/ Customer Support&#xff1a;\u628a\u5de5\u7a0b\u80fd\u529b\u8fde\u63a5\u5230\u771f\u5b9e\u5ba2\u6237&#xff0c;\u5f62\u6210\u95ee\u9898\u95ed\u73af\u4e0e Knowledge Base \u6c89\u6dc0\u3002<\/li>\n<\/ul>\n<p>\u8fd9\u516b\u7bc7\u4ece\u5de5\u7a0b\u57fa\u7ebf\u5230\u5ba2\u6237\u4ea4\u4ed8&#xff0c;\u5c42\u5c42\u9012\u8fdb&#xff0c;\u6700\u7ec8\u6784\u6210\u4e00\u4e2a\u53ef\u4ee5\u957f\u671f\u8fd0\u8f6c\u3001\u6301\u7eed\u8fdb\u5316\u7684 BSP \u4f53\u7cfb\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6458\u8981&#xff1a;\u672c\u6587\u662f BSP \u4f53\u7cfb\u5efa\u8bbe\u7684\u6536\u5b98\u7bc7&#xff0c;\u805a\u7126 49 \u2014 BSP FAE \/ Customer Support\u3002\u6838\u5fc3\u89c2\u70b9\u662f&#xff1a;BSP \u6210\u719f\u7684\u6807\u5fd7\u4e0d\u662f\\&#8221;\u4ee3\u7801\u80fd\u8dd1\\&#8221;&#xff0c;\u800c\u662f\u5ba2\u6237\u8131\u79bb\u539f\u5382\u5de5\u7a0b\u5e08\u4e5f\u80fd\u72ec\u7acb\u5f00\u53d1\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u4e14\u516c\u53f8\u5185\u90e8\u80fd\u5feb\u901f\u95ed\u73af\u5904\u7406\u5ba2\u6237\u95ee\u9898\u3002\u6587\u7ae0\u7cfb\u7edf\u9610\u8ff0\u4e86 FAE \u5728 BSP \u4f53\u7cfb\u4e2d\u7684\u5b9a\u4f4d&#xff08;\u95ee\u9898\u8f6c\u6362\u8005\u800c\u975e\u5ba2\u670d&#xff09;\u3001\u4e09\u5c42\u5ba2\u6237\u652f\u6301\u4f53\u7cfb&#xff08;L1 FAE \/ L2 BSP E<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[887,58,822,217,371],"topic":[],"class_list":["post-109975","post","type-post","status-publish","format-standard","hentry","category-server","tag-iot","tag-linux","tag-mcu","tag-stm32","tag-371"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wsisp.com\/helps\/109975.html\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"og:description\" content=\"\u6458\u8981&#xff1a;\u672c\u6587\u662f BSP \u4f53\u7cfb\u5efa\u8bbe\u7684\u6536\u5b98\u7bc7&#xff0c;\u805a\u7126 49 \u2014 BSP FAE \/ Customer Support\u3002\u6838\u5fc3\u89c2\u70b9\u662f&#xff1a;BSP \u6210\u719f\u7684\u6807\u5fd7\u4e0d\u662f&quot;\u4ee3\u7801\u80fd\u8dd1&quot;&#xff0c;\u800c\u662f\u5ba2\u6237\u8131\u79bb\u539f\u5382\u5de5\u7a0b\u5e08\u4e5f\u80fd\u72ec\u7acb\u5f00\u53d1\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u4e14\u516c\u53f8\u5185\u90e8\u80fd\u5feb\u901f\u95ed\u73af\u5904\u7406\u5ba2\u6237\u95ee\u9898\u3002\u6587\u7ae0\u7cfb\u7edf\u9610\u8ff0\u4e86 FAE \u5728 BSP \u4f53\u7cfb\u4e2d\u7684\u5b9a\u4f4d&#xff08;\u95ee\u9898\u8f6c\u6362\u8005\u800c\u975e\u5ba2\u670d&#xff09;\u3001\u4e09\u5c42\u5ba2\u6237\u652f\u6301\u4f53\u7cfb&#xff08;L1 FAE \/ L2 BSP E\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wsisp.com\/helps\/109975.html\" \/>\n<meta property=\"og:site_name\" content=\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-25T02:48:50+00:00\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data2\" content=\"13 \u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109975.html\",\"url\":\"https:\/\/www.wsisp.com\/helps\/109975.html\",\"name\":\"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"isPartOf\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\"},\"datePublished\":\"2026-09-25T02:48:50+00:00\",\"dateModified\":\"2026-09-25T02:48:50+00:00\",\"author\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.wsisp.com\/helps\/109975.html#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.wsisp.com\/helps\/109975.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/109975.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.wsisp.com\/helps\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#website\",\"url\":\"https:\/\/www.wsisp.com\/helps\/\",\"name\":\"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3\",\"description\":\"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"contentUrl\":\"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery\",\"caption\":\"admin\"},\"sameAs\":[\"http:\/\/wp.wsisp.com\"],\"url\":\"https:\/\/www.wsisp.com\/helps\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wsisp.com\/helps\/109975.html","og_locale":"zh_CN","og_type":"article","og_title":"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","og_description":"\u6458\u8981&#xff1a;\u672c\u6587\u662f BSP \u4f53\u7cfb\u5efa\u8bbe\u7684\u6536\u5b98\u7bc7&#xff0c;\u805a\u7126 49 \u2014 BSP FAE \/ Customer Support\u3002\u6838\u5fc3\u89c2\u70b9\u662f&#xff1a;BSP \u6210\u719f\u7684\u6807\u5fd7\u4e0d\u662f\"\u4ee3\u7801\u80fd\u8dd1\"&#xff0c;\u800c\u662f\u5ba2\u6237\u8131\u79bb\u539f\u5382\u5de5\u7a0b\u5e08\u4e5f\u80fd\u72ec\u7acb\u5f00\u53d1\u3001\u8c03\u8bd5\u3001\u5b9a\u4f4d\u95ee\u9898&#xff0c;\u4e14\u516c\u53f8\u5185\u90e8\u80fd\u5feb\u901f\u95ed\u73af\u5904\u7406\u5ba2\u6237\u95ee\u9898\u3002\u6587\u7ae0\u7cfb\u7edf\u9610\u8ff0\u4e86 FAE \u5728 BSP \u4f53\u7cfb\u4e2d\u7684\u5b9a\u4f4d&#xff08;\u95ee\u9898\u8f6c\u6362\u8005\u800c\u975e\u5ba2\u670d&#xff09;\u3001\u4e09\u5c42\u5ba2\u6237\u652f\u6301\u4f53\u7cfb&#xff08;L1 FAE \/ L2 BSP E","og_url":"https:\/\/www.wsisp.com\/helps\/109975.html","og_site_name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","article_published_time":"2026-09-25T02:48:50+00:00","author":"admin","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"admin","\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"13 \u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wsisp.com\/helps\/109975.html","url":"https:\/\/www.wsisp.com\/helps\/109975.html","name":"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301 - \u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","isPartOf":{"@id":"https:\/\/www.wsisp.com\/helps\/#website"},"datePublished":"2026-09-25T02:48:50+00:00","dateModified":"2026-09-25T02:48:50+00:00","author":{"@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41"},"breadcrumb":{"@id":"https:\/\/www.wsisp.com\/helps\/109975.html#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wsisp.com\/helps\/109975.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.wsisp.com\/helps\/109975.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.wsisp.com\/helps"},{"@type":"ListItem","position":2,"name":"\u8f7b\u677e\u5b66\u4e60Zephyr BSP: 49-BSP FAE \u5ba2\u6237\u652f\u6301"}]},{"@type":"WebSite","@id":"https:\/\/www.wsisp.com\/helps\/#website","url":"https:\/\/www.wsisp.com\/helps\/","name":"\u7f51\u7855\u4e92\u8054\u5e2e\u52a9\u4e2d\u5fc3","description":"\u9999\u6e2f\u670d\u52a1\u5668_\u9999\u6e2f\u4e91\u670d\u52a1\u5668\u8d44\u8baf_\u670d\u52a1\u5668\u5e2e\u52a9\u6587\u6863_\u670d\u52a1\u5668\u6559\u7a0b","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wsisp.com\/helps\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/358e386c577a3ab51c4493330a20ad41","name":"admin","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.wsisp.com\/helps\/#\/schema\/person\/image\/","url":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","contentUrl":"https:\/\/gravatar.wp-china-yes.net\/avatar\/?s=96&d=mystery","caption":"admin"},"sameAs":["http:\/\/wp.wsisp.com"],"url":"https:\/\/www.wsisp.com\/helps\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109975","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/comments?post=109975"}],"version-history":[{"count":0,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/posts\/109975\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/media?parent=109975"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/categories?post=109975"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/tags?post=109975"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.wsisp.com\/helps\/wp-json\/wp\/v2\/topic?post=109975"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}