Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/YuzukiTsuru/OpenixCard
Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner IMG Files on Linux
https://github.com/YuzukiTsuru/OpenixCard
allwinner allwinner-soc disk-image embedded-linux embedded-systems filesystem
Last synced: about 2 months ago
JSON representation
Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner IMG Files on Linux
- Host: GitHub
- URL: https://github.com/YuzukiTsuru/OpenixCard
- Owner: YuzukiTsuru
- License: gpl-2.0
- Created: 2022-01-28T09:30:17.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-04-19T20:25:27.000Z (5 months ago)
- Last Synced: 2024-05-13T22:38:26.286Z (4 months ago)
- Topics: allwinner, allwinner-soc, disk-image, embedded-linux, embedded-systems, filesystem
- Language: C
- Homepage:
- Size: 28.2 MB
- Stars: 152
- Watchers: 5
- Forks: 22
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- awesome-mango-pi-mq-pro - OpenixCard - Open Source clone of the proprietary [Windows only "PhoenixCard" tool](https://dl.sipeed.com/shareURL/LICHEE/D1/Lichee_RV/tool), for writing img files needing this flash tool. (Tools)
README
# OpenixCard
Open Source Version of Allwinner PhoenixCard to Dump, Unpack, Flash Allwinner IMG Files on Linux
[![forthebadge](https://forthebadge.com/images/badges/made-with-c-plus-plus.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/made-with-c.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/powered-by-black-magic.svg)](https://forthebadge.com)
[![forthebadge](https://forthebadge.com/images/badges/uses-git.svg)](https://forthebadge.com)[![CMake](https://github.com/YuzukiTsuru/OpenixCard/actions/workflows/cmake.yml/badge.svg)](https://github.com/YuzukiTsuru/OpenixCard/actions/workflows/cmake.yml)
## Usage
```
_____ _ _____ _
| |___ ___ ___|_|_ _| |___ ___ _| |
| | | . | -_| | |_'_| --| .'| _| . |
|_____| _|___|_|_|_|_,_|_____|__,|_| |___|
|_|
Copyright (c) 2022, YuzukiTsuruUsage: OpenixCard [options] input
Positional arguments:
input Input image file or directory path [required]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 (use together with unpack) [default: false]
-p --pack pack dumped Allwinner image to regular image from folder (needs cfg file) [default: false]
-s --size Get the accurate size of Allwinner image [default: false]eg.:
OpenixCard -u - Unpack Allwinner image to target
OpenixCard -uc - Unpack Allwinner image to target and generate Allwinner image partition table cfg
OpenixCard -d - Convert Allwinner image to regular image
OpenixCard -p - pack dumped Allwinner image to regular image from folder
OpenixCard -s - Get the accurate size of Allwinner image
```## Download
### ArchLinux
OpenixCard Now available at [AUR](https://aur.archlinux.org/packages/openixcard) [#3](https://github.com/YuzukiTsuru/OpenixCard/issues/3#issuecomment-1135317155)
```
yay -S openixcard
```### Other Linux
You can find the new release file:
https://github.com/YuzukiTsuru/OpenixCard/releases## Build from source
```
# Download the source code
git clone --recursive --depth 1 https://github.com/YuzukiTsuru/OpenixCard# Download the depends
sudo apt install cmake build-essential automake autoconf libconfuse-dev pkg-config# Make build directory
mkdir build
cd build# Make
cmake .. && make -j
```> Note: Ubuntu 20.04 compilation will report an error, This is caused by the bug of ar, you can compile and install the new version.
```
sudo apt-get install texinfowget https://ftp.gnu.org/gnu/binutils/binutils-2.38.tar.xz && \
tar xvf binutils-2.38.tar.xz && \
cd binutils-2.38 && \
./configure --prefix=/usr/local && \
make
sudo make install
```## LICENSE
```
GNU GENERAL PUBLIC LICENSE Version 2, June 1991
Copyright (c) 2022, YuzukiTsuruThis program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License version 2 as
published by the Free Software Foundation.See README and LICENSE for more details.
```