最新消息:20210816 当前crifan.com域名已被污染,为防止失联,请关注(页面右下角的)公众号

【已解决】QUEMU安装完毕后测试arm出错:只有一行VNC server running on `127.0.0.1:5900’没其他输出

QEMU crifan 9756浏览 0评论

【问题】

折腾:

【记录】尝试用QEMU模拟ARM开发板去加载并运行Uboot,kernel,rootfs

在Ubuntu下安装QEMU完毕后去测试arm,结果只输出一行VNC:

crifan@ubuntu:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img
VNC server running on `127.0.0.1:5900'

没其他效果:

VNC server running on 127.0.0.1 5900 for qemu test arm

【解决过程】

1.参考:

QEMU 调试时出现 VNC server running on`127.0.0.1:5900′

去先搜索libsdl:

crifan@ubuntu:arm-test$ apt-cache search libsdl
libsdl1.2-dbg - Simple DirectMedia Layer debug files
libsdl1.2-dev - Simple DirectMedia Layer development files
libsdl1.2debian - Simple DirectMedia Layer
maelstrom - An arcade-style game resembling Asteroids.
wolf4sdl - SDL-Port of Wolfenstein 3-D and Spear of Destiny
erlang-esdl - Erlang bindings to the Simple Direct Media Library
fische - stand-alone sound visualisation for Linux
glhack - Fullscreen SDL/OpenGL version of NetHack
libalien-sdl-dev-perl - helper  to build  Perl program using SDL libraries
libalien-sdl-perl - helper to get, build and use SDL libraries
libsdl-console - Console that can be added to any SDL application, libraries
libsdl-console-dev - Console that can be added to any SDL application, development files
libsdl-gfx1.2-4 - drawing and graphical effects extension for SDL
libsdl-gfx1.2-dev - development files for SDL_gfx
libsdl-gfx1.2-doc - documentation files for SDL_gfx
libsdl-gst - SDL bindings for GNU Smalltalk
libsdl-image-gst - SDL_image bindings for GNU Smalltalk
libsdl-image1.2 - Image loading library for Simple DirectMedia Layer 1.2, libraries
libsdl-image1.2-dev - Image loading library for Simple DirectMedia Layer 1.2, development files
libsdl-mixer-gst - SDL_mixer bindings for GNU Smalltalk
libsdl-mixer1.2 - Mixer library for Simple DirectMedia Layer 1.2, libraries
libsdl-mixer1.2-dev - Mixer library for Simple DirectMedia Layer 1.2, development files
libsdl-net1.2 - Network library for Simple DirectMedia Layer 1.2, libraries
libsdl-net1.2-dev - Network library for Simple DirectMedia Layer 1.2, development files
libsdl-ocaml - OCaml bindings for SDL - runtime files
libsdl-ocaml-dev - OCaml bindings for SDL - development files
libsdl-pango-dev - text rendering with Pango in SDL applications (development)
libsdl-pango1 - text rendering with Pango in SDL applications (shared library)
libsdl-perl - SDL bindings for the Perl language
libsdl-ruby - Transitional package for ruby-sdl
libsdl-ruby1.8 - Transitional package for ruby-sdl
libsdl-ruby1.9.1 - Transitional package for ruby-sdl
libsdl-sge - extension of graphic functions for SDL multimedia libraries
libsdl-sge-dev - extension of graphic functions for the SDL multimedia, development files
libsdl-sound-gst - SDL_sound bindings for GNU Smalltalk
libsdl-sound1.2 - Sound library for Simple DirectMedia Layer 1.2, libraries
libsdl-sound1.2-dev - Sound library for Simple DirectMedia Layer 1.2, development files
libsdl-stretch-0-3 - stretch functions for Simple DirectMedia Layer
libsdl-stretch-dev - development files for SDL_stretch library
libsdl-ttf-gst - SDL_ttf bindings for GNU Smalltalk
libsdl-ttf2.0-0 - TrueType Font library for Simple DirectMedia Layer 1.2, libraries
libsdl-ttf2.0-dev - TrueType Font library for Simple DirectMedia Layer 1.2, development files
ruby-sdl - Ruby/SDL interface for Ruby
crifan@ubuntu:arm-test$ 

看起来就是:libsdl1.2-dev

2.再去安装libsdl1.2-dev:

crifan@ubuntu:arm-test$ sudo apt-get install libsdl1.2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libasound2-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libkms1
  libpng12-dev libpulse-dev libsdl1.2debian libslang2-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxdamage-dev libxext-dev
  libxfixes-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev x11proto-xext-dev
  x11proto-xf86vidmode-dev
Suggested packages:
  libasound2-doc libxext-doc
The following NEW packages will be installed:
  libasound2-dev libavahi-client-dev libavahi-common-dev libcaca-dev libdbus-1-dev libdrm-dev libgl1-mesa-dev libglu1-mesa-dev libkms1
  libpng12-dev libpulse-dev libsdl1.2-dev libsdl1.2debian libslang2-dev libx11-xcb-dev libxcb-dri2-0-dev libxcb-glx0-dev libxdamage-dev
  libxext-dev libxfixes-dev libxxf86vm-dev mesa-common-dev x11proto-damage-dev x11proto-dri2-dev x11proto-fixes-dev x11proto-gl-dev
  x11proto-xext-dev x11proto-xf86vidmode-dev
0 upgraded, 28 newly installed, 0 to remove and 13 not upgraded.
Need to get 4,364 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libkms1 i386 2.4.43-0ubuntu1.1 [9,692 B]
Get:2 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libsdl1.2debian i386 1.2.15-5ubuntu1 [206 kB]
Get:3 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libdrm-dev i386 2.4.43-0ubuntu1.1 [203 kB]
Get:4 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main mesa-common-dev i386 9.1.3-0ubuntu0.3 [272 kB]
Get:5 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libx11-xcb-dev i386 2:1.5.0-1ubuntu1.1 [11.1 kB]
Get:6 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxcb-dri2-0-dev i386 1.8.1-2ubuntu2.1 [10.2 kB]
Get:7 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxcb-glx0-dev i386 1.8.1-2ubuntu2.1 [43.6 kB]
Get:8 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-xext-dev all 7.2.1-1 [265 kB]
Get:9 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-fixes-dev all 1:5.0-2ubuntu1 [15.5 kB]
Get:10 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxfixes-dev i386 1:5.0-4ubuntu5.13.04.1 [12.7 kB]
Get:11 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-damage-dev all 1:1.2.1-2 [8,286 B]
Get:12 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libxdamage-dev i386 1:1.1.3-2build2 [5,302 B]
Get:13 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxext-dev i386 2:1.3.1-2ubuntu0.13.04.1 [90.8 kB]
Get:14 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-xf86vidmode-dev all 2.3.1-2 [6,116 B]
Get:15 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libxxf86vm-dev i386 1:1.1.2-1ubuntu0.13.04.1 [14.3 kB]
Get:16 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-dri2-dev all 2.8-1 [12.6 kB]
Get:17 http://mirrors.ustc.edu.cn/ubuntu/ raring/main x11proto-gl-dev all 1.4.16-1 [22.3 kB]
Get:18 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libgl1-mesa-dev i386 9.1.3-0ubuntu0.3 [5,168 B]
Get:19 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libasound2-dev i386 1.0.25-4ubuntu3.1 [70.2 kB]
Get:20 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libavahi-common-dev i386 0.6.31-1ubuntu3 [42.7 kB]
Get:21 http://mirrors.ustc.edu.cn/ubuntu/ raring-updates/main libdbus-1-dev i386 1.6.8-1ubuntu6.1 [195 kB]
Get:22 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libavahi-client-dev i386 0.6.31-1ubuntu3 [36.8 kB]
Get:23 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libpng12-dev i386 1.2.49-1ubuntu2 [206 kB]
Get:24 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libslang2-dev i386 2.2.4-15ubuntu1 [477 kB]
Get:25 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libcaca-dev i386 0.99.beta18-1ubuntu1 [877 kB]
Get:26 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libglu1-mesa-dev i386 9.0.0-0ubuntu1 [295 kB]
Get:27 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libpulse-dev i386 1:3.0-0ubuntu6 [81.8 kB]
Get:28 http://mirrors.ustc.edu.cn/ubuntu/ raring/main libsdl1.2-dev i386 1.2.15-5ubuntu1 [869 kB]
Fetched 4,364 kB in 6s (711 kB/s)                                                                                                               
Selecting previously unselected package libkms1:i386.
(Reading database ... 189923 files and directories currently installed.)
Unpacking libkms1:i386 (from .../libkms1_2.4.43-0ubuntu1.1_i386.deb) ...
Selecting previously unselected package libsdl1.2debian:i386.
Unpacking libsdl1.2debian:i386 (from .../libsdl1.2debian_1.2.15-5ubuntu1_i386.deb) ...
Selecting previously unselected package libdrm-dev.
Unpacking libdrm-dev (from .../libdrm-dev_2.4.43-0ubuntu1.1_i386.deb) ...
Selecting previously unselected package mesa-common-dev.
Unpacking mesa-common-dev (from .../mesa-common-dev_9.1.3-0ubuntu0.3_i386.deb) ...
Selecting previously unselected package libx11-xcb-dev.
Unpacking libx11-xcb-dev (from .../libx11-xcb-dev_2%3a1.5.0-1ubuntu1.1_i386.deb) ...
Selecting previously unselected package libxcb-dri2-0-dev:i386.
Unpacking libxcb-dri2-0-dev:i386 (from .../libxcb-dri2-0-dev_1.8.1-2ubuntu2.1_i386.deb) ...
Selecting previously unselected package libxcb-glx0-dev:i386.
Unpacking libxcb-glx0-dev:i386 (from .../libxcb-glx0-dev_1.8.1-2ubuntu2.1_i386.deb) ...
Selecting previously unselected package x11proto-xext-dev.
Unpacking x11proto-xext-dev (from .../x11proto-xext-dev_7.2.1-1_all.deb) ...
Selecting previously unselected package x11proto-fixes-dev.
Unpacking x11proto-fixes-dev (from .../x11proto-fixes-dev_1%3a5.0-2ubuntu1_all.deb) ...
Selecting previously unselected package libxfixes-dev.
Unpacking libxfixes-dev (from .../libxfixes-dev_1%3a5.0-4ubuntu5.13.04.1_i386.deb) ...
Selecting previously unselected package x11proto-damage-dev.
Unpacking x11proto-damage-dev (from .../x11proto-damage-dev_1%3a1.2.1-2_all.deb) ...
Selecting previously unselected package libxdamage-dev.
Unpacking libxdamage-dev (from .../libxdamage-dev_1%3a1.1.3-2build2_i386.deb) ...
Selecting previously unselected package libxext-dev:i386.
Unpacking libxext-dev:i386 (from .../libxext-dev_2%3a1.3.1-2ubuntu0.13.04.1_i386.deb) ...
Selecting previously unselected package x11proto-xf86vidmode-dev.
Unpacking x11proto-xf86vidmode-dev (from .../x11proto-xf86vidmode-dev_2.3.1-2_all.deb) ...
Selecting previously unselected package libxxf86vm-dev.
Unpacking libxxf86vm-dev (from .../libxxf86vm-dev_1%3a1.1.2-1ubuntu0.13.04.1_i386.deb) ...
Selecting previously unselected package x11proto-dri2-dev.
Unpacking x11proto-dri2-dev (from .../x11proto-dri2-dev_2.8-1_all.deb) ...
Selecting previously unselected package x11proto-gl-dev.
Unpacking x11proto-gl-dev (from .../x11proto-gl-dev_1.4.16-1_all.deb) ...
Selecting previously unselected package libgl1-mesa-dev.
Unpacking libgl1-mesa-dev (from .../libgl1-mesa-dev_9.1.3-0ubuntu0.3_i386.deb) ...
Selecting previously unselected package libasound2-dev:i386.
Unpacking libasound2-dev:i386 (from .../libasound2-dev_1.0.25-4ubuntu3.1_i386.deb) ...
Selecting previously unselected package libavahi-common-dev.
Unpacking libavahi-common-dev (from .../libavahi-common-dev_0.6.31-1ubuntu3_i386.deb) ...
Selecting previously unselected package libdbus-1-dev:i386.
Unpacking libdbus-1-dev:i386 (from .../libdbus-1-dev_1.6.8-1ubuntu6.1_i386.deb) ...
Selecting previously unselected package libavahi-client-dev.
Unpacking libavahi-client-dev (from .../libavahi-client-dev_0.6.31-1ubuntu3_i386.deb) ...
Selecting previously unselected package libpng12-dev.
Unpacking libpng12-dev (from .../libpng12-dev_1.2.49-1ubuntu2_i386.deb) ...
Selecting previously unselected package libslang2-dev:i386.
Unpacking libslang2-dev:i386 (from .../libslang2-dev_2.2.4-15ubuntu1_i386.deb) ...
Selecting previously unselected package libcaca-dev.
Unpacking libcaca-dev (from .../libcaca-dev_0.99.beta18-1ubuntu1_i386.deb) ...
Selecting previously unselected package libglu1-mesa-dev.
Unpacking libglu1-mesa-dev (from .../libglu1-mesa-dev_9.0.0-0ubuntu1_i386.deb) ...
Selecting previously unselected package libpulse-dev:i386.
Unpacking libpulse-dev:i386 (from .../libpulse-dev_1%3a3.0-0ubuntu6_i386.deb) ...
Selecting previously unselected package libsdl1.2-dev.
Unpacking libsdl1.2-dev (from .../libsdl1.2-dev_1.2.15-5ubuntu1_i386.deb) ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 1 added doc-base file...
Setting up libkms1:i386 (2.4.43-0ubuntu1.1) ...
Setting up libsdl1.2debian:i386 (1.2.15-5ubuntu1) ...
Setting up libdrm-dev (2.4.43-0ubuntu1.1) ...
Setting up mesa-common-dev (9.1.3-0ubuntu0.3) ...
Setting up libx11-xcb-dev (2:1.5.0-1ubuntu1.1) ...
Setting up libxcb-dri2-0-dev:i386 (1.8.1-2ubuntu2.1) ...
Setting up libxcb-glx0-dev:i386 (1.8.1-2ubuntu2.1) ...
Setting up x11proto-xext-dev (7.2.1-1) ...
Setting up x11proto-fixes-dev (1:5.0-2ubuntu1) ...
Setting up libxfixes-dev (1:5.0-4ubuntu5.13.04.1) ...
Setting up x11proto-damage-dev (1:1.2.1-2) ...
Setting up libxdamage-dev (1:1.1.3-2build2) ...
Setting up libxext-dev:i386 (2:1.3.1-2ubuntu0.13.04.1) ...
Setting up x11proto-xf86vidmode-dev (2.3.1-2) ...
Setting up libxxf86vm-dev (1:1.1.2-1ubuntu0.13.04.1) ...
Setting up x11proto-dri2-dev (2.8-1) ...
Setting up x11proto-gl-dev (1.4.16-1) ...
Setting up libgl1-mesa-dev (9.1.3-0ubuntu0.3) ...
Setting up libasound2-dev:i386 (1.0.25-4ubuntu3.1) ...
Setting up libavahi-common-dev (0.6.31-1ubuntu3) ...
Setting up libdbus-1-dev:i386 (1.6.8-1ubuntu6.1) ...
Setting up libavahi-client-dev (0.6.31-1ubuntu3) ...
Setting up libpng12-dev (1.2.49-1ubuntu2) ...
Setting up libslang2-dev:i386 (2.2.4-15ubuntu1) ...
Setting up libcaca-dev (0.99.beta18-1ubuntu1) ...
Setting up libglu1-mesa-dev (9.0.0-0ubuntu1) ...
Setting up libpulse-dev:i386 (1:3.0-0ubuntu6) ...
Setting up libsdl1.2-dev (1.2.15-5ubuntu1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
crifan@ubuntu:arm-test$ 

3.然后再去重新运行试试效果,结果问题依旧:

crifan@ubuntu:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img
VNC server running on `127.0.0.1:5900'
^Cqemu: terminating on signal 2
crifan@ubuntu:arm-test$ ^C
crifan@ubuntu:arm-test$ ^C
crifan@ubuntu:arm-test$ qemu-system-arm -kernel zImage.integrator -initrd arm_root.img
VNC server running on `127.0.0.1:5900'

4.参考:

Re: [Qemu-devel] VNC server running on `127.0.0.1:5900′

