Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-17 Thread Francesco Lavra
On 09/17/2012 03:21 PM, Peter Maydell wrote: > On 5 September 2012 20:07, Francesco Lavra > wrote: >> Documentation at >> http://infocenter.arm.com/help/topic/com.arm.doc.ddi0503c/CHDEFDJF.html >> says that the entire first 512 MB can be mapped to either SMC (which is >> the default) or AXI, so i

Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-17 Thread Peter Maydell
On 5 September 2012 20:07, Francesco Lavra wrote: > Documentation at > http://infocenter.arm.com/help/topic/com.arm.doc.ddi0503c/CHDEFDJF.html > says that the entire first 512 MB can be mapped to either SMC (which is > the default) or AXI, so if AXI is selected neither of the 2 flash banks > is vi

Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-15 Thread Francesco Lavra
On 09/05/2012 09:07 PM, Francesco Lavra wrote: > Hi, > > On 09/05/2012 10:47 AM, Peter Maydell wrote: >> On 5 September 2012 06:16, Stefan Weil wrote: >>> Am 04.09.2012 19:08, schrieb Francesco Lavra: /* VE_NORFLASH0ALIAS: not modelled */ >>> >>> >>> What about that alias? It's not dif

Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-05 Thread Francesco Lavra
Hi, On 09/05/2012 10:47 AM, Peter Maydell wrote: > On 5 September 2012 06:16, Stefan Weil wrote: >> Am 04.09.2012 19:08, schrieb Francesco Lavra: >>> /* VE_NORFLASH0ALIAS: not modelled */ >> >> >> What about that alias? It's not difficult to add it, too. >> Just look for memory_region_init_

Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-05 Thread Peter Maydell
On 5 September 2012 06:16, Stefan Weil wrote: > Am 04.09.2012 19:08, schrieb Francesco Lavra: >> /* VE_NORFLASH0ALIAS: not modelled */ > > > What about that alias? It's not difficult to add it, too. > Just look for memory_region_init_alias in the code to > see how it is done (hw/mips_malta.c

Re: [Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-04 Thread Stefan Weil
Am 04.09.2012 19:08, schrieb Francesco Lavra: This patch adds modelling of the two NOR flash banks found in the Versatile Express motherboard. Tested with U-Boot running on an emulated Versatile Express A9. The alias of the first NOR flash in the Cortex-A Series memory map is not modelled. Signe

[Qemu-devel] [PATCH] Versatile Express: add modelling of NOR flash

2012-09-04 Thread Francesco Lavra
This patch adds modelling of the two NOR flash banks found in the Versatile Express motherboard. Tested with U-Boot running on an emulated Versatile Express A9. The alias of the first NOR flash in the Cortex-A Series memory map is not modelled. Signed-off-by: Francesco Lavra --- hw/vexpress.c |