<p dir="ltr">Hi Matt,</p>
<p dir="ltr">Thanks for your reply. <br>
On Feb 26, 2015 8:31 PM, "Matt Rippa" <<a href="mailto:mrippa@gemini.edu">mrippa@gemini.edu</a>> wrote:<br>
><br>
> That is incredible!<br>
><br>
> Is the ticker or hello demo running too?<br>
Yes they run. You just need to get them in binary format instead of elf.<br>
><br>
> <a href="http://s-macke.github.io/jor1k/demos/rtems.html">http://s-macke.github.io/jor1k/demos/rtems.html</a><br>
><br>
> Thanks,<br>
> -Matt<br>
><br>
><br>
> On 02/23/2015 04:31 AM, Gedare Bloom wrote:<br>
> > That is interesting! I recommend opening a ticket on Trac so we don't<br>
> > lose track of the idea.<br>
> ><br>
> > Thanks for the tutorial.<br>
> ><br>
> > Gedare<br>
> ><br>
> > On Mon, Feb 23, 2015 at 3:40 AM, Hesham Moustafa<br>
> > <<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>> wrote:<br>
> >> Hi,<br>
> >><br>
> >> Found out there is a Javascript online simulator (jor1k) that can run<br>
> >> or1ksim binaries (hello, ticker and capture run there perfectly). I am<br>
> >> not sure if this simulator can be embedded to RTEMS Project Webpage<br>
> >> [1]<br>
> >><br>
> >> [1] <a href="https://devel.rtems.org/wiki/Projects/GSoC/OpenRISC">https://devel.rtems.org/wiki/Projects/GSoC/OpenRISC</a><br>
> >><br>
> >> Regards,<br>
> >> Hesham<br>
> >> ---------- Forwarded message ----------<br>
> >> From: Sebastian Macke <<a href="mailto:sebastian@macke.de">sebastian@macke.de</a>><br>
> >> Date: Sun, Feb 22, 2015 at 8:28 PM<br>
> >> Subject: Re: [Openrisc] Tutorial for running RTEMS on OpenRISC<br>
> >> To: Hesham Moustafa <<a href="mailto:heshamelmatary@gmail.com">heshamelmatary@gmail.com</a>><br>
> >> Cc: "<a href="mailto:openrisc@lists.opencores.org">openrisc@lists.opencores.org</a>" <<a href="mailto:openrisc@lists.opencores.org">openrisc@lists.opencores.org</a>><br>
> >><br>
> >><br>
> >> Hi,<br>
> >><br>
> >> take a look at:<br>
> >> <a href="https://github.com/s-macke/jor1k">https://github.com/s-macke/jor1k</a><br>
> >><br>
> >> I have added the RTEMS website and a simple demo.<br>
> >><br>
> >> You are free to link to the github site<br>
> >> <a href="https://github.com/s-macke/jor1k">https://github.com/s-macke/jor1k</a><br>
> >> or directly to the RTEMS demo site<br>
> >> <a href="http://s-macke.github.io/jor1k/demos/rtems.html">http://s-macke.github.io/jor1k/demos/rtems.html</a><br>
> >><br>
> >> You can send me a new website design if you want.<br>
> >><br>
> >> Sebastian<br>
> >><br>
> >><br>
> >> Am 2/22/2015 um 8:48 PM schrieb Hesham Moustafa:<br>
> >><br>
> >>> On Sun, Feb 22, 2015 at 7:43 PM, Sebastian Macke <<a href="mailto:sebastian@macke.de">sebastian@macke.de</a>> wrote:<br>
> >>>><br>
> >>>> My emulator doesn't support timer modes other than continuous. I removed the<br>
> >>>> check. Seems to work now.<br>
> >>>><br>
> >>> Totally working. That's great. Can you create some entry for jor1k<br>
> >>> RTEMS there? I'd pass a long the link to RTEMS community and maybe<br>
> >>> update the tutorial with jor1k info.<br>
> >>><br>
> >>>> Am 2/22/2015 um 7:30 PM schrieb Hesham Moustafa:<br>
> >>>><br>
> >>>>> On Sun, Feb 22, 2015 at 6:23 PM, Sebastian Macke <<a href="mailto:sebastian@macke.de">sebastian@macke.de</a>><br>
> >>>>> wrote:<br>
> >>>>>><br>
> >>>>>> Hi Mesham,<br>
> >>>>>><br>
> >>>>>> I have hacked something together, which works for me for the binary hello<br>
> >>>>>> program<br>
> >>>>>> <a href="http://jor1k.com/jor1k/demos/simple2.html">http://jor1k.com/jor1k/demos/simple2.html</a><br>
> >>>>>> Just click on the symbol to upload a binary image. (128 MB images allowed<br>
> >>>>>> for now).<br>
> >>>>>><br>
> >>>>> Thanks for providing the link.<br>
> >>>>> hello is working but the other two are not, not sure why. Any way to<br>
> >>>>> debug?<br>
> >>>>><br>
> >>>>>> The other two .exe files are not working for some reason.<br>
> >>>>>><br>
> >>>>>> I don't like to use 128MB in the web browser. I get too often out of<br>
> >>>>>> memory<br>
> >>>>>> errors then. Also it won't work anymore on mobile devices.<br>
> >>>>>> 16-31MB should be fine in the end for the examples I hope.<br>
> >>>>>><br>
> >>>>>> Sebastian<br>
> >>>>>><br>
> >>>>>><br>
> >>>>>> Am 2/22/2015 um 6:35 PM schrieb Hesham Moustafa:<br>
> >>>>>><br>
> >>>>>>> Hi Sebastian,<br>
> >>>>>>><br>
> >>>>>>> On Sun, Feb 22, 2015 at 5:17 PM, Sebastian Macke <<a href="mailto:sebastian@macke.de">sebastian@macke.de</a>><br>
> >>>>>>> wrote:<br>
> >>>>>>>><br>
> >>>>>>>> Hi Mesham,<br>
> >>>>>>>><br>
> >>>>>>>> it works somehow,<br>
> >>>>>>>> I had to generate a binary image via "or1k-linux-musl-objcopy -O binary<br>
> >>>>>>>> hello.exe vmlinux.bin"<br>
> >>>>>>>> Then I had to increase the memory to 128MB<br>
> >>>>>>>><br>
> >>>>>>>> Now I get an output, which you can find here:<br>
> >>>>>>>> <a href="http://jor1k.com/jor1k/demos/main.html?cpu=safe">jor1k.com/jor1k/demos/main.html?cpu=safe</a><br>
> >>>>>>>><br>
> >>>>>>>> "Fatal Error 5.0 halted"<br>
> >>>>>>>> Do you know, what this means?<br>
> >>>>>>>><br>
> >>>>>>> Yes that's perfectly fine, it means that the program terminates<br>
> >>>>>>> normally (on simulators). Great to know it works!<br>
> >>>>>>>><br>
> >>>>>>>> Can you provide me an image which uses only <= 31MB (not 32MB) of<br>
> >>>>>>>> memory?<br>
> >>>>>>>> 16MB would be fine I think.<br>
> >>>>>>>><br>
> >>>>>>> I hacked the source and got it for you. Attached are three samples you<br>
> >>>>>>> can try < 16 MB. I'd appreciate you provide me with some demo links.<br>
> >>>>>>> Can users upload, run/debug their own or1k samples their there?<br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>><br>
> >>>>>>> <a href="https://drive.google.com/folderview?id=0B_dTGAP_ygMvfnFzOHZkZ0w3Q1hrNV9SX3ZKS0Vza3U5d2ljbDROSlNQLUprUXFsNUtUelU&usp=sharing">https://drive.google.com/folderview?id=0B_dTGAP_ygMvfnFzOHZkZ0w3Q1hrNV9SX3ZKS0Vza3U5d2ljbDROSlNQLUprUXFsNUtUelU&usp=sharing</a><br>
> >>>>>>>><br>
> >>>>>>>> Sebastian<br>
> >>>>>>>><br>
> >>>>>>>> Am 2/22/2015 um 5:40 PM schrieb Hesham Moustafa:<br>
> >>>>>>>><br>
> >>>>>>>>> Hi Sebastian,<br>
> >>>>>>>>><br>
> >>>>>>>>> Thanks for you reply.<br>
> >>>>>>>>><br>
> >>>>>>>>> If I am understanding correctly, you need a snapshot binary for RTEMS<br>
> >>>>>>>>> app (i.e, hello.exe). [1] It's ELF. Let me know if that works for you.<br>
> >>>>>>>>><br>
> >>>>>>>>><br>
> >>>>>>>>> [1]<br>
> >>>>>>>>><br>
> >>>>>>>>><br>
> >>>>>>>>> <a href="https://drive.google.com/file/d/0B_dTGAP_ygMvcmZ3U3g1S2k4UTA/view?usp=sharing">https://drive.google.com/file/d/0B_dTGAP_ygMvcmZ3U3g1S2k4UTA/view?usp=sharing</a><br>
> >>>>>>>>><br>
> >>>>>>>>> Thanks,<br>
> >>>>>>>>> Hesham<br>
> >>>>>>>>><br>
> >>>>>>>>> On Sun, Feb 22, 2015 at 4:32 PM, Sebastian Macke <<a href="mailto:sebastian@macke.de">sebastian@macke.de</a>><br>
> >>>>>>>>> wrote:<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Hi Heshma,<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Great! Do you have a link of a working QEMU image? I can try to run<br>
> >>>>>>>>>> it<br>
> >>>>>>>>>> in<br>
> >>>>>>>>>> jor1k.<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Sebastian<br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>> Am 2/22/2015 um 4:51 PM schrieb Hesham Moustafa:<br>
> >>>>>>>>>><br>
> >>>>>>>>>> Hi all,<br>
> >>>>>>>>>><br>
> >>>>>>>>>> In case some of you don't know, I have ported RTEMS to OpenRISC last<br>
> >>>>>>>>>> year<br>
> >>>>>>>>>> during GSoC. All the code is now upstream and works fine. I wrote a<br>
> >>>>>>>>>> tutorial<br>
> >>>>>>>>>> describing how to get RTEMS running on OpenRISC simulators (or1ksim<br>
> >>>>>>>>>> and<br>
> >>>>>>>>>> QEMU) totally from scratch [1].<br>
> >>>>>>>>>><br>
> >>>>>>>>>> [1] <a href="http://heshamelmatary.blogspot.co.uk/p/howto-rtems.html">http://heshamelmatary.blogspot.co.uk/p/howto-rtems.html</a><br>
> >>>>>>>>>><br>
> >>>>>>>>>> Best,<br>
> >>>>>>>>>> Hesham<br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>> _______________________________________________<br>
> >>>>>>>>>> Openrisc mailing list<br>
> >>>>>>>>>> <a href="mailto:Openrisc@lists.opencores.org">Openrisc@lists.opencores.org</a><br>
> >>>>>>>>>> <a href="http://lists.opencores.org/listinfo/openrisc">http://lists.opencores.org/listinfo/openrisc</a><br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>><br>
> >>>>>>>>>> _______________________________________________<br>
> >>>>>>>>>> Openrisc mailing list<br>
> >>>>>>>>>> <a href="mailto:Openrisc@lists.opencores.org">Openrisc@lists.opencores.org</a><br>
> >>>>>>>>>> <a href="http://lists.opencores.org/listinfo/openrisc">http://lists.opencores.org/listinfo/openrisc</a><br>
> >>>>>>>>>><br>
> >> _______________________________________________<br>
> >> devel mailing list<br>
> >> <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
> >> <a href="http://lists.rtems.org/mailman/listinfo/devel">http://lists.rtems.org/mailman/listinfo/devel</a><br>
> > _______________________________________________<br>
> > users mailing list<br>
> > <a href="mailto:users@rtems.org">users@rtems.org</a><br>
> > <a href="http://lists.rtems.org/mailman/listinfo/users">http://lists.rtems.org/mailman/listinfo/users</a><br>
> ><br>
><br>
</p>