Re: [Qemu-devel] Questions regarding how QEMU initializes virtual peripherals

2018-02-09 Thread Ramy Sameh
Many thanks Igor for this valuable info. On Thu, Feb 8, 2018 at 12:59 PM, Igor Mammedov wrote: > On Thu, 8 Feb 2018 12:06:44 +0200 > Ramy Sameh wrote: > > > Hello all, > > > > I am working with QEMU to simulate VersatilePB board. > > > > I am tryin

[Qemu-devel] Questions regarding how QEMU initializes virtual peripherals

2018-02-08 Thread Ramy Sameh
he whole initialization functionalities (that will eventually call "object_init_with_type") Thank you. -- Best Regards, Ramy Sameh Embedded Software Engineer

Re: [Qemu-devel] Reading and writing functions for QEMU emulated peripherals

2017-10-15 Thread Ramy Sameh
Many thanks Peter On Sun, Oct 15, 2017 at 6:50 PM, Peter Maydell wrote: > On 15 October 2017 at 17:47, Ramy Sameh wrote: > > I was tracking the calling of function pl011_read, and I noticed that it > is > > called from function *memory_region_read_accessor *in memory.c >

[Qemu-devel] Reading and writing functions for QEMU emulated peripherals

2017-10-15 Thread Ramy Sameh
same location in *memory_region_read_accessor.* *My question is*: Is this calling procedure done for the emulated VersatilePB board *only*, or this is the case for the peripherals in all emulated systems ? Thanks in advance for your support. [image: Inline image 1] -- Best Regards, Ramy Sameh

Re: [Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-12 Thread Ramy Sameh
Hello Peter, Any suggestions regarding this topic ? On Sun, Sep 10, 2017 at 8:33 PM, Ramy Sameh wrote: > Thanks Peter. > > I have made a program to read a string from the UART, then write it again > to the UART. > I made a function to manipulate values in the pl011 registers

Re: [Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-10 Thread Ramy Sameh
18 PM, Peter Maydell wrote: > On 6 September 2017 at 13:12, Ramy Sameh wrote: > > Do the emulated baud rate registers have any effect? (I think they would > > have no effect, because there is no real clock that can be used to > produce > > the baud rate). > > No, they d

Re: [Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-06 Thread Ramy Sameh
Hello Peter, I have one more simple question please. Do the emulated baud rate registers have any effect? (I think they would have no effect, because there is no real clock that can be used to produce the baud rate). On Tue, Sep 5, 2017 at 8:50 PM, Ramy Sameh wrote: > Thank you very m

Re: [Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-05 Thread Ramy Sameh
Thank you very much Peter. I will check the documentation for VersatilePB and ARM926EJ-S for more understanding of interrupts handling. On Tue, Sep 5, 2017 at 8:06 PM, Peter Maydell wrote: > On 5 September 2017 at 18:56, Ramy Sameh wrote: > > Are there any documentation or

Re: [Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-05 Thread Ramy Sameh
ean *Peripheral identification registers, UARTPeriphID0-3* and *PrimeCell identification registers, UARTPCellID0-3* ? Thanks in advance for your help. On Mon, Sep 4, 2017 at 10:50 AM, Peter Maydell wrote: > On 4 September 2017 at 01:27, Ramy Sameh wrote: > > *My 2 questions are:*

[Qemu-devel] Questions regarding emulated UART in VersatilePB board

2017-09-03 Thread Ramy Sameh
_t ifl; int read_pos; int read_count; int read_trigger; CharBackend chr; qemu_irq irq; const unsigned char *id; } PL011State -- Best Regards, Ramy Sameh Embedded Software Engineer +2-010-172-777-14