Forward U-Boot output to sd-journal

Hello,

I would like to be able to read U-Boot output using journal on Linux. Does anybody have an idea how could I forward U-Boot messages to Linux Journal?

Any comments appreciated :slight_smile:

Regards
Jan

I guess one could use the CONSOLE_RECORD functionality. However, so far this has only been used for testing purpose via sandbox as mentioned in the commit log. So one would need to integrate keeping and reading thereof from within Linux. An alternative way may be what coreboot does. An even different approach may be to write it to a regular file. However, on the Vybrids this would require using a flash file system already from within U-Boot.

Thank you @marcel.tx for multiple recommendation, I will check them all.

Regards
Jan

You are very welcome.