Navigation

    全志在线开发者论坛

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

    V853 使用OpenixCard烧写SD卡,插到板子上后发现是read-only file system

    编译和烧写问题专区
    2
    2
    1264
    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.
    • C
      carpediem LV 4 last edited by

      在GitHub上下载了OpenixCard之后,用其dump v853的img镜像。

      xinzhe@xinzhe-G3-3590:~/Downloads$ OpenixCard -d v853.img
       _____             _     _____           _ 
      |     |___ ___ ___|_|_ _|     |___ ___ _| |
      |  |  | . | -_|   | |_'_|   --| .'|  _| . |
      |_____|  _|___|_|_|_|_,_|_____|__,|_| |___|
            |_| Version: d0a8a7e Commit: 244
      Copyright (c) 2022, YuzukiTsuru <GloomyGhost@GloomyGhost.com>
      
      [OpenixCard INFO] Input file: v853.img Now converting...
      [OpenixIMG INFO] Now Decrypt IMG header...
      [OpenixIMG INFO] The IMG version is: 0x300
      [OpenixIMG INFO] Now Decrypt IMG file contents...
      [OpenixIMG INFO] Writing the IMG config data...
      [OpenixCard INFO] Convert Done! Prasing the partition tables...
      [OpenixCard INFO] Prase Done! Generating target image...
      [GenIMG INFO]: cmd: "rm -rf "/tmp/tmp.WBcefwfipH"/*"
      [GenIMG INFO]: cmd: "mkdir -p "/tmp/tmp.WBcefwfipH""
      [GenIMG INFO]: cmd: "cp -a "/tmp/tmp.9hjbyNWcso" "/tmp/tmp.WBcefwfipH/root""
      [GenIMG INFO]: cmd: "find '/tmp/tmp.WBcefwfipH/root' -depth -type d -printf '%P\0' | xargs -0 -I {} touch -r '/tmp/tmp.9hjbyNWcso/{}' '/tmp/tmp.WBcefwfipH/root/{}'"
      [GenIMG INFO]: cmd: "mkdir -p "/home/xinzhe/Downloads/v853.img.dump.out""
      [GenIMG INFO]: hdimage(v853.img): adding partition 'boot0' from 'boot0_sdcard.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'boot-packages' from 'boot_package.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'boot-resource' (in MBR) from 'boot-resource.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'env' (in MBR) from 'env.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'boot' (in MBR) from 'boot.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'rootfs' (in MBR) from 'rootfs.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'rootfs_data' (in MBR) from 'blank.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition 'recovery' (in MBR) from 'blank.fex' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition '[MBR]' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition '[GPT header]' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition '[GPT array]' ...
      [GenIMG INFO]: hdimage(v853.img): adding partition '[GPT backup]' ...
      [GenIMG INFO]: hdimage(v853.img): writing GPT
      [GenIMG INFO]: hdimage(v853.img): writing hybrid MBR
      [GenIMG INFO]: cmd: "rm -rf "/tmp/tmp.WBcefwfipH"/*"
      [OpenixCard INFO] Generate Done! Your image file at v853.img.dump.out Cleaning up...
      xinzhe@xinzhe-G3-3590:~/Downloads$ 
      
      
      

      然后将Dump后的img烧录到SD卡,插到板子上,使用adb查看,发现是只读文件系统。

      xinzhe@xinzhe-G3-3590:~/Downloads$ adb push 0000.bin /root
      adb: error: failed to copy '0000.bin' to '/root/0000.bin': remote Read-only file system
      0000.bin: 0 files pushed. 9.6 MB/s (327640 bytes in 0.033s)
      xinzhe@xinzhe-G3-3590:~/Downloads$ 
      
      

      请问这个问题如何解决

      vincent1 1 Reply Last reply Reply Quote Share 0
      • vincent1
        Shy LV 6 @carpediem last edited by

        @carpediem mount -o remount rw /

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

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

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