Tool/software: Linux
Hello,
I am trying to enable the kernel logo (the penguin). After I successfully enable it, I will try to modify it.
I have a layer that looks like this...
meta-mine/
├── conf
│ └── layer.conf
├── mine-config.txt
├── recipes-core
│ ├── images
│ │ └── mine.bb
│ └── psplash
│ ├── psplash
│ │ └── psplash-poky-img.h
│ └── psplash_git.bbappend
└── recipes-kernel
└── linux
├── files
│ └── logo.cfg
└── linux-ti-staging_%.bbappend
Inside meta-mine/mine-config.txt you can see what environment gets used for the build...
# This file takes repo entries in the format
# repo name,repo uri,repo branch,repo commit[,layers=layer1:layer2...:layern]
bitbake,git://git.openembedded.org/bitbake,1.30,HEAD,layers=
meta-arago,git://arago-project.org/git/meta-arago.git,krogoth,HEAD,layers=meta-arago-distro:meta-arago-extras
meta-qt5,git://github.com/meta-qt5/meta-qt5.git,krogoth,HEAD,layers=
meta-openembedded,git://git.openembedded.org/meta-openembedded,krogoth,HEAD,layers=meta-networking:meta-ruby:meta-python:meta-oe
meta-ti,git://git.yoctoproject.org/meta-ti,krogoth,HEAD,layers=
meta-linaro,git://git.linaro.org/openembedded/meta-linaro.git,krogoth,HEAD,layers=meta-linaro-toolchain:meta-optee
oe-core,git://git.openembedded.org/openembedded-core,krogoth,HEAD,layers=meta
meta-mine,./sources/meta-mine,master,HEAD,layers=
OECORELAYERCONF=./sample-files/bblayers.conf.sample
OECORELOCALCONF=./sample-files/local-arago64.conf.sample
Inside meta-mine/recipes-kernel/linux/linux-ti-staging_%.bbappend...
FILESEXTRAPATHS_prepend := "${THISDIR}/files:"
SRC_URI += "file://logo.cfg"
...and inside meta-mine/recipes-kernel/linux/files/logo.cfg...
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
It all built fine, but when I boot it up, no kernel logo :(
To make sure my kernel changes made it to the SD card I run this on target...
~# cat /proc/config.gz | gunzip | grep LOGO
# CONFIG_LOGO is not set
...hmm, kernel changes did not make it to target. :(
So I find an alternative, I use menuconfig to edit it...
<build_dir># MACHINE=am437x-evm bitbake linux-ti-staging -c menuconfig
I navigate to Device Drivers --> Graphics Support, scroll to the bottom and enable 'Bootup logo', save/exit, and then...
<build_dir># MACHINE=am437x-evm bitbake linux-ti-staging
<out_dir># sudo cp zImage /media/adb/rootfs/boot && sync
Then I boot it up and... no kernel logo. :(
~# cat /proc/config.gz | gunzip | grep LOGO
CONFIG_LOGO=y
CONFIG_LOGO_LINUX_MONO=y
CONFIG_LOGO_LINUX_VGA16=y
CONFIG_LOGO_LINUX_CLUT224=y
:) Well at the changes got there, even though they didn't seem to do anything.
Q1: Why didn't my customizations from logo.cfg get picked up in my layer?
Q2: Why didn't the kernel logo get displayed even with the options configured in the kernel?
Thanks,
Nathan