Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-07-17 Thread Gedare Bloom
The patch has 3 whitespace errors. I have fixed them, and I will push this soon.

On Tue, Jun 27, 2023 at 8:42 PM Muhammad Sulthan Mazaya
 wrote:
>
> Hi Joel and Chris,
>
> Yes, and I will be working on the rsb patch for renode installation next.
>
> Regards,
> Mazaya
>
> On Wed, Jun 28, 2023 at 12:34 PM Chris Johns  wrote:
>>
>> I am as well
>>
>> Chris
>>
>> On 28/6/2023 12:25 am, Joel Sherrill wrote:
>> > I'm OK with this patch.
>> >
>> > Is it assuming that you installed renode on your own -- not using the RSB?
>> >
>> > --joel
>> >
>> > On Mon, Jun 26, 2023 at 5:37 PM Muhammad Sulthan Mazaya
>> > mailto:msulthanmaz...@gmail.com>> wrote:
>> >
>> > Hi Chris,
>> >
>> > Yes they are the same. I thought there was an email error, so I 
>> > re-send it
>> > twice.
>> >
>> > On Tue, 27 Jun 2023, 07:46 Chris Johns, > > > wrote:
>> >
>> > Hi Muhammad,
>> >
>> > The patch looks good, thanks.
>> >
>> > Are the 3 posted patches the same version?
>> >
>> > Chris
>> >
>> > On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
>> > > Patch for the implementation of renode on rtems-test. Currently, 
>> > renode
>> > > installation has not been implemented in rsb. Thus, for testing, 
>> > you can
>> > > install renode by referring to the documentation link below.
>> > >
>> > > Downloads for debian, fedora, arch, macOS, and windows:
>> > > https://renode.io/#downloads 
>> > >
>> > > Alternatively, you can access Renode's GitHub releases:
>> > > https://github.com/renode/renode/releases/tag/v1.13.3
>> > 
>> > >
>> > > You can also build it from source:
>> > >
>> > 
>> > https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
>> >  
>> > 
>> > >
>> > > This patch consists of changes to test kendrytek210 using 
>> > renode. To
>> > > test it, you can build the kendrytek210 test suite as instructed 
>> > in the
>> > > rtems-docs (Alan's patch here:
>> > https://lists.rtems.org/pipermail/devel/2023-April/074838.html
>> > ).
>> > > Then, use the following command to run the test suite.
>> > >
>> > > rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
>> > >
>> > > ---
>> > >  .../testing/bsps/kendrytek210-renode.ini  | 38 +++
>> > >  tester/rtems/testing/renode.cfg   | 64 
>> > +++
>> > >  .../testing/renode_scripts/kendrytek210.resc  | 53 
>> > +++
>> > >  3 files changed, 155 insertions(+)
>> > >  create mode 100644 
>> > tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > >  create mode 100644 tester/rtems/testing/renode.cfg
>> > >  create mode 100644 
>> > tester/rtems/testing/renode_scripts/kendrytek210.resc
>> > >
>> > > diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > b/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > > new file mode 100644
>> > > index 000..95850c5
>> > > --- /dev/null
>> > > +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > > @@ -0,0 +1,38 @@
>> > > +#
>> > > +# RTEMS Tools Project (http://www.rtems.org/ 
>> > )
>> > > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org
>> > )
>> > > +# All rights reserved.
>> > > +#
>> > > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
>> > > +#
>> > > +# Redistribution and use in source and binary forms, with or 
>> > without
>> > > +# modification, are permitted provided that the following 
>> > conditions
>> > are met:
>> > > +#
>> > > +# 1. Redistributions of source code must retain the above 
>> > copyright
>> > notice,
>> > > +# this list of conditions and the following disclaimer.
>> > > +#
>> > > +# 2. Redistributions in binary form must reproduce the above
>> > copyright notice,
>> > > +# this list of conditions and the following disclaimer in the
>> > documentation
>> > > +# and/or other materials provided with the distribution.
>> > > +#
>> > > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
>> > CONTRIBUTORS
>> > "AS IS"
>> > > +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 
>> > LIMITED
>> > TO, THE
>> > > +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
>> 

Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-27 Thread Muhammad Sulthan Mazaya
Hi Joel and Chris,

