You may be able to find some information which will help with running a
kernel under the simulator at http://user-mode-linux.sourceforge.net/ -
its not the same as what you're doing, but there are some similarities.
[EMAIL PROTECTED] wrote:
> Hi Philip,
>
> thank your for replying!
> my binary is a statically linked printf("Hello world") application to keep
> it simple.
> when I try to run it, the program seems to hang without any ouput.
> The only message I get is "unknown SWI encountered - xxxxx - ignored"
>
> I guess this is exactly what you meant. My program requires a system service
> which is not available under the simulator...
>
> Hm, running the Linux kernel on the simulator was my intention anyway - but
> I'm not sure if this is possible with the performance of the simulator? Has
> anyone done so yet? Hardware abstraction is an issue, but my intended
> hardware has two serial ports only. I don't know if there are modles
> available for that?
>
> Regards,
> Thomas.
>
>
> -----Original Message-----
> From: Philip Blundell [mailto:[EMAIL PROTECTED]]
> Sent: Mittwoch, 16. J�nner 2002 00:24
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: Re: ARM Simulator under GDB 5.1: arm-elf or arm-linux
>
>
> On Tue, 2002-01-15 at 22:11, [EMAIL PROTECTED] wrote:
>
>>I'm not able to use GDB's ARM Simulator ('target sim' command) when
>>configuring GDB with --target=arm-linux. The simulator is built but
>>seems to be not included with gdb itself.
>>Configuring with --target=arm-elf works but fails to execute any of my
>>binaries built from arm-linux toolchain.
>>
>
> What are the binaries that you're trying to run, exactly?
>
> Programs built for "arm-linux" are normally expecting to execute under
> the Linux kernel; they will make all sorts of system calls that the
> simulator is not prepared to handle. If you are trying to run the
> kernel itself under the simulator then this won't be a problem but you
> will probably have to supply models of at least some extra hardware.
>
> It might help if you described the failure to execute in a bit more
> detail.
>
> p.
>
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.
>
> _______________________________________________
> http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> Please visit the above address for information on this list.
>
>
--
Duncan Palmer [EMAIL PROTECTED]
Software Design Engineer Phone: +353-1-2911561
Silicon and Software Systems Fax: +353-1-2911001
_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.