Re: [PATCH rtems v2] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Christian Mauderer
Hello Gedare, On 16/04/2020 21:16, Gedare Bloom wrote: > You can push this to 5.1, update the ticket milestone if you do. Thanks. In that case I most likely should create an extra ticket. I'm not sure whether Sebastian sees that one as close enough to finished to be a 5.1 ticket. For me it was a

Re: [PATCH rtems-libbsd v2 06/14] regulator: Import from FreeBSD.

2020-04-16 Thread Christian Mauderer
Hello Jan, On 16/04/2020 22:27, jan.som...@dlr.de wrote: > I have a question: > I just rebased my working tree for the i386 target to the current > 5-freebsd-12 branch. > The compilation now fails in regulator related files. > It seems that I am missing the FDT define and that comments out some i

Re: [PATCH 1/1] user/rsb/configuration.rst: Complete review on the text

2020-04-16 Thread Gedare Bloom
It would be great to get the DTC corrections also, to close the ticket. On Wed, Apr 8, 2020 at 10:56 AM wrote: > > From: Cláudio Maia > > --- > user/rsb/configuration.rst | 424 +++-- > 1 file changed, 215 insertions(+), 209 deletions(-) > > diff --git a/user/rsb

AW: [PATCH rtems-libbsd v2 06/14] regulator: Import from FreeBSD.

2020-04-16 Thread Jan.Sommer
I have a question: I just rebased my working tree for the i386 target to the current 5-freebsd-12 branch. The compilation now fails in regulator related files. It seems that I am missing the FDT define and that comments out some includes. Could you tell me what FDT means in this context and do you

Re: Missing link on the RTEMS website

2020-04-16 Thread Joel Sherrill
On Thu, Apr 16, 2020 at 2:20 PM Gedare Bloom wrote: > On Thu, Apr 16, 2020 at 12:37 PM Joel Sherrill wrote: > > > > > > > > On Thu, Apr 16, 2020 at 1:36 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> > >> On 15/04/2020 15:01, Joel Sherrill wrote: > >> > >> > >> > >> On We

Re: Missing link on the RTEMS website

2020-04-16 Thread Gedare Bloom
On Thu, Apr 16, 2020 at 12:37 PM Joel Sherrill wrote: > > > > On Thu, Apr 16, 2020 at 1:36 AM Sebastian Huber > wrote: >> >> On 15/04/2020 15:01, Joel Sherrill wrote: >> >> >> >> On Wed, Apr 15, 2020, 7:59 AM Sebastian Huber >> wrote: >>> >>> On 15/04/2020 14:55, Joel Sherrill wrote: >>> >>> >

Re: ticket #3356 add support for CLOCK_THREAD_CPU_TIME_ID

2020-04-16 Thread Gedare Bloom
https://pubs.opengroup.org/onlinepubs/9699919799/functions/clock_getres.html On Thu, Apr 16, 2020 at 12:19 PM Eshan Dhawan wrote: > > Hello everyone, > There is no much description related to this ticket. > If I could get more information about it > > thanks > -Eshan > ___

Re: [PATCH rtems v2] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Gedare Bloom
You can push this to 5.1, update the ticket milestone if you do. On Thu, Apr 16, 2020 at 9:27 AM Sebastian Huber wrote: > > On 16/04/2020 15:29, Christian Mauderer wrote: > > _CPU_Counter_frequency() can be called by the rtems_counter > > initialization before arm_gt_clock_initialize() initialize

Re: Missing link on the RTEMS website

2020-04-16 Thread Joel Sherrill
On Thu, Apr 16, 2020 at 1:36 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 15/04/2020 15:01, Joel Sherrill wrote: > > > > On Wed, Apr 15, 2020, 7:59 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 15/04/2020 14:55, Joel Sherrill wrote: >> >> >> >> O

ticket #3356 add support for CLOCK_THREAD_CPU_TIME_ID

2020-04-16 Thread Eshan Dhawan
Hello everyone, There is no much description related to this ticket. If I could get more information about it thanks -Eshan ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems v2] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Sebastian Huber
On 16/04/2020 15:29, Christian Mauderer wrote: _CPU_Counter_frequency() can be called by the rtems_counter initialization before arm_gt_clock_initialize() initializes the value used in _CPU_Counter_frequency(). Update #3456. Thanks, looks good. ___ de

Re: [PATCH 0/1] user/rsb/configuration.rst: Complete review on the text

2020-04-16 Thread clrrm
Dear all, I’ve sent this patch last week but I didn’t receive any feedback on it. Could please someone review the patch? Regards, Cláudio > On 8 Apr 2020, at 17:55, Cláudio Maia (clrrm) wrote: > > From: Cláudio Maia > > This patch proposes several fixes in the rsb/configuration.rst file. > T

[PATCH rtems v2] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Christian Mauderer
_CPU_Counter_frequency() can be called by the rtems_counter initialization before arm_gt_clock_initialize() initializes the value used in _CPU_Counter_frequency(). Update #3456. --- bsps/arm/shared/clock/clock-generic-timer.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-)

Re: [PATCH rtems] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Sebastian Huber
On 16/04/2020 14:21, Christian Mauderer wrote: _CPU_Counter_frequency() can be called by the rtems_counter initialization before arm_gt_clock_initialize() initializes the value used in _CPU_Counter_frequency(). Update #3456. --- bsps/arm/shared/clock/clock-generic-timer.c | 10 -- 1

[PATCH rtems] bsps/arm: Fix uninitialized value in generic timer

2020-04-16 Thread Christian Mauderer
_CPU_Counter_frequency() can be called by the rtems_counter initialization before arm_gt_clock_initialize() initializes the value used in _CPU_Counter_frequency(). Update #3456. --- bsps/arm/shared/clock/clock-generic-timer.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff

