# sysutils/sunxi-tools - The NetBSD Packages Collection

Tools to help hacking Allwinner A10 (and successors) devices

    Tools to help hacking Allwinner A10 (aka sun4i) based devices and possibly
    it's successors, that's why the 'x' in the package name.

    fexc:
    	`.fex` file (de)compiler

    	Usage: ./fexc [-vq] [-I ] [-O ] [ []]

    	infmt:  fex, bin  (default:fex)
    	outfmt: fex, bin  (default:bin)

    bin2fex:
    	compatibility shortcut to call `fexc` to decompile an script.bin
    	blob back into `.fex` format used by allwinner's SDK to configure
    	the boards.

    fex2bin:
    	compatiblity shortcut to call `fexc` to compile a `.fex` file into
    	the binary form used by the sun4i kernel.

    fel:
    	script interface for talking to the FEL USB handler built in to
    	th CPU. You activate FEL mode by pushing the usboot/recovery
    	button at poweron. See http://linux-sunxi.org/FEL/USBBoot for
    	a detailed usage guide.

    fel-gpio:
    	Simple wrapper around fel-pio and fel to allow GPIO manipulations
    	via FEL

    fel-sdboot:
    	ARM native sdcard bootloader forcing the device into FEL mode

    fel-pio:
    	ARM native helper for fel-gpio

    pio:
    	Manipulate PIO register dumps

    jtag-loop.sunxi:
    	ARM native boot helper to force the SD port into JTAG
    	and then stop, to ease debugging of bootloaders.

    bootinfo:
    	Dump information from Allwinner boot files (boot0/boot1)
    	--type=sd	include SD boot info
    	--type=nand	include NAND boot info (not implemented)

    phoenix_info:
    	gives information about a phoenix image created by the
    	phoenixcard utility and optionally extracts the embedded boot
    	code & firmware file from their hidden partitions.

- Source version: `sunxi-tools-20170823`
- Maintainer: bouyer AT NetBSD.org
- Website: http://linux-sunxi.org/
- License: gnu-gpl-v2
- Package history: cvs, hg, git

## Build dependencies

pkgtools/mktools devel/gmake devel/pkgconf pkgtools/cwrappers

## Runtime dependencies

devel/libusb1

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 10.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 10.0 | aarch64eb | sunxi-tools-20170823.tgz
NetBSD 10.0 | alpha | sunxi-tools-20170823.tgz
NetBSD 10.0 | earmv4 | sunxi-tools-20170823.tgz
NetBSD 10.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 10.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 10.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 10.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 10.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 10.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 10.0 | powerpc | sunxi-tools-20170823.tgz
NetBSD 10.0 | powerpc | sunxi-tools-20170823.tgz
NetBSD 10.0 | powerpc | sunxi-tools-20170823.tgz
NetBSD 10.0 | powerpc | sunxi-tools-20170823.tgz
NetBSD 10.0 | sh3el | sunxi-tools-20170823.tgz
NetBSD 10.0 | sparc64 | sunxi-tools-20170823.tgz
NetBSD 10.0 | sparc64 | sunxi-tools-20170823.tgz
NetBSD 10.0 | vax | sunxi-tools-20170823.tgz
NetBSD 10.0 | vax | sunxi-tools-20170823.tgz
NetBSD 10.0 | vax | sunxi-tools-20170823.tgz
NetBSD 10.0 | x86_64 | sunxi-tools-20170823.tgz
NetBSD 10.0 | x86_64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | aarch64eb | sunxi-tools-20170823.tgz
NetBSD 11.0 | aarch64eb | sunxi-tools-20170823.tgz
NetBSD 11.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 11.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 11.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 11.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 11.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 11.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 11.0 | m68k | sunxi-tools-20170823.tgz
NetBSD 11.0 | riscv64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | riscv64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | sh3el | sunxi-tools-20170823.tgz
NetBSD 11.0 | vax | sunxi-tools-20170823.tgz
NetBSD 11.0 | vax | sunxi-tools-20170823.tgz
NetBSD 11.0 | x86_64 | sunxi-tools-20170823.tgz
NetBSD 11.0 | x86_64 | sunxi-tools-20170823.tgz
NetBSD 9.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 9.0 | aarch64 | sunxi-tools-20170823.tgz
NetBSD 9.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 9.0 | earmv6hf | sunxi-tools-20170823.tgz
NetBSD 9.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 9.0 | earmv7hf | sunxi-tools-20170823.tgz
NetBSD 9.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 9.0 | i386 | sunxi-tools-20170823.tgz
NetBSD 9.0 | powerpc | sunxi-tools-20170823.tgz
NetBSD 9.0 | x86_64 | sunxi-tools-20170823.tgz
NetBSD 9.0 | x86_64 | sunxi-tools-20170823.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.