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

2023-08-20 Thread Muhammad Sulthan Mazaya
Oh sorry I miss that, yes I have a stale directory of renode_scripts in my rtems repo locally On Fri, Aug 18, 2023 at 10:23 PM Gedare Bloom wrote: > On Sun, Aug 6, 2023 at 11:05 PM Muhammad Sulthan Mazaya > wrote: > > > > Add gpl to the prom binary file name + include the l

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

2023-08-20 Thread Muhammad Sulthan Mazaya
ing/bsps/kendrytek210-renode.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright (C) 2023, 2023 Muhammad Sulthan Mazaya (msulthanmaz...@gmail.com) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-tools'. +# +# Redistribution and

[PATCH rtems-docs] user/testing: add testing using renode docs

2023-08-14 Thread Muhammad Sulthan Mazaya
Testing using renode docs. Consists of how to install it and how to add new configuration to test BSP using renode. --- user/testing/index.rst | 1 + user/testing/renode.rst | 84 + 2 files changed, 85 insertions(+) create mode 100644

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

2023-08-06 Thread Muhammad Sulthan Mazaya
dev/null +++ b/tester/rtems/testing/bsps/kendrytek210-renode.ini @@ -0,0 +1,38 @@ +# +# RTEMS Tools Project (http://www.rtems.org/) +# Copyright (C) 2023, 2023 Muhammad Sulthan Mazaya (msulthanmaz...@gmail.com) +# All rights reserved. +# +# This file is part of the RTEMS Tools package in 'rtems-to

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

2023-08-02 Thread Muhammad Sulthan Mazaya
org/) +# Copyright (C) 2023, 2023 Muhammad Sulthan Mazaya (msulthanmaz...@gmail.com) +# 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 follow

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

2023-07-30 Thread Muhammad Sulthan Mazaya
binary is from this repository https://github.com/antmicro/renode-rtems-leon3/blob/main/build-prom.sh. About the attribution, where should I add it? On Mon, Jul 31, 2023 at 8:49 AM Chris Johns wrote: > On 29/7/2023 12:08 pm, Muhammad Sulthan Mazaya wrote: > > Add leon3 implementation for r

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

2023-07-30 Thread Muhammad Sulthan Mazaya
on > Discord. > > It would be nice to have comments and licenses in them but may not be > possible. > > On Fri, Jul 28, 2023 at 9:09 PM Muhammad Sulthan Mazaya < > msulthanmaz...@gmail.com> wrote: > >> Add leon3 implementation for rtems-test using renode. &g

Re: Building leon3 prom image for testing on renode

2023-07-28 Thread Muhammad Sulthan Mazaya
Wed, Jul 19, 2023 at 10:30 PM Alan Cudmore > wrote: > >> Hi Mazaya, >> >> On Tue, Jul 18, 2023 at 8:35 PM Muhammad Sulthan Mazaya < >> msulthanmaz...@gmail.com> wrote: >> >>> Hi Alan, >>> >>> > Also, as you men

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

2023-07-28 Thread Muhammad Sulthan Mazaya
Add leon3 implementation for rtems-test using renode. --- .../testing/bsps/kendrytek210-renode.ini | 38 ++ tester/rtems/testing/bsps/leon3-renode.ini| 37 ++ tester/rtems/testing/renode.cfg | 65 ++

[PATCH rtems-source-builder v3] bare/config: add renode rsb installation config

2023-07-20 Thread Muhammad Sulthan Mazaya
Change file name based on Chris's review here https://lists.rtems.org/pipermail/devel/2023-July/075802.html Plus, fix `cp` so that it also include dotfiles. Because without the the `.renode-root` file the command won't work. --- bare/config/devel/renode-1.13.3-1.cfg | 11 ++

Re: Building leon3 prom image for testing on renode

2023-07-18 Thread Muhammad Sulthan Mazaya
ards, > Alan > > On Tue, Jul 18, 2023 at 2:46 AM Muhammad Sulthan Mazaya < > msulthanmaz...@gmail.com> wrote: > >> Hi, >> >> I was trying to implement renode for testing leon3 using rtems-test. I >> noticed that from the example they provide >> htt

[PATCH rtems-docs] user: Update @rtems-ver-major@ to use sphinx substitution extention

2023-07-18 Thread Muhammad Sulthan Mazaya
Using sphinx-substitution-extensions to manage the variable @rtems-ver-major@. Originally Utkarsh's idea: https://discord.com/channels/82045382112799/82045848335924/1118416996606943302 I have tested and built the docs to see if it works and it does subtitute the variable. The

Building leon3 prom image for testing on renode

2023-07-18 Thread Muhammad Sulthan Mazaya
Hi, I was trying to implement renode for testing leon3 using rtems-test. I noticed that from the example they provide https://github.com/antmicro/renode-rtems-leon3/blob/main/leon3_rtems.resc, it seems like the renode simulator needs the prom image of leon3 to do so. I don't think an additional

