On 10.09.20 11:10, Jan-Marc Stranz wrote:
> Thank you for the answer.
> 
> The Intel NUC8i7 apparently has no UART at all.
> 
> I have another target available.
> There is a UART (/dev/ttyS0).
> 
> However, "dmesg | grep ttyS" gives me the following:
> dw-apb-uart.0: ttyS0 at MMIO 0x9131e000 (irq = 43, base_baud = 115200)
> is a 16550A
> 
> This doesn't seem to be a "legacy UART" with an "normal" I/O port.
> Can such a UART jailhouse also use?
> 

In principle, yes. Documentation/debug-output.md tells you how:
JAILHOUSE_CON_TYPE_8250, JAILHOUSE_CON_ACCESS_MMIO, and you may have to
try both JAILHOUSE_CON_REGDIST_1 and JAILHOUSE_CON_REGDIST_4 to see
which one is needed.

Only if the UART requires some magic enabling dance via other resources,
this would not work.

Jan

-- 
Siemens AG, Corporate Technology, CT RDA IOT SES-DE
Corporate Competence Center Embedded Linux

-- 
You received this message because you are subscribed to the Google Groups 
"Jailhouse" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jailhouse-dev/313b5c57-f64d-17dd-28ab-39af5b9058cb%40siemens.com.

Reply via email to