Navigation

    全志在线开发者论坛

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

    MELIS3.0是根据什么来判断哪个fex是真正的配置

    RTOS
    3
    5
    2611
    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.
    • I
      ivan_wan LV 3 last edited by

      在/projects/{BOARD}/configs/下面有好sys_config_nand.fex,sys_config_nor.fex,sys_config_card.fex。通过什么来配置哪个fex才是项目真正的fex

      qingqingxiaozi whycan 2 Replies Last reply Reply Quote Share 0
      • qingqingxiaozi
        qingqingxiaozi LV 4 @ivan_wan last edited by

        This post is deleted!
        I 1 Reply Last reply Reply Quote Share 0
        • whycan
          whycan晕哥 LV 9 @ivan_wan last edited by

          @ivan_wan
          根据 sys_config.fex 里面的 boot_storage 参数值。

          1 Reply Last reply Reply Quote Share 0
          • I
            ivan_wan LV 3 @qingqingxiaozi last edited by

            看了直接是命令行传进来PACK_STORAGE_TYPE=${FLAGS_storage_type},看不到是怎么传进来的

            qingqingxiaozi 1 Reply Last reply Reply Quote Share 0
            • qingqingxiaozi
              qingqingxiaozi LV 4 @ivan_wan last edited by

              @ivan_wan 确实,linux编译环境下打包脚本对应的是pack_img.sh。这个值应该是通过envsetup.sh里function pack()传进去的。source melis-env.sh 会调 envsetup.sh,然后调pack_img.sh。pack时可以加 -a [type] 指定存储介质,不然就是使用function pack()里默认的nor。

              1 Reply Last reply Reply Quote Share 0
              • 1 / 1
              • First post
                Last post

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

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