Skip to content
This repository has been archived by the owner on Jul 6, 2020. It is now read-only.

Commit

Permalink
[DEVOPS] usb hotplugging (#575)
Browse files Browse the repository at this point in the history
* alias usb hotplugging

* add devmem2 installation dependency
  • Loading branch information
rmandla authored and jonathan-j-lee committed Apr 28, 2018
1 parent 6bf1725 commit e8e0429
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DevOps/frankfurter/resources/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -125,3 +125,5 @@ alias runtime_status='systemctl status runtime.service'
alias runtime_logs='sudo journalctl -u runtime.service'
alias restart_net='sudo systemctl restart networking.service'
alias net_status='systemctl status networking.service'
alias usb_off='devmem2 0x47401c60 b 0x00'
alias usb_on='devmem2 0x47401c60 b 0x01'
1 change: 1 addition & 0 deletions DevOps/frankfurter/scripts/install/master_setup
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ function install_apt_packages {
# FIXME: small issue with `/etc/issue` needing to be replaced
sudo apt install -y man-db make build-essential gcc git vim tmux htop curl zip unzip linux-headers-$(uname -r)
sudo apt install -y python3 python3-dev python3-pip # Python dependencies
sudo apt install -y devmem2
sudo apt clean -y
sudo apt autoremove -y
}
Expand Down

0 comments on commit e8e0429

Please sign in to comment.