Skip to content

Instantly share code, notes, and snippets.

@faoziaziz
Last active September 5, 2023 18:51
Show Gist options
  • Select an option

  • Save faoziaziz/0cebcc0a1d143b3e54275842e0561032 to your computer and use it in GitHub Desktop.

Select an option

Save faoziaziz/0cebcc0a1d143b3e54275842e0561032 to your computer and use it in GitHub Desktop.
Prasimax QEMU
cd /c/Users/marine/Documents/prasimax/ss
sudo apt-get install openssh-server
sudo systemctl enable ssh
sudo systemctl status ssh

running

qemu-system-aarch64 -M virt -cpu cortex-a53 -m 4096 \
-drive if=pflash,format=raw,file=flash0.img,readonly \
-drive if=pflash,format=raw,file=flash1.img \
-drive if=none,file=xenial.qcow2,format=qcow2,id=hd \
-device virtio-blk-device,drive=hd \
-netdev type=user,id=mynet \
-device virtio-net-device,netdev=mynet \
-nographic -no-reboot \
-device virtio-scsi \
-drive if=none,id=cd,file=ubuntu-16.04.7-server-arm64.iso \
-device scsi-cd,drive=cd

qemu-system-aarch64 -M virt -cpu cortex-a53 -m 4096 \
-drive if=pflash,format=raw,file=flash0.img,readonly \
-drive if=pflash,format=raw,file=flash1.img \
-drive if=none,file=xenial.qcow2,format=qcow2,id=hd \
-device virtio-blk-device,drive=hd \
-netdev type=user,id=mynet,hostfwd=tcp::10022-:22 \
-device virtio-net-device,netdev=mynet \
-nographic 

Precise Engine

sudo apt-get install python3-dev python3-venv
 
mkdir qcom_emulator
cd qcom_emulator

wget https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp35-cp35m-linux_aarch64.whl
wget https://github.com/google-coral/pycoral/releases/download/release-frogfish/tflite_runtime-2.5.0-cp35-cp35m-linux_aarch64.whl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment