Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Peter Maydell
On 27 December 2013 00:54, Peter Crosthwaite wrote: > Your bootstrap process is just "blob this file at this address" which to me > is legitimate generic functionality. If you implement arbitrary file > blobbing on Cmd line there are many applications across all archs and plats. > and you fex case

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Peter Crosthwaite
On Dec 27, 2013 10:24 AM, "Li Guang" wrote: > > Peter Maydell wrote: >> >> On 26 December 2013 19:40, Hans de Goede wrote: >> >>> >>> I'm one of the linux-sunxi developers, the only reason we've >>> this fex file abomination, is because we've inherited it >>> from the android-allwinner sources. >

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Peter Maydell
On 27 December 2013 00:21, Li Guang wrote: > Peter Maydell wrote: >> On 26 December 2013 19:40, Hans de Goede wrote: >>> I'm one of the linux-sunxi developers, the only reason we've >>> this fex file abomination, is because we've inherited it >>> from the android-allwinner sources. >> Thanks for

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Li Guang
Peter Maydell wrote: On 26 December 2013 19:40, Hans de Goede wrote: I'm one of the linux-sunxi developers, the only reason we've this fex file abomination, is because we've inherited it from the android-allwinner sources. Thanks for the clarification; I suspected that might be the c

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Peter Maydell
On 26 December 2013 19:40, Hans de Goede wrote: > I'm one of the linux-sunxi developers, the only reason we've > this fex file abomination, is because we've inherited it > from the android-allwinner sources. Thanks for the clarification; I suspected that might be the case. > Currently most of th

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-26 Thread Hans de Goede
Hi, On 12/26/2013 01:58 AM, Li Guang wrote: Peter Maydell wrote: On 26 December 2013 00:39, Li Guang wrote: Peter Maydell wrote: On 26 December 2013 00:14, Li Guang wrote: it's the approach sunxi-linux kernel config hardware, the binary is actually a transformed text script, and context o

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Li Guang
Peter Maydell wrote: On 26 December 2013 01:09, Peter Crosthwaite wrote: Can you just provide a generic solution to the "blob some random data into RAM" problem (If one doesn't exist already)? Well, we do already have that (see -machine firmware=whatever), but... Yes, right.

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Peter Maydell
On 26 December 2013 01:09, Peter Crosthwaite wrote: > Can you just provide a generic solution to the "blob some random data > into RAM" problem (If one doesn't exist already)? Well, we do already have that (see -machine firmware=whatever), but... > I think your binary file here can then just be

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Li Guang
Peter Crosthwaite wrote: On Thu, Dec 26, 2013 at 10:47 AM, Peter Maydell wrote: On 26 December 2013 00:39, Li Guang wrote: Peter Maydell wrote: On 26 December 2013 00:14, Li Guang wrote: it's the approach sunxi-linux kernel config hardware, the binary is actua

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Peter Crosthwaite
On Thu, Dec 26, 2013 at 10:47 AM, Peter Maydell wrote: > On 26 December 2013 00:39, Li Guang wrote: >> Peter Maydell wrote: >>> >>> On 26 December 2013 00:14, Li Guang wrote: it's the approach sunxi-linux kernel config hardware, the binary is actually a transformed text script, an

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Li Guang
Peter Maydell wrote: On 26 December 2013 00:39, Li Guang wrote: Peter Maydell wrote: On 26 December 2013 00:14, Li Guang wrote: it's the approach sunxi-linux kernel config hardware, the binary is actually a transformed text script, and context of script is like: [card0_bo

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Peter Maydell
On 26 December 2013 00:39, Li Guang wrote: > Peter Maydell wrote: >> >> On 26 December 2013 00:14, Li Guang wrote: >>> it's the approach sunxi-linux kernel config hardware, >>> the binary is actually a transformed text script, >>> and context of script is like: >>> >>> [card0_boot_para] >>> card_

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Li Guang
Peter Maydell wrote: On 26 December 2013 00:14, Li Guang wrote: Peter Maydell wrote: On 25 December 2013 08:35, liguang wrote: sunxi-linux kernel parse config script to do hardware configurations Signed-off-by: liguang --- hw/arm/allwinner-a10.c | 18 +++

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Peter Maydell
On 26 December 2013 00:14, Li Guang wrote: > Peter Maydell wrote: >> >> On 25 December 2013 08:35, liguang wrote: >> >>> >>> sunxi-linux kernel parse config script >>> to do hardware configurations >>> >>> Signed-off-by: liguang >>> --- >>> hw/arm/allwinner-a10.c | 18

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Li Guang
Peter Maydell wrote: On 25 December 2013 08:35, liguang wrote: sunxi-linux kernel parse config script to do hardware configurations Signed-off-by: liguang --- hw/arm/allwinner-a10.c | 18 ++ hw/arm/cubieboard.c|2 ++ include/hw/arm/allwinner-a1

Re: [Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread Peter Maydell
On 25 December 2013 08:35, liguang wrote: > sunxi-linux kernel parse config script > to do hardware configurations > > Signed-off-by: liguang > --- > hw/arm/allwinner-a10.c | 18 ++ > hw/arm/cubieboard.c|2 ++ > include/hw/arm/allwinner-a10.h |5

[Qemu-devel] [PATCH] allwinner-a10: add config script support

2013-12-25 Thread liguang
sunxi-linux kernel parse config script to do hardware configurations Signed-off-by: liguang --- hw/arm/allwinner-a10.c | 18 ++ hw/arm/cubieboard.c|2 ++ include/hw/arm/allwinner-a10.h |5 + pc-bios/aw-script.bin | Bin 0 -> 50188 bytes