Skip to content

Instantly share code, notes, and snippets.

View B83C's full-sized avatar
🤔
Seeking the truth

Law Heng Yi B83C

🤔
Seeking the truth
View GitHub Profile
@B83C
B83C / distrobox.ini
Last active March 25, 2026 13:53
Using cadence virtuoso (IC618) on modern linux distro with distrobox
# 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
#!/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
@B83C
B83C / alpine_on_oracle
Last active May 18, 2022 23:36
Alpine Linux on oracle cloud
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/
@B83C
B83C / Void Linux on ORACLE A1 FLEX
Last active January 10, 2022 14:27
Running void linux on Oracle Cloud aarch64 free tier
#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