【发布时间】:2019-03-28 21:07:26
【问题描述】:
我正在尝试使用 yocto 迈出第一步。 在使用 psplash 时,我只能在关闭系统时看到 yocto-splashscreen。不是在系统启动时。
为此,我在 Virtual Box (oracle) 中使用 Ubuntu 18.10。 我用这个命令构建图像:
~$ sudo apt-get install git python chrpath g++ gawk gcc make texinfo
~$ git clone -b sumo git://git.yoctoproject.org/poky
~$ cd poky/
~/poky$ source oe-init-build-env
~/poky/build$ nano /conf/local.conf
在文件末尾插入:
BB_NUMBER_THREADS = “8”
PARALLEL_MAKE = “-j 4”
IMAGE_INSTALL_append = “ psplash”
INHERIT_remove = “uninative”
构建:
~/poky/build$ bitbake core-image-minimal
运行镜像:
runqemu qemux86
在启动时,我注意到以下两条消息:
framebuffer /dev/fb0 not detected
Boot splashscreen disabled
我发现了这个问题:yocto splash screen not appearing
我已经尝试在local.conf 中添加IMAGE_INSTALL_append = " psplash" 但没有效果。
你有什么想法吗?
【问题讨论】:
-
也许
/dev/fb0出现得太晚了(即图形驱动程序是一个模块)? -
这是可能的。在这条消息之后的几行中,我得到了一些带有“uvesafb”的行。我想这是负责任的包裹?我试图找出整个启动序列,但我不知道它是如何工作的。我发现了“tail -n 100 /var/log/dmesg”的可能性,但并不是所有的行