在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):faf0/macos-qemu-rpi开源软件地址(OpenSource Url):https://github.com/faf0/macos-qemu-rpi开源编程语言(OpenSource Language):Shell 100.0%开源软件介绍(OpenSource Introduction):macos-qemu-rpiBash scripts to run Raspbian (ARM architecture) on macOS Catalina using QEMU Note on Native Emulation AlternativeAs of October 2020, consider leveraging QEMU's native emulation of the Raspi2/3 that became available instead of running the scripts in this directory.
Navigate to the See https://github.com/dhruvvyas90/qemu-rpi-kernel/tree/master/native-emuation for background information on the use of QEMU's native emulation. InstallationInstall homebrew, if you haven't already. Next, run the following script: ./install.sh Running Raspbian in QEMU./run.sh This script doesn't require macOS, but the Raspbian image/kernel and QEMU are required. Note that this scripts forwards port TCP/5022 on the host (e.g., macOS) to port TCP/22 on the Raspbian guest where Raspbian's SSH server is listening. To run Raspbian in QEMU, no other application including Raspbian may listen on port TCP/5022 on the host. Logging into RaspbianEither log in via the QEMU console or use SSH: ssh -F /dev/null -o "PreferredAuthentications password" -o "PasswordAuthentication yes" -p 5022 [email protected] If you can't connect, sshd probably failed to start in QEMU.
In this case, log in via the QEMU console, and then run To get a root shell, run the following: sudo bash Note that no desktop manager is running, as the "Lite" image is used. See https://www.raspberrypi.org/software/operating-systems/ for pointers to other images. Shutting Down RaspbianLog into Raspbian, and then execute TutorialsAdvanced configuration instructions under Raspbian are provided at https://azeria-labs.com/emulate-raspberry-pi-with-qemu/ AcknowledgementsScripts in this repository are based on https://gist.github.com/hfreire/5846b7aa4ac9209699ba#gistcomment-3075728 . Credit goes to @janwillemCA, @tinjaw, and the other contributors to that GitHub gist. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论