代码拉取完成,页面将自动刷新
添加了更多的GUI显示,
添加了更多的设备模拟,
让用户可以更有真实感地使用QEMU来模拟IMX6ULL板子。
百问网公开所有的源码,发起一个开源项目: qemu_imx6ull
官方主页是: > http://wiki.100ask.org/100ask_imx6ul_qemu
在windows下运行qemu可使qemu的运行效率变快,
添加内存申请mmam.c解决代码中对mmap和munmap函数的使用,
增加宏定义区分Linux编译和Windows(MINGW)编译。
https://gitee.com/DAI_David/QEMU_BSP/repository/archive/master.zip
下载完成后解压到本地硬盘得到QEMU_BSP
打开msys2官网http://www.msys2.org/下载x64版的msys2, 安装到目录d:\msys64
打开python官网https://www.python.org/下载python2的版本,安装Python2到目录D:\Python27
进入目录D:\msys64\etc\pacman.d
在mirrorlist.msys的前面插入
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch/
Server = http://mirrors.ustc.edu.cn/msys2/msys/$arch/
Server = http://mirror.bit.edu.cn/msys2/msys/$arch/
在mirrorlist.mingw32的前面插入
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/i686/
Server = http://mirrors.ustc.edu.cn/msys2/mingw/i686/
Server = http://mirror.bit.edu.cn/msys2/mingw/i686/
在mirrorlist.mingw64的前面插入
Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/x86_64/
Server = http://mirrors.ustc.edu.cn/msys2/mingw/x86_64/
Server = http://mirror.bit.edu.cn/msys2/mingw/x86_64/
双击运行D:\msys64\msys2.exe
1. 若你的网络需要代理,不需要的请忽略以下信息
$ export http_proxy=xxx.xxx.xxx.xxx:xxxx
$ export https_proxy=xxx.xxx.xxx.xxx:xxxx
2. 更新源
$ pacman -Syu //(更新完毕后需要用资源管理器结束MSYS2 terminal进程)
重新运行msys2
$ pacman -Su
在D:\msys64\home\用户 修改.bashrc增加如下命令:
export PATH=/d/Python27:/d/Python27/DLLs:/d/msys64/mingw64/bin:$PATH
重新运行msys2
$ pacman -S base-devel git
$ pacman -S mingw-w64-x86_64-binutils mingw-w64-x86_64-crt-git
$ pacman -S mingw-w64-x86_64-headers-git mingw-w64-x86_64-gcc-libs
$ pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-gdb mingw-w64-x86_64-make
$ pacman -S mingw-w64-x86_64-tools-git mingw-w64-x86_64-pkg-config
$ pacman -S mingw-w64-x86_64-winpthreads-git mingw-w64-x86_64-libwinpthread-git
$ pacman -S mingw-w64-x86_64-winstorecompat-git mingw-w64-x86_64-libmangle-git
$ pacman -S mingw-w64-x86_64-pixman mingw-w64-x86_64-SDL2 mingw-w64-x86_64-glib2
$ pacman -S mingw-w64-x86_64-capstone
运行msys2进入到QEMU源码路径(建议源码解压到D:\msys64\home\用户)
$ cd QEMU_BSP
$ mkdir build
$ cd build
$ ../configure --prefix=$PWD/exe/ --target-list="arm-softmmu" --disable-debug-info --enable-sdl --enable-tools --disable-curl --disable-werror
$ make -j4 //(看你CPU处理器个数,处理器多的可以给多点)
//看到" GEN arm-softmmu/qemu-system-arm.exe"就代表编译完成了
$ make intsall
$ cd exe
$ ls -l qemu-system-arm.exe //就代表已经成功编译生产qemu-system-arm.exe
将编译好的build\exe\qemu-system-arm.exe替换qemu_imx6ull_windows\qemu\bin下的qemu-system-arm.exe文件
请跳转 > https://gitee.com/DAI_David/qemu_imx6ull_windows/tree/master
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。