Hi,
I am simulating an i2c slave device, listening on address 0x30.
My intention is that in the hosted Linux OS, my driver will communicate with
this (simulated) HW device.
The problem I have is that ever since I start QEMU, and even before the hosted
Linux OS was fully loaded, the device recei
Hi,
I want to enumerate all devices connected to i2c busses in running QEMU hosting
Linux.
I understand I need to use 'qom-list' and 'qom-get' in monitor mode, but I did
not find documentation on how to use them for specific information.
Thanks for any tip,
Paz
module_close' to unload the library?
Thanks, Paz
From: Peter Maydell
Sent: Thursday, February 29, 2024 7:34 PM
To: Paz Offer
Cc: qemu-devel@nongnu.org
Subject: Re: What is the correct way to add linker dependency to QEMU build
system?
External email: Use c
Thanks a lot Peter,
This is working.
Paz
From: Peter Maydell
Sent: Thursday, February 29, 2024 7:34 PM
To: Paz Offer
Cc: qemu-devel@nongnu.org
Subject: Re: What is the correct way to add linker dependency to QEMU build
system?
External email: Use caution
Hi,
I want to add library 'libdl' to be linked with QEMU build for a particular
target (e.g. - qemu-system-arm).
Using meson I would typically do 'compiler.find_library(...)', and later add
the returned dependency to the binary dependencies list.
However, in QEMU I understand that these configur
Hi,
I am trying to build my code with QEMU and getting compilation error according
to the ISO C90 standard:
const size_t buf_size = 31;
char buffer[buf_size + 1];
error: ISO C90 forbids array ‘buffer’ whose size can’t be evaluated
[-Werror=vla]
I noticed that the code builds
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
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
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