Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Mark Langsdorf
On 01/18/2012 01:26 PM, Peter Maydell wrote: > On 18 January 2012 19:06, Mark Langsdorf wrote: >> On 01/18/2012 08:53 AM, Peter Maydell wrote: >>> On 18 January 2012 14:35, Mark Langsdorf wrote: I can set the smp_loader code so that I can boot 2 cpus and verify their existence in /proc/

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Peter Maydell
On 18 January 2012 19:26, Peter Maydell wrote: > On 18 January 2012 19:06, Mark Langsdorf wrote: >> How would multiple polling supposed to work? > > You need several separate bits of code, to put each secondary > core in a different loop polling a different address. Er, or more sensibly, just on

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Peter Maydell
On 18 January 2012 19:06, Mark Langsdorf wrote: > On 01/18/2012 08:53 AM, Peter Maydell wrote: >> On 18 January 2012 14:35, Mark Langsdorf wrote: >>> I can set the smp_loader code so that I can boot 2 cpus >>> and verify their existence in /proc/cpuinfo, but I can't >>> get 3 cpus to boot at all,

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Mark Langsdorf
On 01/18/2012 08:53 AM, Peter Maydell wrote: > On 18 January 2012 14:35, Mark Langsdorf wrote: >> I can set the smp_loader code so that I can boot 2 cpus >> and verify their existence in /proc/cpuinfo, but I can't >> get 3 cpus to boot at all, no matter how I hack the existing >> arm_boot code. >

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Peter Maydell
On 18 January 2012 15:04, Mark Langsdorf wrote: > On 01/18/2012 08:53 AM, Peter Maydell wrote: >> Can you try something along those lines? > > I think so. I was worried about accessing some of the > arm_boot static variables but it doesn't look like > I'll need to do that. > > I'll do a quick refa

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Mark Langsdorf
On 01/18/2012 08:53 AM, Peter Maydell wrote: > On 18 January 2012 14:35, Mark Langsdorf wrote: >> Is there a good example of how to write secondary smp boot >> code other than arm_boot.c? Should I just expect to pull >> most of arm_boot.c into highbank and adjust from there? I >> don't want to du

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Peter Maydell
On 18 January 2012 14:35, Mark Langsdorf wrote: > I can set the smp_loader code so that I can boot 2 cpus > and verify their existence in /proc/cpuinfo, but I can't > get 3 cpus to boot at all, no matter how I hack the existing > arm_boot code. Right, multiple secondary cores requires multiple ad

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-18 Thread Mark Langsdorf
On 01/17/2012 09:13 AM, Peter Maydell wrote: > On 17 January 2012 13:50, Mark Langsdorf wrote: >> +highbank_binfo.ram_size = ram_size; >> +highbank_binfo.kernel_filename = kernel_filename; >> +highbank_binfo.kernel_cmdline = kernel_cmdline; >> +highbank_binfo.initrd_filename = init

Re: [Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-17 Thread Peter Maydell
On 17 January 2012 13:50, Mark Langsdorf wrote: > +    highbank_binfo.ram_size = ram_size; > +    highbank_binfo.kernel_filename = kernel_filename; > +    highbank_binfo.kernel_cmdline = kernel_cmdline; > +    highbank_binfo.initrd_filename = initrd_filename; > +    highbank_binfo.board_id = -1; /

[Qemu-devel] [PATCH v10 4/5] arm: SoC model for Calxeda Highbank

2012-01-17 Thread Mark Langsdorf
From: Rob Herring Adds support for Calxeda's Highbank SoC. Signed-off-by: Rob Herring Signed-off-by: Mark Langsdorf Reviewed-by: Peter Maydell --- Changes from v9 Made typedef struct names in CamelCase Changes from v7, v8 None Changes from v3, v4, v5, v6 Skipped Change