linux - 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
解决方案
推荐阅读
- python - 基于日期提取子帧时的问题
- amazon-web-services - AWS CLI 不适用于 VPN 隧道选项
- azure-data-factory - 在 Azure 数据工厂中映射自定义变量
- mysql - table_cache 没有设置在 my.cnf 文件中,有什么风险?
- c++ - std::vector 上的嵌套循环
- android - intent.putExtra 一个 Parcelable 对象和枚举的列表
- android - Android Studio:矢量可绘制(SVG)不支持字体
- java - 如何解决我扫描显示 ar 模型的 QR 码,但模型出现后我的相机帧率低
- postgresql - PostgreSQL 使 Go 建立的连接保持打开状态
- sql - 声明变量并调用