mac os 使用 qemu-system-arm 进行调试

1. 在macos 上安装虚拟网络设备tap

brew install --cask tunnelblick 

2. 下载内核文件和镜像

QEMU系统模式仿真 ,首先我们需要从debian官网下载kernel和image,地址如下:

https://people.debian.org/~aurel32/qemu/mipsel/

「为什么我们这里知道使用arm呢,你可以在文件系统内随便找一个ELF文件,然后使用file命令查看一下」,如果其他架构请自行在  Index of /~aurel32/qemu 这进行选择下载

debian_squeeze_mipsel_desktop.qcow2:
    文件类型:QEMU Copy On Write 2 (Qcow2) 镜像文件
    内容: Debian 操作系统的 mips 架构版本,带有桌面环境。

debian_squeeze_mipsel_standard.qcow2:
    文件类型:Qcow2 镜像文件
    内容: Debian 操作系统的 mips 架构版本,标准版(无桌面环境)。

debian_wheezy_mipsel_desktop.qcow2:
    文件类型:Qcow2 镜像文件
    内容: Debian 操作系统的 mips 架构版本,带有桌面环境。

debian_wheezy_mipsel_standard.qcow2:
  

你可能感兴趣的:(arm开发)