再去搜索sdl:

crifan@ubuntu:arm-test$ apt-cache search sdl
libsdl1.2-dbg - Simple DirectMedia Layer debug files
libsdl1.2-dev - Simple DirectMedia Layer development files
libsdl1.2debian - Simple DirectMedia Layer
libwsdl4j-java - Webservice description language for Java
libwsdl4j-java-doc - Documentation for Java Web Services Library
python-suds - Lightweight SOAP client for Python
alien-arena - Standalone 3D first person online deathmatch shooter
atari800 - Atari emulator for SDL
cytadela - old-school first person shooter game
gnuboy-sdl - SDL binaries for gnuboy - Game Boy Emulator
maelstrom - An arcade-style game resembling Asteroids.
mame - Multiple Arcade Machine Emulator (MAME)
mess - Multi Emulator Super System (MESS)
mplayer-skins - Skins for the Mplayer package
rott - SDL-Port of Rise of the Triad
sdlmame - Transitional package for sdlmame
sdlmame-tools - Transitional package for sdlmame-tools
w3-recs - Recommendations of the World Wide Web Consortium (W3C)
wolf4sdl - SDL-Port of Wolfenstein 3-D and Spear of Destiny
xmame-sdl - Transitional package for xmame-sdl
xmess-sdl - Transitional package for xmess-sdl
dgen - Sega Genesis/MegaDrive emulator
achilles - An artificial life and evolution simulator
anagramarama - fast paced anagram puzzle game using SDL
anagramarama-data - fast paced anagram puzzle game using SDL (data files)
bochs-sdl - SDL plugin for Bochs
briquolo - fast paced 3d Breakout game
darkplaces - Game engine for Quake and similar 3D first person shooter games
dossizola - An Isola board game with nice graphics
dossizola-data - Data files for Do'SSi Zo'la game
egoboo - 3D dungeon crawling adventure in the spirit of NetHack
egoboo-data - Egoboo data files
erlang-esdl - Erlang bindings to the Simple Direct Media Library
erlang-esdl-dev - Erlang bindings to the SDL (development files)
erlang-esdl-doc - Erlang bindings to the SDL (documentation)
fim - a scriptable frame buffer and ascii art image viewer
fische - stand-alone sound visualisation for Linux
fizmo-common - Provides localization data from all default fizmo-related
freeciv-client-sdl - Civilization turn based strategy game (SDL client)
freewheeling - live looping musical instrument
fuse-emulator-common - The Free Unix Spectrum Emulator (common files)
fuse-emulator-sdl - The Free Unix Spectrum Emulator (SDL version)
galax-extra - XQuery implementation with static typing - utilities
gambas3-gb-sdl - Gambas SDL component
gambas3-gb-sdl-sound - Gambas SDL component
gav - GPL Arcade Volleyball
glhack - Fullscreen SDL/OpenGL version of NetHack
gngb - a Color Gameboy emulator
gnujump - platform game where you have to jump up to survive
gnujump-data - platform game where you have to jump up to survive - data files
heroes-sdl - Collect powerups and avoid your opponents' trails
instead - simple text adventures/visual novels engine
instead-data - data files for INSTEAD
libalien-sdl-dev-perl - helper  to build  Perl program using SDL libraries
libalien-sdl-perl - helper to get, build and use SDL libraries
libaws-bin - Ada Web Server utilities
libaws2.10.2-dev - Ada Web Server development files
libclansdl-1.0 - SDL module for ClanLib game SDK
libghc-sdl-dev - Haskell SDL binding for GHC
libghc-sdl-doc - Haskell SDL binding for GHC - documentation
libghc-sdl-gfx-dev - Haskell SDL gfx binding for GHC
libghc-sdl-gfx-doc - Haskell SDL gfx binding for GHC - documentation
libghc-sdl-gfx-prof - Haskell SDL gfx binding for GHC - profiling libraries
libghc-sdl-image-dev - Haskell SDL Image binding for GHC
libghc-sdl-image-doc - Haskell SDL Image binding for GHC - documentation
libghc-sdl-image-prof - Haskell SDL Image binding for GHC - profiling libraries
libghc-sdl-mixer-dev - Haskell SDL Mixer binding for GHC
libghc-sdl-mixer-doc - Haskell SDL Mixer binding for GHC - documentation
libghc-sdl-mixer-prof - Haskell SDL Mixer binding for GHC - profiling libraries
libghc-sdl-prof - Haskell SDL binding for GHC - profiling libraries
libghc-sdl-ttf-dev - Haskell SDL TTF binding for GHC
libghc-sdl-ttf-doc - Haskell SDL TTF binding for GHC - documentation
libghc-sdl-ttf-prof - Haskell SDL TTF binding for GHC - profiling libraries
libgnuradio-video-sdl3.6.1 - gnuradio video functions
libguichan-0.8.1-1 - small, efficient C++ GUI library
libguichan-0.8.1-1-dbg - small, efficient C++ GUI library (debugging symbols)
libguichan-allegro-0.8.1-1 - small, efficient C++ GUI library (allegro integration)
libguichan-dev - small, efficient C++ GUI library (development headers)
libguichan-opengl-0.8.1-1 - small, efficient C++ GUI library (OpenGL integration)
libguichan-sdl-0.8.1-1 - small, efficient C++ GUI library (SDL integration)
libkaya-sdl-dev - SDL binding for kaya
libnusoap-php - SOAP toolkit for PHP
libpod-wsdl-perl - Creates WSDL documents from (extended) pod
libsage-dev - Supports OpenGL in SDL applications
libsage2 - Supports OpenGL in SDL applications
libsdl-console - Console that can be added to any SDL application, libraries
libsdl-console-dev - Console that can be added to any SDL application, development files
libsdl-gfx1.2-4 - drawing and graphical effects extension for SDL
libsdl-gfx1.2-dev - development files for SDL_gfx
libsdl-gfx1.2-doc - documentation files for SDL_gfx
libsdl-gst - SDL bindings for GNU Smalltalk
libsdl-image-gst - SDL_image bindings for GNU Smalltalk
libsdl-image1.2 - Image loading library for Simple DirectMedia Layer 1.2, libraries
libsdl-image1.2-dev - Image loading library for Simple DirectMedia Layer 1.2, development files
libsdl-mixer-gst - SDL_mixer bindings for GNU Smalltalk
libsdl-mixer1.2 - Mixer library for Simple DirectMedia Layer 1.2, libraries
libsdl-mixer1.2-dev - Mixer library for Simple DirectMedia Layer 1.2, development files
libsdl-net1.2 - Network library for Simple DirectMedia Layer 1.2, libraries
libsdl-net1.2-dev - Network library for Simple DirectMedia Layer 1.2, development files
libsdl-ocaml - OCaml bindings for SDL - runtime files
libsdl-ocaml-dev - OCaml bindings for SDL - development files
libsdl-pango-dev - text rendering with Pango in SDL applications (development)
libsdl-pango1 - text rendering with Pango in SDL applications (shared library)
libsdl-perl - SDL bindings for the Perl language
libsdl-ruby - Transitional package for ruby-sdl
libsdl-ruby1.8 - Transitional package for ruby-sdl
libsdl-ruby1.9.1 - Transitional package for ruby-sdl
libsdl-sge - extension of graphic functions for SDL multimedia libraries
libsdl-sge-dev - extension of graphic functions for the SDL multimedia, development files
libsdl-sound-gst - SDL_sound bindings for GNU Smalltalk
libsdl-sound1.2 - Sound library for Simple DirectMedia Layer 1.2, libraries
libsdl-sound1.2-dev - Sound library for Simple DirectMedia Layer 1.2, development files
libsdl-stretch-0-3 - stretch functions for Simple DirectMedia Layer
libsdl-stretch-dev - development files for SDL_stretch library
libsdl-ttf-gst - SDL_ttf bindings for GNU Smalltalk
libsdl-ttf2.0-0 - TrueType Font library for Simple DirectMedia Layer 1.2, libraries
libsdl-ttf2.0-dev - TrueType Font library for Simple DirectMedia Layer 1.2, development files
libsmpeg-dev - SDL MPEG Player Library - development files
libsmpeg0 - SDL MPEG Player Library - shared libraries
libsoap-wsdl-perl - Perl module for SOAP with WSDL support
libtaoframework-sdl-cil-dev - Tao CLI binding for SDL - development files
libtaoframework-sdl1.2-cil - Tao CLI binding for SDL
libwsdl2c-java - stripped down axis2 source bundle suitable for running WSDL2C
liquidsoap-plugin-sdl - audio streaming language -- SDL plugin
mednafen - multi-platform emulator, including NES, GB/A, Lynx, PC Engine
mirrormagic - Shoot around obstacles to collect energy using your beam.
moon-lander - An SDL game based on the classic moon lander
mplayer - movie player for Unix-like systems
mplayer-gui - movie player for Unix-like systems
mplayer2 - next generation movie player for Unix-like systems
mscgen - Message Sequence Chart (MSC) generator
mupen64plus-audio-sdl - sdl audio output plugin for mupen64plus
mupen64plus-audio-sdl-dbg - sdl audio output plugin for mupen64plus debug symbols package
mupen64plus-input-sdl - sdl input device plugin for mupen64plus
mupen64plus-input-sdl-dbg - sdl input device plugin for mupen64plus debug symbols package
navit - Car navigation system with routing engine
navit-data - Car navigation system with routing engine - data files
navit-graphics-gtk-drawing-area - Car navigation system with routing engine - GTK+ graphic plugin
navit-graphics-qt-qpainter - Car navigation system with routing engine - Qt graphic plugin
navit-gui-gtk - Car navigation system with routing engine - GTK+ GUI
navit-gui-internal - Car navigation system with routing engine - internal GUI
pike7.8-sdl - SDL module for Pike
prboom - clone of the legendary first person shooter Doom
pyntor - flexible and componentized presentation program
python-pygame - SDL bindings for games development in Python
python-soya - high level 3D engine for Python
python-soya-dbg - high level 3D engine for Python - debug extension
python-soya-doc - high level 3D engine for Python
python-zsi - Zolera Soap Infrastructure
quakespasm - engine for iD software's Quake
quakespasm-dbg - engine for iD software's Quake - debug symbols
ruby-sdl - Ruby/SDL interface for Ruby
ruby-sdl-dbg - Ruby/SDL interface for Ruby (debug symbols)
sdl-ball - brick-breaking game like DX-Ball/Arkanoid
sdl-ball-data - brick-breaking game like DX-Ball/Arkanoid - data files
sdlbasic - BASIC interpreter for game development
sdlbasic-dbg - BASIC interpreter for game development - debug symbols
sdlbrt - BASIC interpreter for game development - runtime interpreter
slashem - variant of Nethack
slashem-common - files common to all slashem-packages
slashem-sdl - variant of Nethack (SDL window port)
smc - Jump and Run game like Super Mario World
smpeg-gtv - SMPEG GTK+ MPEG audio/video player
smpeg-plaympeg - SMPEG command line MPEG audio/video player
sopwith - port of the 1980's side-scrolling WWI dogfighting game
spl-sdl - SPL Programming Language -- SDL adapter
starvoyager - 2D space arcade game, themed around 'Star Trek' - binary
starvoyager-data - 2D space arcade game, themed around 'Star Trek' - data files
stella - Atari 2600 Emulator for SDL & the X Window System
tecnoballz - breaking block game ported from the Amiga platform
tuxpuck - "Shufflepuck Cafe" Clone
vectoroids - vector-based rock-shooting
visualboyadvance - full featured Game Boy Advance emulator
vlc - multimedia player and streamer
vlc-nox - multimedia player and streamer (without X support)
vlc-plugin-sdl - SDL video and audio output plugin for VLC
xpilot-ng-client-sdl - Client for XPilot NG
crifan@ubuntu:arm-test$ 

