commit 5da9c010cdfa7d9d269684877d4c7ba8297d3669 Author: olshab Date: Thu Nov 23 22:36:08 2023 +0400 Initial commit diff --git a/2022-01-28-raspios-bullseye-arm64_zip_torrent.torrent b/2022-01-28-raspios-bullseye-arm64_zip_torrent.torrent new file mode 100644 index 0000000..68f9ca1 Binary files /dev/null and b/2022-01-28-raspios-bullseye-arm64_zip_torrent.torrent differ diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..0531485 --- /dev/null +++ b/Readme.md @@ -0,0 +1,36 @@ +# Raspberry Pi BullsEye arm64 Virtual machine Installation Guide + +Tested on Windows 10 22H2 19045.3448 + +## Prerequisites + +1. qemu +https://packages.msys2.org/base/mingw-w64-qemu +2. DiskInternals Linux Reader +https://www.diskinternals.com/linux-reader/ +3. Raspberry Pi OS image + +## Installation + +1. Install **qemu** and **Linux Reader** +2. Download **Raspberry Pi OS image** zip archive and extract it +3. Open **Linux Reader**, click *Drives* -> *Mount Image* and choose the path to **image** .img file +4. In *Volumes* section open **FAT32 Volume 2 (boot)** +5. Select both *bcm2710-rpi-3-b-plus.dtb* and *kernel8.img* -> right click -> *Save* +6. Move to **qemu** installation directory (`C:\ProgramFiles\qemu` by default) the following files: + - bcm2710-rpi-3-b-plus.dtb + - kernel8.img + - 2022-01-28-raspios-bullseye-arm64 + - run_raspberry_pi.bat + +## Launching + +1. In **qemu** installation directory open CMD as Admin +2. Type in `run_raspberry_pi.bat` and run. This will open qemu virtual machine and launch Raspberry Pi OS. This may take up to 5 minutes +3. When Raspberry Pi is launched, in CMD type in the following credentials: +``` +login: pi +password: raspberry +``` + +Now you should be able to enter Linux/RaspberryPi commands in CMD window diff --git a/run_raspberry_pi.bat b/run_raspberry_pi.bat new file mode 100644 index 0000000..25bab3d --- /dev/null +++ b/run_raspberry_pi.bat @@ -0,0 +1,12 @@ +"C:\Program Files\qemu\qemu-system-aarch64.exe" ^ +-M raspi3b ^ +-append "rw earlyprintk loglevel=8 console=ttyAMA0,115200 dwc_otg.lpm_enable=0 root=/dev/mmcblk0p2 rootdelay=1" ^ +-dtb bcm2710-rpi-3-b-plus.dtb ^ +-drive file=2022-01-28-raspios-bullseye-arm64.img,format=raw ^ +-kernel kernel8.img ^ +-m 1G ^ +-smp 4 ^ +-serial stdio ^ +-usb ^ +-device usb-mouse ^ +-device usb-kbd ^ \ No newline at end of file