Re: getentropy() implementation on BBB

2018-03-12 Thread Gedare Bloom
Udit, See if you can find a 2-clause BSD boilerplate to copy from in the RTEMS already. The one you got seems to have some minor typesetting problems with whitespace issues. It is fine to include stdint.h in the am335x.h if needed, so you can keep the TRNG definitions at that header, which makes

Re: getentropy() implementation on BBB

2018-03-11 Thread Udit agarwal
Hi, I have updated the patch and tested getentropy() , it did seem to work (Logs: here ). Moreover, i've added BSD-2-clause license please verify it once. Also, i need to shift TRNG register structure from AM335x.h to

Re: getentropy() implementation on BBB

2018-03-07 Thread Christian Mauderer
Hello Udit, let me start with a hint: It's quite normal that the first patches of a contributor get a lot of attention and have a lot of revisions. That can be quite annoying for the one who writes the patch. But please understand it in the way it's thought: As suggestions for improvement. Did

Re: getentropy() implementation on BBB

2018-03-07 Thread Udit agarwal
Thanks, I just came across ticket #3053 , which talks about changing RTEMS license from GNU GPL to BSD-2-Clause (i was initially unaware of this!). I'll make the required changes. Regards, Udit agarwal On Wed, Mar 7, 2018 at 4:23 PM, Sebastian Huber <

Re: getentropy() implementation on BBB

2018-03-07 Thread Udit agarwal
Hi, I have updated the code, please have a look. >From 74b8f4f5b9dd929b71ed5fb9dd0bc721a6f27a28 Mon Sep 17 00:00:00 2001 From: Udit agarwal Date: Wed, 7 Mar 2018 15:52:13 +0530 Subject: [PATCH] Added getentropy support to beagle BSP --- bsps/arm/include/libcpu/am335x.h

Re: getentropy() implementation on BBB

2018-03-06 Thread Gedare Bloom
On Tue, Mar 6, 2018 at 9:43 AM, Udit agarwal wrote: > Hi, > Here's the updated code(I have also attached the patch PFA): > > From 96e6e1bfd8cffeef5d309eb0a07fe2bfd086ef0a Mon Sep 17 00:00:00 2001 > From: Udit agarwal > Date: Tue, 6 Mar 2018 20:07:44

Re: getentropy() implementation on BBB

2018-03-06 Thread Udit agarwal
Hi, Here's the updated code(I have also attached the patch PFA): >From 96e6e1bfd8cffeef5d309eb0a07fe2bfd086ef0a Mon Sep 17 00:00:00 2001 From: Udit agarwal Date: Tue, 6 Mar 2018 20:07:44 +0530 Subject: [PATCH] Added getentropy support to BBB BSP ---

Re: getentropy() implementation on BBB

2018-03-05 Thread Christian Mauderer
Am 05.03.2018 um 14:51 schrieb Udit agarwal: > Hi, > I tried implementing getentropy on BBB, below is the patch. Please have > a look. > I followed these(1 > & 2 >

getentropy() implementation on BBB

2018-03-05 Thread Udit agarwal
Hi, I tried implementing getentropy on BBB, below is the patch. Please have a look. I followed these(1 & 2 ) links for code reference. and this