Yes, and I will be working on the rsb patch for renode installation next.

Regards,
Mazaya

On Wed, Jun 28, 2023 at 12:34 PM Chris Johns  wrote:

> I am as well
>
> Chris
>
> On 28/6/2023 12:25 am, Joel Sherrill wrote:
> > I'm OK with this patch.
> >
> > Is it assuming that you installed renode on your own -- not using the
> RSB?
> >
> > --joel
> >
> > On Mon, Jun 26, 2023 at 5:37 PM Muhammad Sulthan Mazaya
> > mailto:msulthanmaz...@gmail.com>> wrote:
> >
> > Hi Chris,
> >
> > Yes they are the same. I thought there was an email error, so I
> re-send it
> > twice.
> >
> > On Tue, 27 Jun 2023, 07:46 Chris Johns,  > > wrote:
> >
> > Hi Muhammad,
> >
> > The patch looks good, thanks.
> >
> > Are the 3 posted patches the same version?
> >
> > Chris
> >
> > On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
> > > Patch for the implementation of renode on rtems-test.
> Currently, renode
> > > installation has not been implemented in rsb. Thus, for
> testing, you can
> > > install renode by referring to the documentation link below.
> > >
> > > Downloads for debian, fedora, arch, macOS, and windows:
> > > https://renode.io/#downloads 
> > >
> > > Alternatively, you can access Renode's GitHub releases:
> > > https://github.com/renode/renode/releases/tag/v1.13.3
> > 
> > >
> > > You can also build it from source:
> > >
> >
> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
> <
> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
> >
> > >
> > > This patch consists of changes to test kendrytek210 using
> renode. To
> > > test it, you can build the kendrytek210 test suite as
> instructed in the
> > > rtems-docs (Alan's patch here:
> > https://lists.rtems.org/pipermail/devel/2023-April/074838.html
> >  >).
> > > Then, use the following command to run the test suite.
> > >
> > > rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
> > >
> > > ---
> > >  .../testing/bsps/kendrytek210-renode.ini  | 38 +++
> > >  tester/rtems/testing/renode.cfg   | 64
> +++
> > >  .../testing/renode_scripts/kendrytek210.resc  | 53
> +++
> > >  3 files changed, 155 insertions(+)
> > >  create mode 100644
> tester/rtems/testing/bsps/kendrytek210-renode.ini
> > >  create mode 100644 tester/rtems/testing/renode.cfg
> > >  create mode 100644
> tester/rtems/testing/renode_scripts/kendrytek210.resc
> > >
> > > diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > > new file mode 100644
> > > index 000..95850c5
> > > --- /dev/null
> > > +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > > @@ -0,0 +1,38 @@
> > > +#
> > > +# RTEMS Tools Project (http://www.rtems.org/ <
> http://www.rtems.org/>)
> > > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org
> > )
> > > +# All rights reserved.
> > > +#
> > > +# This file is part of the RTEMS Tools package in
> 'rtems-tools'.
> > > +#
> > > +# Redistribution and use in source and binary forms, with or
> without
> > > +# modification, are permitted provided that the following
> conditions
> > are met:
> > > +#
> > > +# 1. Redistributions of source code must retain the above
> copyright
> > notice,
> > > +# this list of conditions and the following disclaimer.
> > > +#
> > > +# 2. Redistributions in binary form must reproduce the above
> > copyright notice,
> > > +# this list of conditions and the following disclaimer in the
> > documentation
> > > +# and/or other materials provided with the distribution.
> > > +#
> > > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
> CONTRIBUTORS
> > "AS IS"
> > > +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
> LIMITED
> > TO, THE
> > > +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
> PARTICULAR
> > PURPOSE
> > > +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
> > CONTRIBUTORS BE
> > > +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
> EXEMPLARY, OR
> > > +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
> PROCUREMENT OF
> > > +# 

Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-27 Thread Chris Johns
I am as well

Chris

