This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This setup fetches my docker image which has the environment ready (including fixes for xvnc that cauuses ade to hang). | |
| # To run it, you need to have *distrobox* installed | |
| # Then: distrobox-assemble create --file https://gist.githubusercontent.com/B83C/aa7574e751d57a889326bd89a5fb7387/raw | |
| # This setup assumes that you have cadence virtuoso and all other dependencies installed in ./opt/, and synopsys in ./synopsys | |
| # I do not have the rights to provide you with the files, but the files treesshould look like this : | |
| # opt/eda/ | |
| # ├── cadence |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| BASE=/usr/local/bin | |
| RELAY_PIN=17 | |
| VPATH=/srv/ftp | |
| if [ "$1" == "-r" ]; then | |
| sudo rm $BASE/relay.sh | |
| sudo rm $BASE/videoloop.sh | |
| sudo rm /etc/cron.d/videoloop |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| wget https://dl-cdn.alpinelinux.org/alpine/latest-stable/releases/aarch64/alpine-virt-3.15.0-aarch64.iso -O alpine.iso #or whatever versions suits you best | |
| dd if=alpine.iso of=/dev/sda | |
| mkdir /media/setup | |
| cp -a /media/sda/* /media/setup | |
| mkdir /lib/setup | |
| cp -a /.modloop/* /lib/setup | |
| /etc/init.d/modloop stop | |
| umount /dev/sda | |
| mv /media/setup/* /media/sda/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #The steps are simple | |
| #You would need to get the machine to boot into a live os in ram so as to allow | |
| #modifications from within the machine without having to set up using another. | |
| #One way to do it is to boot an alpine img: | |
| wget https://dl-cdn.alpinelinux.org/alpine/v3.14/releases/aarch64/alpine-virt-3.14.2-aarch64.iso -O alpine.iso #or whatever versions suits you best | |
| dd if=alpine.iso of=/dev/sda | |
| #Now you have to reboot the system. If 'sudo reboot' doesn't work, try hard | |
| #reboot from the OCI Console |