2025-04-23 17:54:31 +08:00
<!DOCTYPE html> < html xmlns = "http://www.w3.org/1999/xhtml" xml:lang = "zh-cn" lang = "zh-cn" data-whc_version = "26.1" >
2025-07-22 11:15:46 +08:00
< head > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" / > < meta name = "viewport" content = "width=device-width, initial-scale=1.0" / > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" / > < meta name = "DC.rights.owner" content = "(C) 版权 2025" / > < meta name = "copyright" content = "(C) 版权 2025" / > < meta name = "generator" content = "DITA-OT" / > < meta name = "DC.type" content = "concept" / > < meta name = "description" content = "Luban-Lite 上使用 RT-Thread 时,每个分区都对应一个或者多个系统设备。不同存储介质的对应关系如下表格所示。系统中出现但此处未列出的其它分区,同样遵循下列规则。 表 1 . SPI NOR 上的分区、设备和文件系统 分区名 MTD 设备名 块设备名 文件系统 备注 "spl" "spl" - - - "os" "os" - - - "rodata" "rodata" ..." / > < meta name = "DC.relation" content = "../../../topics/sdk/advanced/partition_config_2.html" / > < meta name = "DC.relation" content = "../../../topics/sdk/advanced/partition_intro_2.html" / > < meta name = "DC.relation" content = "../../../topics/sdk/bringup/lite-bringup-console.html" / > < meta name = "DC.contributor" content = "yan.wang" / > < meta name = "DC.creator" content = "yan.wang" / > < meta name = "DC.date.modified" content = "2025-05-16" / > < meta name = "DC.format" content = "HTML5" / > < meta name = "DC.identifier" content = "partition-and-storage-relations" / >
< title > 分区与存储设备的关系< / title > <!-- Generated with build number 2025051600. --> < meta name = "wh-path2root" content = "../../../" / > < meta name = "wh-toc-id" content = "partition-and-storage-relations-d3752e2261" / > < meta name = "wh-source-relpath" content = "topics/sdk/advanced/partition-and-storage-relations.dita" / > < meta name = "wh-out-relpath" content = "topics/sdk/advanced/partition-and-storage-relations_2.html" / >
2025-04-23 17:54:31 +08:00
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/commons.css?buildId=2024041900" / >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/app/topic.css?buildId=2024041900" / >
2025-07-22 11:15:46 +08:00
< script src = "../../../webhelp/app/options/properties.js?buildId=20250519091401" > < / script >
2025-04-23 17:54:31 +08:00
< script src = "../../../webhelp/app/localization/strings.js?buildId=2024041900" > < / script >
2025-07-22 11:15:46 +08:00
< script src = "../../../webhelp/app/search/index/keywords.js?buildId=20250519091401" > < / script >
2025-04-23 17:54:31 +08:00
< script defer = "defer" src = "../../../webhelp/app/commons.js?buildId=2024041900" > < / script >
< script defer = "defer" src = "../../../webhelp/app/topic.js?buildId=2024041900" > < / script >
< link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-styles-web-internal.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/notes.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-common.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-images.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/footnote.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/aic-highlight-changes.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/search-in-header.css?buildId=2024041900" / > < link rel = "stylesheet" type = "text/css" href = "../../../webhelp/template/css/topic-body-list.css?buildId=2024041900" / > < / head >
< body id = "partition-and-storage-relations" class = "wh_topic_page frmBody" >
< a href = "#wh_topic_body" class = "sr-only sr-only-focusable" >
跳转到主要内容
< / a >
< header class = "navbar navbar-default wh_header" >
< div class = "container-fluid" >
< div xmlns:whc = "http://www.oxygenxml.com/webhelp/components" class = "wh_header_flex_container navbar-nav navbar-expand-md navbar-dark" >
< div class = "wh_logo_and_publication_title_container" >
< div class = "wh_logo_and_publication_title" >
< a href = "https://www.artinchip.com" class = " wh_logo d-none d-sm-block " > < img src = "../../../company-logo.png" alt = " RTOS SDK 使用指南 SDK 指南文件 " / > < / a >
< div class = " wh_publication_title " > < a href = "../../../index.html" > < span class = "booktitle" > < span class = "ph mainbooktitle" > RTOS SDK 使用指南< / span > < span class = "ph booktitlealt" > SDK 指南文件< / span > < / span > < / a > < / div >
< / div >
< / div >
< div class = "wh_top_menu_and_indexterms_link collapse navbar-collapse" id = "wh_top_menu_and_indexterms_link" >
< / div >
< div class = " wh_search_input navbar-form wh_topic_page_search search " role = "form" >
< form id = "searchForm" method = "get" role = "search" action = "../../../search.html" > < div > < input type = "search" placeholder = "搜索 " class = "wh_search_textfield" id = "textToSearch" name = "searchQuery" aria-label = "搜索查询" required = "required" / > < button type = "submit" class = "wh_search_button" aria-label = "搜索" > < span class = "search_input_text" > 搜索< / span > < / button > < / div > < / form >
< / div > < / div >
< / div >
< / header >
< div class = "container-fluid" id = "wh_topic_container" >
< div class = "row" >
< nav class = "wh_tools d-print-none navbar-expand-md" aria-label = "Tools" >
2025-07-22 11:15:46 +08:00
< div data-tooltip-position = "bottom" class = " wh_breadcrumb " > < ol class = "d-print-none" > < li > < span class = "home" > < a href = "../../../index.html" > < span > 主页< / span > < / a > < / span > < / li > < li > < div class = "topicref" data-id = "id" > < div class = "title" > < a href = "../../../topics/sdk/bringup/chapter-bringup.html" > BringUp< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 主要描述板卡的各项配置,使 SDK 的环境和板卡匹配,并确保 SDK 编译后的固件能够在板子上正常运行。< / p > < / div > < / div > < / div > < / li > < li > < div class = "topicref" data-id = "id" > < div class = "title" > < a href = "../../../topics/sdk/advanced/partition_config_2.html" > 配置分区< / a > < / div > < / div > < / li > < li class = "active" > < div class = "topicref" data-id = "partition-and-storage-relations" > < div class = "title" > < a href = "../../../topics/sdk/advanced/partition-and-storage-relations_2.html" > 分区与存储设备的关系< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > < / p > < / div > < / div > < / div > < / li > < / ol > < / div >
2025-04-23 17:54:31 +08:00
< div class = "wh_right_tools" >
< button class = "wh_hide_highlight" aria-label = "切换搜索突出显示" title = "切换搜索突出显示" > < / button >
< button class = "webhelp_expand_collapse_sections" data-next-state = "collapsed" aria-label = "折叠截面" title = "折叠截面" > < / button >
< div class = " wh_navigation_links " > < span id = "topic_navigation_links" class = "navheader" >
< span class = "navprev" > < a class = "- topic/link link" href = "../../../topics/sdk/advanced/partition_intro_2.html" title = "分区类型介绍" aria-label = "上一主题: 分区类型介绍" rel = "prev" > < / a > < / span >
< span class = "navnext" > < a class = "- topic/link link" href = "../../../topics/sdk/bringup/lite-bringup-console.html" title = "调试配置" aria-label = "下一主题: 调试配置" rel = "next" > < / a > < / span > < / span > < / div >
< div class = " wh_print_link print d-none d-md-inline-block " > < button onClick = "window.print()" title = "打印此页" aria-label = "打印此页" > < / button > < / div >
< button type = "button" id = "wh_toc_button" class = "custom-toggler navbar-toggler collapsed wh_toggle_button navbar-light" aria-expanded = "false" aria-label = "Toggle publishing table of content" aria-controls = "wh_publication_toc" >
< span class = "navbar-toggler-icon" > < / span >
< / button >
< / div >
< / nav >
< / div >
< div class = "wh_content_area" >
< div class = "row" >
< nav id = "wh_publication_toc" class = "col-lg-3 col-md-3 col-sm-12 d-md-block d-none d-print-none" aria-label = "Table of Contents Container" >
< div id = "wh_publication_toc_content" >
2025-07-22 11:15:46 +08:00
< div class = " wh_publication_toc " data-tooltip-position = "right" > < span class = "expand-button-action-labels" > < span id = "button-expand-action" role = "button" aria-label = "Expand" > < / span > < span id = "button-collapse-action" role = "button" aria-label = "Collapse" > < / span > < span id = "button-pending-action" role = "button" aria-label = "Pending" > < / span > < / span > < ul role = "tree" aria-label = "Table of Contents" > < li role = "treeitem" > < div data-tocid = "revinfo_linux-d3752e463" class = "topicref" data-id = "revinfo_linux" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/revinfo/revinfo_rtos.html" id = "revinfo_linux-d3752e463-link" > 修订记录< / a > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e480" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e480-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/env/sdk-compile.html" id = "id-d3752e480-link" > SDK 编译< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 介绍不同编译环境下 SDK 的详细编译流程。< / p > < / div > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e604" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e604-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/advanced/sdk-usage.html" id = "id-d3752e604-link" > 使用指南< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 命令详解,编译选项,镜像和分区配置,添加应用和驱动等的详细使用说明。< / p > < / div > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "concept_rcx_czh_pzb-d3752e1004" class = "topicref" data-id = "concept_rcx_czh_pzb" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action concept_rcx_czh_pzb-d3752e1004-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/chapter-app.html" id = "concept_rcx_czh_pzb-d3752e1004-link" > 应用场景< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 描述了 SDK 在不同应用场景中的配置和使用, 包括系统更新、OTA、安全方案等。< / p > < / div > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e1848" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e1848-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/peripheral/peripheral-intro.html" id = "id-d3752e1848-link" > 外设移植< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > < span class = "ph" > CTP、U 盘、SD 卡、有线和无线网络< / span > 等外设的介绍和使用说明。< / p > < / div > < / div > < / div > < / li > < li role = "treeitem" aria-expanded = "true" > < div data-tocid = "id-d3752e2022" class = "topicref" data-id = "id" data-state = "expanded" > < span role = "button" tabindex = "0" aria-labelledby = "button-collapse-action id-d3752e2022-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/bringup/chapter-bringup.html" id = "id-d3752e2022-link" > BringUp< / a > < div class = "wh-tooltip" > < p class = "shortdesc" > 主要描述板卡的各项配置,使 SDK 的环境和板卡匹配,并确保 SDK 编译后的固件能够在板子上正常运行。< / p > < / div > < / div > < / div > < ul role = "group" class = "navbar-nav nav-list" > < li role = "treeitem" aria-expanded = "false" > < div data-tocid = "id-d3752e2039" class = "topicref" data-id = "id" data-state = "not-ready" > < span role = "button" tabindex = "0" aria-labelledby = "button-expand-action id-d3752e2039-link" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/bringup/lite-bringup-prepare.html" id = "id-d3752e2039-link" > 准备工作< / a > < / div > < / div > < / li > < li role = "treeitem" > < div data-tocid = "id-d3752e2097" class = "topicref" data-id = "id" data-state = "leaf" > < span role = "button" class = "wh-expand-btn" > < / span > < div class = "title" > < a href = "../../../topics/sdk/bringup/lite-bri
2025-04-23 17:54:31 +08:00
< / div >
< / nav >
< div class = "col-lg-9 col-md-9 col-sm-12" id = "wh_topic_body" >
< button id = "wh_close_publication_toc_button" class = "close-toc-button d-none" aria-label = "Toggle publishing table of content" aria-controls = "wh_publication_toc" aria-expanded = "true" >
< span class = "close-toc-icon-container" >
< span class = "close-toc-icon" > < / span >
< / span >
< / button >
< div class = " wh_topic_content body " > < main role = "main" > < article class = "- topic/topic concept/concept topic concept" role = "article" aria-labelledby = "ariaid-title1" >
< span class = "edit-link" style = "font-size:12px; opacity:0.6; text-align:right; vertical-align:middle" > < a target = "_blank" href = "http://aicdocco/taskstopics/sdk/advanced/partition-and-storage-relations.dita" > Edit online< / a > < / span > < h1 class = "- topic/title title topictitle1" id = "ariaid-title1" > 分区与存储设备的关系< / h1 >
2025-07-22 11:15:46 +08:00
< div class = "date inPage" > 16 May 2025< / div > < div style = "color: gray;" >
2025-04-23 17:54:31 +08:00
Read time: 2 minute(s)
< / div >
< div class = "- topic/body concept/conbody body conbody" > < p class = "- topic/shortdesc shortdesc" > < / p >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e30__20250519091513" > < span class = "- topic/ph ph" > Luban-Lite< / span > 上使用 RT-Thread
2025-04-23 17:54:31 +08:00
时,每个分区都对应一个或者多个系统设备。不同存储介质的对应关系如下表格所示。系统中出现但此处未列出的其它分区,同样遵循下列规则。< / p >
< div class = "table-container" > < table class = "- topic/table table longtable colwidths-given docutils align-default frame-all" id = "partition-and-storage-relations__id10" data-ofbid = "partition-and-storage-relations__id10" data-cols = "5" > < caption class = "- topic/title title tablecap" data-caption-side = "top" data-is-repeated = "true" > < span class = "table--title-label" > 表< span class = "table--title-label-number" > 1< / span > < span class = "table--title-label-punctuation" > . < / span > < / span > < span class = "table--title" > SPI NOR 上的分区、设备和文件系统< / span > < / caption > < colgroup > < col style = "width:16.707920792079207%" / > < col style = "width:16.707920792079207%" / > < col style = "width:16.707920792079207%" / > < col style = "width:12.376237623762377%" / > < col style = "width:37.5%" / > < / colgroup > < thead class = "- topic/thead thead" >
< tr class = "- topic/row" >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id10__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e59__20250519091513" > 分区名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id10__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e65__20250519091513" > MTD 设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id10__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e71__20250519091513" > 块设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id10__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e77__20250519091513" > 文件系统< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-0 rowsep-1" id = "partition-and-storage-relations__id10__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e83__20250519091513" > 备注< / p >
2025-04-23 17:54:31 +08:00
< / th >
< / tr >
< / thead > < tbody class = "- topic/tbody tbody" >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e95__20250519091513" > "spl" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e101__20250519091513" > "spl" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e107__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e113__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id10__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e119__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e128__20250519091513" > "os" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e134__20250519091513" > "os" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e140__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e146__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id10__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e152__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e161__20250519091513" > "rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e167__20250519091513" > "rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e173__20250519091513" > "blk_rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id10__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e179__20250519091513" > FATFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id10__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e185__20250519091513" > FATFS 通过 "blk_rodata" 设备访问 Flash< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id10__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e194__20250519091513" > "data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id10__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e200__20250519091513" > "data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id10__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e206__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id10__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e212__20250519091513" > LittleFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-0" headers = "partition-and-storage-relations__id10__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e218__20250519091513" > LittleFS 直接通过 MTD 设备访问 Flash< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< / tbody > < / table > < / div >
< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_xbz_pjy_5cc" data-ofbid = "partition-and-storage-relations__ul_xbz_pjy_5cc" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e228__20250519091513" > 分区名:< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_ocj_zjy_5cc" data-ofbid = "partition-and-storage-relations__ul_ocj_zjy_5cc" >
< li class = "- topic/li li" data-ofbid = "d83569e232__20250519091513" > "spl":分区及其设备名,"spl" 分区主要用于存储二次引导加载程序,是系统启动的第一个阶段所加载的程序。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e235__20250519091513" > "os": "os" 分区,存放操作系统的主要部分,是系统运行的核心区域。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e238__20250519091513" > "rodata": "rodata" 分区,主要用于存储只读数据,包括系统在运行时需要读取但不修改的配置信息等。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e241__20250519091513" > "data": "data" 分区,用来存储可变数据,如用户生成的数据或系统运行时产生的临时数据。< / li >
2025-04-23 17:54:31 +08:00
< / ul > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e245__20250519091513" > MTD 设备名:对 Flash 的底层直接访问,便于进行读写硬件等操作。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e248__20250519091513" > 块设备名:通过将物理存储抽象为块设备,简化了对文件系统的操作。仅 "rodata" 分区关联了一个块设备名 "blk_rodata"。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e251__20250519091513" > 文件系统:"rodata" 分区使用 FATFS 文件系统,使得数据以文件的形式进行存储和管理。"data" 分区使用 LittleFS 文件系统。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e254__20250519091513" > 访问规则:< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_bst_25n_hdc" data-ofbid = "partition-and-storage-relations__ul_bst_25n_hdc" >
< li class = "- topic/li li" data-ofbid = "d83569e258__20250519091513" >
< p class = "- topic/p p" data-ofbid = "d83569e260__20250519091513" > 直接访问 Flash, 使用 MTD 设备< / p >
2025-04-23 17:54:31 +08:00
< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e264__20250519091513" >
< p class = "- topic/p p" data-ofbid = "d83569e266__20250519091513" > FATFS 访问 Flash, 需要使用块设备< / p >
2025-04-23 17:54:31 +08:00
< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e270__20250519091513" >
< p class = "- topic/p p" data-ofbid = "d83569e272__20250519091513" > LittleFS 访问 Flash, 使用 MTD 设备< / p >
2025-04-23 17:54:31 +08:00
< / li >
< / ul > < / li >
< / ul >
< div class = "table-container" > < table class = "- topic/table table longtable colwidths-given docutils align-default frame-all" id = "partition-and-storage-relations__id11" data-ofbid = "partition-and-storage-relations__id11" data-cols = "5" > < caption class = "- topic/title title tablecap" data-caption-side = "top" data-is-repeated = "true" > < span class = "table--title-label" > 表< span class = "table--title-label-number" > 2< / span > < span class = "table--title-label-punctuation" > . < / span > < / span > < span class = "table--title" > SPI NAND 上的分区、设备和文件系统< / span > < / caption > < colgroup > < col style = "width:11.014176663031625%" / > < col style = "width:14.394765539803709%" / > < col style = "width:14.067611777535442%" / > < col style = "width:10.905125408942203%" / > < col style = "width:49.61832061068702%" / > < / colgroup > < thead class = "- topic/thead thead" >
< tr class = "- topic/row" >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id11__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e302__20250519091513" > 分区名字< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id11__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e308__20250519091513" > MTD 设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id11__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e314__20250519091513" > 块设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id11__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e320__20250519091513" > 文件系统< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-0 rowsep-1" id = "partition-and-storage-relations__id11__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e326__20250519091513" > 备注< / p >
2025-04-23 17:54:31 +08:00
< / th >
< / tr >
< / thead > < tbody class = "- topic/tbody tbody" >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e338__20250519091513" > "spl" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e344__20250519091513" > "spl" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e350__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e356__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id11__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e362__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e371__20250519091513" > "os" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e377__20250519091513" > "os" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e383__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e389__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id11__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e395__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e404__20250519091513" > "rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e410__20250519091513" > "rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e416__20250519091513" > "blk_rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id11__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e422__20250519091513" > FATFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id11__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e428__20250519091513" > 通过 "blk_rodata" 设备访问 Flash, FATFS 只读< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id11__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e437__20250519091513" > "data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id11__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e443__20250519091513" > "data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id11__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e449__20250519091513" > "blk_data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id11__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e455__20250519091513" > FATFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-0" headers = "partition-and-storage-relations__id11__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e461__20250519091513" > "blk_data"设备是通过 NFTL 层创建,< / p >
< p class = "- topic/p p" data-ofbid = "d83569e464__20250519091513" > FATFS 访问 "blk_data" 时,通过 NFTL 访问 Flash。< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< / tbody > < / table > < / div >
< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_s5j_3nq_gdc" data-ofbid = "partition-and-storage-relations__ul_s5j_3nq_gdc" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e474__20250519091513" > 分区名:< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_wlb_5ky_5cc" data-ofbid = "partition-and-storage-relations__ul_wlb_5ky_5cc" >
< li class = "- topic/li li" data-ofbid = "d83569e478__20250519091513" > "spl":分区及其设备名,"spl" 分区主要用于存储 二次引导加载程序,是系统启动的第一个阶段所加载的程序。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e481__20250519091513" > "os": "os" 分区,存放操作系统的主要部分,是系统运行的核心区域。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e484__20250519091513" > "rodata": "rodata" 分区,主要用于存储只读数据,包括系统在运行时需要读取但不修改的配置信息等。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e487__20250519091513" > "data": "data" 分区,用来存储可变数据,如用户生成的数据或系统运行时产生的临时数据。< / li >
2025-04-23 17:54:31 +08:00
< / ul > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e491__20250519091513" > MTD 设备名:对 Flash 的底层直接访问,便于进行读写硬件等操作。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e494__20250519091513" > 块设备名:通过将物理存储抽象为块设备,简化了对文件系统的操作。"blk_rodata" 和 "blk_data" 分别支持对 "rodata" 和 "data"
2025-04-23 17:54:31 +08:00
分区的文件系统访问。< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e497__20250519091513" > 文件系统:"rodata" 分区使用 FATFS 文件系统,使得数据以文件的形式进行存储和管理。"data" 分区使用 FATFS 文件系统。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e500__20250519091513" > NFTL 层:网络闪存转换层,主要用来将 Flash 的物理特性映射为一般块设备,便于 FATFS 等文件系统无需关心底层 NAND Flash 的具体特性。< div class = "- topic/note note note note_note" id = "partition-and-storage-relations__note_dr3_4mq_gdc" data-ofbid = "partition-and-storage-relations__note_dr3_4mq_gdc" > < span class = "note__title" > 注:< / span >
< p class = "- topic/p p" data-ofbid = "d83569e504__20250519091513" > 建议只设置一个使用 NFTL 的分区,并且分区不要太小。因为 NFTL 需要预留至少 6 MB 空间做坏块管理。< / p >
2025-04-23 17:54:31 +08:00
< / div > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e509__20250519091513" > 访问规则:< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_oxj_f5n_hdc" data-ofbid = "partition-and-storage-relations__ul_oxj_f5n_hdc" >
< li class = "- topic/li li" data-ofbid = "d83569e513__20250519091513" >
< p class = "- topic/p p" data-ofbid = "d83569e515__20250519091513" > 直接访问 Flash, 使用 MTD 设备< / p >
2025-04-23 17:54:31 +08:00
< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e519__20250519091513" >
< p class = "- topic/p p" data-ofbid = "d83569e521__20250519091513" > FATFS 访问 Flash, 需要使用块设备, 通过 NFTL 层访问 Flash< / p >
2025-04-23 17:54:31 +08:00
< / li >
< / ul > < / li >
< / ul >
< div class = "table-container" > < table class = "- topic/table table longtable colwidths-given docutils align-default frame-all" id = "partition-and-storage-relations__id12" data-ofbid = "partition-and-storage-relations__id12" data-cols = "5" > < caption class = "- topic/title title tablecap" data-caption-side = "top" data-is-repeated = "true" > < span class = "table--title-label" > 表< span class = "table--title-label-number" > 3< / span > < span class = "table--title-label-punctuation" > . < / span > < / span > < span class = "table--title" > eMMC 上的分区、设备和文件系统< / span > < / caption > < colgroup > < col style = "width:16.770186335403725%" / > < col style = "width:16.770186335403725%" / > < col style = "width:16.770186335403725%" / > < col style = "width:12.422360248447204%" / > < col style = "width:37.267080745341616%" / > < / colgroup > < thead class = "- topic/thead thead" >
< tr class = "- topic/row" >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id12__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e552__20250519091513" > 分区名字< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id12__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e558__20250519091513" > MTD 设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id12__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e564__20250519091513" > 块设备名< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-1 rowsep-1" id = "partition-and-storage-relations__id12__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e570__20250519091513" > 文件系统< / p >
2025-04-23 17:54:31 +08:00
< / th >
< th class = "- topic/entry entry colsep-0 rowsep-1" id = "partition-and-storage-relations__id12__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e576__20250519091513" > 备注< / p >
2025-04-23 17:54:31 +08:00
< / th >
< / tr >
< / thead > < tbody class = "- topic/tbody tbody" >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e588__20250519091513" > "spl" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e594__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e600__20250519091513" > < code class = "+ topic/ph pr-d/codeph ph codeph" > mmc0p0< / code >
2025-04-23 17:54:31 +08:00
< / p >
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e608__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id12__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e614__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e623__20250519091513" > "os" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e629__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e635__20250519091513" > < code class = "+ topic/ph pr-d/codeph ph codeph" > mmc0p1< / code >
2025-04-23 17:54:31 +08:00
< / p >
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e643__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id12__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e649__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e658__20250519091513" > "rodata" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e664__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e670__20250519091513" > < code class = "+ topic/ph pr-d/codeph ph codeph" > mmc0p2< / code >
2025-04-23 17:54:31 +08:00
< / p >
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-1" headers = "partition-and-storage-relations__id12__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e678__20250519091513" > FATFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-1" headers = "partition-and-storage-relations__id12__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e684__20250519091513" > 此处的分区排序仅为示例< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< tr class = "- topic/row" >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id12__entry__1" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e693__20250519091513" > "data" < / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id12__entry__2" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e699__20250519091513" > -< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id12__entry__3" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e705__20250519091513" > < code class = "+ topic/ph pr-d/codeph ph codeph" > mmc0p3< / code >
2025-04-23 17:54:31 +08:00
< / p >
< / td >
< td class = "- topic/entry entry colsep-1 rowsep-0" headers = "partition-and-storage-relations__id12__entry__4" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e713__20250519091513" > FATFS< / p >
2025-04-23 17:54:31 +08:00
< / td >
< td class = "- topic/entry entry colsep-0 rowsep-0" headers = "partition-and-storage-relations__id12__entry__5" >
2025-07-22 11:15:46 +08:00
< p class = "- topic/p p" data-ofbid = "d83569e719__20250519091513" > 此处的分区排序仅为示例< / p >
2025-04-23 17:54:31 +08:00
< / td >
< / tr >
< / tbody > < / table > < / div >
< ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_gtf_yly_5cc" data-ofbid = "partition-and-storage-relations__ul_gtf_yly_5cc" >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e729__20250519091513" > < strong class = "+ topic/ph hi-d/b ph b" > 分区名< / strong > : < ul class = "- topic/ul ul" id = "partition-and-storage-relations__ul_htf_yly_5cc" data-ofbid = "partition-and-storage-relations__ul_htf_yly_5cc" >
< li class = "- topic/li li" data-ofbid = "d83569e735__20250519091513" > "spl":分区及其设备名,"spl" 分区主要用于存储 二次引导加载程序,是系统启动的第一个阶段所加载的程序。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e738__20250519091513" > "os": "os" 分区,存放操作系统的主要部分,是系统运行的核心区域。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e741__20250519091513" > "rodata" : "rodata" 分区,主要用于存储只读数据,包括系统在运行时需要读取但不修改的配置信息等。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e744__20250519091513" > "data": "data" 分区,用来存储可变数据,如用户生成的数据或系统运行时产生的临时数据。< / li >
2025-04-23 17:54:31 +08:00
< / ul > < / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e748__20250519091513" > MTD 设备名:对 Flash 的底层直接访问,便于进行读写硬件等操作。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e751__20250519091513" > 块设备名:块设备按照分区顺序从 0 开始编号,例如从 mmc0p0 到 mmc0p3。每个块设备代表 eMMC
2025-04-23 17:54:31 +08:00
中的一个分区,简化了物理存储到逻辑存储的映射,便于后续的文件系统管理。< / li >
2025-07-22 11:15:46 +08:00
< li class = "- topic/li li" data-ofbid = "d83569e754__20250519091513" > 文件系统:"rodata" 和 "data" 分区均使用 FATFS 文件系统。< / li >
< li class = "- topic/li li" data-ofbid = "d83569e757__20250519091513" > 访问规则:块设备的命名,按照分区的排序从 0 开始编号< / li >
2025-04-23 17:54:31 +08:00
< / ul >
< / div >
< / article > < / main > < / div >
< / div >
< / div >
< / div >
< / div >
< footer class = "navbar navbar-default wh_footer" >
< div class = " footer-container mx-auto " >
< title > footer def< / title >
< style >
.p1 {
font-family: FangZhengShuSong, Times, serif;
}
.p2 {
font-family: Arial, Helvetica, sans-serif;
}
.p3 {
font-family: "Lucida Console", "Courier New", monospace;
}
< / style >
< div class = "webhelp.fragment.footer" >
< p class = "p1" > Copyright © 2019-2025 广东匠芯创科技有限公司. All rights reserved.< / p >
< / div >
< div >
< div class = "generation_time" >
2025-07-22 11:15:46 +08:00
Update Time: 2025-05-19
2025-04-23 17:54:31 +08:00
< / div >
< / div >
< / div >
< / footer >
< div id = "go2top" class = "d-print-none" >
< span class = "oxy-icon oxy-icon-up" > < / span >
< / div >
< div id = "modal_img_large" class = "modal" >
< span class = "close oxy-icon oxy-icon-remove" > < / span >
< div id = "modal_img_container" > < / div >
< div id = "caption" > < / div >
< / div >
< script src = "${pd}/publishing/publishing-styles-AIC-template/js/custom.js" defer = "defer" > < / script >
< / body >
< / html >