commit | 8a63f4dd4713a91d77bffd950fe40734ff2ee0cf | [log] [tgz] |
---|---|---|
author | David Lattimore <dml@google.com> | Fri Mar 18 04:23:52 2022 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Mar 18 13:08:32 2022 |
tree | 8961709b823d448f6070d86ee9a83b7ab108ce3c | |
parent | b97b7d80c9de5352a454a80a9c1cb01fe00b998e [diff] |
hps-factory: Specify a version string Sample output: ``` ./hps-factory --version hps-factory v19 ``` This should make it slightly easier to identify which version of hps-factory people have - at least if we remember to bump the version number from time to time. BUG=b:217604928 TEST=./hps-factory --version Change-Id: Ic932c415bf94a4a62a82fcef8cc9f042ce371463 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3534411 Reviewed-by: Dan Callaghan <dcallagh@chromium.org> Commit-Queue: David Lattimore <dml@chromium.org> Tested-by: David Lattimore <dml@chromium.org>
See design document
Run the setup script. This will set up git submodules and prompt to install missing packages.
./scripts/setup
To install Radiant you can try to run directly from CLI the extracted binary. In some cases this may fail with “Floating point exception.” error.
In that case run: `./2.2.0.97.3_Radiant_lin.run --console --prefix ~/lscc/radiant/2.2` Analogously for any update binaries available.
RADIANT_DIR
to the path where it is installed. e.g. in your .bashrc, you might add:export RADIANT_DIR=$HOME/lscc/radiant/2.2/bin/lin64
sudo ~/lscc/radiant/2.2/programmer/data/vmdata/udevsetup_ubuntu
(or one of the other udevsetup scripts) to correctly configure USB subsystem for Radiant.If your editor has IDE features for Python (e.g. vscode with the Python extension installed), then you should open it with the appropriate environment variables set. e.g.:
(source environment; code .)