# qemu-mini2440 **Repository Path**: pleasecallmekaige/qemu-mini2440 ## Basic Information - **Project Name**: qemu-mini2440 - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-03 - **Last Updated**: 2024-05-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README Read the documentation in qemu-doc.html. Fabrice Bellard. this object clone from http://repo.or.cz/qemu/mini2440.git master branch 如果想要编译mini2440-qemu可参考如下操作 参考https://blog.csdn.net/maxwell_nc/article/details/44279553 # 配置 ./configure --target-list=arm-softmmu --prefix=Path (prefix指定安装路径,Path) # 编译 make -j4 (同时允许4个任务,据网友所说设置成2倍CPU核心数更快) # 安装 make install 编译时可能会出现的库问题解决: sudo apt-get install zlib1g-dev sudo apt-get install libsdl-dev (加上--disable-gfx-checkhe和--disable-sdl配置选项可以禁用图形显示,就不需要安装sdl库了) 更改后的配置命令为 ./configure --target-list=arm-softmmu --prefix=/work/work/mini2440-qemu-system/qemu_nosdl --disable-gfx-check --disable-sdl # 编译时可能会遇到的链接问题(代码中已经修复) LINK arm-softmmu/qemu-system-arm vl.o: In function `dynticks_start_timer': /home/pleasecallmekaige/code/mini2440-qemu-system/qemu_src/qemu-mini2440/vl.c:1549: undefined reference to `timer_create' vl.o: In function `dynticks_rearm_timer': /home/pleasecallmekaige/code/mini2440-qemu-system/qemu_src/qemu-mini2440/vl.c:1584: undefined reference to `timer_gettime' /home/pleasecallmekaige/code/mini2440-qemu-system/qemu_src/qemu-mini2440/vl.c:1597: undefined reference to `timer_settime' vl.o: In function `dynticks_stop_timer': /home/pleasecallmekaige/code/mini2440-qemu-system/qemu_src/qemu-mini2440/vl.c:1567: undefined reference to `timer_delete' 在链接vl.o时会有librt.so的库链接时的问题,如上所示 解决方法 查看配置文件configure 将1261行和1263行注释 # 其他错误 texi2pod.pl文件的314行 $column =~ s/^\@strong{(.*)}$/$1/; 改为 $column =~ s/^\@strong\{(.*)\}$/$1/; 最后再重新配置编译 编译所用的gcc版本为gcc-5.4.0, 尝试过用7.4.0的gcc进行编译但是发现,在进行指令翻译的时候会出现段错误,原因不明