helix-e2-tools
v1.0.7
Published
Helix Platform HDK EEPROM Tools
Downloads
0
Readme
Helix Platform HDK EEPROM Tools
EEPROM compiler and utilities for Helix Platform expansion modules. Part of the Helix Platform HDK (Hardware Development Kit). For more information, refer to the helix-expansion-module-eeprom-specification.pdf document in the Helix Platform HDK.
Installation
$ npm install -g helix-e2-tools
Tools
The Helix Platform HDK EEPROM Tools installs the following CLI utilites:
he2c - Helix Platform EEPROM Compiler
Compiles a binary EEPROM image for a Helix Platform expansion module from a JSON config file.
Compile an EEPROM image from a JSON config file
$ he2c module.json -o eeprom.bin
Specify the EEPROM size [--eeprom-length] (default=8K)
$ he2c module.json -o eeprom.bin --eeprom-length 32K
Specify the EEPROM format version [--eeprom-version] (default=1.0)
$ he2c module.json -o eeprom.bin --eeprom-version 1.0
Specify the Device Tree Source [--dts]
$ he2c module.json --dts module.dts -o eeprom.bin
Specify custom data [--custom_data]
$ he2c module.json --custom-data module.bin -o eeprom.bin
he2info - Helix Platform EEPROM Info Utility
Parses a compiled binary EEPROM image for a Helix Platform expansion module and dumps information about it.
Dump information from an EEPROM image
$ he2info eeprom.bin
he2mk - Helix Platform EEPROM Maker Utility
Generates production EEPROM image for a Helix Platform expansion module by injecting a serial number into a compiled binary EEPROM image.
Generate a production EEPROM image
$ he2mk eeprom.bin --serial 01234567 -o output.bin