Re: Trying to write data to i2c bus

2024-02-25 Thread Paz Offer
nt: Monday, February 19, 2024 7:14 PM To: Paz Offer Cc: qemu-devel@nongnu.org Subject: Re: Trying to write data to i2c bus External email: Use caution opening links or attachments On Mon, Feb 19, 2024 at 04:53:47PM +, Paz Offer wrote: > Thank you very much Corey, > > I am sim

Re: Trying to write data to i2c bus

2024-02-19 Thread Cédric Le Goater
On 2/19/24 18:14, Corey Minyard wrote: On Mon, Feb 19, 2024 at 04:53:47PM +, Paz Offer wrote: Thank you very much Corey, I am simulating an external module that wants to communicate with the board management controller (BMC). The real device will be connected to the board using i2c bus, an

Re: Trying to write data to i2c bus

2024-02-19 Thread Corey Minyard
mu device. And i2c bus mastering in qemu is pretty esoteric, not many people know anything about it. -corey > > Thanks again, > Paz > > > > > > From: Corey Minyard on behalf of Corey Minyard > > Sent: Monday, February 19, 2024

Re: Trying to write data to i2c bus

2024-02-19 Thread Paz Offer
this? Sorry for my lacking knowledge on this, but I am quite new to QEMU... Thanks again, Paz From: Corey Minyard on behalf of Corey Minyard Sent: Monday, February 19, 2024 6:32 PM To: Paz Offer Cc: qemu-devel@nongnu.org Subject: Re: Trying to write data to i2c

Re: Trying to write data to i2c bus

2024-02-19 Thread Corey Minyard
On Mon, Feb 19, 2024 at 01:49:44PM +, Paz Offer wrote: > Hi, > > I am new to QEMU development, so please excuse if I my direction here is > wrong: > > I am trying to implement an i2c slave device. > My device should be able to read/write data from its i2c bus. > > I defined my device-state

Trying to write data to i2c bus

2024-02-19 Thread Paz Offer
Hi, I am new to QEMU development, so please excuse if I my direction here is wrong: I am trying to implement an i2c slave device. My device should be able to read/write data from its i2c bus. I defined my device-state object like so: typedef struct {   I2CSlave i2c;   void