On 28/6/2023 12:25 am, Joel Sherrill wrote:
> I'm OK with this patch.
> 
> Is it assuming that you installed renode on your own -- not using the RSB?
> 
> --joel
> 
> On Mon, Jun 26, 2023 at 5:37 PM Muhammad Sulthan Mazaya
> mailto:msulthanmaz...@gmail.com>> wrote:
> 
> Hi Chris,
> 
> Yes they are the same. I thought there was an email error, so I re-send it
> twice.
> 
> On Tue, 27 Jun 2023, 07:46 Chris Johns,  > wrote:
> 
> Hi Muhammad,
> 
> The patch looks good, thanks.
> 
> Are the 3 posted patches the same version?
> 
> Chris
> 
> On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
> > Patch for the implementation of renode on rtems-test. Currently, 
> renode
> > installation has not been implemented in rsb. Thus, for testing, 
> you can
> > install renode by referring to the documentation link below.
> >
> > Downloads for debian, fedora, arch, macOS, and windows:
> > https://renode.io/#downloads 
> >
> > Alternatively, you can access Renode's GitHub releases:
> > https://github.com/renode/renode/releases/tag/v1.13.3
> 
> >
> > You can also build it from source:
> >
> 
> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
>  
> 
> >
> > This patch consists of changes to test kendrytek210 using renode. To
> > test it, you can build the kendrytek210 test suite as instructed in 
> the
> > rtems-docs (Alan's patch here:
> https://lists.rtems.org/pipermail/devel/2023-April/074838.html
> ).
> > Then, use the following command to run the test suite.
> >
> > rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
> >
> > ---
> >  .../testing/bsps/kendrytek210-renode.ini      | 38 +++
> >  tester/rtems/testing/renode.cfg               | 64 
> +++
> >  .../testing/renode_scripts/kendrytek210.resc  | 53 +++
> >  3 files changed, 155 insertions(+)
> >  create mode 100644 
> tester/rtems/testing/bsps/kendrytek210-renode.ini
> >  create mode 100644 tester/rtems/testing/renode.cfg
> >  create mode 100644 
> tester/rtems/testing/renode_scripts/kendrytek210.resc
> >
> > diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini
> b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > new file mode 100644
> > index 000..95850c5
> > --- /dev/null
> > +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > @@ -0,0 +1,38 @@
> > +#
> > +# RTEMS Tools Project (http://www.rtems.org/ 
> )
> > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org
> )
> > +# All rights reserved.
> > +#
> > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
> > +#
> > +# Redistribution and use in source and binary forms, with or 
> without
> > +# modification, are permitted provided that the following 
> conditions
> are met:
> > +#
> > +# 1. Redistributions of source code must retain the above copyright
> notice,
> > +# this list of conditions and the following disclaimer.
> > +#
> > +# 2. Redistributions in binary form must reproduce the above
> copyright notice,
> > +# this list of conditions and the following disclaimer in the
> documentation
> > +# and/or other materials provided with the distribution.
> > +#
> > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 
> CONTRIBUTORS
> "AS IS"
> > +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
> TO, THE
> > +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
> PARTICULAR
> PURPOSE
> > +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
> CONTRIBUTORS BE
> > +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, 
> OR
> > +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 
> PROCUREMENT OF
> > +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
> BUSINESS
> > +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 
> WHETHER IN
> > +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 
> OTHERWISE)
> > +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF 
> ADVISED
> OF 

Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-27 Thread Joel Sherrill
I'm OK with this patch.

Is it assuming that you installed renode on your own -- not using the RSB?

--joel

On Mon, Jun 26, 2023 at 5:37 PM Muhammad Sulthan Mazaya <
msulthanmaz...@gmail.com> wrote:

> Hi Chris,
>
> Yes they are the same. I thought there was an email error, so I re-send it
> twice.
>
> On Tue, 27 Jun 2023, 07:46 Chris Johns,  wrote:
>
>> Hi Muhammad,
>>
>> The patch looks good, thanks.
>>
>> Are the 3 posted patches the same version?
>>
>> Chris
>>
>> On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
>> > Patch for the implementation of renode on rtems-test. Currently, renode
>> > installation has not been implemented in rsb. Thus, for testing, you can
>> > install renode by referring to the documentation link below.
>> >
>> > Downloads for debian, fedora, arch, macOS, and windows:
>> > https://renode.io/#downloads
>> >
>> > Alternatively, you can access Renode's GitHub releases:
>> > https://github.com/renode/renode/releases/tag/v1.13.3
>> >
>> > You can also build it from source:
>> >
>> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
>> >
>> > This patch consists of changes to test kendrytek210 using renode. To
>> > test it, you can build the kendrytek210 test suite as instructed in the
>> > rtems-docs (Alan's patch here:
>> https://lists.rtems.org/pipermail/devel/2023-April/074838.html).
>> > Then, use the following command to run the test suite.
>> >
>> > rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
>> >
>> > ---
>> >  .../testing/bsps/kendrytek210-renode.ini  | 38 +++
>> >  tester/rtems/testing/renode.cfg   | 64 +++
>> >  .../testing/renode_scripts/kendrytek210.resc  | 53 +++
>> >  3 files changed, 155 insertions(+)
>> >  create mode 100644 tester/rtems/testing/bsps/kendrytek210-renode.ini
>> >  create mode 100644 tester/rtems/testing/renode.cfg
>> >  create mode 100644
>> tester/rtems/testing/renode_scripts/kendrytek210.resc
>> >
>> > diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> b/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > new file mode 100644
>> > index 000..95850c5
>> > --- /dev/null
>> > +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
>> > @@ -0,0 +1,38 @@
>> > +#
>> > +# RTEMS Tools Project (http://www.rtems.org/)
>> > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
>> > +# All rights reserved.
>> > +#
>> > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
>> > +#
>> > +# Redistribution and use in source and binary forms, with or without
>> > +# modification, are permitted provided that the following conditions
>> are met:
>> > +#
>> > +# 1. Redistributions of source code must retain the above copyright
>> notice,
>> > +# this list of conditions and the following disclaimer.
>> > +#
>> > +# 2. Redistributions in binary form must reproduce the above copyright
>> notice,
>> > +# this list of conditions and the following disclaimer in the
>> documentation
>> > +# and/or other materials provided with the distribution.
>> > +#
>> > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
>> "AS IS"
>> > +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
>> TO, THE
>> > +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
>> PURPOSE
>> > +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
>> CONTRIBUTORS BE
>> > +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
>> > +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
>> > +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
>> BUSINESS
>> > +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
>> IN
>> > +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
>> OTHERWISE)
>> > +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
>> OF THE
>> > +# POSSIBILITY OF SUCH DAMAGE.
>> > +#
>> > +
>> > +#
>> > +# The Kendrytek210 Renode BSP
>> > +#
>> > +[kendrytek210-renode]
>> > +bsp = kendrytek210-renode
>> > +arch= riscv
>> > +tester  = %{_rtscripts}/renode.cfg
>> > +bsp_resc_script = %{_rtscripts}/renode_scripts/kendrytek210.resc
>> > diff --git a/tester/rtems/testing/renode.cfg
>> b/tester/rtems/testing/renode.cfg
>> > new file mode 100644
>> > index 000..49e84a5
>> > --- /dev/null
>> > +++ b/tester/rtems/testing/renode.cfg
>> > @@ -0,0 +1,64 @@
>> > +#
>> > +# RTEMS Tools Project (http://www.rtems.org/)
>> > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
>> > +# All rights reserved.
>> > +#
>> > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
>> > +#
>> > +# Redistribution and use in source and binary forms, with or without
>> > +# modification, are permitted provided that the following conditions
>> are met:
>> > +#
>> > +# 1. Redistributions of source code must retain the above copyright
>> notice,
>> > +# this list of conditions and 

Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-26 Thread Muhammad Sulthan Mazaya
Hi Chris,

Yes they are the same. I thought there was an email error, so I re-send it
twice.

On Tue, 27 Jun 2023, 07:46 Chris Johns,  wrote:

> Hi Muhammad,
>
> The patch looks good, thanks.
>
> Are the 3 posted patches the same version?
>
> Chris
>
> On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
> > Patch for the implementation of renode on rtems-test. Currently, renode
> > installation has not been implemented in rsb. Thus, for testing, you can
> > install renode by referring to the documentation link below.
> >
> > Downloads for debian, fedora, arch, macOS, and windows:
> > https://renode.io/#downloads
> >
> > Alternatively, you can access Renode's GitHub releases:
> > https://github.com/renode/renode/releases/tag/v1.13.3
> >
> > You can also build it from source:
> >
> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
> >
> > This patch consists of changes to test kendrytek210 using renode. To
> > test it, you can build the kendrytek210 test suite as instructed in the
> > rtems-docs (Alan's patch here:
> https://lists.rtems.org/pipermail/devel/2023-April/074838.html).
> > Then, use the following command to run the test suite.
> >
> > rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
> >
> > ---
> >  .../testing/bsps/kendrytek210-renode.ini  | 38 +++
> >  tester/rtems/testing/renode.cfg   | 64 +++
> >  .../testing/renode_scripts/kendrytek210.resc  | 53 +++
> >  3 files changed, 155 insertions(+)
> >  create mode 100644 tester/rtems/testing/bsps/kendrytek210-renode.ini
> >  create mode 100644 tester/rtems/testing/renode.cfg
> >  create mode 100644 tester/rtems/testing/renode_scripts/kendrytek210.resc
> >
> > diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini
> b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > new file mode 100644
> > index 000..95850c5
> > --- /dev/null
> > +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> > @@ -0,0 +1,38 @@
> > +#
> > +# RTEMS Tools Project (http://www.rtems.org/)
> > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
> > +# All rights reserved.
> > +#
> > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
> > +#
> > +# Redistribution and use in source and binary forms, with or without
> > +# modification, are permitted provided that the following conditions
> are met:
> > +#
> > +# 1. Redistributions of source code must retain the above copyright
> notice,
> > +# this list of conditions and the following disclaimer.
> > +#
> > +# 2. Redistributions in binary form must reproduce the above copyright
> notice,
> > +# this list of conditions and the following disclaimer in the
> documentation
> > +# and/or other materials provided with the distribution.
> > +#
> > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
> "AS IS"
> > +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
> THE
> > +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
> PURPOSE
> > +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
> CONTRIBUTORS BE
> > +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> > +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> > +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
> BUSINESS
> > +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER
> IN
> > +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
> OTHERWISE)
> > +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
> OF THE
> > +# POSSIBILITY OF SUCH DAMAGE.
> > +#
> > +
> > +#
> > +# The Kendrytek210 Renode BSP
> > +#
> > +[kendrytek210-renode]
> > +bsp = kendrytek210-renode
> > +arch= riscv
> > +tester  = %{_rtscripts}/renode.cfg
> > +bsp_resc_script = %{_rtscripts}/renode_scripts/kendrytek210.resc
> > diff --git a/tester/rtems/testing/renode.cfg
> b/tester/rtems/testing/renode.cfg
> > new file mode 100644
> > index 000..49e84a5
> > --- /dev/null
> > +++ b/tester/rtems/testing/renode.cfg
> > @@ -0,0 +1,64 @@
> > +#
> > +# RTEMS Tools Project (http://www.rtems.org/)
> > +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
> > +# All rights reserved.
> > +#
> > +# This file is part of the RTEMS Tools package in 'rtems-tools'.
> > +#
> > +# Redistribution and use in source and binary forms, with or without
> > +# modification, are permitted provided that the following conditions
> are met:
> > +#
> > +# 1. Redistributions of source code must retain the above copyright
> notice,
> > +# this list of conditions and the following disclaimer.
> > +#
> > +# 2. Redistributions in binary form must reproduce the above copyright
> notice,
> > +# this list of conditions and the following disclaimer in the
> documentation
> > +# and/or other materials provided with the distribution.
> > +#
> > +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 

