[GSoC] Introduction and Hello World proof
Amaan Cheval
amaan.cheval at gmail.com
Tue Jan 23 17:40:14 UTC 2018
On Tue, Jan 23, 2018 at 8:36 PM, Gedare Bloom <gedare at rtems.org> wrote:
> On Mon, Jan 22, 2018 at 8:18 AM, Amaan Cheval <amaan.cheval at gmail.com> wrote:
>> Hey everyone!
>>
>> # Intro
>>
>> I'm still gaining familiarity with RTEMS, so I'm not sure about projects
>> I might be interested in, but I'll make sure I communicate and discuss
>> things as that changes.
>>
>> A little bit about who I am; I'm a final year (i.e. year 4) engineering
>> student at Thakur College of Engineering in Mumbai, India. I've been
>> working part-time for a startup building an Intel x86 emulator for
>> nearly a year now; the emulator runs in Node.js and browsers
>> (client-side JavaScript) - we use a fair amount of C (compiled to
>> WebAssembly) and JavaScript for the source, and often some
>> specific regression tests in x86 assembly, so I'm quite familiar with
>> all of those.
>>
> Then I'll draw your attention to the varied x86 BSP improvement
> projects. The goal there is to move toward a modern, possibly unified,
> BSP for x86_64 and x86 targets. You might also be interested in
> language-level projects to support using Node.js on RTEMS if you enjoy
> JavaScript.
>
Thanks! I was in fact eyeing the x86_64 BSP targets. I aim to understand
RTEMS more from a user's perspective - likely using the POSIX API to
build some toy projects and whatnot.
As time goes on, hopefully I'll be able to contribute smaller patches -
does the RTEMS tracker have tickets marked with any keywords indicating
the easier tickets to tackle? (In the spirit of how Github projects tend
to have "good-first-issue" labels for new contributors.)
>> Other trivia: my friends also make fun of me for having uttered the
>> phrase "textbooks are like crack" :P
>>
>> I'd also like to say that this is an incredible project and I'm very
>> excited to have come across it! :D
>>
>> # Hello World proof
>>
>> More to the point: I'm interested in participating in GSoC with RTEMS
>> this year, and though I haven't finished perusing the abundant
>> information on the wiki yet, I figured I'd get involved with the
>> community early.
>>
>> In doing so, I've followed the getting started[1] instructions and
>> patched the hello world C sample.
>>
>> The diff is as follows:
>>
>> diff --git a/testsuites/samples/hello/init.c b/testsuites/samples/hello/init.c
>> index 34ded37c55..3f0d6ce9f1 100644
>> --- a/testsuites/samples/hello/init.c
>> +++ b/testsuites/samples/hello/init.c
>> @@ -22,7 +22,9 @@ static rtems_task Init(
>> {
>> rtems_print_printer_fprintf_putc(&rtems_test_printer);
>> TEST_BEGIN();
>> - printf( "Hello World\n" );
>> + printf( "\n\n*** GSoC HELLO WORLD TEST ***\n" );
>> + printf( "Amaan says hello in 2018!\n" );
>> + printf( "*** END OF GSoC HELLO WORLD TEST ***\n" );
>> TEST_END();
>> rtems_test_exit( 0 );
>> }
>>
>> (I'm working my way around the project still, but I found that using
>> examples-v2/hello was much simpler than modifying the testsuite sample,
>> but my screenshot shows both modifications working.)
>>
>> I noticed that Gedare asked for a previous proof screenshot to be sent
>> directly to them[2] - would you like me to do the same?
>>
> Yes.
>
>> Would you also like the patch files along with the screenshot?
>>
> Yes.
>
Patch and screenshot sent to you. Cheers!
>> Links:
>>
>> [1] https://devel.rtems.org/wiki/GSoC/GettingStarted
>> [2] https://lists.rtems.org/pipermail/devel/2018-January/019881.html
>> _______________________________________________
>> devel mailing list
>> devel at rtems.org
>> http://lists.rtems.org/mailman/listinfo/devel
More information about the devel
mailing list