All of lore.kernel.org
 help / color / mirror / Atom feed
From: Catalin Marinas <catalin.marinas@arm.com>
To: Ramkumar Ramachandra <artagnon@gmail.com>
Cc: LKML <linux-kernel@vger.kernel.org>
Subject: Re: [QUERY] Building and testing Aarch64
Date: Fri, 27 Sep 2013 16:01:57 +0100	[thread overview]
Message-ID: <20130927150156.GE26069@arm.com> (raw)
In-Reply-To: <CALkWK0=YdxF43RQ-Fddp4Rzmx3aU3QdOPrjR=X+s6Wt9_RAYUg@mail.gmail.com>

On Fri, Sep 27, 2013 at 03:43:21PM +0100, Ramkumar Ramachandra wrote:
> Catalin Marinas wrote:
> > ARM provides an emulator, ARMv8 Foundation Model (free as in free beer
> > but you need to register to be able to download, just like the
> > architecture documentation):
> >
> > http://www.arm.com/products/tools/models/fast-models/foundation-model.php
> 
> I downloaded the foundation model and ran:
> 
>   $ ./Foundation_v8 --image linux-system-foundation.axf --block-device
> debian-arm-rootfs
> 
> as described in the Debian page [1]. However, I didn't understand how
> to boot it up with the kernel I just built with my toolchain
> (arch/arm64/boot/Image.gz). What is this linux-system-foundation.axf?

The .axf file is something traditionally called ARM eXecutable Format,
which these days it's just an ELF format that the model can load
directly. The above code contains the pre-Linux boot initialisation, the
kernel Image (uncompressed, doesn't have a decompressor) and possibly a
filesystem, unless you use the --block-device model option. To get the
boot wrapper, just clone this:

git://git.kernel.org/pub/scm/linux/kernel/git/cmarinas/boot-wrapper-aarch64.git

The README and Makefile should be enough to get you started.

> Also, what is libarmctmodel.so?

I think that's the library that contains the actual software model.

-- 
Catalin

  reply	other threads:[~2013-09-27 15:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-27  8:58 [QUERY] Building and testing Aarch64 Ramkumar Ramachandra
2013-09-27 14:33 ` Catalin Marinas
2013-09-27 14:43   ` Ramkumar Ramachandra
2013-09-27 15:01     ` Catalin Marinas [this message]
2013-09-28  7:57       ` Ramkumar Ramachandra
2013-09-28  8:21         ` Andreas Schwab
2013-09-28  8:36           ` Ramkumar Ramachandra
2013-09-28  9:10             ` Andreas Schwab
2013-09-28  9:39               ` Ramkumar Ramachandra
2013-09-28 10:39                 ` Andreas Schwab
2013-09-28 10:50                   ` Ramkumar Ramachandra

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=20130927150156.GE26069@arm.com \
    --to=catalin.marinas@arm.com \
    --cc=artagnon@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.