qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [Qemu-devel] [PATCH 0/2] ARM: fix commandline handling forsemihosted


From: Schildbach, Wolfgang
Subject: RE: [Qemu-devel] [PATCH 0/2] ARM: fix commandline handling forsemihosted executables
Date: Fri, 7 Jan 2011 15:46:28 -0000

Hi Riku, 

I usually compile a hello world (echoing its arguments) with rvds2.2 or
above:

#include <stdio.h>

int main(int ac, char *av[])
{
  int i;
  printf("Hello world\n");
  for (i=0; i<ac; i++)
    printf("'%s'\n", av[i]);
  return 0;
}

> armcc -o hello -L--sysv hello.c

I configure qemu like this:

> ./configure '--prefix=/data/project/qemu/latest'
'--target-list=arm-linux-user'
> gmake install

...and execute it, checking whether the execution echoes back the
arguments:

> /data/project/qemu/latest/bin/qemu-arm hello a
"hello"
"a"

If you don't have an ARM compiler available, I could send you the
compiled binary to test. Peter, is there another way to generate
binaries using semihosting?

Best regards,
- Wolfgang
 

-----Original Message-----
From: riku voipio [mailto:address@hidden 
Sent: Friday, January 07, 2011 4:34 PM
To: Peter Maydell
Cc: Schildbach, Wolfgang; address@hidden; Nathan Froyd
Subject: Re: [Qemu-devel] [PATCH 0/2] ARM: fix commandline handling
forsemihosted executables

Hi,

Honestly, I have never tried ARM semihosting. Do you have some
recommended test instructions?

Riku

On 12/23/2010 04:09 PM, Peter Maydell wrote:
> Riku, did you want to pick this one up as a linux-user patch? 
> Otherwise it's on my list of "patches which got no comments and will 
> go into the next arm pull request" -- although that won't be until 
> early next year and I expect 0.14 will have branched by then.
>
> -- PMM
>
> On 23 December 2010 12:58, Schildbach, Wolfgang<address@hidden>
wrote:
>> Ping -- I have not seen any corresponding commit in the qemu master 
>> repository. Anthony, could you please consider this for inclusion 
>> into 0.14?
>>
>> Thanks,
>> - Wolfgang
>>
>>
>> -----Original Message-----
>> From: address@hidden
>> [mailto:address@hidden On Behalf Of 
>> Peter Maydell
>> Sent: Monday, December 06, 2010 4:06 PM
>> To: address@hidden
>> Cc: Riku Voipio; Schildbach, Wolfgang; Nathan Froyd
>> Subject: [Qemu-devel] [PATCH 0/2] ARM: fix commandline handling 
>> forsemihosted executables
>>
>> This patchset fixes the commandline handling for ARM semihosted 
>> executables run under linux-user mode, and cleans up the resulting 
>> unused variable in the linux-user image_info struct. The code is all 
>> by Wolfgang but he is having difficulty sending properly formatted 
>> patches to the list so I am retransmitting them (with my Reviewed-by:
signoff).
>>
>> Wolfgang Schildbach (2):
>>   Fix commandline handling for ARM semihosted executables
>>   Remove dead code for ARM semihosting commandline handling
>>
>>   arm-semi.c             |   79
>> +++++++++++++++++++++++++++++------------------
>>   bsd-user/bsdload.c     |    2 -
>>   bsd-user/qemu.h        |    1 -
>>   linux-user/linuxload.c |    2 -
>>   linux-user/qemu.h      |    1 -
>>   5 files changed, 49 insertions(+), 36 deletions(-)
>>
>>
>>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]