Re: [PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-26 Thread Chris Johns
Hi Muhammad,

The patch looks good, thanks.

Are the 3 posted patches the same version?

Chris

On 26/6/2023 2:17 pm, Muhammad Sulthan Mazaya wrote:
> Patch for the implementation of renode on rtems-test. Currently, renode
> installation has not been implemented in rsb. Thus, for testing, you can
> install renode by referring to the documentation link below.
> 
> Downloads for debian, fedora, arch, macOS, and windows:
> https://renode.io/#downloads
> 
> Alternatively, you can access Renode's GitHub releases:
> https://github.com/renode/renode/releases/tag/v1.13.3
> 
> You can also build it from source:
> https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source
> 
> This patch consists of changes to test kendrytek210 using renode. To
> test it, you can build the kendrytek210 test suite as instructed in the
> rtems-docs (Alan's patch here: 
> https://lists.rtems.org/pipermail/devel/2023-April/074838.html).
> Then, use the following command to run the test suite.
> 
> rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]
> 
> ---
>  .../testing/bsps/kendrytek210-renode.ini  | 38 +++
>  tester/rtems/testing/renode.cfg   | 64 +++
>  .../testing/renode_scripts/kendrytek210.resc  | 53 +++
>  3 files changed, 155 insertions(+)
>  create mode 100644 tester/rtems/testing/bsps/kendrytek210-renode.ini
>  create mode 100644 tester/rtems/testing/renode.cfg
>  create mode 100644 tester/rtems/testing/renode_scripts/kendrytek210.resc
> 
> diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini 
> b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> new file mode 100644
> index 000..95850c5
> --- /dev/null
> +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
> @@ -0,0 +1,38 @@
> +#
> +# RTEMS Tools Project (http://www.rtems.org/)
> +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
> +# All rights reserved.
> +#
> +# This file is part of the RTEMS Tools package in 'rtems-tools'.
> +#
> +# Redistribution and use in source and binary forms, with or without
> +# modification, are permitted provided that the following conditions are met:
> +#
> +# 1. Redistributions of source code must retain the above copyright notice,
> +# this list of conditions and the following disclaimer.
> +#
> +# 2. Redistributions in binary form must reproduce the above copyright 
> notice,
> +# this list of conditions and the following disclaimer in the documentation
> +# and/or other materials provided with the distribution.
> +#
> +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
> +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
> +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
> +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
> +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
> +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
> +# POSSIBILITY OF SUCH DAMAGE.
> +#
> +
> +#
> +# The Kendrytek210 Renode BSP
> +#
> +[kendrytek210-renode]
> +bsp = kendrytek210-renode
> +arch= riscv
> +tester  = %{_rtscripts}/renode.cfg
> +bsp_resc_script = %{_rtscripts}/renode_scripts/kendrytek210.resc
> diff --git a/tester/rtems/testing/renode.cfg b/tester/rtems/testing/renode.cfg
> new file mode 100644
> index 000..49e84a5
> --- /dev/null
> +++ b/tester/rtems/testing/renode.cfg
> @@ -0,0 +1,64 @@
> +#
> +# RTEMS Tools Project (http://www.rtems.org/)
> +# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
> +# All rights reserved.
> +#
> +# This file is part of the RTEMS Tools package in 'rtems-tools'.
> +#
> +# Redistribution and use in source and binary forms, with or without
> +# modification, are permitted provided that the following conditions are met:
> +#
> +# 1. Redistributions of source code must retain the above copyright notice,
> +# this list of conditions and the following disclaimer.
> +#
> +# 2. Redistributions in binary form must reproduce the above copyright 
> notice,
> +# this list of conditions and the following disclaimer in the documentation
> +# and/or other materials provided with the distribution.
> +#
> +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
> +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
> +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
> +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
> +# CONSEQUENTIAL DAMAGES (INCLUDING, 

[PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-26 Thread Muhammad Sulthan Mazaya
Patch for the implementation of renode on rtems-test. Currently, renode
installation has not been implemented in rsb. Thus, for testing, you can
install renode by referring to the documentation link below.

Downloads for debian, fedora, arch, macOS, and windows:
https://renode.io/#downloads

Alternatively, you can access Renode's GitHub releases:
https://github.com/renode/renode/releases/tag/v1.13.3

You can also build it from source:
https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source

This patch consists of changes to test kendrytek210 using renode. To
test it, you can build the kendrytek210 test suite as instructed in the
rtems-docs (Alan's patch here: 
https://lists.rtems.org/pipermail/devel/2023-April/074838.html).
Then, use the following command to run the test suite.

rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]

---
 .../testing/bsps/kendrytek210-renode.ini  | 38 +++
 tester/rtems/testing/renode.cfg   | 64 +++
 .../testing/renode_scripts/kendrytek210.resc  | 53 +++
 3 files changed, 155 insertions(+)
 create mode 100644 tester/rtems/testing/bsps/kendrytek210-renode.ini
 create mode 100644 tester/rtems/testing/renode.cfg
 create mode 100644 tester/rtems/testing/renode_scripts/kendrytek210.resc

diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini 
b/tester/rtems/testing/bsps/kendrytek210-renode.ini
new file mode 100644
index 000..95850c5
--- /dev/null
+++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
@@ -0,0 +1,38 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+#
+# The Kendrytek210 Renode BSP
+#
+[kendrytek210-renode]
+bsp = kendrytek210-renode
+arch= riscv
+tester  = %{_rtscripts}/renode.cfg
+bsp_resc_script = %{_rtscripts}/renode_scripts/kendrytek210.resc
diff --git a/tester/rtems/testing/renode.cfg b/tester/rtems/testing/renode.cfg
new file mode 100644
index 000..49e84a5
--- /dev/null
+++ b/tester/rtems/testing/renode.cfg
@@ -0,0 +1,64 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH 

[PATCH rtems-tools] tester/rtems: add renode implementation

2023-06-26 Thread Muhammad Sulthan Mazaya
Patch for the implementation of renode on rtems-test. Currently, renode
installation has not been implemented in rsb. Thus, for testing, you can
install renode by referring to the documentation link below.

Downloads for debian, fedora, arch, macOS, and windows:
https://renode.io/#downloads

Alternatively, you can access Renode's GitHub releases:
https://github.com/renode/renode/releases/tag/v1.13.3

You can also build it from source:
https://renode.readthedocs.io/en/latest/advanced/building_from_sources.html#building-from-source

This patch consists of changes to test kendrytek210 using renode. To
test it, you can build the kendrytek210 test suite as instructed in the
rtems-docs (Alan's patch here: 
https://lists.rtems.org/pipermail/devel/2023-April/074838.html).
Then, use the following command to run the test suite.

rtems-test --rtems-bsp=kendrytek210-renode [test-suite-path]

---
 .../testing/bsps/kendrytek210-renode.ini  | 38 +++
 tester/rtems/testing/renode.cfg   | 64 +++
 .../testing/renode_scripts/kendrytek210.resc  | 53 +++
 3 files changed, 155 insertions(+)
 create mode 100644 tester/rtems/testing/bsps/kendrytek210-renode.ini
 create mode 100644 tester/rtems/testing/renode.cfg
 create mode 100644 tester/rtems/testing/renode_scripts/kendrytek210.resc

diff --git a/tester/rtems/testing/bsps/kendrytek210-renode.ini 
b/tester/rtems/testing/bsps/kendrytek210-renode.ini
new file mode 100644
index 000..95850c5
--- /dev/null
+++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini
@@ -0,0 +1,38 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH DAMAGE.
+#
+
+#
+# The Kendrytek210 Renode BSP
+#
+[kendrytek210-renode]
+bsp = kendrytek210-renode
+arch= riscv
+tester  = %{_rtscripts}/renode.cfg
+bsp_resc_script = %{_rtscripts}/renode_scripts/kendrytek210.resc
diff --git a/tester/rtems/testing/renode.cfg b/tester/rtems/testing/renode.cfg
new file mode 100644
index 000..49e84a5
--- /dev/null
+++ b/tester/rtems/testing/renode.cfg
@@ -0,0 +1,64 @@
+#
+# RTEMS Tools Project (http://www.rtems.org/)
+# Copyright 2010-2014 Chris Johns (chr...@rtems.org)
+# All rights reserved.
+#
+# This file is part of the RTEMS Tools package in 'rtems-tools'.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions are met:
+#
+# 1. Redistributions of source code must retain the above copyright notice,
+# this list of conditions and the following disclaimer.
+#
+# 2. Redistributions in binary form must reproduce the above copyright notice,
+# this list of conditions and the following disclaimer in the documentation
+# and/or other materials provided with the distribution.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
+# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
+# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+# POSSIBILITY OF SUCH