|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: xen4.13 on raspberry4B use Domain U to control GPIO device
Hello, +Stefano On 29/08/2021 15:43, 樊心昊 wrote: Hello everyone:I'm trying use Domain U to control GPIO,but I can't find a way to share bcm2835-gpiomem or gpiomem for Domain U. The option 'iomem' takes frame numbers in arguments. If I am not mistaken 0x7e200000 is an address, so you would want to use 0x7e200. Similar the bits after @ if a guest frame number. Can you confirm you want to map at 0x1000000? dtdev is used to configure devices protected by an IOMMU. I would be surprised if the GPIO is behind an IOMMU. Can you confirm it? Note that in this case you need to ensure that you device is not doing any DMA (this would be insecure and broken because guest are have a different view of the memory). The option ioport is an x86 specific option. What are you attempting to
do with this option?
Cheers, -- Julien Grall
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |