Giter Site home page Giter Site logo

imgeditor's Introduction

imgeditor

A set of tools for editor binary images.

Compile and run on host

$ mkdir build
$ cd build
$ cmake ..
$ make
$ sudo make install

And we can do some builtin tests.

$ make test
Running tests...
Test project /home/qianfan/debug/port/github-os/imgeditor/build
    Start 1: allwinner/sysconfig/test.sh
1/8 Test #1: allwinner/sysconfig/test.sh .......   Passed    0.01 sec
    Start 2: allwinner/sunxi_package/test.sh
2/8 Test #2: allwinner/sunxi_package/test.sh ...   Passed    0.07 sec
    Start 3: android/bootimg/test.sh
3/8 Test #3: android/bootimg/test.sh ...........   Passed    0.30 sec
    Start 4: disk/gpt/test.sh
4/8 Test #4: disk/gpt/test.sh ..................   Passed    0.25 sec
    Start 5: fs/ext4/test.sh
5/8 Test #5: fs/ext4/test.sh ...................   Passed    3.50 sec
    Start 6: fs/ext2/test.sh
6/8 Test #6: fs/ext2/test.sh ...................   Passed    3.14 sec
    Start 7: fs/ubi/test.sh
7/8 Test #7: fs/ubi/test.sh ....................   Passed    9.31 sec
    Start 8: uboot/env/test.sh
8/8 Test #8: uboot/env/test.sh .................   Passed    0.02 sec

100% tests passed, 0 tests failed out of 8

Total Test time (real) =  16.61 sec

Cross-compile

$ mkdir build-arm
$ cd build-arm
cmake -DCMAKE_C_COMPILER=arm-linux-gnueabihf-gcc ..
-- The C compiler identification is GNU 7.5.0
-- Check for working C compiler: /opt/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc
-- Check for working C compiler: /opt/gcc-linaro-7.5.0-2019.12-x86_64_arm-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /home/debug/port/github-os/imgeditor/build-arm
$ make

imgeditor's People

Contributors

qianfan-zhao avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

imgeditor's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.