打算再去装sdl但是不知道装哪个。

5。参考:

使用qemu进行内核源码级调试[第十一期]

说是要安装了sdl后,还要重新编译。

所以再去重新配置:

crifan@ubuntu:qemu-1.6.0-rc3$ ./configure --prefix=/opt/qemu --target-list=arm-softmmu,arm-linux-user --enable-debug
Install prefix    /opt/qemu
BIOS directory    /opt/qemu/share/qemu
binary directory  /opt/qemu/bin
library directory /opt/qemu/lib
libexec directory /opt/qemu/libexec
include directory /opt/qemu/include
config directory  /opt/qemu/etc
local state directory   /opt/qemu/var
Manual directory  /opt/qemu/share/man
ELF interp prefix /usr/gnemul/qemu-%M
Source path       /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3
C compiler        cc
Host C compiler   cc
Objective-C compiler cc
CFLAGS            -g 
QEMU_CFLAGS       -fPIE -DPIE -m32 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -Wstrict-prototypes -Wredundant-decls -Wall -Wundef -Wwrite-strings -Wmissing-prototypes -fno-strict-aliasing  -Wendif-labels -Wmissing-include-dirs -Wempty-body -Wnested-externs -Wformat-security -Wformat-y2k -Winit-self -Wignored-qualifiers -Wold-style-declaration -Wold-style-definition -Wtype-limits -fstack-protector-all -I/usr/include/libpng12   -I$(SRC_PATH)/pixman/pixman -I$(BUILD_DIR)/pixman/pixman -I$(SRC_PATH)/dtc/libfdt
LDFLAGS           -Wl,--warn-common -Wl,-z,relro -Wl,-z,now -pie -m32 -g 
make              make
install           install
python            python
smbd              /usr/sbin/smbd
host CPU          i386
host big endian   no
target list       arm-softmmu arm-linux-user
tcg debug enabled yes
gprof enabled     no
sparse enabled    no
strip binaries    no
profiler          no
static build      no
-Werror enabled   no
pixman            internal
SDL support       yes
GTK support       no
curses support    yes
curl support      no
mingw32 support   no
Audio drivers     oss
Block whitelist (rw) 
Block whitelist (ro) 
Mixer emulation   no
VirtFS support    no
VNC support       yes
VNC TLS support   no
VNC SASL support  no
VNC JPEG support  no
VNC PNG support   yes
VNC WS support    no
xen support       no
brlapi support    no
bluez  support    no
Documentation     yes
GUEST_BASE        yes
PIE               yes
vde support       no
Linux AIO support no
ATTR/XATTR support yes
Install blobs     yes
KVM support       yes
RDMA support      no
TCG interpreter   no
fdt support       yes
preadv support    yes
fdatasync         yes
madvise           yes
posix_madvise     yes
sigev_thread_id   yes
uuid support      no
libcap-ng support no
vhost-net support yes
vhost-scsi support yes
Trace backend     nop
Trace output file trace-<pid>
spice support     no (/)
rbd support       no
xfsctl support    no
nss used          no
libusb            no
usb net redir     no
GLX support       yes
libiscsi support  no
build guest agent yes
seccomp support   no
coroutine backend ucontext
GlusterFS support no
virtio-blk-data-plane no
gcov              gcov
gcov enabled      no
TPM support       no
libssh2 support   no
TPM passthrough   no
QOM debugging     yes
crifan@ubuntu:qemu-1.6.0-rc3$ 

