how to pass log level to 7 from u-boot

Ezra Buehler ezra at easyb.ch
Sat Oct 17 11:10:47 EDT 2020


Hi Tomek,

On 17 Oct 2020, at 14:57, Tomek The Messenger <tomekthemessenger at gmail.com> wrote:
> Does anybody of You know how to pass it from u-boot? I can stop in u-boot and pass log level 7 but I don't know what command should I write in order to do it.

Try adding `loglevel=7` to the `bootargs` U-Boot environment variable.
You can do that with the `setenv` command (https://www.denx.de/wiki/view/DULG/UBootEnvVariables).
You probably also want to set something like `earlyprintk=serial`.
On the Kernel parameters:
https://www.kernel.org/doc/html/latest/admin-guide/kernel-parameters.html

Good luck,
Ezra.




More information about the Kernelnewbies mailing list