[PATCH rtems-libbsd/6-freebsd-12 2/3] syscall/open: Reference the path info directory vnode

2023-07-19 Thread chrisj
From: Chris Johns The kernel open call requires a path so to open a file we need to set the current directory to the parent vnode. If the open mode is create the path info vnode is the directory to perform the open create in. Using the parent node creates the file in wrong path. Updates #4723

[PATCH rtems-libbsd/6-freebsd-12 1/3] freenbsd/vfs: VFS attributes need to have the same size mode_t variable

2023-07-19 Thread chrisj
From: Chris Johns If the size in the attributes struct does not match the mode_t the VNOVAL checks fail because sie of the values are not the same. Updates #4723 --- freebsd/sys/sys/vnode.h | 4 1 file changed, 4 insertions(+) diff --git a/freebsd/sys/sys/vnode.h

[PATCH rtems-libbsd/6-freebsd-12 3/3] freebsd/vfs: Pass in the td's cred to the VFS calls

2023-07-19 Thread chrisj
From: Chris Johns Closes #4723 --- rtemsbsd/rtems/rtems-kernel-vfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rtemsbsd/rtems/rtems-kernel-vfs.c b/rtemsbsd/rtems/rtems-kernel-vfs.c index 2f4d009b..0817df81 100644 --- a/rtemsbsd/rtems/rtems-kernel-vfs.c +++

Re: Building leon3 prom image for testing on renode

2023-07-19 Thread Alan Cudmore
Hi Mazaya, On Tue, Jul 18, 2023 at 8:35 PM Muhammad Sulthan Mazaya < msulthanmaz...@gmail.com> wrote: > Hi Alan, > > > Also, as you mentioned, the renode Zephyr example runs directly from RAM > without a prom image. Is it that the RTEMS LEON3 BSP relies on > initialization done by the boot prom