注意到,此时有:

SDL support       yes

而之前:

【记录】在Ubuntu 13.04上为arm平台安装QEMU

中的是:

SDL support       no

再去重新make编译qemu:

crifan@ubuntu:qemu-1.6.0-rc3$ make
  GEN   config-host.h
make  all-recursive
Making all in pixman
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in test
make[3]: Nothing to be done for `all'.
	CHK version_gen.h
  GEN   trace/generated-tracers.h
  CC    qapi-types.o
  CC    qapi-visit.o
  CC    qga/commands.o
  CC    qga/guest-agent-command-state.o
  CC    qga/main.o
  CC    qga/commands-posix.o
  CC    qga/channel-posix.o
  CC    qga/qapi-generated/qga-qapi-types.o
  CC    qga/qapi-generated/qga-qapi-visit.o
  CC    qga/qapi-generated/qga-qmp-marshal.o
  CC    qapi/qapi-visit-core.o
  CC    qapi/qapi-dealloc-visitor.o
  CC    qapi/qmp-input-visitor.o
  CC    qapi/qmp-output-visitor.o
  CC    qapi/qmp-registry.o
  CC    qapi/qmp-dispatch.o
  CC    qapi/string-input-visitor.o
  CC    qapi/string-output-visitor.o
  CC    qapi/opts-visitor.o
  CC    qobject/qint.o
  CC    qobject/qstring.o
  CC    qobject/qdict.o
  CC    qobject/qlist.o
  CC    qobject/qfloat.o
  CC    qobject/qbool.o
  CC    qobject/qjson.o
  CC    qobject/json-lexer.o
  CC    qobject/json-streamer.o
  CC    qobject/json-parser.o
  CC    qobject/qerror.o
  CC    trace/generated-events.o
  CC    trace/default.o
  CC    trace/control.o
  GEN   trace/generated-tracers.c
  CC    util/osdep.o
  CC    util/cutils.o
  CC    util/unicode.o
  CC    util/qemu-timer-common.o
  CC    util/oslib-posix.o
  CC    util/event_notifier-posix.o
  CC    util/qemu-openpty.o
  CC    util/envlist.o
  CC    util/path.o
  CC    util/host-utils.o
  CC    util/module.o
  CC    util/bitmap.o
  CC    util/bitops.o
  CC    util/hbitmap.o
  CC    util/fifo8.o
  CC    util/acl.o
  CC    util/error.o
  CC    util/qemu-error.o
  CC    util/compatfd.o
  CC    util/iov.o
  CC    util/aes.o
  CC    util/qemu-config.o
  CC    util/qemu-sockets.o
  CC    util/notify.o
  CC    util/qemu-option.o
  CC    util/qemu-progress.o
  CC    util/hexdump.o
  CC    util/crc32c.o
  AR    libqemuutil.a
  CC    stubs/arch-query-cpu-def.o
  CC    stubs/clock-warp.o
  CC    stubs/cpu-get-clock.o
  CC    stubs/cpu-get-icount.o
  CC    stubs/dump.o
  CC    stubs/fdset-add-fd.o
  CC    stubs/fdset-find-fd.o
  CC    stubs/fdset-get-fd.o
  CC    stubs/fdset-remove-fd.o
  CC    stubs/gdbstub.o
  CC    stubs/get-fd.o
  CC    stubs/get-vm-name.o
  CC    stubs/iothread-lock.o
  CC    stubs/migr-blocker.o
  CC    stubs/mon-is-qmp.o
  CC    stubs/mon-printf.o
  CC    stubs/mon-print-filename.o
  CC    stubs/mon-protocol-event.o
  CC    stubs/mon-set-error.o
  CC    stubs/pci-drive-hot-add.o
  CC    stubs/reset.o
  CC    stubs/set-fd-handler.o
  CC    stubs/slirp.o
  CC    stubs/sysbus.o
  CC    stubs/vm-stop.o
  CC    stubs/vmstate.o
  CC    stubs/cpus.o
  AR    libqemustub.a
  LINK  qemu-ga
  CC    qemu-nbd.o
  CC    async.o
  CC    thread-pool.o
  CC    nbd.o
  CC    block.o
  CC    blockjob.o
  CC    main-loop.o
  CC    iohandler.o
  CC    qemu-timer.o
  CC    aio-posix.o
  CC    qemu-io-cmds.o
  CC    qemu-coroutine.o
  CC    qemu-coroutine-lock.o
  CC    qemu-coroutine-io.o
  CC    qemu-coroutine-sleep.o
  CC    coroutine-ucontext.o
  CC    block/raw.o
  CC    block/cow.o
  CC    block/qcow.o
  CC    block/vdi.o
  CC    block/vmdk.o
  CC    block/cloop.o
  CC    block/dmg.o
  CC    block/bochs.o
  CC    block/vpc.o
  CC    block/vvfat.o
  CC    block/qcow2.o
  CC    block/qcow2-refcount.o
  CC    block/qcow2-cluster.o
  CC    block/qcow2-snapshot.o
  CC    block/qcow2-cache.o
  CC    block/qed.o
  CC    block/qed-gencb.o
  CC    block/qed-l2-cache.o
  CC    block/qed-table.o
  CC    block/qed-cluster.o
  CC    block/qed-check.o
  CC    block/vhdx.o
  CC    block/parallels.o
  CC    block/blkdebug.o
  CC    block/blkverify.o
  CC    block/snapshot.o
  CC    block/qapi.o
  CC    block/raw-posix.o
  CC    block/nbd.o
  CC    block/sheepdog.o
  LINK  qemu-nbd
  CC    qemu-img.o
  LINK  qemu-img
  CC    qemu-io.o
  LINK  qemu-io
  CC    qemu-bridge-helper.o
  LINK  qemu-bridge-helper
  CC    blockdev.o
  CC    blockdev-nbd.o
  CC    readline.o
  CC    qdev-monitor.o
  CC    device-hotplug.o
  CC    os-posix.o
  CC    migration.o
  CC    migration-tcp.o
  CC    qemu-char.o
  CC    block-migration.o
  CC    page_cache.o
  CC    xbzrle.o
  CC    migration-exec.o
  CC    migration-unix.o
  CC    migration-fd.o
  CC    bt-host.o
  CC    bt-vhci.o
  CC    dma-helpers.o
  CC    vl.o
  CC    tpm.o
  CC    qmp-marshal.o
  CC    qmp.o
  CC    hmp.o
  CC    qemu-log.o
  CC    tcg-runtime.o
  CC    audio/audio.o
  CC    audio/noaudio.o
  CC    audio/wavaudio.o
  CC    audio/mixeng.o
  CC    audio/sdlaudio.o
  CC    audio/ossaudio.o
  CC    audio/wavcapture.o
  CC    backends/rng.o
  CC    backends/rng-egd.o
  CC    backends/rng-random.o
  CC    backends/msmouse.o
  CC    block/stream.o
  CC    block/commit.o
  CC    block/mirror.o
  CC    block/backup.o
  CC    disas/arm.o
  CC    disas/i386.o
  CC    fsdev/qemu-fsdev-dummy.o
  CC    fsdev/qemu-fsdev-opts.o
  CC    net/net.o
  CC    net/queue.o
  CC    net/checksum.o
  CC    net/hub.o
  CC    net/socket.o
  CC    net/dump.o
  CC    net/eth.o
  CC    net/tap.o
  CC    net/tap-linux.o
  CC    net/slirp.o
  CC    qom/object.o
  CC    qom/container.o
  CC    qom/qom-qobject.o
  CC    qom/cpu.o
  CC    slirp/cksum.o
  CC    slirp/if.o
  CC    slirp/ip_icmp.o
  CC    slirp/ip_input.o
  CC    slirp/ip_output.o
  CC    slirp/dnssearch.o
  CC    slirp/slirp.o
  CC    slirp/mbuf.o
  CC    slirp/misc.o
  CC    slirp/sbuf.o
  CC    slirp/socket.o
  CC    slirp/tcp_input.o
  CC    slirp/tcp_output.o
  CC    slirp/tcp_subr.o
  CC    slirp/tcp_timer.o
  CC    slirp/udp.o
  CC    slirp/bootp.o
  CC    slirp/tftp.o
  CC    slirp/arp_table.o
  CC    ui/keymaps.o
  CC    ui/console.o
  CC    ui/cursor.o
  CC    ui/input.o
  CC    ui/qemu-pixman.o
  CC    ui/sdl.o
  CC    ui/sdl_zoom.o
  CC    ui/x_keymap.o
  CC    ui/curses.o
  CC    ui/vnc.o
  CC    ui/vnc-enc-zlib.o
  CC    ui/vnc-enc-hextile.o
  CC    ui/vnc-enc-tight.o
  CC    ui/vnc-palette.o
  CC    ui/vnc-enc-zrle.o
  CC    ui/vnc-jobs.o
  CC    hw/audio/es1370.o
  CC    hw/audio/ac97.o
  CC    hw/audio/intel-hda.o
  CC    hw/audio/hda-codec.o
  CC    hw/audio/wm8750.o
  CC    hw/audio/pl041.o
  CC    hw/audio/lm4549.o
  CC    hw/audio/marvell_88w8618.o
  CC    hw/block/block.o
  CC    hw/block/cdrom.o
  CC    hw/block/hd-geometry.o
  CC    hw/block/m25p80.o
  CC    hw/block/nand.o
  CC    hw/block/pflash_cfi01.o
  CC    hw/block/pflash_cfi02.o
  CC    hw/block/ecc.o
  CC    hw/block/onenand.o
  CC    hw/block/nvme.o
  CC    hw/bt/core.o
  CC    hw/bt/l2cap.o
  CC    hw/bt/sdp.o
  CC    hw/bt/hci.o
  CC    hw/bt/hid.o
  CC    hw/bt/hci-csr.o
  CC    hw/char/tpci200.o
  CC    hw/char/ipoctal232.o
  CC    hw/char/ipack.o
  CC    hw/char/pl011.o
  CC    hw/char/serial.o
  CC    hw/char/serial-isa.o
  CC    hw/char/serial-pci.o
  CC    hw/char/virtio-console.o
  CC    hw/char/cadence_uart.o
  CC    hw/char/imx_serial.o
  CC    hw/core/qdev.o
  CC    hw/core/qdev-properties.o
  CC    hw/core/irq.o
  CC    hw/core/ptimer.o
  CC    hw/core/sysbus.o
  CC    hw/core/null-machine.o
  CC    hw/core/loader.o
  CC    hw/core/qdev-properties-system.o
  CC    hw/display/ads7846.o
  CC    hw/display/pl110.o
  CC    hw/display/ssd0303.o
  CC    hw/display/ssd0323.o
  CC    hw/display/blizzard.o
  CC    hw/display/exynos4210_fimd.o
  CC    hw/display/framebuffer.o
  CC    hw/display/tc6393xb.o
  CC    hw/dma/pl080.o
  CC    hw/dma/pl330.o
  CC    hw/gpio/max7310.o
  CC    hw/gpio/pl061.o
  CC    hw/gpio/zaurus.o
  CC    hw/i2c/core.o
  CC    hw/i2c/smbus.o
  CC    hw/i2c/smbus_eeprom.o
  CC    hw/i2c/versatile_i2c.o
  CC    hw/i2c/bitbang_i2c.o
  CC    hw/i2c/exynos4210_i2c.o
  CC    hw/ide/core.o
  CC    hw/ide/atapi.o
  CC    hw/ide/qdev.o
  CC    hw/ide/pci.o
  CC    hw/ide/microdrive.o
  CC    hw/ide/ahci.o
  CC    hw/ide/ich.o
  CC    hw/input/hid.o
  CC    hw/input/lm832x.o
  CC    hw/input/pl050.o
  CC    hw/input/ps2.o
  CC    hw/input/stellaris_input.o
  CC    hw/input/tsc2005.o
  CC    hw/intc/pl190.o
  CC    hw/intc/imx_avic.o
  CC    hw/intc/realview_gic.o
  CC    hw/intc/arm_gic_common.o
  CC    hw/intc/arm_gic.o
  CC    hw/isa/isa-bus.o
  CC    hw/misc/max111x.o
  CC    hw/misc/tmp105.o
  CC    hw/misc/pci-testdev.o
  CC    hw/misc/arm_l2x0.o
  CC    hw/net/ne2000.o
  CC    hw/net/eepro100.o
  CC    hw/net/pcnet-pci.o
  CC    hw/net/pcnet.o
  CC    hw/net/e1000.o
  CC    hw/net/rtl8139.o
  CC    hw/net/vmxnet_tx_pkt.o
  CC    hw/net/vmxnet_rx_pkt.o
  CC    hw/net/vmxnet3.o
  CC    hw/net/smc91c111.o
  CC    hw/net/lan9118.o
  CC    hw/net/xgmac.o
  CC    hw/net/cadence_gem.o
  CC    hw/net/stellaris_enet.o
  CC    hw/nvram/eeprom93xx.o
  CC    hw/nvram/fw_cfg.o
  CC    hw/pci-bridge/pci_bridge_dev.o
  CC    hw/pci-bridge/ioh3420.o
  CC    hw/pci-bridge/xio3130_upstream.o
  CC    hw/pci-bridge/xio3130_downstream.o
  CC    hw/pci-bridge/i82801b11.o
  CC    hw/pci-host/pam.o
  CC    hw/pci-host/versatile.o
  CC    hw/pci/pci.o
  CC    hw/pci/pci_bridge.o
  CC    hw/pci/msix.o
  CC    hw/pci/msi.o
  CC    hw/pci/shpc.o
  CC    hw/pci/slotid_cap.o
  CC    hw/pci/pci_host.o
  CC    hw/pci/pcie_host.o
  CC    hw/pci/pcie.o
  CC    hw/pci/pcie_aer.o
  CC    hw/pci/pcie_port.o
  CC    hw/pci/pci-stub.o
  CC    hw/scsi/scsi-disk.o
  CC    hw/scsi/scsi-generic.o
  CC    hw/scsi/scsi-bus.o
  CC    hw/scsi/lsi53c895a.o
  CC    hw/scsi/megasas.o
  CC    hw/scsi/vmw_pvscsi.o
  CC    hw/scsi/esp.o
  CC    hw/scsi/esp-pci.o
  CC    hw/sd/pl181.o
  CC    hw/sd/ssi-sd.o
  CC    hw/sd/sd.o
  CC    hw/sd/sdhci.o
  CC    hw/ssi/pl022.o
  CC    hw/ssi/ssi.o
  CC    hw/ssi/xilinx_spips.o
  CC    hw/timer/arm_timer.o
  CC    hw/timer/arm_mptimer.o
  CC    hw/timer/cadence_ttc.o
  CC    hw/timer/ds1338.o
  CC    hw/timer/pl031.o
  CC    hw/timer/twl92230.o
  CC    hw/timer/imx_epit.o
  CC    hw/timer/imx_gpt.o
  CC    hw/usb/core.o
  CC    hw/usb/combined-packet.o
  CC    hw/usb/bus.o
  CC    hw/usb/desc.o
  CC    hw/usb/libhw.o
  CC    hw/usb/hcd-uhci.o
  CC    hw/usb/hcd-ohci.o
  CC    hw/usb/hcd-ehci.o
  CC    hw/usb/hcd-ehci-pci.o
  CC    hw/usb/hcd-ehci-sysbus.o
  CC    hw/usb/hcd-xhci.o
  CC    hw/usb/hcd-musb.o
  CC    hw/usb/dev-hub.o
  CC    hw/usb/dev-hid.o
  CC    hw/usb/dev-wacom.o
  CC    hw/usb/dev-storage.o
  CC    hw/usb/dev-uas.o
  CC    hw/usb/dev-audio.o
  CC    hw/usb/dev-serial.o
  CC    hw/usb/dev-network.o
  CC    hw/usb/dev-bluetooth.o
  CC    hw/usb/dev-smartcard-reader.o
  CC    hw/usb/ccid-card-passthru.o
  CC    hw/usb/host-linux.o
  CC    hw/usb/host-legacy.o
  CC    hw/virtio/virtio-rng.o
  CC    hw/virtio/virtio-pci.o
  CC    hw/virtio/virtio-bus.o
  CC    hw/virtio/virtio-mmio.o
  CC    hw/watchdog/watchdog.o
  CC    hw/watchdog/wdt_i6300esb.o
  GEN   arm-softmmu/config-target.h
  CC    arm-softmmu/exec.o
  CC    arm-softmmu/translate-all.o
  CC    arm-softmmu/cpu-exec.o
  CC    arm-softmmu/tcg/tcg.o
  CC    arm-softmmu/tcg/optimize.o
  CC    arm-softmmu/fpu/softfloat.o
  CC    arm-softmmu/disas.o
  CC    arm-softmmu/gdbstub-xml.o
  CC    arm-softmmu/kvm-stub.o
  CC    arm-softmmu/arch_init.o
  CC    arm-softmmu/cpus.o
  CC    arm-softmmu/monitor.o
  CC    arm-softmmu/gdbstub.o
  CC    arm-softmmu/balloon.o
  CC    arm-softmmu/ioport.o
  CC    arm-softmmu/qtest.o
  CC    arm-softmmu/device_tree.o
  CC    arm-softmmu/memory.o
  CC    arm-softmmu/savevm.o
  CC    arm-softmmu/cputlb.o
  CC    arm-softmmu/memory_mapping.o
  CC    arm-softmmu/dump.o
  CC    arm-softmmu/xen-stub.o
  CC    arm-softmmu/hw/arm/boot.o
  CC    arm-softmmu/hw/arm/collie.o
  CC    arm-softmmu/hw/arm/exynos4_boards.o
  CC    arm-softmmu/hw/arm/gumstix.o
  CC    arm-softmmu/hw/arm/highbank.o
  CC    arm-softmmu/hw/arm/integratorcp.o
  CC    arm-softmmu/hw/arm/kzm.o
  CC    arm-softmmu/hw/arm/mainstone.o
  CC    arm-softmmu/hw/arm/musicpal.o
  CC    arm-softmmu/hw/arm/nseries.o
  CC    arm-softmmu/hw/arm/omap_sx1.o
  CC    arm-softmmu/hw/arm/palm.o
  CC    arm-softmmu/hw/arm/pic_cpu.o
  CC    arm-softmmu/hw/arm/realview.o
  CC    arm-softmmu/hw/arm/spitz.o
  CC    arm-softmmu/hw/arm/stellaris.o
  CC    arm-softmmu/hw/arm/tosa.o
  CC    arm-softmmu/hw/arm/versatilepb.o
  CC    arm-softmmu/hw/arm/vexpress.o
  CC    arm-softmmu/hw/arm/xilinx_zynq.o
  CC    arm-softmmu/hw/arm/z2.o
  CC    arm-softmmu/hw/arm/armv7m.o
  CC    arm-softmmu/hw/arm/exynos4210.o
  CC    arm-softmmu/hw/arm/pxa2xx.o
  CC    arm-softmmu/hw/arm/pxa2xx_gpio.o
  CC    arm-softmmu/hw/arm/pxa2xx_pic.o
  CC    arm-softmmu/hw/arm/omap1.o
  CC    arm-softmmu/hw/arm/omap2.o
  CC    arm-softmmu/hw/arm/strongarm.o
  CC    arm-softmmu/target-arm/arm-semi.o
  CC    arm-softmmu/target-arm/machine.o
  CC    arm-softmmu/target-arm/kvm-stub.o
  CC    arm-softmmu/target-arm/translate.o
  CC    arm-softmmu/target-arm/op_helper.o
  CC    arm-softmmu/target-arm/helper.o
  CC    arm-softmmu/target-arm/cpu.o
  CC    arm-softmmu/target-arm/neon_helper.o
  CC    arm-softmmu/target-arm/iwmmxt_helper.o
  CC    arm-softmmu/target-arm/gdbstub.o
  CC    arm-softmmu/hw/block/virtio-blk.o
  CC    arm-softmmu/hw/char/exynos4210_uart.o
  CC    arm-softmmu/hw/char/omap_uart.o
  CC    arm-softmmu/hw/char/virtio-serial-bus.o
  CC    arm-softmmu/hw/cpu/arm11mpcore.o
  CC    arm-softmmu/hw/cpu/a9mpcore.o
  CC    arm-softmmu/hw/cpu/a15mpcore.o
  CC    arm-softmmu/hw/display/omap_dss.o
  CC    arm-softmmu/hw/display/omap_lcdc.o
  CC    arm-softmmu/hw/display/pxa2xx_lcd.o
  CC    arm-softmmu/hw/display/vga.o
  CC    arm-softmmu/hw/dma/omap_dma.o
  CC    arm-softmmu/hw/dma/soc_dma.o
  CC    arm-softmmu/hw/dma/pxa2xx_dma.o
  CC    arm-softmmu/hw/gpio/omap_gpio.o
  CC    arm-softmmu/hw/i2c/omap_i2c.o
  CC    arm-softmmu/hw/input/pxa2xx_keypad.o
  CC    arm-softmmu/hw/input/tsc210x.o
  CC    arm-softmmu/hw/intc/armv7m_nvic.o
  CC    arm-softmmu/hw/intc/exynos4210_gic.o
  CC    arm-softmmu/hw/intc/exynos4210_combiner.o
  CC    arm-softmmu/hw/intc/omap_intc.o
  CC    arm-softmmu/hw/misc/vfio.o
  CC    arm-softmmu/hw/misc/arm_sysctl.o
  CC    arm-softmmu/hw/misc/a9scu.o
  CC    arm-softmmu/hw/misc/cbus.o
  CC    arm-softmmu/hw/misc/exynos4210_pmu.o
  CC    arm-softmmu/hw/misc/imx_ccm.o
  CC    arm-softmmu/hw/misc/mst_fpga.o
  CC    arm-softmmu/hw/misc/omap_clk.o
  CC    arm-softmmu/hw/misc/omap_gpmc.o
  CC    arm-softmmu/hw/misc/omap_l4.o
  CC    arm-softmmu/hw/misc/omap_sdrc.o
  CC    arm-softmmu/hw/misc/omap_tap.o
  CC    arm-softmmu/hw/misc/pxa2xx_pcmcia.o
  CC    arm-softmmu/hw/misc/zynq_slcr.o
  CC    arm-softmmu/hw/net/virtio-net.o
  CC    arm-softmmu/hw/net/vhost_net.o
  CC    arm-softmmu/hw/scsi/virtio-scsi.o
  CC    arm-softmmu/hw/scsi/vhost-scsi.o
  CC    arm-softmmu/hw/sd/omap_mmc.o
  CC    arm-softmmu/hw/sd/pxa2xx_mmci.o
  CC    arm-softmmu/hw/ssi/omap_spi.o
  CC    arm-softmmu/hw/timer/exynos4210_mct.o
  CC    arm-softmmu/hw/timer/exynos4210_pwm.o
  CC    arm-softmmu/hw/timer/exynos4210_rtc.o
  CC    arm-softmmu/hw/timer/omap_gptimer.o
  CC    arm-softmmu/hw/timer/omap_synctimer.o
  CC    arm-softmmu/hw/timer/pxa2xx_timer.o
  CC    arm-softmmu/hw/timer/tusb6010.o
  CC    arm-softmmu/hw/virtio/virtio.o
  CC    arm-softmmu/hw/virtio/virtio-balloon.o
  CC    arm-softmmu/hw/virtio/vhost.o
  LINK  arm-softmmu/qemu-system-arm
  GEN   arm-linux-user/config-target.h
  CC    arm-linux-user/exec.o
  CC    arm-linux-user/translate-all.o
  CC    arm-linux-user/cpu-exec.o
  CC    arm-linux-user/tcg/tcg.o
  CC    arm-linux-user/tcg/optimize.o
  CC    arm-linux-user/fpu/softfloat.o
  CC    arm-linux-user/disas.o
  CC    arm-linux-user/gdbstub-xml.o
  CC    arm-linux-user/kvm-stub.o
  CC    arm-linux-user/gdbstub.o
  CC    arm-linux-user/thunk.o
  CC    arm-linux-user/user-exec.o
  CC    arm-linux-user/linux-user/main.o
  CC    arm-linux-user/linux-user/syscall.o
  CC    arm-linux-user/linux-user/strace.o
  CC    arm-linux-user/linux-user/mmap.o
  CC    arm-linux-user/linux-user/signal.o
  CC    arm-linux-user/linux-user/elfload.o
  CC    arm-linux-user/linux-user/linuxload.o
  CC    arm-linux-user/linux-user/uaccess.o
  CC    arm-linux-user/linux-user/cpu-uname.o
  CC    arm-linux-user/linux-user/flatload.o
  CC    arm-linux-user/target-arm/arm-semi.o
  CC    arm-linux-user/target-arm/kvm-stub.o
  CC    arm-linux-user/target-arm/translate.o
  CC    arm-linux-user/target-arm/op_helper.o
  CC    arm-linux-user/target-arm/helper.o
  CC    arm-linux-user/target-arm/cpu.o
  CC    arm-linux-user/target-arm/neon_helper.o
  CC    arm-linux-user/target-arm/iwmmxt_helper.o
  CC    arm-linux-user/target-arm/gdbstub.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cpdt.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpa11_cprt.o
  CC    arm-linux-user/linux-user/arm/nwfpe/fpopcode.o
  CC    arm-linux-user/linux-user/arm/nwfpe/single_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/double_cpdo.o
  CC    arm-linux-user/linux-user/arm/nwfpe/extended_cpdo.o
  LINK  arm-linux-user/qemu-arm
crifan@ubuntu:qemu-1.6.0-rc3$ 

重新make install安装:

crifan@ubuntu:qemu-1.6.0-rc3$ make install
make  all-recursive
Making all in pixman
make  all-am
make[4]: Nothing to be done for `all-am'.
Making all in test
make[3]: Nothing to be done for `all'.
	CHK version_gen.h
install -d -m 0755 "/opt/qemu/share/doc/qemu"
install -c -m 0644 qemu-doc.html  qemu-tech.html "/opt/qemu/share/doc/qemu"
install -c -m 0644 QMP/qmp-commands.txt "/opt/qemu/share/doc/qemu"
install -d -m 0755 "/opt/qemu/share/man/man1"
install -c -m 0644 qemu.1 "/opt/qemu/share/man/man1"
install -c -m 0644 qemu-img.1 "/opt/qemu/share/man/man1"
install -d -m 0755 "/opt/qemu/share/man/man8"
install -c -m 0644 qemu-nbd.8 "/opt/qemu/share/man/man8"
install -d -m 0755 "/opt/qemu/share/qemu"
install -d -m 0755 "/opt/qemu/etc/qemu"
install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/sysconfigs/target/target-x86_64.conf "/opt/qemu/etc/qemu"
install -d -m 0755 "/opt/qemu/var"/run
install -d -m 0755 "/opt/qemu/bin"
libtool --quiet --mode=install install -c -m 0755  qemu-ga qemu-nbd qemu-img qemu-io  "/opt/qemu/bin"
install -d -m 0755 "/opt/qemu/libexec"
libtool --quiet --mode=install install -c -m 0755  qemu-bridge-helper "/opt/qemu/libexec"
set -e; for x in bios.bin sgabios.bin vgabios.bin vgabios-cirrus.bin vgabios-stdvga.bin vgabios-vmware.bin vgabios-qxl.bin acpi-dsdt.aml q35-acpi-dsdt.aml ppc_rom.bin openbios-sparc32 openbios-sparc64 openbios-ppc pxe-e1000.rom pxe-eepro100.rom pxe-ne2k_pci.rom pxe-pcnet.rom pxe-rtl8139.rom pxe-virtio.rom efi-e1000.rom efi-eepro100.rom efi-ne2k_pci.rom efi-pcnet.rom efi-rtl8139.rom efi-virtio.rom qemu-icon.bmp qemu_logo_no_text.svg bamboo.dtb petalogix-s3adsp1800.dtb petalogix-ml605.dtb multiboot.bin linuxboot.bin kvmvapic.bin s390-zipl.rom s390-ccw.img spapr-rtas.bin slof.bin palcode-clipper; do \
		install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pc-bios/$x "/opt/qemu/share/qemu"; \
	done
install -d -m 0755 "/opt/qemu/share/qemu/keymaps"
set -e; for x in da     en-gb  et  fr     fr-ch  is  lt  modifiers  no  pt-br  sv ar      de     en-us  fi  fr-be  hr     it  lv  nl         pl  ru     th common  de-ch  es     fo  fr-ca  hu     ja  mk  nl-be      pt  sl     tr bepo; do \
		install -c -m 0644 /home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/pc-bios/keymaps/$x "/opt/qemu/share/qemu/keymaps"; \
	done
for d in arm-softmmu arm-linux-user; do \
	make -C $d install || exit 1 ; \
        done
make[1]: Entering directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-softmmu'
install -m 755 qemu-system-arm "/opt/qemu/bin"
make[1]: Leaving directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-softmmu'
make[1]: Entering directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-linux-user'
install -m 755 qemu-arm "/opt/qemu/bin"
make[1]: Leaving directory `/home/crifan/develop/embedded/qemu/qemu-1.6.0-rc3/arm-linux-user'
crifan@ubuntu:qemu-1.6.0-rc3$ 

