K
K
katemed2021-08-27 11:51:46
linux
katemed, 2021-08-27 11:51:46

How to get little kernel android log messages?

There are androyd sources, I want to debug little kernel. Namely, get messages by type dprintf(INFO, ...), for example, in init.c.
Found the answer here:
https://stackoverflow.com/questions/64691491/where... It
is advised to connect to the pins of the board. Is this the only way? Is there an alternative software method like dmesg or logcat. Maybe editing the config will help?
Tried this -
https://blog.actorsfit.com/a?ID=01000-41180d2d-18e...
Set in bootloader\lk\project\your-project.mk: DEBUG := 2 and added bootable\bootloader\lk \target\your-project\rules.mk: LK_PROFILING := yes, still in bootloader\lk\project\your-project.mk: WITH_DEBUG_FBCON=1, WITH_DEBUG_DCC=1, WITH_DEBUG_BAM=1
as a result, the output of the fbcon log on the screen went from the last changes. But the little kernel logs could not be found.
Any ideas?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question