From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Weinberger Subject: [PATCH] doc: Fix coreclk typo Date: Fri, 29 Apr 2022 21:14:06 +0200 Message-Id: <20220429191406.838-1-richard@nod.at> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable List-Id: Discussions about the Xenomai project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: xenomai@xenomai.org Cc: Richard Weinberger It's coreclk not coreclck. Signed-off-by: Richard Weinberger --- doc/asciidoc/MIGRATION.adoc | 6 +++--- doc/asciidoc/man1/autotune.adoc | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/doc/asciidoc/MIGRATION.adoc b/doc/asciidoc/MIGRATION.adoc index dce7f40e9cbe..7a32b992183d 100644 --- a/doc/asciidoc/MIGRATION.adoc +++ b/doc/asciidoc/MIGRATION.adoc @@ -226,11 +226,11 @@ of the Xenomai core clock: =20 ------------------------------------------------------ /* change the user gravity (default) */ -# echo 3000 > /proc/xenomai/clock/coreclck +# echo 3000 > /proc/xenomai/clock/coreclk /* change the IRQ gravity */ -# echo 1000i > /proc/xenomai/clock/coreclck +# echo 1000i > /proc/xenomai/clock/coreclk /* change the user and kernel gravities */ -# echo "2000u 1000k" > /proc/xenomai/clock/coreclck +# echo "2000u 1000k" > /proc/xenomai/clock/coreclk ------------------------------------------------------ =20 +interfaces+ removed:: diff --git a/doc/asciidoc/man1/autotune.adoc b/doc/asciidoc/man1/autotune= .adoc index 3462e6b3fb91..2f9866c4d52a 100644 --- a/doc/asciidoc/man1/autotune.adoc +++ b/doc/asciidoc/man1/autotune.adoc @@ -125,17 +125,17 @@ estimation. Although this delay may vary across har= dware platforms, running for 30 seconds is common. =20 Once the gravity values are known for a particular hardware, one may -write them to +/proc/xenomai/clock/coreclck+ from some system init +write them to +/proc/xenomai/clock/coreclk+ from some system init script to set up the Xenomai core clock accordingly, instead of running the auto-tuner after each boot e.g: =20 ------------------------------------------------------ /* change the user gravity to 1728 ns (default) */ -# echo 1728 > /proc/xenomai/clock/coreclck +# echo 1728 > /proc/xenomai/clock/coreclk /* change the IRQ gravity to 129 ns */ -# echo 129i > /proc/xenomai/clock/coreclck +# echo 129i > /proc/xenomai/clock/coreclk /* change the user and kernel gravities to 1728 and 907 ns resp. */ -# echo "1728u 907k" > /proc/xenomai/clock/coreclck +# echo "1728u 907k" > /proc/xenomai/clock/coreclk ------------------------------------------------------ =20 Alternatively, the gravity values can be statically defined in the --=20 2.26.2