ajaysusarla / mk-bin

Create a binary file with a bunch of noops

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mk-bin

A stupid program to create a binary file specific platforms. I needed this for testing uboot on some boards.

Usage

mk-bin [OPTION]
Create a binary!
    -e, --endian   endianess[Either 'little' or 'big']
    -s, --size     size of the binary
    -n, --noop     fill the binary with noops
    -f, --file     name of the output binary file
    -h, --help     print this help

You should be able to do something like this:

./mk-bin -s 100 -f foo.bin -e big

or

./mk-bin -s 100 -f foo.bin -e little

About

Create a binary file with a bunch of noops


Languages

Language:C 92.0%Language:Makefile 8.0%