各位老鸟,求教 展讯平台怎么准确计算占用flash空间的大小
================================================================================
Code (inc. data) RO Data RW Data ZI Data Debug
7667192 698774 4322724 96324 8191592 189680492 Grand Totals
7667192 698774 4322724 96324 8191592 189680492 ELF Image Totals
7667192 698774 4322724 96324 0 0 ROM Totals
================================================================================
Total RO Size (Code + RO Data) 11989916 (11708.90kB)
Total RW Size (RW Data + ZI Data) 8287916 (8093.67kB)
Total ROM Size (Code + RO Data + RW Data) 12086240 (11802.97kB)
================================================================================
build目录 img文件夹下包含以下文件:
文件sc6530_128X64_320X480PDA_formal_trace.pac大小为13.4MB(14,153,362 字节)
文件SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin大小为13.4 MB (14,063,832 字节)
文件mmi_res_320x480_universe.bin大小为7.35 MB (7,709,508 字节)
文件nor_fdl.bin大小为34.9 KB (35,832 字节)
文件nvitem.bin大小为23.7 KB (24,364 字节)
文件夹nvitem里面的文件一共2.96 MB (3,113,607 字节)
问题:sc6530_128X64_320X480PDA_formal_trace.pac的大小怎么计算出来的?不就是应该为这个Total ROM Size (Code + RO Data + RW Data) 12086240 (11802.97kB)大小不?这个里面是不是还没包括资源文件大小?即便没包含,大小也不对呀?
还有,请老鸟解释以下
文件夹nvitem
mmi_res_320x480_universe.bin
nor_fdl.bin
nvitem.bin
SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin
这些文件干嘛用的?怎么来算最后烧入flash空间bin的大小
sc6530_128X64_320X480PDA_formal_trace.pac包含
SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin,nor_fdl.bin,nvitem.bin这三个。
可以从下载工具中查看。
其中只有SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin和nvitem.bin会烧录到FLASH中。
SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin里面包含代码和资源。本应该是Total ROM Size (12,086,240 字节)和mmi_res_320x480_universe.bin (7,709,508 字节)相加。总大小应该是约20M。注意6530中会对部分CODE代码和资源进行压缩,最终压缩成13.4 MB,即SC6530_sc6530_128X64_320X480PDA_formal_trace_stone.bin文件。
自己顶下。
Total ROM Size (Code + RO Data + RW Data) 12086240 (11802.97kB)
here is the total BIN Size, usually as PS bin or Stone bin if enable STONE_IMAGE_SUPPORT.
its based on the right scatter file configuration and all files being compiled successfully.
and the packaged firmware size shall be STONE BIN + running NV BIN(usually be 7-10 sectors) + fixed NV BIN(named as "nvitem_release.bin")
天书....
天书......