All of lore.kernel.org
 help / color / mirror / Atom feed
* A KVM kernel for FVP for ARM7
@ 2018-06-06  6:22 Raz
  2018-06-07  7:34 ` Christoffer Dall
  0 siblings, 1 reply; 4+ messages in thread
From: Raz @ 2018-06-06  6:22 UTC (permalink / raw)
  To: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 251 bytes --]

Hello
KVM arm was introduced in 3.9. I wish to debug it through fast models.
My problem is that FVP uses 3.4 kernel, and 3.9  from "git://
git.kernel.org/pub/scm/virt/kvm/kvm.git " does not boot it.

Do you have a ready kernel for FVP ?
Thank you
Raz

[-- Attachment #1.2: Type: text/html, Size: 440 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A KVM kernel for FVP for ARM7
  2018-06-06  6:22 A KVM kernel for FVP for ARM7 Raz
@ 2018-06-07  7:34 ` Christoffer Dall
  2018-06-07 20:44   ` Raz
  0 siblings, 1 reply; 4+ messages in thread
From: Christoffer Dall @ 2018-06-07  7:34 UTC (permalink / raw)
  To: Raz; +Cc: kvmarm

On Wed, Jun 06, 2018 at 09:22:52AM +0300, Raz wrote:
> Hello
> KVM arm was introduced in 3.9. I wish to debug it through fast models.
> My problem is that FVP uses 3.4 kernel, and 3.9  from "git://
> git.kernel.org/pub/scm/virt/kvm/kvm.git " does not boot it.
> 
> Do you have a ready kernel for FVP ?

Mainline kernels should boot just fine on Arm fast models.  I strongly
recommend you use a much newer kernel version for anything KVM-related.

-Christoffer

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A KVM kernel for FVP for ARM7
  2018-06-07  7:34 ` Christoffer Dall
@ 2018-06-07 20:44   ` Raz
  2018-06-08 13:26     ` Christoffer Dall
  0 siblings, 1 reply; 4+ messages in thread
From: Raz @ 2018-06-07 20:44 UTC (permalink / raw)
  To: Christoffer Dall; +Cc: kvmarm


[-- Attachment #1.1: Type: text/plain, Size: 1043 bytes --]

The bellow is the command line I use. I am using now 4.14.48 compiled as
arm7/ARCH-VEXPRESS . there is no clock tick. The boot hangs in:
....
    while (get_jiffies_64() < waitjiffies)
            udelay(10);

/opt/DS-5_v5.28.1/sw/models/bin/FVP_VE_Cortex-A9x1  -a
/opt/arm7/FVP/FVP_VE_V7/FVP_VE_V7.axf --data
/opt/tlinux-4.14.48/arch/arm/boot/Image@0x80008000 -f
/opt/truly/arm7/fvpbase.conf  --data
/opt/t/linux-4.14.48/arch/arm/boot/dts/vexpress-v2p-ca9.dtb

Any idea ?


On Thu, Jun 7, 2018 at 10:34 AM, Christoffer Dall <christoffer.dall@arm.com>
wrote:

> On Wed, Jun 06, 2018 at 09:22:52AM +0300, Raz wrote:
> > Hello
> > KVM arm was introduced in 3.9. I wish to debug it through fast models.
> > My problem is that FVP uses 3.4 kernel, and 3.9  from "git://
> > git.kernel.org/pub/scm/virt/kvm/kvm.git " does not boot it.
> >
> > Do you have a ready kernel for FVP ?
>
> Mainline kernels should boot just fine on Arm fast models.  I strongly
> recommend you use a much newer kernel version for anything KVM-related.
>
> -Christoffer
>

[-- Attachment #1.2: Type: text/html, Size: 1732 bytes --]

[-- Attachment #2: Type: text/plain, Size: 151 bytes --]

_______________________________________________
kvmarm mailing list
kvmarm@lists.cs.columbia.edu
https://lists.cs.columbia.edu/mailman/listinfo/kvmarm

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: A KVM kernel for FVP for ARM7
  2018-06-07 20:44   ` Raz
@ 2018-06-08 13:26     ` Christoffer Dall
  0 siblings, 0 replies; 4+ messages in thread
From: Christoffer Dall @ 2018-06-08 13:26 UTC (permalink / raw)
  To: Raz; +Cc: kvmarm

[please don't top-post]

On Thu, Jun 07, 2018 at 11:44:14PM +0300, Raz wrote:
> The bellow is the command line I use. I am using now 4.14.48 compiled as
> arm7/ARCH-VEXPRESS . there is no clock tick. The boot hangs in:
> ....
>     while (get_jiffies_64() < waitjiffies)
>             udelay(10);
> 
> /opt/DS-5_v5.28.1/sw/models/bin/FVP_VE_Cortex-A9x1  -a
> /opt/arm7/FVP/FVP_VE_V7/FVP_VE_V7.axf --data
> /opt/tlinux-4.14.48/arch/arm/boot/Image@0x80008000 -f
> /opt/truly/arm7/fvpbase.conf  --data
> /opt/t/linux-4.14.48/arch/arm/boot/dts/vexpress-v2p-ca9.dtb
> 
> Any idea ?

You're probably not getting timer interrupts, which could be because of
a number of things.  Your bootloader in the .axf image could be the
wrong wrong or configured incorrectly, the DT could be the wong one for
the model, or your configuration parameters could otherwise be
incorrect.

This is a basic "bring up Linux on the fast model" question, and doesn't
really belong on the KVM/ARM list.

Also note, that if you do want to play with KVM on an Arm system, then
Cortex-A9 does not have the virtualization extensions.

Hope this helps,
-Christoffer

> 
> 
> On Thu, Jun 7, 2018 at 10:34 AM, Christoffer Dall <christoffer.dall@arm.com>
> wrote:
> 
> > On Wed, Jun 06, 2018 at 09:22:52AM +0300, Raz wrote:
> > > Hello
> > > KVM arm was introduced in 3.9. I wish to debug it through fast models.
> > > My problem is that FVP uses 3.4 kernel, and 3.9  from "git://
> > > git.kernel.org/pub/scm/virt/kvm/kvm.git " does not boot it.
> > >
> > > Do you have a ready kernel for FVP ?
> >
> > Mainline kernels should boot just fine on Arm fast models.  I strongly
> > recommend you use a much newer kernel version for anything KVM-related.
> >
> > -Christoffer
> >

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-06-08 13:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-06  6:22 A KVM kernel for FVP for ARM7 Raz
2018-06-07  7:34 ` Christoffer Dall
2018-06-07 20:44   ` Raz
2018-06-08 13:26     ` Christoffer Dall

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.