qemu + uC5282 (was Re: Converting RTEMS ELF files into Linux bootimages)
Till Straumann
strauman at slac.stanford.edu
Fri Sep 11 04:33:03 UTC 2009
Joel Sherrill wrote:
> Till Straumann wrote:
>> FWIW:
>>
> Holy moley!! Great job!!! Thank you!!!
>
> This will let us start to test the tools on
> Coldfire. That was the most commonly
> used target architecture we had no
> way to test on a simulator.
>
> Will you please submit this to qemu?
>
> And make it apply against the couverture project's
> qemu source?
Sorry Joel - but this has not a high priority for me. I have
some 'real' work to do and already spent my available
'fun-time' hacking this together.
I could submit the patch to qemu -- should I just
post to their developer's mailing-list?
T.
>
> I am really looking forward to being able to test
> using this.
>
> I have added an initial version of the wrapper script
> to gcc-testing/sim-scripts.
>> I was able to hack qemu so that the uC5282 BSP can be run.
>> I tested 'hello.exe', 'ticker.exe' and my usual, pretty
>> complete 'GeSys.exe' application which includes the cexpsh
>> shell and full networking.
>>
>> 1) patch qemu-0.11.0-rc1 to add some missing features,
>> some dummy-registers and a bug-fix.
>>
>> The following hardware is (partly) emulated:
>> - interrupt-controller
>> - 3 UARTs
>> - 4 PITs (timers)
>> - reset controller (software-reset)
>> - FEC ethernet (MIB counters not implemented)
>>
>> 2) patch the uC5282 BSP (patch has already been added to RTEMS HEAD)
>>
>> build qemu
>>
>> mkdir build-m68k
>> cd build-m68k
>> ../configure --target-list=m68k-softmmu
>> make
>>
>> Run qemu using the RTEMS ELF binary:
>>
>> m68k-softmmu/qemu-system-m68k -M uc5282 -nographic -kernel hello.exe
>>
>>
>> -- Till
>>
>>
>
>
More information about the users
mailing list