All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoffer Dall <christoffer.dall@arm.com>
To: Raz <raziebe@gmail.com>
Cc: kvmarm@lists.cs.columbia.edu
Subject: Re: A KVM kernel for FVP for ARM7
Date: Fri, 8 Jun 2018 15:26:37 +0200	[thread overview]
Message-ID: <20180608132637.GB5097@C02W217FHV2R.local> (raw)
In-Reply-To: <CAPB=Z-pF=BuHV73ybKaURavRd=-J2dHL3JWEzcH+=pih+-V0Ng@mail.gmail.com>

[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
> >

      reply	other threads:[~2018-06-08 13:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180608132637.GB5097@C02W217FHV2R.local \
    --to=christoffer.dall@arm.com \
    --cc=kvmarm@lists.cs.columbia.edu \
    --cc=raziebe@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.