commit | cc90d40495077bf2ff8c247d7c4639fbedf375e9 | [log] [tgz] |
---|---|---|
author | Dan Callaghan <dcallagh@google.com> | Thu Jan 13 13:45:20 2022 +1100 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Jan 13 12:55:39 2022 +0000 |
tree | 9281dcdb673a1e44f69d03ab461cee6bbe502c31 | |
parent | 39691f31b85437588ee453fb63425974b711774c [diff] |
scripts/setup: install llvm-13 The llvm-objcopy-13 command comes from the llvm-13 package, not llvm-13-tools. BUG=none TEST=scripts/setup Change-Id: Ifc15a19e4d200fa87160c77d8c6ea10073c3f02b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/hps-firmware/+/3383463 Tested-by: Dan Callaghan <dcallagh@chromium.org> Reviewed-by: David Lattimore <dml@chromium.org> Commit-Queue: Dan Callaghan <dcallagh@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 .)