From: Frank Kühndel
---
user/index.rst | 3 +-
user/overview/index.rst | 2 +
user/rust/bare-metal.rst | 548 +++
user/rust/index.rst | 64 +
4 files changed, 616 insertions(+), 1 deletion(-)
create mode 100644 user/rust/bare-metal.rs
From: Frank Kühndel
---
user/index.rst | 3 +-
user/overview/index.rst | 2 +
user/rust/bare-metal.rst | 549 +++
user/rust/index.rst | 64 +
4 files changed, 617 insertions(+), 1 deletion(-)
create mode 100644 user/rust/bare-metal.rs
From: Frank Kühndel
This is the long promised Rust on RTEMS step-by-step guide.
For reviewing it, I suggest the natural order:
1) user/rust/index.rst -- The introduction
2) user/rust/bare-metal.rst -- The step-by-step guide
If you prefer reviewing the PDF or HTML, you can download them h
From: Frank Kühndel
Close #4642
---
source-builder/sb/ereport.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py
index d8fb5f6..52ee2eb 100755
--- a/source-builder/sb/ereport.py
+++ b/source-builder/sb/ereport.py
From: Frank Kühndel
Hello,
this is the promised patch to close my bug report #4642
https://devel.rtems.org/ticket/4642
"RSB: log.py tends to remove relevant error messages".
I tested it using Christian's Github CI - see his Email:
https://lists.rtems.org/pipermail/devel/2023-January/074099.htm
From: Frank Kühndel
Hello Chris,
I am making an attempt to close my bug report #4642
https://devel.rtems.org/ticket/4642
"RSB: log.py tends removes relevant error messages".
The difficulty seems to be to find a rather short text indicating
that the relevant error can sometimes be so far way fro
From: Frank Kühndel
Close #4642
---
source-builder/sb/ereport.py | 4
1 file changed, 4 insertions(+)
diff --git a/source-builder/sb/ereport.py b/source-builder/sb/ereport.py
index d8fb5f6..d391917 100755
--- a/source-builder/sb/ereport.py
+++ b/source-builder/sb/ereport.py
@@ -55,6 +55,10
iWdt4Lt?SGZ
z36i7`no=|J@esL@CuzhvHe;*3d!*Ku);jO~^L^#YMgp@%&a%*CuhR3tfsbuBGc&t!
z>{OI6F+B
zq@|_p!9T2@4ozG_`HF5?cd4fFDWIE<=~)@zG*n-Rao?(uy2n*!U~#LoyVkeQottDp
z=Yq~pa+#g5AE^Ct~~oUT~FMRLjW
zL^+ocV>T5l*$16V5XSAfcs;E{@5+_%$B#)%oX#&iDc96
z&$yp3RY78e5JOzw6GFO565**+E*6!cw`WX8WS9puy&am
From: Frank Kühndel
CID 1506523: Unchecked return value from library (CHECKED_RETURN)
CID 1506522: Unchecked return value from library (CHECKED_RETURN)
CID 1437618: Unchecked return value from library (CHECKED_RETURN)
Close #4718
---
cpukit/libfs/src/ftpfs/tftpDriver.c | 27
From: Frank Kühndel
---
filesystem/index.rst | 1 +
filesystem/trivial_ftp.rst | 564 -
2 files changed, 562 insertions(+), 3 deletions(-)
diff --git a/filesystem/index.rst b/filesystem/index.rst
index f4e2ed6..64a2f1d 100644
--- a/filesystem/index.rs
From: Frank Kühndel
---
testsuites/fstests/tftpfs/init.c | 3197 --
1 file changed, 3032 insertions(+), 165 deletions(-)
diff --git a/testsuites/fstests/tftpfs/init.c b/testsuites/fstests/tftpfs/init.c
index 91308ec75b..a7ef03cf74 100644
--- a/testsuites/fstests/tftp
From: Frank Kühndel
---
spec/build/testsuites/fstests/grp.yml |2 +
spec/build/testsuites/fstests/tftpfs.yml | 25 +
testsuites/fstests/tftpfs/init.c | 1054 +
.../fstests/tftpfs/tftpfs_interactions.c | 984 +++
.../fstests/tftpfs
From: Frank Kühndel
---
testsuites/fstests/tftpfs/init.c | 3397 ++
1 file changed, 3397 insertions(+)
diff --git a/testsuites/fstests/tftpfs/init.c b/testsuites/fstests/tftpfs/init.c
index a7ef03cf74..0c6df5fa5c 100644
--- a/testsuites/fstests/tftpfs/init.c
+++ b/te
From: Frank Kühndel
---
cpukit/libfs/src/ftpfs/tftpDriver.c | 1088 +++
1 file changed, 1088 insertions(+)
create mode 100644 cpukit/libfs/src/ftpfs/tftpDriver.c
diff --git a/cpukit/libfs/src/ftpfs/tftpDriver.c
b/cpukit/libfs/src/ftpfs/tftpDriver.c
new file mode 100644
From: Frank Kühndel
The following patches extend the TFTP file system to support
* RFC 2347 TFTP Option Extension
* RFC 2348 TFTP Blocksize Option
* RFC 7440 TFTP Windowsize Option
To benefit from improved download and upload speeds, a TFTP
server which supports at least the blocksize opt
From: Frank Kühndel
---
cpukit/libfs/src/ftpfs/{tftpDriver.c => tftpfs.c} | 0
spec/build/cpukit/libtftpfs.yml | 4 ++--
2 files changed, 2 insertions(+), 2 deletions(-)
rename cpukit/libfs/src/ftpfs/{tftpDriver.c => tftpfs.c} (100%)
diff --git a/cpukit/libfs/src/ftpfs/tftpDr
From: Frank Kühndel
---
cpukit/libfs/src/ftpfs/tftpDriver.c | 20 ++--
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/cpukit/libfs/src/ftpfs/tftpDriver.c
b/cpukit/libfs/src/ftpfs/tftpDriver.c
index bebe748ca5..d0eadcf99a 100644
--- a/cpukit/libfs/src/ftpfs/tftpD
From: Frank Kühndel
---
filesystem/index.rst | 1 +
filesystem/trivial_ftp.rst | 638 -
2 files changed, 636 insertions(+), 3 deletions(-)
diff --git a/filesystem/index.rst b/filesystem/index.rst
index f4e2ed6..64a2f1d 100644
--- a/filesystem/index.rs
From: Frank Kühndel
Hello all,
I extended the TFTP file system to support the block size and the
window size options (RFCs 2347, 2348, 7440). Essentially, this
significantly improves the download and upload speeds provided the
TFTP server on the other side also supports at least one of these
op
From: Frank Kühndel
The sb-set-builder options --with-java / --without-java do not work.
GCC configure does not known language "java". See
https://gcc.gnu.org/install/configure.html option --enable-languages.
update #4647
---
source-builder/config/checks.cfg | 9 -
source-builder/
From: Frank Kühndel
How test media01 can be executed is described in section
*Qemu and Networking* of the README.md at the top of the
rtems-libbsd GIT repository.
When connected via `telnet` with the RTEMS shell of the
media01.exe test executed by QEMU, one can list the filesystems
available for
From: Frank Kühndel
Hello,
I would like to ask the community whether it would be possible
to accept the little patch which follows? The patch permits to
mount and use the TFTP filesystem through the RTEMS shell of test
media01. It serves demonstration purposes and permits users
to try out TFTP
From: Frank Kühndel
Eric Norum's permission to change the license can be found here:
https://devel.rtems.org/attachment/ticket/3053/EricNorum-Permission.pdf
Update #3053
---
cpukit/include/rtems/tftp.h | 72 +++--
cpukit/libfs/src/ftpfs/tftpDriver.c | 44
From: Frank Kühndel
Eric Norum's permission to change the license can be found here:
https://devel.rtems.org/attachment/ticket/3053/EricNorum-Permission.pdf
Update #3053
---
cpukit/include/rtems/tftp.h | 72 +++--
cpukit/libfs/src/ftpfs/tftpDriver.c | 44
From: Frank Kühndel
Hello,
I want to extend the code of `libtftpfs` to support newer RFCs to
increase the file download speed. This raises the question of the
license of the involved source files. The current state is that
the file headers are old. The code originates from W. Eric Norum.
Fortun
From: Frank Kühndel
This patch fixes issue #4338 by changing _TOD_Validate()
to only accept years till 2105. This requires another patch
to change the documentation of rtems_clock_set() and other
affected API functions (indicating the end date is 2105 not 2514).
I tried to support till year 2514
From: Frank Kühndel
---
eng/req/req-for-req.rst | 21 +
1 file changed, 21 insertions(+)
diff --git a/eng/req/req-for-req.rst b/eng/req/req-for-req.rst
index 9225e95..dcc4c11 100644
--- a/eng/req/req-for-req.rst
+++ b/eng/req/req-for-req.rst
@@ -308,6 +308,27 @@ spec:/classi
From: Frank Kühndel
---
eng/req/req-for-req.rst | 8
1 file changed, 8 insertions(+)
diff --git a/eng/req/req-for-req.rst b/eng/req/req-for-req.rst
index 9225e95..8345e35 100644
--- a/eng/req/req-for-req.rst
+++ b/eng/req/req-for-req.rst
@@ -308,6 +308,14 @@ spec:/classic/task/create-e
From: Frank Kühndel
The compiler warning was:
../../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:267:5: warning:
'strncpy' specified bound depends on the length of the source argument
267 | strncpy(path, name, namelen);
| ^~~~
It turns out that the `strncpy()`
From: Frank Kühndel
The compiler warning was:
../../../cpukit/libmisc/rtems-fdt/rtems-fdt.c:267:5: warning:
'strncpy' specified bound depends on the length of the source argument
267 | strncpy(path, name, namelen);
| ^~~~
It turns out that the `strncpy()`
From: Frank Kühndel
Using strlcpy() instead of strncpy():
1) Prevents the compiler warnings
2) Ensures, the string is NUL terminated.
3) Avoids that strncpy() unnecessary fills the unused part of the buffer with
0 bytes.
(Note that realpath() also returns NULL if the file does not exist - th
From: Frank Kühndel
This is an illegal use of strcpy() because one is not allowed to
use this function with overlapping source and destination buffers;
whereas memmove() is explicitly designed to handle such cases.
The copiler warning was:
../../../cpukit/libmisc/shell/shell.c:626:13: warning:
From: Frank Kühndel
realpath() requires a buffer of size PATH_MAX and not of size
FILENAME_MAX according to 'man realpath (3)'.
---
cpukit/libmisc/shell/main_edit.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/cpukit/libmisc/shell/main_edit.c b/cpukit/libmisc/shell/main_
From: Frank Kühndel
This patch fixes a compiler warning:
../../../testsuites/fstests/fsdosfsname01/init.c:430:19: warning:
'%s' directive output may be truncated writing up to 6424 bytes into
a region of size 257 [-Wformat-truncation=]
The buffer 'dirname' is exactly large enough so that no tru
From: Frank Kühndel
With some compiler warnings enabled, the implicit cast may trigger
a compiler warning. The explicit cast avoids this.
---
cpukit/libmisc/shell/shell.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/cpukit/libmisc/shell/shell.c b/cpukit/libmisc/shell/sh
From: Frank Kühndel
This set of small patches fixes a few minor issues such as compiler
warnings, utilization of a wrong constant or bad uses of string copy.
Frank Kühndel (5):
fsdosfsname01: Fix string truncation warning
shell/shell.c: Fix an implicit type cast
shell/shell.c: Fix illegal
From: Frank Kühndel
When I use the 'shell' from the fileio sample with the command below:
env QEMU_AUDIO_DRV="none" \
qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 \
-m 256M \
-kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe
The executable cr
The shell has an 'fdisk' command which has sub-commands 'mount' and 'unmount'.
These two sub-commands have a bug which causes them to be not able
to mount anything. This proposed patch removes the buggy file
cpukit/libblock/src/bdpart-mount.c and the mount/unmount commands
from 'fdisk' as bug fix.
When I use the 'shell' from the fileio sample with the command below:
env QEMU_AUDIO_DRV="none" \
qemu-system-arm -no-reboot -net none -nographic -M realview-pbx-a9 -m 256M \
-kernel build/arm/realview_pbx_a9_qemu/testsuites/samples/fileio.exe
The executable crashes with an "BLOWN STACK!
This patch fixes a tiny bug in the command line editing of the RTEMS shell.
Typing CTRL-U in the shell should remove all characters left of the cursor.
After pressing CTRL-U, the current implementation does wrongly place the cursor
at the end of the line instead at its beginning.
To reproduce
40 matches
Mail list logo