[PATCH v3] Tests for pthread_getcpuclockid method. Ticket:3891

2020-04-16 Thread Eshan dhawan
Hello, As Dr Joel suggested I have added the .5 seconds cpu time delay on the clock id of the thread and calculated the wall time using CLOCK_REALTIME but this will return error as there is no support for CLOCK_THREAD_CPU_TIME_ID. If we use CLOCK_REALTIME then it returns the time in nanoseconds.

Re: [PATCH rtems-libbsd] imx: Fix build for all other BSPs.

2020-04-16 Thread Christian Mauderer
Hello Vijay and Sebastian, thanks for the review and test. I pushed the patch and updated RSB. Sorry for breaking stuff in the first place. Best regards Christian On 16/04/2020 10:45, Vijay Kumar Banerjee wrote: > Hi, > > I could successfully build libbsd for arm/beagleboneblack with this path

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Christian Mauderer
On 16/04/2020 10:44, Vijay Kumar Banerjee wrote: > > > On Thu, Apr 16, 2020 at 2:08 PM Christian Mauderer > > wrote: > > On 16/04/2020 10:27, Vijay Kumar Banerjee wrote: > > > > > > On Thu, Apr 16, 2020 at 1:51 PM Christian Mauderer

Re: [PATCH rtems-libbsd] imx: Fix build for all other BSPs.

2020-04-16 Thread Sebastian Huber
Looks good. In the new build system, we could more easily control this at build system level. ___ devel mailing list devel@rtems.org http://lists.rtems.org/mailman/listinfo/devel

Re: [PATCH rtems-libbsd] imx: Fix build for all other BSPs.

2020-04-16 Thread Vijay Kumar Banerjee
Hi, I could successfully build libbsd for arm/beagleboneblack with this path. Thanks and regards, Vijay On Thu, Apr 16, 2020 at 2:08 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > --- > freebsd/sys/arm/freescale/imx/imx6_ccm.c| 7 +++ > freebsd/sys/arm/freescal

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Vijay Kumar Banerjee
On Thu, Apr 16, 2020 at 2:08 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > On 16/04/2020 10:27, Vijay Kumar Banerjee wrote: > > > > > > On Thu, Apr 16, 2020 at 1:51 PM Christian Mauderer > > > > wrote: > > > > > > > > On

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Christian Mauderer
On 16/04/2020 10:27, Vijay Kumar Banerjee wrote: > > > On Thu, Apr 16, 2020 at 1:51 PM Christian Mauderer > > wrote: > > > > On 16/04/2020 09:41, Christian Mauderer wrote: > > On 16/04/2020 09:21, Vijay Kumar Banerjee wrote: > >> >

[PATCH rtems-libbsd] imx: Fix build for all other BSPs.

2020-04-16 Thread Christian Mauderer
--- freebsd/sys/arm/freescale/imx/imx6_ccm.c| 7 +++ freebsd/sys/arm/freescale/imx/imx6_usbphy.c | 4 freebsd/sys/dev/usb/controller/ehci_imx.c | 2 ++ 3 files changed, 13 insertions(+) diff --git a/freebsd/sys/arm/freescale/imx/imx6_ccm.c b/freebsd/sys/arm/freescale/imx/imx6_ccm.

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Vijay Kumar Banerjee
On Thu, Apr 16, 2020 at 1:51 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > > > On 16/04/2020 09:41, Christian Mauderer wrote: > > On 16/04/2020 09:21, Vijay Kumar Banerjee wrote: > >> > >> > >> On Thu, Apr 16, 2020 at 12:41 PM Christian Mauderer > >> >>

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Christian Mauderer
On 16/04/2020 09:41, Christian Mauderer wrote: > On 16/04/2020 09:21, Vijay Kumar Banerjee wrote: >> >> >> On Thu, Apr 16, 2020 at 12:41 PM Christian Mauderer >> > > wrote: >> >> Hello Vijay, >> >> On 16/04/2020 09:04, Vijay Kumar Banerjee wro

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Christian Mauderer
On 16/04/2020 09:21, Vijay Kumar Banerjee wrote: > > > On Thu, Apr 16, 2020 at 12:41 PM Christian Mauderer > > wrote: > > Hello Vijay, > > On 16/04/2020 09:04, Vijay Kumar Banerjee wrote: > > Hi Christian, > > > > I'm not able t

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Vijay Kumar Banerjee
On Thu, Apr 16, 2020 at 12:41 PM Christian Mauderer < christian.maude...@embedded-brains.de> wrote: > Hello Vijay, > > On 16/04/2020 09:04, Vijay Kumar Banerjee wrote: > > Hi Christian, > > > > I'm not able to build libbsd with this patch. I'm getting the following > > error: > > ``` > > ../../fre

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Christian Mauderer
Hello Vijay, On 16/04/2020 09:04, Vijay Kumar Banerjee wrote: > Hi Christian, > > I'm not able to build libbsd with this patch. I'm getting the following > error: > ``` > ../../freebsd/sys/dev/usb/controller/ehci_imx.c:70:10: fatal error: > arm/freescale/imx/imx_ccmvar.h: No such file or director

Re: [PATCH rtems-libbsd v2 12/14] ehci_imx: Add to build.

2020-04-16 Thread Vijay Kumar Banerjee
Hi Christian, I'm not able to build libbsd with this patch. I'm getting the following error: ``` ../../freebsd/sys/dev/usb/controller/ehci_imx.c:70:10: fatal error: arm/freescale/imx/imx_ccmvar.h: No such file or directory #include ``` >From git blame I got to know that this file was introduced