Navigation

    全志在线开发者论坛

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

    DragonSN烧录进去的自定义数据要怎么读取呢

    其它全志芯片讨论区
    2
    2
    1919
    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.
    • Y
      yikuo LV 2 last edited by

      DragonSN烧录自定义的字段,在/proc/cmdline中看不到。

      据说可以挂载私有分区后读取,但是挂载不上。

      mount /dev/block/by-name/private /mnt/private
      mount: /dev/block/by-name/private: need -t
      
      mount -t vfat /dev/block/by-name/private /mnt/private
      mount: '/dev/block/by-name/private'->'/mnt/private': Invalid argument
      

      请问要怎样挂载私有分区?

      1 Reply Last reply Reply Quote Share 0
      • DAIZEBIN
        DAIZEBIN LV 7 last edited by

        DragonSN 烧录的数据放置在Secure storage区域或者单独的private分区,这个要确定好;
        通常都是在private区域,需要先烧好SN号之后,对应的分区才会被格式化为vfat文件系统,否则是挂载不上的

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

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

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