mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Marc Kleine-Budde <mkl@pengutronix.de>
To: Bernhard Walle <bernhard@bwalle.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [oselas] [PATCH] Add QEMU as hosttool
Date: Tue, 08 May 2012 18:12:08 +0200	[thread overview]
Message-ID: <4FA945D8.7090700@pengutronix.de> (raw)
In-Reply-To: <50728f89caaf984799c4617771173b5a@bwalle.de>


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

On 05/08/2012 05:50 PM, Bernhard Walle wrote:
> Am 08.05.2012 09:12, schrieb Marc Kleine-Budde:
>> On 05/07/2012 10:06 PM, Bernhard Walle wrote:
>>> Build QEMU as part of the BSP and use our own QEMU in the startup
>>> scripts.
>>>
>>> Tested on Mac OS 10.7 and Arch Linux.
>>
>> sysroot-host/bin is part of the standard path within ptxdist.
> 
> But configs/i586-qemu-2011.11.0/run isn't executed in
> the ptxdist environment, is it?

Where does it get PTXDIST_PLATFORMDIR from?

Marc

> diff --git a/configs/arm-qemu-2011.11.0/run b/configs/arm-qemu-2011.11.0/run
> index a653ee4..d643e17 100755
> --- a/configs/arm-qemu-2011.11.0/run
> +++ b/configs/arm-qemu-2011.11.0/run
> @@ -31,7 +31,7 @@ if [ ! -e "${PTXDIST_PLATFORMDIR}/images/hd.img" ]; then
>  fi
>  
>  # the emulator to run
> -QEMU_EXEC=qemu-system-${PTXCONF_ARCH_STRING}
> +QEMU_EXEC=${PTXDIST_PLATFORMDIR}/sysroot-host/bin/qemu-system-${PTXCONF_ARCH_STRING}
>  
>  # disable this, if you want to have some graphics output
>  QEMU_NOGRAPHIC=--nographic

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 262 bytes --]

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

-- 
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2012-05-08 16:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1336421216-1901-1-git-send-email-bernhard@bwalle.de>
     [not found] ` <4FA8C766.5000001@pengutronix.de>
2012-05-08 15:50   ` Bernhard Walle
2012-05-08 16:12     ` Marc Kleine-Budde [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=4FA945D8.7090700@pengutronix.de \
    --to=mkl@pengutronix.de \
    --cc=bernhard@bwalle.de \
    --cc=ptxdist@pengutronix.de \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox