Re: [Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-12-05 Thread mar.krzeminski
W dniu 05.12.2016 o 15:53, Cédric Le Goater pisze: On 12/05/2016 10:57 AM, Marcin Krzemiński wrote: 2016-12-05 10:36 GMT+01:00 Cédric Le Goater >: Hello Marcin, On 12/04/2016 06:00 PM, mar.krzeminski wrote: > Hi Cedric, > > it

Re: [Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-12-05 Thread Cédric Le Goater
On 12/05/2016 10:57 AM, Marcin Krzemiński wrote: > > 2016-12-05 10:36 GMT+01:00 Cédric Le Goater >: > > Hello Marcin, > > On 12/04/2016 06:00 PM, mar.krzeminski wrote: > > Hi Cedric, > > > > it looks like good idea for now to handle

Re: [Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-12-05 Thread Marcin Krzemiński
2016-12-05 10:36 GMT+01:00 Cédric Le Goater : > Hello Marcin, > > On 12/04/2016 06:00 PM, mar.krzeminski wrote: > > Hi Cedric, > > > > it looks like good idea for now to handle boot from flash. > > As I understand you are trying to omit bootrom code in Qemu model? > > I suppose you

Re: [Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-12-05 Thread Cédric Le Goater
Hello Marcin, On 12/04/2016 06:00 PM, mar.krzeminski wrote: > Hi Cedric, > > it looks like good idea for now to handle boot from flash. > As I understand you are trying to omit bootrom code in Qemu model? I suppose you mean handling a romd memory region under the m25p80 object ? > This could

Re: [Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-12-04 Thread mar.krzeminski
Hi Cedric, it looks like good idea for now to handle boot from flash. As I understand you are trying to omit bootrom code in Qemu model? This could lead you to some hacks in device models (eg SMC). W dniu 29.11.2016 o 16:44, Cédric Le Goater pisze: Fill a ROM region with the flash content to

[Qemu-devel] [PATCH for-2.9 24/30] aspeed: use first SPI flash as a boot ROM

2016-11-29 Thread Cédric Le Goater
Fill a ROM region with the flash content to support U-Boot. This is a little hacky but until we can boot from a MMIO region, it seems difficult to do anything else. Signed-off-by: Cédric Le Goater Reviewed-by: Joel Stanley Reviewed-by: Andrew Jeffery