Is UART different from other devices? I see some uart-8250.c code. The uart is especially treated ?
Will some demos which show how to partition network devices or some other devices into inmates be done? I have tryed in rpi4b. like zynqmp-zcu102-linux-demo.c , I added the mem regions and irq. But, the network cann't seen in inmate. 在2021年5月14日星期五 UTC+8 下午6:10:37<[email protected]> 写道: > On 14.05.21 05:08, along li wrote: > > Dear community, > > > > For X86 platform, the tutorial pdf talks some about how to partition > > pci device into none-root cells. > > tutorial: > > > https://events.static.linuxfound.org/sites/events/files/slides/ELCE2016-Jailhouse-Tutorial.pdf > > < > https://events.static.linuxfound.org/sites/events/files/slides/ELCE2016-Jailhouse-Tutorial.pdf > > > > > > But how to do this in arm64 platforms, there is no document. > > > > Well how to do this, Are there some configuration demos ? > > > > Plenty, though understanding the details requires a bit knowledge about > the respective platforms. If you look at > configs/arm64/zynqmp-zcu102-linux-demo.c, e.g., you can see that it gets > a UART assigned by handing over the MMIO region and (IIRC) GIC IRQ 54. > But, as I already explained, there can be more complex challenges when > you also need to enable / clock the respective device, and those > controls are shared with the root cell. > > Jan > > -- > Siemens AG, T RDA IOT > 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/0520cade-198a-4f89-95e4-cd5fbc6c1ae2n%40googlegroups.com.
