introduce latmus
v2 cover introduce latmus
Latmus is a backport from EVL to Cobalt, the procedure is fully described here: https://evlproject.org/core/benchmarks/
I verified all functions of latmus on hardware environment under which Rock PI X board connect GPIOs with FRDM K64F.But actually Rock PI X V1.4 board's GPIO I/O voltage is 1.8V does not match 3.3V of FRDM K64F board. Even though I tried to set up IO shifter board to bridge two boards, still can not get correct latecny data because of bad IO signal. So I have to work around to loopback Input/Output GPIOs on both boards to do verify functions.
Hardware setup:
---------------------------------------------------
eth| |eth
+ +
FRDM K64F board Rock PI X board
| | | |
+_________+ +___________+
GPIO Loopback GPIO Loopback
hongzha1 (3):
rtdm/testing: latmus: introduce latmus driver drivers/gpio: core: introduce helper to find gpiochip testsuite/latmus: introduce latmus benchmark
configure.ac | 1 + include/cobalt/kernel/rtdm/gpio.h | 3 + include/rtdm/uapi/testing.h | 79 ++ kernel/drivers/gpio/gpio-core.c | 23 + kernel/drivers/testing/Kconfig | 10 + kernel/drivers/testing/Makefile | 1 + kernel/drivers/testing/latmus.c | 1237 ++++++++++++++++++++++++ testsuite/Makefile.am | 4 +- testsuite/latmus/Makefile.am | 18 + testsuite/latmus/latmus.c | 1446 +++++++++++++++++++++++++++++ 10 files changed, 2821 insertions(+), 1 deletion(-) create mode 100644 kernel/drivers/testing/latmus.c create mode 100644 testsuite/latmus/Makefile.am create mode 100644 testsuite/latmus/latmus.c
Signature · 1 line
2.17.1
PATCH v2 1/3 rtdm/testing: latmus: introduce latmus driver
To support the latmus application for determining the best gravity values for the cobalt core clock, and measuring the response time to timer events.
--- include/rtdm/uapi/testing.h | 63 ++ kernel/drivers/testing/Kconfig | 10 + kernel/drivers/testing/Makefile | 1 + kernel/drivers/testing/latmus.c | 1237 +++++++++++++++++++++++++++++++ 4 files changed, 1311 insertions(+) create mode 100644 kernel/drivers/testing/latmus.c
include/rtdm/uapi/testing.h +63 -0
@@ -118,6 +118,52 @@ struct rttst_heap_stathdr {struct rttst_heap_stats *buf; }; +/* Latmus context types. */ +#define COBALT_LAT_IRQ 0 +#define COBALT_LAT_KERN 1 +#define COBALT_LAT_USER 2 +#define COBALT_LAT_SIRQ 3 +#define COBALT_LAT_LAST COBALT_LAT_SIRQ + +struct latmus_setup { +__u32 type; +__u64 period; +__s32 priority; +__u32 cpu; +union { +struct { +__u32 verbosity; + } tune; +struct { +__u32 xfd; +__u32 hcells; + } measure; + } u; +}; + +/* +* The measurement record which the driver sends to userland each +* second through an xbuf channel. +*/ +struct latmus_measurement { +__s64 sum_lat; +__s32 min_lat; +__s32 max_lat; +__u32 overruns; +__u32 samples; +}; + +struct latmus_measurement_result { +__u64 last_ptr;/* (struct latmus_measurement __user *last) */ +__u64 histogram_ptr;/* (__s32 __user *histogram) */ +__u32 len; +}; + +struct latmus_result { +__u64 data_ptr;/* (void __user *data) */ +__u32 len; +}; +#define RTIOC_TYPE_TESTING RTDM_CLASS_TESTING/*!
@@ -133,6 +179,8 @@ struct rttst_heap_stathdr {#define RTDM_SUBCLASS_RTDMTEST 3/** subclase name: "heapcheck" */ #define RTDM_SUBCLASS_HEAPCHECK 4 +/** subclase name: "latmus" */ +#define RTDM_SUBCLASS_LATMUS 5/** @} */ /*!
@@ -193,6 +241,21 @@ struct rttst_heap_stathdr {#define RTTST_RTIOC_HEAP_STAT_COLLECT \ _IOR(RTIOC_TYPE_TESTING, 0x45, int) +#define RTTST_RTIOC_COBALT_LATIOC_TUNE \ + _IOWR(RTIOC_TYPE_TESTING, 0x50, struct latmus_setup) + +#define RTTST_RTIOC_COBALT_LATIOC_MEASURE \ + _IOWR(RTIOC_TYPE_TESTING, 0x51, struct latmus_setup) + +#define RTTST_RTIOC_COBALT_LATIOC_RUN \ + _IOR(RTIOC_TYPE_TESTING, 0x52, struct latmus_result) + +#define RTTST_RTIOC_COBALT_LATIOC_PULSE \ + _IOW(RTIOC_TYPE_TESTING, 0x53, __u64) + +#define RTTST_RTIOC_COBALT_LATIOC_RESET \ + _IO(RTIOC_TYPE_TESTING, 0x54) +/** @} */ #endif /* !_RTDM_UAPI_TESTING_H */
kernel/drivers/testing/Kconfig +10 -0
@@ -26,4 +26,14 @@ config XENO_DRIVERS_RTDMTEST help Kernel driver for performing RTDM unit tests. +config COBALT_LATMUS + bool "Timer latency calibration and measurement" + depends on DOVETAIL && XENO_OPT_PIPE + default y + help + This driver supports the latmus application for + determining the best gravity values for the cobalt core + clock, and measuring the response time to timer events. + If in doubt, say 'Y'. + endmenu
kernel/drivers/testing/Makefile +1 -0
@@ -3,6 +3,7 @@ obj-$(CONFIG_XENO_DRIVERS_TIMERBENCH) += xeno_timerbench.o obj-$(CONFIG_XENO_DRIVERS_SWITCHTEST) += xeno_switchtest.o obj-$(CONFIG_XENO_DRIVERS_RTDMTEST) += xeno_rtdmtest.o obj-$(CONFIG_XENO_DRIVERS_HEAPCHECK) += xeno_heapcheck.o +obj-$(CONFIG_COBALT_LATMUS) += latmus.o xeno_timerbench-y := timerbench.o
kernel/drivers/testing/latmus.c new file +1237 -0
1,237 lines not on this page · raw message
Signature · 1 line
2.17.1
PATCH v2 2/3 drivers/gpio: core: introduce helper to find gpiochip
In reply to hongzha1To find gpiochip for non-OF platforms like x86
--- include/cobalt/kernel/rtdm/gpio.h | 3 +++ kernel/drivers/gpio/gpio-core.c | 23 +++++++++++++++++++++++ 2 files changed, 26 insertions(+)
include/cobalt/kernel/rtdm/gpio.h +3 -0
@@ -61,6 +61,9 @@ int rtdm_gpiochip_add_by_name(struct rtdm_gpio_chip *rgc,int rtdm_gpiochip_post_event (struct rtdm_gpio_chip *rgc,unsigned int offset); +int rtdm_gpiochip_find (struct device_node *from, +const char *label,int type); +#ifdef CONFIG_OF int rtdm_gpiochip_scan_of(struct device_node *from,
kernel/drivers/gpio/gpio-core.c +23 -0
@@ -520,6 +520,29 @@ int rtdm_gpiochip_add_by_name(struct rtdm_gpio_chip *rgc, }EXPORT_SYMBOL_GPL (rtdm_gpiochip_add_by_name); +int rtdm_gpiochip_find (struct device_node *from,const char *label, +int type) +{ +struct rtdm_gpio_chip *rgc; +struct gpio_chip *chip; +int ret = -ENODEV ; + +if (!rtdm_available ()) +return -ENOSYS ; + + chip =find_chip_by_name (label); +if (chip ==NULL ) +return ret; + + ret =0 ; + rgc =rtdm_gpiochip_alloc (chip, type); +if (IS_ERR (rgc)) + ret =PTR_ERR (rgc); + +return ret; +} +EXPORT_SYMBOL_GPL (rtdm_gpiochip_find); +#ifdef CONFIG_OF #include <linux/of_platform.h>
Signature · 1 line
2.17.1
PATCH v2 3/3 testsuite/latmus: introduce latmus benchmark
In reply to hongzha1Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
|
^ | (GPIO ack) |
| | | TCP/IP network connection
| | | (control & data samples)
| (GPIO pulse) v |
|[Zephyr-based device running latmon] <--+
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
--- configure.ac | 1 + include/rtdm/uapi/testing.h | 16 + testsuite/Makefile.am | 4 +- testsuite/latmus/Makefile.am | 18 + testsuite/latmus/latmus.c | 1446 ++++++++++++++++++++++++++++++++++ 5 files changed, 1484 insertions(+), 1 deletion(-) create mode 100644 testsuite/latmus/Makefile.am create mode 100644 testsuite/latmus/latmus.c
configure.ac +1 -0
@@ -954,6 +954,7 @@ AC_CONFIG_FILES([ \ lib/trank/Makefile \ testsuite/Makefile \ testsuite/latency/Makefile \ + testsuite/latmus/Makefile \ testsuite/switchtest/Makefile \ testsuite/gpiotest/Makefile \ testsuite/gpiobench/Makefile \
include/rtdm/uapi/testing.h +16 -0
@@ -256,6 +256,22 @@ struct latmus_result {#define RTTST_RTIOC_COBALT_LATIOC_RESET \ _IO(RTIOC_TYPE_TESTING, 0x54) +#define LATMON_NET_PORT 2306 + +struct latmon_net_request { +uint32_t period_usecs; +uint32_t histogram_cells; +} __attribute__((__packed__ )); + +struct latmon_net_data { +int32_t sum_lat_hi; +int32_t sum_lat_lo; +int32_t min_lat; +int32_t max_lat; +uint32_t overruns; +uint32_t samples; +} __attribute__((__packed__ )); +/** @} */ #endif /* !_RTDM_UAPI_TESTING_H */
testsuite/Makefile.am +3 -1
@@ -1,10 +1,11 @@ -SUBDIRS = latency smokey gpiobench +SUBDIRS = latency latmus smokey gpiobench if XENO_COBALT SUBDIRS += \ clocktest \ gpiotest \ + latmus \ spitest \ switchtest \ xeno-test
@@ -15,6 +16,7 @@ DIST_SUBDIRS = \ gpiotest \ gpiobench \ latency \ + latmus \ smokey \ spitest \ switchtest \
testsuite/latmus/Makefile.am new file +18 -0
@@ -0,0 +1,18 @@ +testdir = @XENO_TEST_DIR@ + +CCLD = $(top_srcdir)/scripts/wrap-link.sh $(CC) + +test_PROGRAMS = latmus + +latmus_SOURCES = latmus.c + +latmus_CPPFLAGS = \ + $(XENO_USER_CFLAGS) \ + -I$(top_srcdir)/include + +latmus_LDFLAGS = @XENO_AUTOINIT_LDFLAGS@ $(XENO_POSIX_WRAPPERS) + +latmus_LDADD = \ + @XENO_CORE_LDADD@ \ + @XENO_USER_LDADD@ \ + -lpthread -lrt -lm
testsuite/latmus/latmus.c new file +1446 -0
1,446 lines not on this page · raw message
Signature · 1 line
2.17.1
Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmark
Quoted 12 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
| ^ | (GPIO ack) | | | | TCP/IP network connection | | | (control & data samples) | (GPIO pulse) v | |
Quoted 6 lines
[Zephyr-based device running latmon] <--+
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
Where is all this?
BTW, would some cheap Arduino board and sketch be an alternative? They could expose the recorded data via USB to the host (even the DUT). Provided they have enough free RAM to compensate the transfer delay.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
RE: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmark
Quoted 23 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Friday, April 16, 2021 8:05 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 14 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
| ^ | (GPIO ack) | | | | TCP/IP network connection | | | (control & data samples) | (GPIO pulse) v | |[Zephyr-based device running latmon] <--+
Quoted 6 lines
Quoted 4 lines
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
Where is all this?
Actually , this zephyr directory is located in libevl project at https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr.
at this time. Do you think it is suitable to make a copy for this folder in xenomai code base? Or I just described in comments that it is from https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr .
Regards
Hongzhan Chen
Quoted 9 lines
BTW, would some cheap Arduino board and sketch be an alternative? They could expose the recorded data via USB to the host (even the DUT). Provided they have enough free RAM to compensate the transfer delay.
Jan
Signature · 1 line
Siemens AG, T RDA IOT
Corporate Competence Center Embedded Linux
Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmark
Quoted 28 lines · Hongzhan
Quoted 28 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Friday, April 16, 2021 8:05 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 18 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
| ^ | (GPIO ack) | | | | TCP/IP network connection | | | (control & data samples) | (GPIO pulse) v | |[Zephyr-based device running latmon] <--+
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
Quoted 6 lines
Quoted 1 line
Where is all this?
Actually , this zephyr directory is located in libevl project at https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr.
at this time. Do you think it is suitable to make a copy for this folder in xenomai code base? Or I just described in comments that it is from https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr .
It's fine to link that. But, again, this needs to go into proper in-tree documentation.
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
RE: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmark
Quoted 39 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Tuesday, April 20, 2021 2:48 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 30 lines · Hongzhan
Quoted 29 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Friday, April 16, 2021 8:05 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 12 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
| ^ | (GPIO ack) | | | | TCP/IP network connection | | | (control & data samples) | (GPIO pulse) v | |Quoted 6 lines
[Zephyr-based device running latmon] <--+
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
Where is all this?
Quoted 7 lines
Quoted 4 lines
Actually , this zephyr directory is located in libevl project at https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr.
at this time. Do you think it is suitable to make a copy for this folder in xenomai code base? Or I just described in comments that it is from https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr .It's fine to link that. But, again, this needs to go into proper in-tree documentation.
Could you be more specific about documentation that I need to do? Currently I need to add ./doc/asciidoc/man1/latmus.adoc as you mentioned to tell how to use latmus app on Xenomai side. But actually it is more complicated than just using latmus on xenomai side as described in [1]
to get latmus gpio latency. Do I need to cover all [1]'s contents in ./doc/asciidoc/man1/latmus.adoc?
[1]: https://evlproject.org/core/benchmarks/
Regards
Hongzhan Chen
Quoted 6 lines
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmark
Quoted 45 lines · Hongzhan via Xenomai
Quoted 37 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Tuesday, April 20, 2021 2:48 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 30 lines · Hongzhan
Quoted 29 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Friday, April 16, 2021 8:05 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 3/3] testsuite/latmus: introduce latmus benchmarkQuoted 12 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Measure response time to GPIO events sent by a remote Zephyr-based latency monitor (latmon). This monitor collects then sends the latency data over a network connection to the latmus front-end which displays the results received:
[Linux device under test running latmus] <--+
| ^ | (GPIO ack) | | | | TCP/IP network connection | | | (control & data samples) | (GPIO pulse) v | |Quoted 6 lines
[Zephyr-based device running latmon] <--+
The generic latency monitor code running the measurement loop is available from the zephyr/ directory. This support comes with a Zephyr device tree patch for enabling this monitor on NXP's FRDM-K64F development board.
Where is all this?
Quoted 7 lines
Quoted 4 lines
Actually , this zephyr directory is located in libevl project at https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr.
at this time. Do you think it is suitable to make a copy for this folder in xenomai code base? Or I just described in comments that it is from https://git.evlproject.org/libevl.git/tree/benchmarks/zephyr .It's fine to link that. But, again, this needs to go into proper in-tree documentation.
Quoted 8 lines
Could you be more specific about documentation that I need to do? Currently I need to add ./doc/asciidoc/man1/latmus.adoc as you mentioned to tell how to use latmus app on Xenomai side. But actually it is more complicated than just using latmus on xenomai side as described in [1]
to get latmus gpio latency. Do I need to cover all [1]'s contents in ./doc/asciidoc/man1/latmus.adoc?
I believe Jan is referring to gathering all the bits required to run latmus on top of Cobalt, including the Zephyr code, along with the doc.
This is part of a larger effort to have Xenomai 3 and EVL share common bits and co-exist under the umbrella of the Xenomai project, as the latter will become Xenomai 4 eventually.
As announced during several Community Meetings over the past months, moving the EVL development infrastructure from git.evlproject.org to git.xenomai.org (as xenomai4) is going to happen this month, I've been doing some prep work on the EVL side for this lately. Problem #1 ATM concerns the current EVL documentation at [1], which is composed of a set of Markdown-formatted files, which is rendered by the hugo [2] static generator, depending on several of its short-codes.
Regarding the Zephyr code, we could have a separate repo for it both Xenomai 3 & 4 would share as a common git module for instance.
For the time being, the best course of action may be that your latmus-over-Cobalt code sits into my tree, where it can wait for the rest of the Cobalt-over-Dovetail code it depends on to be merged upstream. The documentation and latmon issues can be solved in parallel while Xenomai 4 emerges at git.xenomai.org. IOW, I will be picking this patch series, it does not belong to upstream/next yet.
[1] https://evlproject.org
[2] https://gohugo.io
Signature · 1 line
Philippe.
Quoted 2 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Latmus is a backport from EVL to Cobalt, the procedure is fully described here: https://evlproject.org/core/benchmarks/
...but in a EVL-specific way. At least terminology is different, but I suspect more.
Quoted 24 lines
I verified all functions of latmus on hardware environment under which Rock PI X board connect GPIOs with FRDM K64F.But actually Rock PI X V1.4 board's GPIO I/O voltage is 1.8V does not match 3.3V of FRDM K64F board. Even though I tried to set up IO shifter board to bridge two boards, still can not get correct latecny data because of bad IO signal. So I have to work around to loopback Input/Output GPIOs on both boards to do verify functions.
Hardware setup:
---------------------------------------------------
eth| |eth
+ +
FRDM K64F board Rock PI X board
| | | |
+_________+ +___________+
GPIO Loopback GPIO Loopbackhongzha1 (3):
rtdm/testing: latmus: introduce latmus driverdrivers/gpio: core: introduce helper to find gpiochip testsuite/latmus: introduce latmus benchmark
Quoted 15 lines
configure.ac | 1 + include/cobalt/kernel/rtdm/gpio.h | 3 + include/rtdm/uapi/testing.h | 79 ++ kernel/drivers/gpio/gpio-core.c | 23 + kernel/drivers/testing/Kconfig | 10 + kernel/drivers/testing/Makefile | 1 + kernel/drivers/testing/latmus.c | 1237 ++++++++++++++++++++++++ testsuite/Makefile.am | 4 +- testsuite/latmus/Makefile.am | 18 + testsuite/latmus/latmus.c | 1446 +++++++++++++++++++++++++++++ 10 files changed, 2821 insertions(+), 1 deletion(-) create mode 100644 kernel/drivers/testing/latmus.c create mode 100644 testsuite/latmus/Makefile.am create mode 100644 testsuite/latmus/latmus.c
I'm still missing a short README or manpage (doc/asciidoc/man1/latmus.adoc) for Xenomai. Bonus for the migration of the EVL page into the Xenomai doc-wiki.
I can assume that this targets next (=master right now)?
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux
Quoted 55 lines
-----Original Message-----
From: Jan Kiszka <[email protected]>
Sent: Friday, April 16, 2021 8:03 PM
To: Chen, Hongzhan <[email protected]>; [email protected]
Subject: Re: [PATCH V2 0/3] introduce latmusQuoted 2 lines · On 16.04.21 07:31, hongzha1 via Xenomai wrote:
Latmus is a backport from EVL to Cobalt, the procedure is fully described here: https://evlproject.org/core/benchmarks/
...but in a EVL-specific way. At least terminology is different, but I suspect more.
Quoted 24 lines
I verified all functions of latmus on hardware environment under which Rock PI X board connect GPIOs with FRDM K64F.But actually Rock PI X V1.4 board's GPIO I/O voltage is 1.8V does not match 3.3V of FRDM K64F board. Even though I tried to set up IO shifter board to bridge two boards, still can not get correct latecny data because of bad IO signal. So I have to work around to loopback Input/Output GPIOs on both boards to do verify functions.
Hardware setup:
---------------------------------------------------
eth| |eth
+ +
FRDM K64F board Rock PI X board
| | | |
+_________+ +___________+
GPIO Loopback GPIO Loopbackhongzha1 (3):
rtdm/testing: latmus: introduce latmus driverdrivers/gpio: core: introduce helper to find gpiochip testsuite/latmus: introduce latmus benchmarkQuoted 15 lines
configure.ac | 1 + include/cobalt/kernel/rtdm/gpio.h | 3 + include/rtdm/uapi/testing.h | 79 ++ kernel/drivers/gpio/gpio-core.c | 23 + kernel/drivers/testing/Kconfig | 10 + kernel/drivers/testing/Makefile | 1 + kernel/drivers/testing/latmus.c | 1237 ++++++++++++++++++++++++ testsuite/Makefile.am | 4 +- testsuite/latmus/Makefile.am | 18 + testsuite/latmus/latmus.c | 1446 +++++++++++++++++++++++++++++ 10 files changed, 2821 insertions(+), 1 deletion(-) create mode 100644 kernel/drivers/testing/latmus.c create mode 100644 testsuite/latmus/Makefile.am create mode 100644 testsuite/latmus/latmus.c
Quoted 2 lines
I'm still missing a short README or manpage (doc/asciidoc/man1/latmus.adoc) for Xenomai. Bonus for the migration of
OK. Let me add it.
Quoted 3 lines
the EVL page into the Xenomai doc-wiki.
I can assume that this targets next (=master right now)?
Yes ,this targets next. But currently I validated it and works on
https://lab.xenomai.org/xenomai-rpm.git/log/?h=for-upstream/dovetail
Regards
Hongzhan Chen
Quoted 6 lines
Jan
Signature · 2 lines
Siemens AG, T RDA IOT Corporate Competence Center Embedded Linux