RTEMS/LEON3 on Qemu

Jiri Gaisler jiri at gaisler.se
Mon Oct 6 20:28:49 UTC 2014



On 10/06/2014 10:31 AM, Karel Gardas wrote:
> 
> Jiri,
> 
> thanks a lot for your hint and patches to qemu. Indeed, using your way I've been able to run LEON3 bsp on Qemu. For now I've pointed from Wiki just to your email. Later hopefully I'll find some time to enhance this to independent page.
> 
> BTW: Do you plan to enhance Qemu support to include some of the missing functionality? (MMU/SMP/Networking)

No, not in the short time frame. Note that most of the leon3 port has been
written by others - I only contributed the plug&play support and initialization
of some hardware registers ...

Jiri.

> 
> Thanks!
> Karel
> 
> On 09/27/14 09:43 PM, Jiri Gaisler wrote:
>>
>> You can run the regular leon3 bsp on qemu if you apply these two
>> patches on qemu git head:
>>
>> http://gaisler.org/qemu/
>>
>> Configure qemu with --target-list=sparc-softmmu --enable-debug, and
>> execute the RTEMS binaries with:
>>
>> qemu-system-sparc -no-reboot -nographic -M leon3_generic -m 64M -kernel ticker.exe
>>
>> Note, there is no support for MMU, SMP or networking in the leon3 port of qemu.
>>
>> Jiri.
>>
>> PS. Somebody with write access might want to add this to the RTEMS wiki ...
>>
>>
>> On 09/26/2014 09:54 PM, Karel Gardas wrote:
>>>
>>> Folks,
>>>
>>> I've seen this thread: RTEMS simulation of LEON3 over QEMU -- here http://lists.rtems.org/pipermail/users/2014-February/027560.html and I'm curious if anybody here already has given a try to LEON3/RTEMS on Qemu.
>>>
>>> Particularly I would appreciate just a note if LEON3/Qemu required patches are already merged into Qemu head or not.. The patches are mentioned here by Sebastian: http://lists.rtems.org/pipermail/users/2014-February/027561.html
>>>
>>> Also Sebastian mentions special LEON3 Qemu BSP is needed in his email here: http://lists.rtems.org/pipermail/users/2014-February/027562.html
>>>
>>> The link is no longer valid but perhaps originally pointed here:
>>> http://lists.rtems.org/pipermail/devel/2014-February/005283.html -- [PATCH] bsp/leon3_qemu: New BSP variant
>>>
>>> At the end of the thread it looks like BSP originally submitted and committed is reverted and the project hangs kind of in the air waiting for Qemu to merge some patches but also mentioning that Qemu development process is not well managed and that it takes a lot of effort to
>>> push even simplest patches in.
>>>
>>> So is real closure of all this that RTEMS/LEON3 is not runable on Qemu HEAD? If so, then I'm happy to patch Qemu with required patches but I'm kind of confused by a state of RTEMS on Leon3: may I use or rather not Sebastian's LEON_QEMU BSP? Is it uptodate or already sources
>>> diverted a lot so it's not applicable anymore? Or shall I use some el-cheapo FPGA board supporting LEON3 and use that for running RTEMS? What's current recommended way for RTEMS/LEON3 development?
>>>
>>> Thanks!
>>> Karel
>>>
>>> _______________________________________________
>>> users mailing list
>>> users at rtems.org
>>> http://lists.rtems.org/mailman/listinfo/users
>>
> 


More information about the users mailing list