Re: [PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-17 Thread Muhammad Sulthan Mazaya
n https://docs.rtems.org/branches/master/user/rsb/index.html > > On Ubuntu, in addition to whatever "typical" development tools I > already have installed, I had to add mono-devel and gtk-sharp2 > > On Wed, Jul 12, 2023 at 2:43 AM Muhammad Sulthan Mazaya > wrote: > >

[PATCH rtems-source-builder v2] bare/config: add renode rsb installation config

2023-07-12 Thread Muhammad Sulthan Mazaya
Use the design of how qemu handle config files + add version number to the config file name. --- bare/config/devel/renode-1.13.3-1.cfg | 11 ++ bare/config/devel/renode.bset | 7 source-builder/config/renode-1.13.3.cfg | 7

Re: [PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-11 Thread Muhammad Sulthan Mazaya
Chris, is there any place to document required > > dependencies/packages for a build set? > > > > The patch has a whitespace problem > > > > +# Renode source > > +# > > It might be a non-ASCII character, as it gets eaten by email but is > > in the patch file

[PATCH rtems-source-builder] bare/config: add renode rsb installation config

2023-07-10 Thread Muhammad Sulthan Mazaya
An implementation of renode rsb installation config. It uses renode's github release as source and build the package using their build script. --- bare/config/devel/renode-git-1.cfg | 47 ++ bare/config/devel/renode.bset | 9 ++ 2 files changed, 56

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

2023-06-27 Thread Muhammad Sulthan Mazaya
> > 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, &

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

[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

[PATCH rtems-tools] tester/rtems/testing: 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

[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

Re: [PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Muhammad Sulthan Mazaya
> On 21/6/2023 11:55 am, Muhammad Sulthan Mazaya wrote: > > Turns out subprocess.Popen operates on posix mode. > > Is this true for non-POSIX systems? > > Where is this documented? It's not, turns out it is also dependent on the system too. It is documented here https://docs

[PATCH rtems-tools] rtemstoolkit: Fix shlex.split to use posix mode and add unit test for pipe operation

2023-06-20 Thread Muhammad Sulthan Mazaya
Turns out subprocess.Popen operates on posix mode. Also, there is an issue with previous implementation of pipe command that is fixed by Chris. Now, it can also accepts command in form of a string. The unit test for that is added via this patch. --- rtemstoolkit/execute.py | 21

[PATCH rtems-tools v2] rtemstoolkit: add support for executing pipe command

2023-06-19 Thread Muhammad Sulthan Mazaya
added unit tests and shorten long lines. --- rtemstoolkit/execute.py | 43 - 1 file changed, 38 insertions(+), 5 deletions(-) diff --git a/rtemstoolkit/execute.py b/rtemstoolkit/execute.py index ed81589..9ec1cd7 100755 --- a/rtemstoolkit/execute.py +++

Re: [PATCH rtems-tools] rtemstoolkit: add support for executing pipe command

2023-06-19 Thread Muhammad Sulthan Mazaya
Sorry, sent the wrong patch, it should be the v2. Ignore this one. On Tue, Jun 20, 2023 at 12:30 PM Muhammad Sulthan Mazaya < msulthanmaz...@gmail.com> wrote: > The previous implementation of execute command on rtems-tools config does > not support command line pipe operation. So so

[PATCH rtems-tools] rtemstoolkit: add support for executing pipe command

2023-06-19 Thread Muhammad Sulthan Mazaya
The previous implementation of execute command on rtems-tools config does not support command line pipe operation. So something like: %execute %{command} | %{trim_command} Would not work, since the "| %{trim_command}" part is treated as an additional command option. This patch is intended to

[PATCH rtems-tools] tester/rt: use shlex.split to split command args

2023-06-19 Thread Muhammad Sulthan Mazaya
The regular split-by-space function used to split command arguments creates compatibility issues with many shell command syntaxes. A specific example is the handling of string arguments, as shown below: %define renode_args -e start_opts -e "s %{bsp_resc_script}" Thus, it is changed to use

[PATCH rtems-tools] rtemstoolkit: add support for executing pipe command

2023-06-19 Thread Muhammad Sulthan Mazaya
The previous implementation of execute command on rtems-tools config does not support command line pipe operation. So something like: %execute %{command} | %{trim_command} Would not work, since the "| %{trim_command}" part is treated as an additional command option. This patch is intended to

[PATCH] tester/rt: use shlex.split to split command args

2023-05-22 Thread Muhammad Sulthan Mazaya
The regular split-by-space function used to split command arguments creates compatibility issues with many shell command syntaxes. A specific example is the handling of string arguments, as shown below: %define renode_args -e start_opts -e "s %{bsp_resc_script}" Thus, it is changed to use

Re: GSoC Contributor Introduction: Integrating Renode to RTEMS

2023-05-12 Thread Muhammad Sulthan Mazaya
l@ mailing list since that is where most of the > developers are. > > Other comments inline. > > On Wed, May 10, 2023 at 4:06 AM Muhammad Sulthan Mazaya < > msulthanmaz...@gmail.com> wrote: > >> Hi everyone, >> >> My name is Mazaya, I am one of the Google

GSoC 2023 Proposal - Add Support for renode.io Simulator

2023-03-27 Thread Muhammad Sulthan Mazaya
Hi everyone, I have drafted my proposal for GSoC on adding support for the renode.io simulator and am humbly asking for your review on it, any feedback and suggestion will be very appreciated. The proposal is available here