On 23.01.19 09:10, Chung-Fan Yang wrote:

Hmm, this fails when passing it to jailhouse config create. Could it be that you
ran the collect job as normal user, not as root?

Seems like I failed to copy it from the remote host via scp.
I have attached a new version.
It has been run with current working condition.


I ran into more problem.
This card have BAR1 32bit presenting a MMIO address for its 16550 registers.
Mapping and accessing it in the Linux driver is OK.
However, the whole page is presented as 0xff and writing has no effect in a 
custom RTOS cell.

I passed this device into a custom RTOS cell by adding PCI device, PCI caps, 
and memory regions in the config file.
My code had mapped the BAR1 physical address 1:1 to virtual space.

Have I done anything wrong?

You possibly lack some logic in your RTOS code to properly enable the PCI device, like Henning mentioned. You can always validate that by booting a Linux in the non-root cell - it comes with all the needed logic.

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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to