Feature #742
closed
Added by Hammel over 4 years ago.
Updated over 4 years ago.
Description
The following boot time display items should be cleaned up via pmsui.
- The blinking cursor (disabled with a config.txt option)
- Startup messages from
- S00dev
- S01psplash
The latter is probably a psplash change, not a pmsui change.
- Status changed from New to In Progress
- % Done changed from 0 to 10
Item 1 was already done by RM #689. However, I had not rerun make HW=rpi2 rpifw-pkg to update the cmdline.txt in the package tree. So it looked like the fix wasn't available. It is now.
Here's the right way to handle quieting those init scripts.
- new function - getQuiet() in functions.sh
- Called when functions.sh is sourced
- sets global ECHO="echo" if quiet is not found on command line
- sets global ECHO="/bin/true" is quiet is found on command line
- Update all init scripts to use $ECHO instead of shell "echo"
- functions.sh should be sourced by rcS, not each script independently.
Using global variable sourced from functions.sh will be faster than a function call replacing echo (re: using log() intead of echo would be slower).
- % Done changed from 10 to 30
I've implemented this in the function script including updating the log() function to not output to console if "quiet" is set on the kernel command line. function script is already being sourced by rcS which means all init scripts, which rcS sources, will have it set properly.
S00dev doesn't seem to echo anything, so the messages I was seeing must have been from the log() function.
S01psplash is updated but I think its console message was also from log().
All updates need to be tested. The changes are in rpi1 and in psplash.
- % Done changed from 30 to 80
Verified working but I'm having problems with installation to the SD card. The overlay is not working for some reason. See RM #736.
Until I get the installs working again I need to keep this one open.
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Fixed, tested and verified working. Changes committed and pushed.
Closing issue.
Also available in: Atom
PDF