6.然后再重新测试arm,看看结果,结果就可以了,可以弹出对话框,显示QEMU的linux了:

qemu test arm ok show linux window

 

【总结】

当去用QEMU测试arm而只出现一行:

VNC server running on `127.0.0.1:5900′

无法其他输出时,解决办法是:

1.安装所需要的sdl库:

sudo apt-get install libsdl1.2-dev

2.对于QEMU,需要重新配置:

./configure --prefix=/opt/qemu --target-list=arm-softmmu,arm-linux-user --enable-debug

(其中可以看到:SDL support yes 的字样)

编译:

make

安装:

make install

然后再重新用QEMU去测试arm,就可以看到弹出窗口,显示出QEMU的arm的linux了。

转载请注明:在路上 » 【已解决】QUEMU安装完毕后测试arm出错:只有一行VNC server running on `127.0.0.1:5900’没其他输出

发表我的评论
取消评论

表情

Hi,您需要填写昵称和邮箱!

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

网友最新评论 (1)

  1. 在最新的2.7版本下,QEMU的启动貌似必须要一个-machine参数,这样使用那个arm-test文件,就只能显示出黑的窗口,而无法看到任何输出。。。 经过测试,machine参数指定为raspi2等平台会显示黑窗口,指定virt直接报错,提示Possible BUG。。。。 不知道博主有没有什么好办法呢?
    空空空7年前 (2016-11-22)回复
86 queries in 0.162 seconds, using 22.77MB memory