Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated device

2022-05-17 Thread Karthik Poduval
17, 2022 at 12:40 AM Peter Maydell wrote: > > On Tue, 17 May 2022 at 04:39, Karthik Poduval > wrote: > > Ok digging deeper, there was a compiler warning about a missing > > prototype of get_system_memory but I never thought it would lead to > > this sort of an issue.

Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated device

2022-05-16 Thread Karthik Poduval
/620dba22bf389c6f9b9f039ad01fc5e1365d8216 I always thought that compilers figured things out about function prototypes but in this case it caused a very serious issue that almost seemed like memory corruption. Lesson learned, never miss function prototypes. On Mon, May 16, 2022 at 8:31 PM Karthik Poduval wrote: >

Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated device

2022-05-16 Thread Karthik Poduval
/karthikpoduval/qemu/commit/00580c9f3c60a7d9c3bb43bc9589f76e663197e4 On Mon, May 16, 2022 at 7:13 PM Karthik Poduval wrote: > > Hi All, > > I still need help, any help would be greatly appreciated. Turned on > address sanitizers (config option --enable-sanitizers). > It pointed to

Re: QEMU 6.2.0: Segfault while calling address_space_init from emulated device

2022-05-16 Thread Karthik Poduval
15, 2022 at 12:26 AM Karthik Poduval wrote: > > Hi All, > > I am trying to create a virtual mem2mem scaler device in QEMU (for the > purposes of writing a mem2mem driver tutorial). I created the mem2mem > device as shown here. > https://github.com/karthikpoduval/qemu/blob/scale

QEMU 6.2.0: Segfault while calling address_space_init from emulated device

2022-05-15 Thread Karthik Poduval
needs to have access to the entire DDR memory). -- Regards, Karthik Poduval

Re: Heterogeneous/AMP example in mainline?

2020-09-18 Thread karthik poduval
Thanks Peter, I will go through the Xilinx example. -- Regards, Karthik Poduval On Fri, Sep 18, 2020 at 8:08 AM Peter Maydell wrote: > On Fri, 18 Sep 2020 at 14:15, karthik poduval > wrote: > > Was sifting through the heterogeneous QEMU effort in archives here > > htt

Heterogeneous/AMP example in mainline?

2020-09-18 Thread karthik poduval
Hi All, Was sifting through the heterogeneous QEMU effort in archives here https://lists.gnu.org/archive/html/qemu-devel/2015-10/msg06256.html Did this effort make it to the mainline ? Are there any examples of AMP SoC's in the mainline ? -- Regards, Karthik Poduval

Re: [Qemu-devel] GUI for peripherals

2016-06-01 Thread Karthik
Thank you. I will check that out. Best regards, Karthik On Wed, Jun 1, 2016 at 5:59 PM, Liviu Ionescu wrote: > > > On 01 Jun 2016, at 12:28, KONRAD Frederic > wrote: > > > > ... I think Liviu did something about this: ... > > I confirm that GNU ARM Eclipse QEM

[Qemu-devel] GUI for peripherals

2016-05-29 Thread Karthik
it be possible to write the GUI separately and use QMP to communicate with my custom driver to control peripherals? or is there an better way to do this? Best regards, Karthik

Re: [Qemu-devel] ARM IRQ Generation

2016-05-25 Thread Karthik
Okay. Thank you. Best regards, Karthik On Wed, May 25, 2016 at 6:18 PM, Peter Maydell wrote: > On 25 May 2016 at 13:42, Karthik wrote: > > Okay, understood. I`ll hold the IRQ line until CPU acknowledges the > > interrupt. > > > > By the way, is there a distinc

Re: [Qemu-devel] ARM IRQ Generation

2016-05-25 Thread Karthik
Okay, understood. I`ll hold the IRQ line until CPU acknowledges the interrupt. By the way, is there a distinction between edge and level triggered interrupt in the qemu or it is up to the emulation implementation? Best regards, Karthik On Wed, May 25, 2016 at 6:04 PM, Peter Maydell wrote

Re: [Qemu-devel] ARM invalid co-processor register

2016-05-25 Thread Karthik
Understood. Thank you for the clarifications. Best regards, Karthik On Wed, May 25, 2016 at 6:05 PM, Peter Maydell wrote: > On 25 May 2016 at 13:33, Karthik wrote: > > Does the qemu implements cache emulation? > > I did see some comments saying otherwise. > > No, we don

Re: [Qemu-devel] ARM invalid co-processor register

2016-05-25 Thread Karthik
Does the qemu implements cache emulation? I did see some comments saying otherwise. Best regards, Karthik On Wed, May 25, 2016 at 5:57 PM, Peter Maydell wrote: > On 25 May 2016 at 06:44, Karthik wrote: > > Hi, > > > > CPU: Cortex R5F > > > > I have this

[Qemu-devel] ARM IRQ Generation

2016-05-25 Thread Karthik
lowered before the CPU is interrupted. There is a delay between qemu_set_irq() and the ARM CPU getting interrupted. I don't see any delay between timer and interrupt controller. Any help will be much appreciated. Thank you. Best regards, Karthik

[Qemu-devel] ARM invalid co-processor register

2016-05-24 Thread Karthik
ature(&cpu->env, ARM_FEATURE_DUMMY_C15_REGS); So, which option is recommended? Best regards, Karthik

Re: [Qemu-devel] ARM Cortex R5 + VFP3

2016-05-24 Thread Karthik
Hi, Added enabling VFP co-processor in the bootrom emulation code. Works like a charm. Many thanks. Best regards, Karthik On Tue, May 24, 2016 at 7:52 PM, Karthik wrote: > Yeah, the micro had a secure boot ROM which we don't have access to. > Probably it is enabled there. I'

Re: [Qemu-devel] ARM Cortex R5 + VFP3

2016-05-24 Thread Karthik
. Best regards, Karthik On May 24, 2016 7:31 PM, "Peter Maydell" wrote: > On 24 May 2016 at 14:49, Karthik wrote: > > ahh okay. The code I don't think writes to CPACR_EL1 register, but it > runs > > on the hardware anywary. > > If it does then there's prob

Re: [Qemu-devel] ARM Cortex R5 + VFP3

2016-05-24 Thread Karthik
ahh okay. The code I don't think writes to CPACR_EL1 register, but it runs on the hardware anywary. I`ll double check. Thanks for the tip. Best regards, Karthik On Tue, May 24, 2016 at 7:07 PM, Peter Maydell wrote: > On 24 May 2016 at 14:07, Karthik wrote: > > I am working on

[Qemu-devel] ARM Cortex R5 + VFP3

2016-05-24 Thread Karthik
#x27;m new to qemu. Any help will be much appreciated. Thank you. Best regards, Karthik

[Qemu-devel] Newbie to Q

2007-04-02 Thread Karthik
Dear All             I am trying Q emulator on Mac OS X 10.4.8. It works fine and well. I am also downloaded the source code.             I couldn't connect the network through this emulator. I am running Linux from this. But I couldn't connect to internet while I am inside the emulation. H