微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

buildroot 我得到一个 xorg 黑屏

如何解决buildroot 我得到一个 xorg 黑屏

我正在使用 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 举报,一经查实,本站将立刻删除。