Navigation

    全志在线开发者论坛

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • 在线文档
    • 社区主页

    【FAQ】全志V853芯片 烧录spinor烧录器固件方法

    其它全志芯片讨论区
    v853 faq 技术支持
    1
    1
    259
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • q1215200171
      budbool LV 8 last edited by

      1.主题

      v85x/v83x 烧录spinor烧录器固件方法

      2.问题背景

      产品:spinor 烧录
      硬件:v83x / v85x

      • 什么是spinor烧录器固件?
        烧录器固件就是就是在spinor flash上从地址start(0x00) ~ end 的二进制数据文件。

      • 哪些场景会使用烧录器固件?
        ①工厂会使用烧录器工具多一点,在贴片前,使用烧录器固件批量给多个spinor烧录固件。烧录完成后再贴片;
        ②开发的同学有些也喜欢烧录自己制作的烧录器固件,而非使用全志Tina SDK 编译出来的固件。

      • 如何制作烧录器固件?
        ①从一个已经烧录好的机器读取flash的全部二进制数据出来,形成一个烧录器固件;
        ②只要按照划分好各个分区的起始点,把需要pack后的分区文件按偏移拼接起来。如:

      |boot0|boot_package|mbr|boot|rootfs|env|…
      
      • 如何使用工具烧录spinor “烧录器固件” ?
        请看下面的解决方法:

      3.解决办法

      • 如果制作好了烧录器固件: factory_flash.bin 16M烧录到16M 的spinor 里面。

      • 插入usb到pc,板子进入efex 模式,进入efex 方式有:
        ①系统下输入reboot efex (进入后,打印会输出CCCC)
        ②在uboot输入 efex (进入后,打印会输出CCCC)
        ③按住2,上电开机 (进入后,打印会输出CCCC)
        ④短路flash,让flash读取失败 (进入后,打印会输出CCCC)

      • 下载附件工具sunxi-tester.exe(附件上) ,Pc(windows)上烧录工厂flash固件:
        sunxi-tester-v853-0704.zip

      0bf2a21a51884a33bbc42096c427b3bd.jpg

      • 使用帮助
      Usage: D:\我的文档\桌面\sunxi-tester.exe [options] command arguments… [command…]
      -h, --help Print this usage summary and exit
      -v, --verbose Verbose logging
      -p, --progress “write” transfers show a progress bar
      -l, --list Enumerate all (USB) FEL devices and exit
      spiflash-read addr length file Write SPI flash contents into file
      spiflash-write addr file Store file contents into SPI flash
      

      注意: 此工具sunxi-tester.exe 只能操作spinor flash 前面16M空间。 超过16M无法进行读写。

      1 Reply Last reply Reply Quote Share 0
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • Referenced by  q1215200171 q1215200171 
      • 1 / 1
      • First post
        Last post

      Copyright © 2022 深圳全志在线有限公司 粤ICP备2021084185号 粤公网安备44030502007680号

      行为准则 | 用户协议 | 隐私权政策