问题描述
我正在使用 buildroot 构建一个小型 Linux 映像。我在 Qemu 中加载图像,但出现黑屏。
default ----> pc_x86_64_bios_defconfig
我所做的配置更改是:
Toolchain ----> Enable C++ support
Target packages
Show packages that are also provided by busyBox
Graphic libraries and applications (graphic/text)
X.org X Window System
X11R7 Servers ----> xorg-server
X11R7 Drivers ----> xf86-input-evdev,xf86-input-keyboard,xf86-input-mouse,xf86-video-cirrus,xf86-video-fbdev
xterm
openBox
Filesystem images
exact size ----> 200M
initial RAM filesystem linked into linux kernel
然后我使用运行脚本:
qemu-system-x86_64 \
-kernel ./bzImage \
-append "console=tty0" \
-initrd rootfs.cpio \
-m 2G
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)