Navigation

    全志在线开发者论坛

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

    OpenixCard - 在 Linux 系统刷写全志镜像到 SD 卡

    编译和烧写问题专区
    8
    24
    1315
    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.
    • YuzukiTsuru
      柚木 鉉 LV 9 last edited by YuzukiTsuru

      远古的坑了,最近有时间终于填了下。

      线刷在Windows上有PhoenixSuit,在Linux上有LiveSuit,刷写都很方便。但是到了卡刷就寄了,只有一个Windows下的PhoenixCard,在Linux下刷写很头疼。于是写了这个小东西。

      e564e820-12e7-4eb1-8804-e93afbbe7472-image.png

      功能:

      1. 在 Linux 解包 Tina 镜像
      2. 将 Tina 镜像转换为标准的镜像,转换后的镜像可以使用DD、USB Image Tool、Win32diskimager、Etcher刷写。方便分发。
      3. 更多功能咕咕中....

      开源地址

      https://github.com/YuzukiTsuru/OpenixCard

      视频:转换全志的镜像成为标准镜像并用Etcher刷写。

      1 Reply Last reply Reply Quote Share 3
      • Moved from 代码下载问题专区 by  YuzukiTsuru YuzukiTsuru 
      • xiaowenge
        DOT小文哥 LV 8 last edited by

        那么 这么简单好用的工具 可以在哪来下载到呢?

        1 Reply Last reply Reply Quote Share 0
        • W
          woodfor LV 3 last edited by

          串口工具叫啥 看着不错的样子

          YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
          • mangogeek
            mangogeek LV 8 last edited by

            咦,你这好东西不少哇

            1 Reply Last reply Reply Quote Share 0
            • U
              ubuntu LV 6 last edited by

              img 文件格式是怎么解包的?

              YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
              • YuzukiTsuru
                柚木 鉉 LV 9 @ubuntu last edited by

                @ubuntu 等我抓下虫就开源啦

                1 Reply Last reply Reply Quote Share 0
                • YuzukiTsuru
                  柚木 鉉 LV 9 last edited by

                  开源了,开源了
                  https://github.com/YuzukiTsuru/OpenixCard

                  1 Reply Last reply Reply Quote Share 0
                  • YuzukiTsuru
                    柚木 鉉 LV 9 @woodfor last edited by

                    @woodfor comNG

                    1 Reply Last reply Reply Quote Share 0
                    • W
                      wonderfullook LV 3 last edited by

                      你这也太肝了。足够我学习好久了

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

                        贡献太大了,一己之力推进了全志的事业

                        1 Reply Last reply Reply Quote Share 0
                        • YuzukiTsuru
                          柚木 鉉 LV 9 last edited by YuzukiTsuru

                          更新了1.0.2版本

                           _____             _     _____           _ 
                          |     |___ ___ ___|_|_ _|     |___ ___ _| |
                          |  |  | . | -_|   | |_'_|   --| .'|  _| . |
                          |_____|  _|___|_|_|_|_,_|_____|__,|_| |___|
                                |_| 
                          Copyright (c) 2022, YuzukiTsuru <GloomyGhost@GloomyGhost.com>
                          
                          Usage: OpenixCard [options] 
                          
                          Optional arguments:
                          -h --help       shows help message and exits [default: false]
                          -v --version    prints version information and exits [default: false]
                          -u --unpack     Unpack Allwinner Image to folder [default: false]
                          -d --dump       Convert Allwinner image to regular image [default: false]
                          -c --cfg        Get Allwinner image partition table cfg file [default: false]
                          -p --pack       Pack dumped Allwinner image to regular image from folder [default: false]
                          -i --input      Input Allwinner image file or dumped image directory [required]
                          
                          eg.
                          
                          OpenixCard                  - TUI Interface -> NOT AVALIABLE
                          OpenixCard -u -i <img>      - Unpack Allwinner image to target
                          OpenixCard -u -c -i <img>   - Unpack Allwinner image to target and generate Allwinner image partition table cfg
                          OpenixCard -d -i <img>      - Convert Allwinner image to regular image
                          OpenixCard -p -i <dir>      - Pack dumped Allwinner image to regular image from folder
                          
                          1 Reply Last reply Reply Quote Share 0
                          • YuzukiTsuru
                            柚木 鉉 LV 9 last edited by

                            OpenixCard V1.1.5 更新了

                            OpenixCard -u  <img>   - 解包全志镜像
                            OpenixCard -uc <img>   - 解包全志镜像并输出分区表
                            OpenixCard -d  <img>   - 转换全志镜像到普通镜像
                            OpenixCard -p  <dir>   - 打包解包的的镜像
                            OpenixCard -s  <img>   - 获取全志镜像真实大小
                            
                            1 Reply Last reply Reply Quote Share 1
                            • F
                              fumoumou LV 4 last edited by

                              OpenixCard -d tina_t113-evb1_uart0.img
                               _____             _     _____           _ 
                              |     |___ ___ ___|_|_ _|     |___ ___ _| |
                              |  |  | . | -_|   | |_'_|   --| .'|  _| . |
                              |_____|  _|___|_|_|_|_,_|_____|__,|_| |___|
                                    |_| Version: 8d55a0d Commit: 1
                              Copyright (c) 2022, YuzukiTsuru <GloomyGhost@GloomyGhost.com>
                              
                              [OpenixCard INFO] Input file: tina_t113-evb1_uart0.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...
                              terminate called after throwing an instance of 'inicpp::ambiguity_exception'
                                what():  Ambiguous element with name: name
                              Aborted (core dumped)
                              

                              请问这个是什么问题呀

                              YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
                              • YuzukiTsuru
                                柚木 鉉 LV 9 @fumoumou last edited by

                                @fumoumou 提供下镜像文件我看看

                                1 Reply Last reply Reply Quote Share 0
                                • F
                                  fumoumou LV 4 last edited by xiaowenge

                                  @yuzukitsuru
                                  tina_t113-evb1_uart0.img

                                  感谢

                                  YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
                                  • YuzukiTsuru
                                    柚木 鉉 LV 9 @fumoumou last edited by

                                    @fumoumou 好像没发上来

                                    1 Reply Last reply Reply Quote Share 0
                                    • F
                                      fumoumou LV 4 last edited by

                                      tina_t113-evb1_uart0.img
                                      这次再试试

                                      YuzukiTsuru 2 Replies Last reply Reply Quote Share 0
                                      • YuzukiTsuru
                                        柚木 鉉 LV 9 @fumoumou last edited by

                                        @fumoumou 分区表存在注释分区,解析器迷惑了,我回去看看怎么解决下

                                        1 Reply Last reply Reply Quote Share 0
                                        • YuzukiTsuru
                                          柚木 鉉 LV 9 @fumoumou last edited by YuzukiTsuru

                                          @fumoumou 分区表配置错误了,有两个name字段
                                          a68013d1-8b97-484f-9711-551284df58b2-image.png

                                          1 Reply Last reply Reply Quote Share 0
                                          • F
                                            fumoumou LV 4 last edited by

                                            @yuzukitsuru 这怎么解决呀

                                            YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
                                            • YuzukiTsuru
                                              柚木 鉉 LV 9 @fumoumou last edited by

                                              @fumoumou 删了 name = rootfs_data那一行

                                              1 Reply Last reply Reply Quote Share 0
                                              • F
                                                fumoumou LV 4 last edited by

                                                @yuzukitsuru 请问这个在哪里修改的

                                                YuzukiTsuru 1 Reply Last reply Reply Quote Share 0
                                                • YuzukiTsuru
                                                  柚木 鉉 LV 9 @fumoumou last edited by

                                                  @fumoumou

                                                  device/config/chips/d1-h/configs/nezha/sys_partition.fex

                                                  芯片名称与板子名称记得改一下

                                                  1 Reply Last reply Reply Quote Share 0
                                                  • F
                                                    fumoumou LV 4 last edited by

                                                    @yuzukitsuru ok,感谢

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

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

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