mirror of
https://gitee.com/Vancouver2017/luban-lite.git
synced 2025-12-16 09:08:56 +00:00
331 lines
38 KiB
HTML
331 lines
38 KiB
HTML
<!DOCTYPE html><html xmlns="http://www.w3.org/1999/xhtml" xml:lang="zh-cn" lang="zh-cn" data-whc_version="26.1">
|
||
<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="description" content="Luban-Lite SDK 支持多个芯片平台,而各个平台的内存种类和内存大小也不同,正确的进行内存配置会使系统运行更高效。 遵照以下流程,配置芯片平台的内存参数: 在 menuconfig 界面中,导航到 Board options > MemOptions 配置选项,注意在 bootloader 和 rt-thread 配置都要对应修改。 根据 芯片平台型号 、 存储类型 ..."/><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="topic"/><meta name="DC.relation" content="../../../topics/sdk/bringup/chapter-bringup.html"/><meta name="DC.relation" content="../../../topics/sdk/bringup/lite-bringup-soc.html"/><meta name="DC.relation" content="../../../topics/sdk/bringup/lite-bringup-storage.html"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.contributor" content="yan.wang"/><meta name="DC.date.modified" content="2025-05-16"/><meta name="DC.format" content="HTML5"/><meta name="DC.identifier" content="id"/><meta name="DC.language" content="zh-CN"/><title>内存配置</title><!-- Generated with build number 2025051600. --><meta name="wh-path2root" content="../../../"/><meta name="wh-toc-id" content="id-d3752e2111"/><meta name="wh-source-relpath" content="topics/sdk/bringup/lite-bringup-ram.dita"/><meta name="wh-out-relpath" content="topics/sdk/bringup/lite-bringup-ram.html"/>
|
||
|
||
<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"/>
|
||
|
||
<script src="../../../webhelp/app/options/properties.js?buildId=20250519091401"></script>
|
||
<script src="../../../webhelp/app/localization/strings.js?buildId=2024041900"></script>
|
||
<script src="../../../webhelp/app/search/index/keywords.js?buildId=20250519091401"></script>
|
||
<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="id" 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">
|
||
|
||
<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 class="active"><div class="topicref" data-id="id"><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-ram.html">内存配置</a></div></div></li></ol></div>
|
||
|
||
|
||
|
||
<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/bringup/lite-bringup-soc.html" title="引脚配置" aria-label="上一主题: 引脚配置" rel="prev"></a></span>
|
||
<span class="navnext"><a class="- topic/link link" href="../../../topics/sdk/bringup/lite-bringup-storage.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">
|
||
|
||
<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-bringup-soc.html" id="id-d3752e2097-link">引脚配置</a></div></div></li><li role="treeitem" class="active"><div data-tocid="id-d3752e2111" 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-bringup-ram.html" id="id-d3752e2111-link">内存配置</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2125" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2125-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-storage.html" id="id-d3752e2125-link">存储配置</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2233" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2233-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/advanced/partition_config_2.html" id="id-d3752e2233-link">配置分区</a></div></div></li><li role="treeitem"><div data-tocid="id-d3752e2277" 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-bringup-console.html" id="id-d3752e2277-link">调试配置</a></div></div></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2291" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2291-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/bringup/lite-bringup-display.html" id="id-d3752e2291-link">屏幕配置</a></div></div></li><li role="treeitem"><div data-tocid="id-d3752e2403" 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-bringup-samples.html" id="id-d3752e2403-link">示例程序</a></div></div></li></ul></li><li role="treeitem" aria-expanded="false"><div data-tocid="id-d3752e2418" class="topicref" data-id="id" data-state="not-ready"><span role="button" tabindex="0" aria-labelledby="button-expand-action id-d3752e2418-link" class="wh-expand-btn"></span><div class="title"><a href="../../../topics/sdk/chapter-advanced-app.html" id="id-d3752e2418-link">高级应用</a><div class="wh-tooltip"><p class="shortdesc">系统、存储、多媒体、接口、安全等模块的详细配置和设计说明。</p></div></div></div></li></ul></div>
|
||
|
||
</div>
|
||
</nav>
|
||
|
||
|
||
<div class="col-lg-7 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>
|
||
<button id="wh_close_topic_toc_button" class="close-toc-button d-none" aria-label="Toggle topic table of content" aria-controls="wh_topic_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 topic" 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/bringup/lite-bringup-ram.dita">Edit online</a></span><h1 class="- topic/title title topictitle1" id="ariaid-title1">内存配置</h1>
|
||
<div class="date inPage">16 May 2025</div><div style="color: gray;">
|
||
Read time: 2 minute(s)
|
||
</div>
|
||
<div class="- topic/body body">
|
||
<p class="- topic/p p" data-ofbid="d46887e28__20250519091506"><span class="- topic/ph ph">Luban-Lite</span> SDK
|
||
支持多个芯片平台,而各个平台的内存种类和内存大小也不同,正确的进行内存配置会使系统运行更高效。</p>
|
||
|
||
<div class="- topic/p p" data-ofbid="d46887e33__20250519091506">遵照以下流程,配置芯片平台的内存参数:<ol class="- topic/ol ol" id="id__ol_o31_jm1_bdc" data-ofbid="id__ol_o31_jm1_bdc">
|
||
<li class="- topic/li li" data-ofbid="d46887e37__20250519091506">在 menuconfig 界面中,导航到 <span class="+ topic/ph ui-d/menucascade ph menucascade"><span class="+ topic/ph ui-d/uicontrol ph uicontrol">Board options</span><abbr> > </abbr><span class="+ topic/ph ui-d/uicontrol ph uicontrol">MemOptions</span></span> 配置选项,注意在 bootloader 和 rt-thread 配置都要对应修改。</li>
|
||
<li class="- topic/li li" data-ofbid="d46887e49__20250519091506">根据<a class="- topic/xref xref" href="lite-bringup-ram.html#id__section_xt2_pr1_bdc">芯片平台型号</a>、<a class="- topic/xref xref" href="lite-bringup-ram.html#id__section_plw_2r1_bdc">存储类型</a>和内存规格,配置相应内存的参数,包括总大小、CMA 内存大小等。<ul class="- topic/ul ul" id="id__ul_dbx_wvq_ndc" data-ofbid="id__ul_dbx_wvq_ndc">
|
||
<li class="- topic/li li" data-ofbid="d46887e61__20250519091506">
|
||
<div class="- topic/p p" data-ofbid="d46887e63__20250519091506"><strong class="+ topic/ph hi-d/b ph b">DRAM</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_sjc_vm1_bdc" data-ofbid="id__codeblock_sjc_vm1_bdc">Board options > Mem Options > DRAM parameter
|
||
|
||
(<span class="hl-number">0x8000000</span>) DRAM Total Size <em class="hl-comment">//DRAM 128M</em>
|
||
(<span class="hl-number">0x2000000</span>) CMA mem size <em class="hl-comment">//CMA 32M</em></pre></div>
|
||
</li>
|
||
<li class="- topic/li li" data-ofbid="d46887e70__20250519091506">
|
||
<div class="- topic/p p" data-ofbid="d46887e72__20250519091506"><strong class="+ topic/ph hi-d/b ph b">SRAM</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_xff_vm1_bdc" data-ofbid="id__codeblock_xff_vm1_bdc">Board options > Mem Options > SRAM parameter
|
||
|
||
(<span class="hl-number">0x100000</span>) SRAM Total Size <em class="hl-comment">//SRAM 1M</em>
|
||
[ ] Enable TCM (Tightly Coupled Memory) <em class="hl-comment">//不设置</em>
|
||
SRAM_S1 Size (<span class="hl-number">0</span>K) <em class="hl-comment">//G73x UI 展示时设置</em>
|
||
(<span class="hl-number">0x0</span>) Software size in SRAM_S1 <em class="hl-comment">//G73x UI 展示时设置</em>
|
||
(<span class="hl-number">0x40000</span>) Bootloader reserve size <em class="hl-comment">//Bootloader 位置,不修改</em></pre></div>
|
||
</li>
|
||
<li class="- topic/li li" data-ofbid="d46887e79__20250519091506">
|
||
<div class="- topic/p p" data-ofbid="d46887e81__20250519091506"><strong class="+ topic/ph hi-d/b ph b">PSRAM</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_hyg_vm1_bdc" data-ofbid="id__codeblock_hyg_vm1_bdc">(<span class="hl-number">0x800000</span>) PSRAM size <em class="hl-comment">//PSRAM 8M</em>
|
||
(<span class="hl-number">0x0</span>) Software size in PSRAM <em class="hl-comment">//Software 区域大小为 0,CMA 区域大小即为 8M - 0 = 8M</em></pre></div>
|
||
</li>
|
||
</ul></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e89__20250519091506">保存并退出
|
||
menuconfig 界面。</li>
|
||
<li class="- topic/li li" data-ofbid="d46887e93__20250519091506">运行 <span class="+ topic/keyword sw-d/cmdname keyword cmdname">me</span> 命令以启动 menuconfig 界面,并在 menuconfig
|
||
界面中配置下列栈参数:<ul class="- topic/ul ul" id="id__ul_gsp_fn1_bdc" data-ofbid="id__ul_gsp_fn1_bdc">
|
||
<li class="- topic/li li" data-ofbid="d46887e101__20250519091506"><strong class="+ topic/ph hi-d/b ph b">中断栈</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_gdh_hn1_bdc" data-ofbid="id__codeblock_gdh_hn1_bdc">Board options > Mem Options > Interrupt stack size</pre></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e107__20250519091506"><strong class="+ topic/ph hi-d/b ph b">主线程栈</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_pwj_hn1_bdc" data-ofbid="id__codeblock_pwj_hn1_bdc">Rt-Thread options > RT-Thread Components > Set main thread stack size</pre></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e113__20250519091506"><strong class="+ topic/ph hi-d/b ph b">MSH
|
||
栈</strong><pre class="+ topic/pre pr-d/codeblock pre codeblock language-c" id="id__codeblock_k1l_hn1_bdc" data-ofbid="id__codeblock_k1l_hn1_bdc">Rt-Thread options > RT-Thread Components > MSH: command shell > The stack size <strong class="hl-keyword">for</strong> thread</pre></li>
|
||
</ul></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e120__20250519091506">保存配置并退出 menuconfig 界面。</li>
|
||
</ol></div>
|
||
<section class="- topic/section section" id="id__section_plw_2r1_bdc" data-ofbid="id__section_plw_2r1_bdc"><h2 class="- topic/title title sectiontitle">内存分类</h2>
|
||
|
||
<div class="- topic/p p" data-ofbid="d46887e129__20250519091506">内存可以按照以下两种方式进行分类:<ul class="- topic/ul ul" id="id__ul_jq3_lr1_bdc" data-ofbid="id__ul_jq3_lr1_bdc">
|
||
<li class="- topic/li li" data-ofbid="d46887e133__20250519091506">按照存储类型划分:<ul class="- topic/ul ul" id="id__ul_as3_hr1_bdc" data-ofbid="id__ul_as3_hr1_bdc">
|
||
<li class="- topic/li li" data-ofbid="d46887e137__20250519091506">DRAM:动态 RAM,又称 DDR<p class="- topic/p p" data-ofbid="d46887e139__20250519091506">典型代表平台:D21x </p></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e142__20250519091506">SRAM:静态 RAM,又称高速缓存<p class="- topic/p p" data-ofbid="d46887e144__20250519091506">典型代表平台:D13x </p></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e147__20250519091506">PSRAM:伪静态 RAM<p class="- topic/p p" data-ofbid="d46887e149__20250519091506">典型代表平台:D13x,D12x</p></li>
|
||
</ul></li>
|
||
<li class="- topic/li li" data-ofbid="d46887e153__20250519091506">按照应用场景划分<ul class="- topic/ul ul simple" id="id__ul_ocx_nr1_bdc" data-ofbid="id__ul_ocx_nr1_bdc">
|
||
<li class="- topic/li li" data-ofbid="d46887e157__20250519091506">
|
||
<p class="- topic/p p" data-ofbid="d46887e159__20250519091506">Software region:支持堆和栈的动态分配,由操作系统管理</p>
|
||
</li>
|
||
<li class="- topic/li li" data-ofbid="d46887e163__20250519091506">
|
||
<p class="- topic/p p" data-ofbid="d46887e165__20250519091506">CAM region:连续内存区域,预留给 framebuffer,视频,图片等解码使用</p>
|
||
</li>
|
||
</ul></li>
|
||
</ul></div>
|
||
</section>
|
||
|
||
|
||
|
||
|
||
<section class="- topic/section section" id="id__section_xt2_pr1_bdc" data-ofbid="id__section_xt2_pr1_bdc"><h2 class="- topic/title title sectiontitle">平台统计</h2>
|
||
|
||
<div class="table-container"><table class="- topic/table table docutils align-default frame-all" id="id__table_o52_pr1_bdc" data-ofbid="id__table_o52_pr1_bdc" data-cols="6"><caption></caption><colgroup><col style="width:12.5%"/><col style="width:12.5%"/><col style="width:12.5%"/><col style="width:12.5%"/><col style="width:12.5%"/><col style="width:37.5%"/></colgroup><thead class="- topic/thead thead">
|
||
<tr class="- topic/row row-odd">
|
||
<th class="- topic/entry entry head colsep-1 rowsep-1" id="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e199__20250519091506">平台型号</p></th>
|
||
<th class="- topic/entry entry head colsep-1 rowsep-1" id="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e203__20250519091506">DRAM</p></th>
|
||
<th class="- topic/entry entry head colsep-1 rowsep-1" id="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e207__20250519091506">SRAM</p></th>
|
||
<th class="- topic/entry entry head colsep-1 rowsep-1" id="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e211__20250519091506">PSRAM</p></th>
|
||
<th class="- topic/entry entry head colsep-1 rowsep-1" id="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e215__20250519091506">CMA</p></th>
|
||
<th class="- topic/entry entry head colsep-0 rowsep-1" id="id__table_o52_pr1_bdc__entry__6"><p class="- topic/p p" data-ofbid="d46887e220__20250519091506">说明</p></th>
|
||
</tr>
|
||
</thead><tbody class="- topic/tbody tbody">
|
||
<tr class="- topic/row row-even">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e230__20250519091506">D21xxBx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e234__20250519091506">64M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e238__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e242__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e246__20250519091506">22M</p></td>
|
||
<td class="- topic/entry entry colsep-0 rowsep-1" headers="id__table_o52_pr1_bdc__entry__6" rowspan="2">
|
||
<p class="- topic/p p" data-ofbid="d46887e252__20250519091506">CMA 可供系统使用,</p>
|
||
<p class="- topic/p p" data-ofbid="d46887e255__20250519091506">配合 mpp heap 一块调大</p>
|
||
</td>
|
||
</tr>
|
||
<tr class="- topic/row row-odd">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e263__20250519091506">D21xxCx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e267__20250519091506">128M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e271__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e275__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e279__20250519091506">32M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-even">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e286__20250519091506">D13xxAx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e290__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e294__20250519091506">512K</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e298__20250519091506">4M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e302__20250519091506">4M</p></td>
|
||
<td class="- topic/entry entry colsep-0 rowsep-0" headers="id__table_o52_pr1_bdc__entry__6" rowspan="7"><p class="- topic/p p" data-ofbid="d46887e307__20250519091506">Software Region 可以共享 CMA</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-odd">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e314__20250519091506">D13xxBx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e318__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e322__20250519091506">1M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e326__20250519091506">8M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e330__20250519091506">8M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-even">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e337__20250519091506">D13xxCx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e341__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e345__20250519091506">1M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e349__20250519091506">16M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e353__20250519091506">8M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-odd">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e361__20250519091506">D12xxAx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e365__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e369__20250519091506">1M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e373__20250519091506">4M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e377__20250519091506">2M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-even">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e384__20250519091506">D12xxBx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e388__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e392__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e396__20250519091506">8M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e400__20250519091506">4M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-odd">
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e407__20250519091506">D12xxCx</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e411__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e415__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e419__20250519091506">16M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-1" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e423__20250519091506">8M</p></td>
|
||
</tr>
|
||
<tr class="- topic/row row-even">
|
||
<td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_o52_pr1_bdc__entry__1"><p class="- topic/p p" data-ofbid="d46887e430__20250519091506">G73x</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_o52_pr1_bdc__entry__2"><p class="- topic/p p" data-ofbid="d46887e434__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_o52_pr1_bdc__entry__3"><p class="- topic/p p" data-ofbid="d46887e438__20250519091506">1M</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_o52_pr1_bdc__entry__4"><p class="- topic/p p" data-ofbid="d46887e442__20250519091506">X</p></td>
|
||
<td class="- topic/entry entry colsep-1 rowsep-0" headers="id__table_o52_pr1_bdc__entry__5"><p class="- topic/p p" data-ofbid="d46887e446__20250519091506">756K</p></td>
|
||
</tr>
|
||
</tbody></table></div>
|
||
</section>
|
||
|
||
|
||
|
||
|
||
</div>
|
||
</article></main></div>
|
||
|
||
|
||
|
||
|
||
|
||
|
||
</div>
|
||
|
||
<nav role="navigation" id="wh_topic_toc" aria-label="On this page" class="col-lg-2 d-none d-lg-block navbar d-print-none">
|
||
<div id="wh_topic_toc_content">
|
||
|
||
<div class=" wh_topic_toc "><div class="wh_topic_label">在本页上</div><ul><li class="section-item"><div class="section-title"><a href="#id__section_plw_2r1_bdc" data-tocid="id__section_plw_2r1_bdc">内存分类</a></div></li><li class="section-item"><div class="section-title"><a href="#id__section_xt2_pr1_bdc" data-tocid="id__section_xt2_pr1_bdc">平台统计</a></div></li></ul></div>
|
||
|
||
</div>
|
||
</nav>
|
||
|
||
</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">
|
||
Update Time: 2025-05-19
|
||
</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> |