Actions
Bug #1073
openMake rk818-bat stop spewing to serial console
Start date:
08 Nov 2023
Due date:
% Done:
50%
Estimated time:
Severity:
03 - Medium
Description
It does periodic spewing like so:
root(tty)$ rk818-bat: changed: dsoc=42, rsoc=46, v=3673, ov=3863 c=-545, cap=1234, f=2708, st=charge off, hotdie=0 rk818-bat: dl=56, rl=56, v=3732, halt=0, halt_n=0, max=0, init=0, sw=0, calib=0, below0=0, force=0
This is really annoying on the serial console.
Updated by Hammel about 1 month ago
- Status changed from New to In Progress
- % Done changed from 0 to 10
Look to drivers/power/supply/rk818_battery.c, and especially check if there is an updated kernel available. This may already be fixed.
See:
Updated by Hammel 24 days ago
BAT_INFO is a pr_info macro. The default console log level is set to
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=15
in the defconfig. Additionally the kernel command line can be updated in src/bootloader/boot.txt to include
loglevel=3
to change it from the default to only printing errors.
Additional information can be found on the eLinux.org site or in this stackoverflow discussion.
Actions