The i386.c file uses standard 3f8 UART for some simple diagnostic prints, and the libpayload console otherwise.
This payload was used to debug Linux as a rampayload and was very helpful for that work.
95c331b94b rampayload: Add the linuxcheck payload
payloads/linuxcheck/Makefile | 37 ++++++++++++++++++++++++++++
payloads/linuxcheck/i386.c | 48 +++++++++++++++++++++++++++++++++++++
payloads/linuxcheck/linuxcheck.c | 52 ++++++++++++++++++++++++++++++++++++++++
payloads/linuxcheck/linuxcheck.h | 22 +++++++++++++++++
4 files changed, 159 insertions(+)