RTEMS / Tools / RTEMS Tools

Go to Issues or Merge Requests


Issues

31 - Backport to 6: “mkimage.py: Add ability to set timestamp”

Id

31

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Kinsey Moore

Created

2025-12-09T21:20:11.483Z

Closed

2025-12-16T20:47:35.888Z

Updated

2025-12-16T20:47:35.980Z

Milestone

6.2

Labels

tool

Link

https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/31

Merges

0

The following discussion from !76 should be addressed:

  • [] @opticron started a discussion:

    This could be backported to 6 without affecting existing behavior.

Author: Kinsey Moore

2025-12-09T21:20:11.870Z

added rtems#10 as parent epic

Author: Kinsey Moore

2025-12-09T21:20:12.055Z

set status to To do

Author: Kinsey Moore

2025-12-09T21:20:12.364Z

assigned to @opticron

Author: Kinsey Moore

2025-12-09T21:22:40.730Z

mentioned in merge request !77

Author: Kinsey Moore

2025-12-16T20:47:35.953Z

set status to Done

22 - RTEMS tester fails to run correctly under python 3.13

Id

22

State

closed

Type

ISSUE

Author

Kinsey Moore

Assignee(s)

Kinsey Moore

Closed by

Chris Johns

Created

2025-02-28T22:39:31.754Z

Closed

2025-10-02T22:52:00.909Z

Updated

2025-10-02T22:52:00.914Z

Milestone

6.2

Labels

tool::test

Link

https://gitlab.rtems.org/rtems/tools/rtems-tools/-/issues/22

Merges

0

Summary

When attempting to run the RTEMS tester with Python 3.13, these error messages are produced:

.../rtems-tools/tester/rt/test.py:76: SyntaxWarning: invalid escape sequence '\\['
status_regx = re.compile('^\\[\\s*\\d+/\\s*\\d+\\] p:.+')
.../rtems-tools/tester/rt/test.py:188: SyntaxWarning: invalid escape sequence '\\.'
norun = re.compile('.*\\.norun.*')
Incorrect RTEMS Tools installation

This was tested on the 6.1 branch, but there appear to be no changes to main that would have fixed this.

This issue also includes the telnetlib issue.

Steps to reproduce

Pre-set options

Author: Kinsey Moore

2025-03-02T02:21:55.776Z

assigned to @opticron

Author: Kinsey Moore

2025-02-28T22:39:31.957Z

assigned to @opticron

Author: Kinsey Moore

2025-02-28T22:39:32.416Z

Author: Kinsey Moore

2025-03-02T02:13:13.434Z

On further investigation, this is 2 separate issues. The escapes need to be fixed to resolve the warnings and the actual exit is caused by missing telnetlib since it was deprecated in 3.11 and removed in 3.13.

Author: Kinsey Moore

2025-03-02T02:13:13.403Z

On debian systems, there is currently a workaround for the actual exit issue by installing python3-zombie-telnetlib.

Author: Amar Takhar

2025-03-02T02:28:45.323Z

The current state of telnetlib isn’t great I don’t think there are any maintained ones. This one is its own project but no activity from the maintainer in years: https://github.com/jquast/telnetlib3

The Python one was just removed there is nobody touching the code anymore which is why they called it ‘zombie’ .. apt name.

telnetlib3 is at least installable via pypi. I’m not sure if it’s a drop in replacement does it work can you try it out?

FreeBSD for example has no telnet library for python available and I’m sure that’s true for most OS the Python project itself recommends either telnetlib3 or Exscript which is even more out of maintainership

Author: Kinsey Moore

2025-03-02T02:34:43.202Z

telnetlib3 appears to be a mostly drop-in replacement (s/telnetlib/telnetlib3/g), but I don’t have an example of a tester configuration that actually uses it, so I can’t verify that functionality completely.

Author: Chris Johns

2025-03-02T02:37:05.927Z

https://docs.rtems.org/docs/main/user/testing/configuration.html#console and look for:

%define bsp_tty_dev      1.2.3.4:8989

Author: Kinsey Moore

2025-03-02T02:43:13.300Z

Ah, I do actually have a test configuration that I can verify this on. It’ll probably have to wait until Monday.

Author: Kinsey Moore

2025-03-02T02:21:56.083Z

moved from rtems-source-builder#95

Author: Kinsey Moore

2025-03-02T02:22:42.566Z

mentioned in merge request !53

Author: Kinsey Moore

2025-07-30T18:50:47.695Z

The situation has been improved by 0efe888 in that the reason for exit is displayed. This still needs work to verify the migration path to telnetlib3.

Author: Chris Johns

2025-10-02T22:41:29.516Z

changed the description

Author: Chris Johns

2025-10-02T22:44:15.955Z

This is issue cover two problem. We need to split it as the syntax issue has been fixed and we should close this issue.

Author: Chris Johns

2025-10-02T22:49:19.321Z

/clone–with_notes

Author: Chris Johns

2025-10-02T22:50:33.435Z

cloned to #30

Author: Chris Johns

2025-10-02T22:51:53.525Z

Flxed

Author: Chris Johns

2025-10-02T22:52:00.940Z

set status to Done

Merge Requests

77 - mkimage.py: Add ability to set timestamp

Id

77

State

merged

Merged by

Kinsey Moore

Merged at

2025-12-10T05:39:36.290Z

Assignee(s)

Kinsey Moore

Created

2025-12-09T21:22:22.884Z

Updated

2025-12-10T05:39:36.281Z

Milestone

6.2

Labels

tool

Link

https://gitlab.rtems.org/rtems/tools/rtems-tools/-/merge_requests/77

Commit

4e6e2007e8d5d73c4371b81cc7b29dcd1905aee9

Summary

mkimage.py: Add support for AArch64

Updates #31

Author: Kinsey Moore

2025-12-09T21:22:23.754Z

assigned to @opticron

Author: Kinsey Moore

2025-12-09T21:22:54.320Z

enabled an automatic merge when all merge checks for 4e6e2007e8d5d73c4371b81cc7b29dcd1905aee9 pass

Author: Amar Takhar

2025-12-10T02:49:15.682Z

mentioned in merge request !76

Author: Amar Takhar

2025-12-10T05:39:25.739Z

This has the change from !76 in it

Author: Kinsey Moore

2025-12-10T05:39:25.739Z

One is for main and one is for 6 branch.

Author: Amar Takhar

2025-12-10T05:39:25.739Z

I see they both have two commits just the MR titles are wrong

Author: Amar Takhar

2025-12-10T02:50:35.938Z

requested changes

Author: Kinsey Moore

2025-12-10T04:24:11.287Z

changed title from

mkimage.py: Add

support for AArch64

to

mkimage.py: Add

ability to set timestamp

Author: Amar Takhar

2025-12-10T05:39:25.784Z

resolved all threads

Author: Amar Takhar

2025-12-10T05:39:34.095Z

approved this merge request