<div dir="ltr"><div>Thanks everyone for your help these are some very helpful replies to start.</div><div><br></div><div>--sanskar</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 13, 2021 at 9:30 PM Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div><br><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 13, 2021, 4:16 AM Hesham Almatary <<a href="mailto:hesham.almatary@cl.cam.ac.uk" target="_blank">hesham.almatary@cl.cam.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Sat, 13 Feb 2021 at 10:59, Eshan Dhawan <<a href="mailto:eshandhawan51@gmail.com" rel="noreferrer" target="_blank">eshandhawan51@gmail.com</a>> wrote:<br>
><br>
><br>
> On 13-Feb-2021, at 1:53 PM, Sanskar Khandelwal <<a href="mailto:kdsanskar07@gmail.com" rel="noreferrer" target="_blank">kdsanskar07@gmail.com</a>> wrote:<br>
><br>
> <br>
><br>
><br>
> On Sat, Feb 13, 2021 at 9:30 AM Joel Sherrill <<a href="mailto:joel@rtems.org" rel="noreferrer" target="_blank">joel@rtems.org</a>> wrote:<br>
>><br>
>><br>
>><br>
>> On Fri, Feb 12, 2021, 8:47 PM Rohan kumar <<a href="mailto:krohan8870@gmail.co" rel="noreferrer" target="_blank">krohan8870@gmail.co</a>> wrote:<br>
>>><br>
>>> I will look into this in more detail and get back to you but in mean time I want to contribute to any issues so can you suggest any thats need to be solved or how do I look for from my own.<br>
>><br>
>><br>
>> Projects or just smaller issues?<br>
><br>
><br>
> Actually I am looking for some small issues related to this project so I can get some experience.<br>
> before the project, I think this help me write better proposal and understand codebase more easily and faster.<br>
><br>
> Also can you tell me status of the below tickets and are they open for participation? Actually I haven't decided project right now i am just learning about them so I can make better decision like which project suits me better according to may skills and experience level.<br>
><br>
> But I am looking for project related to risc-v, I found this very interesting that's why I am asking for any issue related to this.<br>
><br>
> #3337 : RISC-V Port in Supervisor Mode<br>
> #4182 : Port Rust to RTEMS<br>
><br>
> Also can share some reference links so i can start, I have build the riscv/rv64imac on my laptop but i dont know how do i simulate it on qemu.<br>
><br>
> Hello sanskar<br>
> I use this to run test suites<br>
> Although I am not quite sure if you were wanting this or something else<br>
><br>
> qemu-system-riscv32 -no-reboot -nographic -machine virt -m 256M -kernel hello.exe<br>
><br>
For RV64 and recent QEMU versions, the command would be:<br>
<br>
qemu-system-riscv64 -no-reboot -nographic -machine virt -m 256M -bios hello.exe<br></blockquote></div></div><div dir="auto"><br></div><div dir="auto">To work on the BSP, you definitely have to have the RISC-V toolchain and being ae to run tests from existing RISC-V BSPs and used gdb with that is a foundation you have to have.</div><div dir="auto"><br></div><div dir="auto">Beyond that, there are a few prep things needed for any BSP. </div><div dir="auto"><br></div><div dir="auto">+ You need to find documentation on the board and its peripherals. This should be sufficiently detailed so you know the memory map and what each peripheral's model/name is </div><div dir="auto"><br></div><div dir="auto">+ Find candidate drivers for the peripherals in RTEMS that are already working on other BSPs.</div><div dir="auto"><br></div><div dir="auto">+ Look at the build structure for a BSP. You will likely reuse a fair amount of shared code for startup, clock, and console.</div><div dir="auto"><br></div><div dir="auto">+ If you can't find any code to reuse, BSDs and vendor kits are often useful. Beware of incompatible licensing and ask for help to ensure you are potentially starting from something we will accept and is right technically.</div><div dir="auto"><br></div><div dir="auto">+ Linker script needs to use shared infrastructure and map this board into that.</div><div dir="auto"><br></div><div dir="auto">+ You can put together a minimal bsp that has a polled console and uses the idle thread ticker as a first major milestone. Then incrementally add clock tick, etc.</div><div dir="auto"><br></div><div dir="auto">If SiFive has a bare metal setup (no OS) for this board, I find it useful to make sure I can get that type of thing working. </div><div dir="auto"><br></div><div dir="auto">Basically ensure you have something working to compare against and find code to share as much as possible. Homework can make things a lot easier.</div><div dir="auto"><br></div><div dir="auto">--joel</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
> - - Eshan<br>
><br>
><br>
> thanks<br>
> sanskar<br>
><br>
><br>
>><br>
>> There is a tag in the ticketing system for small projects but this query makes me wonder if some should be closed. Deciding a ticket is dead is good. :)<br>
>><br>
>><br>
>> <a href="https://devel.rtems.org/query?status=accepted&status=assigned&status=new&status=reopened&keywords=~Small&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority" rel="noreferrer noreferrer" target="_blank">https://devel.rtems.org/query?status=accepted&status=assigned&status=new&status=reopened&keywords=~Small&col=id&col=summary&col=status&col=owner&col=type&col=priority&col=milestone&order=priority</a><br>
>><br>
>> Looking at Coverity is a quick way to find a small task. Some tickets geared to adding a test aren't bad.<br>
>><br>
>> --joel<br>
>>><br>
>>><br>
>>> Thanks<br>
>>> Sanskar<br>
>>><br>
>>><br>
>>> On Fri, Feb 12, 2021, 3:01 PM Hesham Almatary <<a href="mailto:hesham.almatary@cl.cam.ac.uk" rel="noreferrer" target="_blank">hesham.almatary@cl.cam.ac.uk</a>> wrote:<br>
>>>><br>
>>>> On Fri, 12 Feb 2021 at 11:24, Sanskar Khandelwal <<a href="mailto:kdsanskar07@gmail.com" rel="noreferrer" target="_blank">kdsanskar07@gmail.com</a>> wrote:<br>
>>>> ><br>
>>>> > Hello joel,<br>
>>>> ><br>
>>>> > 1. #4162 : sifive risc-v hifive unleashed bsp (qemu)<br>
>>>> > As you mentioned this a good project i thought to search more about this project I learned a lot while doing so but I still don't understand what is the goal of this project (the description on the ticket is not very detailed ) also I don't have any idea on how to make approach for this project right now so if you can clear both my doubt it will be big help.<br>
>>>> ><br>
>>>> You'd need to identify the devices for this platform that QEMU<br>
>>>> supports (e.g., networking, UART, flash, etc?) and propose some<br>
>>>> timeline to implement (a subset of) them. That would be part of your<br>
>>>> proposal evaluation.<br>
>>>><br>
>>>> > Also as you mention that this can be a big task for a gsoc time frame I am thinking that I can do some of it after gsoc too.<br>
>>>> ><br>
>>>> > Also I looked for some more open projects and found these interesting so I wanted to know if these are open for participation for gsoc and what's their status and what further enhancement you are looking at each of them.<br>
>>>> ><br>
>>>> > 2. #3337 : RISC-V Port in Supervisor Mode<br>
>>>> > 3. #4182 : Port Rust to RTEMS<br>
>>>> ><br>
>>>> > Another thing is that while I am learning more about these projects I want to contribute, so if you can tell me about any issue that I can work on, it will be nice. I think this will help get me more familiar with rtems too.<br>
>>>> ><br>
>>>> > Thanks<br>
>>>> > Sanskar<br>
>>>> > _______________________________________________<br>
>>>> > devel mailing list<br>
>>>> > <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
>>>> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
>>>> _______________________________________________<br>
>>>> devel mailing list<br>
>>>> <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
>>>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
>>><br>
>>> _______________________________________________<br>
>>> devel mailing list<br>
>>> <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
>>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
>><br>
>> _______________________________________________<br>
>> devel mailing list<br>
>> <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
>> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
><br>
> _______________________________________________<br>
> devel mailing list<br>
> <a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
> <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a><br>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" rel="noreferrer" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div></div>
_______________________________________________<br>
devel mailing list<br>
<a href="mailto:devel@rtems.org" target="_blank">devel@rtems.org</a><br>
<a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/devel</a></blockquote></div></div>