Navigation

    全志在线开发者论坛

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

    h618的armbian固件如何解包,打包

    编译和烧写问题专区
    3
    6
    1411
    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.
    • L
      ljx00 LV 2 last edited by

      手里有一个编译好的armbian固件,现在想直接解包挂载修改根分区,想添加一个脚本,但是不知道如何解包,并重新打包。尝试使用imgRePacker_206解包,然后挂载修改了rootfs.fex,然后覆盖了原来的rootfs,但是打包后PhoenixSuit烧录提示固件有问题,求大佬解答

      J K 2 Replies Last reply Reply Quote Share 0
      • J
        jasonzhang LV 5 @ljx00 last edited by

        @ljx00 测试过Bananapi M4 Zero的包,型号也是H618的,下载地址: https://www.armbian.com/bananapi-m4-zero/
        先解压,再挂载是可以直接挂载的。

        xz -d Armbian_25.8.1_Bananapim4zero_bookworm_current_6.12.35_minimal.img.xz
        sudo mount -o loop,offset=4194304 Armbian_25.8.1_Bananapim4zero_bookworm_current_6.12.35_minimal.img armbian/
        

        6e08b4e2-3f17-4d5b-b08c-15d780f95f4f-image.png

        直接添加到目录里面,取消mount再用xz压缩一次应该是可以的。

        L 1 Reply Last reply Reply Quote Share 0
        • L
          ljx00 LV 2 @jasonzhang last edited by

          @jasonzhang 这个固件可以线刷吗?

          J 1 Reply Last reply Reply Quote Share 0
          • L
            ljx00 LV 2 last edited by

            主要是我不会适配镜像,所以就只能改现在的镜像不知道为啥我用mgRePacker解包以后,直接挂载修改,打包烧录就报错,3a3394a6-fbfb-4d15-a428-0d5f4159cd0d-image.png 围我在想是不是和Vrootfs这文件有关呀?难道也要改下?

            1 Reply Last reply Reply Quote Share 0
            • J
              jasonzhang LV 5 @ljx00 last edited by

              @ljx00 这个是使用balenaEtcher烧录到SD卡能够运行,和全志的镜像格式是不一致的。全志的单独打包我没尝试过,不确定问题。

              1 Reply Last reply Reply Quote Share 0
              • K
                kinva LV 1 @ljx00 last edited by

                @ljx00 大佬,解决了吗?能刷不

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

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

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