https://github.com/grisp/grisp_update_packager
GRiSP Software Update Packager
https://github.com/grisp/grisp_update_packager
Last synced: 4 months ago
JSON representation
GRiSP Software Update Packager
- Host: GitHub
- URL: https://github.com/grisp/grisp_update_packager
- Owner: grisp
- License: apache-2.0
- Created: 2024-09-05T10:27:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-11-05T13:10:19.000Z (8 months ago)
- Last Synced: 2025-11-05T15:10:49.019Z (8 months ago)
- Language: Erlang
- Size: 25.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# grisp_updater_packager
GRiSP Software Update Packager
## Build
$ rebar3 copmile
## Usage
To create a software update package with system firmware and bootloader firmware
for a GRiSP 2 board with standard partition structure:
grisp_update_packager:package(<<"package.tar">>, #{
name := ReleaseName,
version := ReleaseVersion,
firmware => SystemFirmwarePath,
bootloader => BootloaderFirmwarePath,
mbr => [
#{role => system, size => 268435456, start => 4194304},
#{role => system, size => 268435456}
]
}).
To generate a signed package, add the option `key_file` with the path to a PEM
encoded private key (not encrypted), or `key` with a decoded private key record.
Note that the firmwares must be raw uncompressed files.