Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-11 Thread Peter Crosthwaite
On Sun, Oct 4, 2015 at 12:56 PM, Beniamino Galvani wrote: > On Sat, Oct 03, 2015 at 02:31:08PM -0700, Peter Crosthwaite wrote: >> QEMU cubieboard has no usable storage media, but the real hardware >> does have AHCI sata. I added sysbus-ahci at the right place but turns >> out the SATA controller h

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-11 Thread Peter Crosthwaite
On Sun, Oct 4, 2015 at 9:09 PM, Guenter Roeck wrote: > On 10/04/2015 07:21 PM, Peter Crosthwaite wrote: >> >> On Sun, Oct 4, 2015 at 6:08 PM, Guenter Roeck wrote: >>> >>> On 10/04/2015 02:38 PM, Beniamino Galvani wrote: On Sun, Oct 04, 2015 at 02:11:35PM -0700, Guenter Roeck wrote:

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-05 Thread John Snow
On 10/05/2015 04:44 PM, Beniamino Galvani wrote: > On Mon, Oct 05, 2015 at 11:13:33AM -0400, John Snow wrote: >> I'm looking into the cubieboard now. Is our emulation based on any >> particular model? (1-4?) > > The first model, the one with Allwinner A10. > >> I'm trying to see if I can find a

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-05 Thread Beniamino Galvani
On Mon, Oct 05, 2015 at 11:13:33AM -0400, John Snow wrote: > I'm looking into the cubieboard now. Is our emulation based on any > particular model? (1-4?) The first model, the one with Allwinner A10. > I'm trying to see if I can find anything that resembles a spec to see > what kind of registers

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-05 Thread John Snow
On 10/03/2015 05:31 PM, Peter Crosthwaite wrote: > Hi, > > I have done an audit of the ARMv7 boards to see what can boot a > vanilla linux kernel. The basic approach is to build ARM > multi_v7_defconfig kernel and boot QEMU using the DTBs built out by > the kernel. The intersection of what mainl

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Guenter Roeck
On 10/04/2015 07:21 PM, Peter Crosthwaite wrote: On Sun, Oct 4, 2015 at 6:08 PM, Guenter Roeck wrote: On 10/04/2015 02:38 PM, Beniamino Galvani wrote: On Sun, Oct 04, 2015 at 02:11:35PM -0700, Guenter Roeck wrote: What is your qemu command line ? qemu-system-arm \ -M cubieb

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Peter Crosthwaite
On Sun, Oct 4, 2015 at 6:08 PM, Guenter Roeck wrote: > On 10/04/2015 02:38 PM, Beniamino Galvani wrote: >> >> On Sun, Oct 04, 2015 at 02:11:35PM -0700, Guenter Roeck wrote: >>> >>> What is your qemu command line ? >> >> >> qemu-system-arm \ >> -M cubieboard \ >> -kernel .

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Guenter Roeck
On 10/04/2015 02:38 PM, Beniamino Galvani wrote: On Sun, Oct 04, 2015 at 02:11:35PM -0700, Guenter Roeck wrote: What is your qemu command line ? qemu-system-arm \ -M cubieboard \ -kernel ../linux/zImage-dtb \ -serial stdio \ -append "console=

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Peter Maydell
On 4 October 2015 at 22:39, Peter Crosthwaite wrote: > On Sun, Oct 4, 2015 at 12:56 PM, Beniamino Galvani > wrote: >> Ignoring attempt to switch CPSR_A flag from non-secure world with SCR.AW bit >> clear >> Ignoring attempt to switch CPSR_F flag from non-secure world with SCR.FW bit >> clear >

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Beniamino Galvani
On Sun, Oct 04, 2015 at 02:11:35PM -0700, Guenter Roeck wrote: > What is your qemu command line ? qemu-system-arm \ -M cubieboard \ -kernel ../linux/zImage-dtb \ -serial stdio \ -append "console=ttyS0 rw root=/dev/nfs nfsroot=10.0.0.1:/nfs,v3 ip=10.

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Peter Crosthwaite
On Sun, Oct 4, 2015 at 12:56 PM, Beniamino Galvani wrote: > On Sat, Oct 03, 2015 at 02:31:08PM -0700, Peter Crosthwaite wrote: >> QEMU cubieboard has no usable storage media, but the real hardware >> does have AHCI sata. I added sysbus-ahci at the right place but turns >> out the SATA controller h

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Guenter Roeck
On 10/04/2015 12:56 PM, Beniamino Galvani wrote: On Sat, Oct 03, 2015 at 02:31:08PM -0700, Peter Crosthwaite wrote: QEMU cubieboard has no usable storage media, but the real hardware does have AHCI sata. I added sysbus-ahci at the right place but turns out the SATA controller has some custom pow

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Beniamino Galvani
On Sat, Oct 03, 2015 at 02:31:08PM -0700, Peter Crosthwaite wrote: > QEMU cubieboard has no usable storage media, but the real hardware > does have AHCI sata. I added sysbus-ahci at the right place but turns > out the SATA controller has some custom power/clock (not really > sure??) registers speci

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-04 Thread Peter Maydell
On 3 October 2015 at 23:14, Peter Crosthwaite wrote: > On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell > wrote: >> Did you build your kernel with LPAE or not? I think an LPAE >> config ought to avoid the PCI highmem bug (and it's definitely >> what you want for anything that's Cortex-A15 based). >

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Peter Crosthwaite
On Sat, Oct 3, 2015 at 5:21 PM, Guenter Roeck wrote: > On 10/03/2015 02:31 PM, Peter Crosthwaite wrote: >> >> Hi, >> >> I have done an audit of the ARMv7 boards to see what can boot a >> vanilla linux kernel. The basic approach is to build ARM >> multi_v7_defconfig kernel and boot QEMU using the D

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Guenter Roeck
On 10/03/2015 02:31 PM, Peter Crosthwaite wrote: Hi, I have done an audit of the ARMv7 boards to see what can boot a vanilla linux kernel. The basic approach is to build ARM multi_v7_defconfig kernel and boot QEMU using the DTBs built out by the kernel. The intersection of what mainline Linux ha

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Peter Crosthwaite
On Sat, Oct 3, 2015 at 3:14 PM, Peter Crosthwaite wrote: > On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell > wrote: >> On 3 October 2015 at 22:31, Peter Crosthwaite >> wrote: >>> Hi, >>> vexpress: >>> >>> vexpress boots up to rootfs probing, however the only storage media >>> that seems to be su

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Peter Crosthwaite
On Sat, Oct 3, 2015 at 2:51 PM, Peter Maydell wrote: > On 3 October 2015 at 22:31, Peter Crosthwaite > wrote: >> Hi, >> >> I have done an audit of the ARMv7 boards to see what can boot a >> vanilla linux kernel. The basic approach is to build ARM >> multi_v7_defconfig kernel and boot QEMU using t

Re: [Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Peter Maydell
On 3 October 2015 at 22:31, Peter Crosthwaite wrote: > Hi, > > I have done an audit of the ARMv7 boards to see what can boot a > vanilla linux kernel. The basic approach is to build ARM > multi_v7_defconfig kernel and boot QEMU using the DTBs built out by > the kernel. The intersection of what mai

[Qemu-devel] QEMU+Linux ARMv7A current state

2015-10-03 Thread Peter Crosthwaite
Hi, I have done an audit of the ARMv7 boards to see what can boot a vanilla linux kernel. The basic approach is to build ARM multi_v7_defconfig kernel and boot QEMU using the DTBs built out by the kernel. The intersection of what mainline Linux has a DTB for and what QEMU models is tested. The boa