Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2018-01-23 Thread bzt bzt
On Tue, Jan 23, 2018 at 12:22 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 23 January 2018 at 11:13, bzt bzt <bztem...@gmail.com> wrote: > > There's a huge misunderstanding here. I have a working qemu for about > half a > > year now, and I don't ne

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2018-01-23 Thread bzt bzt
Hi, On Mon, Jan 22, 2018 at 1:12 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 18 January 2018 at 21:39, bzt bzt <bztem...@gmail.com> wrote: > > Dear All, > > > > Since you still haven't merged Alistair's patch, I decided to include it > in >

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2018-01-23 Thread bzt bzt
On Mon, Jan 22, 2018 at 12:41 PM, BALATON Zoltan <bala...@eik.bme.hu> wrote: > Hello, > > On Thu, 18 Jan 2018, bzt bzt wrote: > >> Since you still haven't merged Alistair's patch, I decided to include it >> in >> my own. >> > > Which patch exactly

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2018-01-18 Thread bzt bzt
; +mc->block_default_type = IF_SD; +mc->no_parallel = 1; +mc->no_floppy = 1; +mc->no_cdrom = 1; +mc->max_cpus = BCM2836_NCPUS; +mc->min_cpus = BCM2836_NCPUS; +mc->default_cpus = BCM2836_NCPUS; +mc->default_cpu_type = ARM_CPU_TYPE_NAME(&

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-11-28 Thread bzt bzt
On Tue, Nov 28, 2017 at 6:54 PM, Andrew Baumann < andrew.baum...@microsoft.com> wrote: > > From: bzt bzt [mailto:bztem...@gmail.com] > > Sent: Tuesday, 28 November 2017 03:27 > > > Yes, I agree. I've provided a parameterised version on Oct 24, which > does n

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-11-28 Thread bzt bzt
On Tue, Nov 28, 2017 at 12:56 PM, Peter Maydell <peter.mayd...@linaro.org> wrote: > On 28 November 2017 at 11:26, bzt bzt <bztem...@gmail.com> wrote: > > (Although I have a question. I'm not sure what's the preferred > > way to get MachineClass* object in bcm283

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-11-28 Thread bzt bzt
Hi Andrew! [...] > > In that case, IIRC my high-level suggestion was to either parameterise > bcm2836 to take a CPU model string, or else move the CPU creation out of > bcm2836.c into the board file. From what I've understood thus far about > pi3, it does not seem necessary to have a separate

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-11-25 Thread bzt bzt
Dear Andrew, A month passed, and the maintainers didn't gave a damn about raspi3 support in qemu. Any ideas? On Wed, Oct 25, 2017 at 10:52 AM, bzt bzt <bztem...@gmail.com> wrote: > Hi Andrew! > > On Tue, Oct 24, 2017 at 6:44 PM, Andrew Baumann < > andrew.baum...

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-10-25 Thread bzt bzt
Hi Andrew! On Tue, Oct 24, 2017 at 6:44 PM, Andrew Baumann < andrew.baum...@microsoft.com> wrote: [...] > I see. The address space size sounds like it would affect the SoC > (although is there really 40 bits of usable physical address space beyond > the core?). If it's like pi2, however, the

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-10-24 Thread bzt bzt
On Tue, Oct 24, 2017 at 1:05 PM, BALATON Zoltan wrote: [...] > Summa summarum, which one is preferred? Think of the future or keep it at a >> bare minimum? >> > > I don't feel I have a deciding word in this but to share my opinion I > think it's better to keep it in one file

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-10-24 Thread bzt bzt
Hi Andrew! On Mon, Oct 23, 2017 at 6:34 PM, Andrew Baumann < andrew.baum...@microsoft.com> wrote: > > From: Qemu-devel On Behalf Of bzt bzt > > Sent: Sunday, 22 October 2017 06:21 > > > > I've added support for "-M raspi3" to qemu. This is my first patch,

Re: [Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-10-23 Thread bzt bzt
gt; eg: > bcm2835: checking that the parameters are valid > adding bcm2837 > adding raspi3 > etc.. > > And you should run your patch through ./script/checkpatch. > > See: https://wiki.qemu.org/Contribute/SubmitAPatch > > Thanks, > Fred > > > On 10/22/2017 03:20 PM,

[Qemu-devel] [PATCH] BCM2837 and machine raspi3

2017-10-22 Thread bzt bzt
Dear All, I've added support for "-M raspi3" to qemu. This is my first patch, I hope it's okay. The github repo is here: https://github.com/bztsrc/qemu-raspi3 in case my patch does not work for some reason. >From 1f10f957b57f336728097803bf8339a5577dd3c2 Mon Sep 17 00:00:00 2001 From: bzt