Re: [PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Vijay Kumar Banerjee
Thanks. Pushed. On Wed, Jul 19, 2023 at 8:44 PM Chris Johns wrote: > > Looks good. > > Thanks > Chris > > On 20/7/2023 11:17 am, Vijay Kumar Banerjee wrote: > > --- > > rtems/config/tools/rtems-net-legacy-6.cfg | 8 > > 1 file changed, 4 insertions(+), 4 deletions(-) > > > > diff --git

Re: [PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Chris Johns
Looks good. Thanks Chris On 20/7/2023 11:17 am, Vijay Kumar Banerjee wrote: > --- > rtems/config/tools/rtems-net-legacy-6.cfg | 8 > 1 file changed, 4 insertions(+), 4 deletions(-) > > diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg >

Re: [PATCH rtems-net-legacy] powerpc/beatnik: Add mv643xx_eth.c driver from RTEMS 5

2023-07-19 Thread Vijay Kumar Banerjee
On Wed, Jul 19, 2023 at 7:56 PM Vijay Kumar Banerjee wrote: > > On Wed, Jul 19, 2023 at 7:50 PM Chris Johns wrote: > > > > On 20/7/2023 10:18 am, Vijay Kumar Banerjee wrote: > > > On Wed, Jul 19, 2023 at 6:39 PM Chris Johns wrote: > > >> > > >> Excellent. > > >> > > >> Could you please update

[PATCH RSB] rtems-net-legacy: Update net and waf versions

2023-07-19 Thread Vijay Kumar Banerjee
--- rtems/config/tools/rtems-net-legacy-6.cfg | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rtems/config/tools/rtems-net-legacy-6.cfg b/rtems/config/tools/rtems-net-legacy-6.cfg index 9193a58..559ec01 100644 --- a/rtems/config/tools/rtems-net-legacy-6.cfg +++

Re: [PATCH rtems] powerpc/beatnik: Remove RTEMS_NETWORKING check from bsp.h

2023-07-19 Thread Vijay Kumar Banerjee
Pushed. Thanks! On Wed, Jul 19, 2023 at 7:51 PM Chris Johns wrote: > > Looks good. > > Thanks > Chris > > On 20/7/2023 10:15 am, Vijay Kumar Banerjee wrote: > > --- > > bsps/powerpc/beatnik/include/bsp.h | 2 -- > > 1 file changed, 2 deletions(-) > > > > diff --git

[PATCH rtems 3/3] mvme3100: Initialize libi2c at device driver order

2023-07-19 Thread Vijay Kumar Banerjee
To use the libi2c, application needs to be configured with #define CONFIGURE_APPLICATION_NEEDS_LIBI2C_DRIVER --- bsps/powerpc/mvme3100/i2c/i2c_init.c | 11 ++- bsps/powerpc/mvme3100/start/bspstart.c | 2 +- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git

[PATCH rtems 2/3] confdefs: Add configure macro for libi2c

2023-07-19 Thread Vijay Kumar Banerjee
Add CONFIGURE_APPLICATION_NEEDS_LIBI2C_DRIVER define --- cpukit/include/rtems/confdefs/iodrivers.h | 8 1 file changed, 8 insertions(+) diff --git a/cpukit/include/rtems/confdefs/iodrivers.h b/cpukit/include/rtems/confdefs/iodrivers.h index 16d64fbb98..cf5530fe2b 100644 ---

[PATCH rtems 1/3] libi2c: Use rtems thread api

2023-07-19 Thread Vijay Kumar Banerjee
Replace custom mutex handling with rtems thread api --- cpukit/include/rtems/libi2c.h | 2 + cpukit/libi2c/libi2c.c| 114 +++--- 2 files changed, 37 insertions(+), 79 deletions(-) diff --git a/cpukit/include/rtems/libi2c.h b/cpukit/include/rtems/libi2c.h

Re: [PATCH rtems-net-legacy] powerpc/beatnik: Add mv643xx_eth.c driver from RTEMS 5

2023-07-19 Thread Vijay Kumar Banerjee
On Wed, Jul 19, 2023 at 7:50 PM Chris Johns wrote: > > On 20/7/2023 10:18 am, Vijay Kumar Banerjee wrote: > > On Wed, Jul 19, 2023 at 6:39 PM Chris Johns wrote: > >> > >> Excellent. > >> > >> Could you please update the hash in the RSB for the net legacy package? > >> > > Thanks for mentioning

Re: [PATCH rtems] powerpc/beatnik: Remove RTEMS_NETWORKING check from bsp.h

2023-07-19 Thread Chris Johns
Looks good. Thanks Chris On 20/7/2023 10:15 am, Vijay Kumar Banerjee wrote: > --- > bsps/powerpc/beatnik/include/bsp.h | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/bsps/powerpc/beatnik/include/bsp.h > b/bsps/powerpc/beatnik/include/bsp.h > index 477f03345d..a70bb3997f 100644 >

Re: [PATCH rtems-net-legacy] powerpc/beatnik: Add mv643xx_eth.c driver from RTEMS 5

2023-07-19 Thread Chris Johns
On 20/7/2023 10:18 am, Vijay Kumar Banerjee wrote: > On Wed, Jul 19, 2023 at 6:39 PM Chris Johns wrote: >> >> Excellent. >> >> Could you please update the hash in the RSB for the net legacy package? >> > Thanks for mentioning it! While trying to build from RSB, I realized > two important changes

[PATCH rtems] powerpc/beatnik: Remove RTEMS_NETWORKING check from bsp.h

2023-07-19 Thread Vijay Kumar Banerjee
--- bsps/powerpc/beatnik/include/bsp.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/bsps/powerpc/beatnik/include/bsp.h b/bsps/powerpc/beatnik/include/bsp.h index 477f03345d..a70bb3997f 100644 --- a/bsps/powerpc/beatnik/include/bsp.h +++ b/bsps/powerpc/beatnik/include/bsp.h @@ -173,12

Regulator Delete

2023-07-19 Thread Joel Sherrill
Hi Starting another thread so we can focus on this without all the code in the way. Chris' concern was that deleting the regulator includes deleting the delivery thread and that could cause the delivery function to leave resources like mutexes in an unknown state. He asked about a coordinated

Re: Repository edit

2023-07-19 Thread Sebastian Huber
On 19.07.23 04:30, Gedare Bloom wrote: I had a local copy of the two commits that were dropped during the rewinding. I have pushed them back. We are back to the state prior to the accidental push. Hashes all look good. Thanks for handling this. Thanks, looks good. -- embedded brains GmbH Herr