Skip to contentSkip to conversation

doc: Correct the default value of xenomai.sysheap_size

PATCH Applied Haiyang He 2 participants 4 messages Apr 16, 2025

lore
Share & tools
lore

Haiyang He

author
#0 lore raw

PATCH 1/1 doc: Correct the default value of xenomai.sysheap_size

By default, the sysheap_size_arg equals to CONFIG_XENO_OPT_SYS_HEAPSZ. Ref to kernel/cobalt/Kconfig, the default size of system heap (Kb) is 4096.

config XENO_OPT_SYS_HEAPSZ
int "Size of system heap (Kb)"
default 4096
help
The system heap is used for various internal allocations by the Cobalt kernel. The size is expressed in Kilobytes.

---
 doc/asciidoc/README.INSTALL.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/asciidoc/README.INSTALL.adoc +1 -1
index 60f1f9149..04c102822 100644
@@ -132,7 +132,7 @@ whose members should be allowed such access by the Cobalt core. | None
 
 |xenomai.sysheap_size=<kbytes> | Set the size of the memory heap used
 internally by the Cobalt core to allocate runtime objects.  This value
-is expressed in kilo-bytes. | 256
+is expressed in kilo-bytes. | 4096
 		
 |xenomai.state=<state> | Set the initial state of the Cobalt core at
 boot up, which may be _enabled_, _stopped_ or _disabled_. See the
Signature · 1 line
2.34.1
Applied
#1 lore raw
Quoted 21 lines · Haiyang He

By default, the sysheap_size_arg equals to CONFIG_XENO_OPT_SYS_HEAPSZ. Ref to kernel/cobalt/Kconfig, the default size of system heap (Kb) is 4096.

config XENO_OPT_SYS_HEAPSZ
int "Size of system heap (Kb)"
default 4096
help
The system heap is used for various internal allocations by the Cobalt kernel. The size is expressed in Kilobytes.

---
 doc/asciidoc/README.INSTALL.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/asciidoc/README.INSTALL.adoc +0 -0
index 60f1f9149..04c102822 100644

doc/asciidoc/README.INSTALL.adoc whose members should be allowed such access by the Cobalt core. | None · line 138

Quoted 8 lines
doc/asciidoc/README.INSTALL.adoc +1 -1
@@ -132,7 +132,7 @@ whose members should be allowed such access by the Cobalt core. | None
 
 |xenomai.sysheap_size=<kbytes> | Set the size of the memory heap used
 internally by the Cobalt core to allocate runtime objects.  This value
-is expressed in kilo-bytes. | 256
+is expressed in kilo-bytes. | 4096
 
 |xenomai.state=<state> | Set the initial state of the Cobalt core at
 boot up, which may be _enabled_, _stopped_ or _disabled_. See the

Thanks, applied.

I just need to find out (again) how to generate the docs for the website...

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center
author
#2 lore raw
Quoted 28 lines · Jan Kiszka
Quoted 27 lines · Haiyang He

By default, the sysheap_size_arg equals to CONFIG_XENO_OPT_SYS_HEAPSZ. Ref to kernel/cobalt/Kconfig, the default size of system heap (Kb) is 4096.

config XENO_OPT_SYS_HEAPSZ
int "Size of system heap (Kb)"
default 4096
help
The system heap is used for various internal allocations by the Cobalt kernel. The size is expressed in Kilobytes.

---
 doc/asciidoc/README.INSTALL.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/asciidoc/README.INSTALL.adoc +1 -1
index 60f1f9149..04c102822 100644
@@ -132,7 +132,7 @@ whose members should be allowed such access by the Cobalt core. | None
 
 |xenomai.sysheap_size=<kbytes> | Set the size of the memory heap used
 internally by the Cobalt core to allocate runtime objects.  This value
-is expressed in kilo-bytes. | 256
+is expressed in kilo-bytes. | 4096
 
Quoted 12 lines

doc/asciidoc/README.INSTALL.adoc whose members should be allowed such access by the Cobalt core. | None · line 138

Quoted 2 lines
doc/asciidoc/README.INSTALL.adoc +0 -0
 |xenomai.state=<state> | Set the initial state of the Cobalt core at
 boot up, which may be _enabled_, _stopped_ or _disabled_. See the

Thanks, applied.

I just need to find out (again) how to generate the docs for the website...

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center

FYI, I just try cmd "$ asciidoctor README.INSTALL.adoc" and it generates README.INSTALL.html which looks well.

BTW, I find that xenomai.watchdog_timeout is not in the table of cobalt kernel parameters. It depends on ONFIG_XENO_OPT_WATCHDOG=y. Should it be added to the table?

Haiyang.

#3 lore raw
Quoted 36 lines · Haiyang He
Quoted 35 lines · Jan Kiszka
Quoted 21 lines · Haiyang He

By default, the sysheap_size_arg equals to CONFIG_XENO_OPT_SYS_HEAPSZ. Ref to kernel/cobalt/Kconfig, the default size of system heap (Kb) is 4096.

config XENO_OPT_SYS_HEAPSZ
int "Size of system heap (Kb)"
default 4096
help
The system heap is used for various internal allocations by the Cobalt kernel. The size is expressed in Kilobytes.

---
 doc/asciidoc/README.INSTALL.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
doc/asciidoc/README.INSTALL.adoc +0 -0
index 60f1f9149..04c102822 100644

doc/asciidoc/README.INSTALL.adoc whose members should be allowed such access by the Cobalt core. | None · line 138

Quoted 8 lines
doc/asciidoc/README.INSTALL.adoc +1 -1
@@ -132,7 +132,7 @@ whose members should be allowed such access by the Cobalt core. | None
 
 |xenomai.sysheap_size=<kbytes> | Set the size of the memory heap used
 internally by the Cobalt core to allocate runtime objects.  This value
-is expressed in kilo-bytes. | 256
+is expressed in kilo-bytes. | 4096
 
 |xenomai.state=<state> | Set the initial state of the Cobalt core at
 boot up, which may be _enabled_, _stopped_ or _disabled_. See the

Thanks, applied.

I just need to find out (again) how to generate the docs for the website...

Quoted 8 lines
Quoted 5 lines

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center

FYI, I just try cmd "$ asciidoctor README.INSTALL.adoc" and it generates README.INSTALL.html which looks well.

Yeah, it's more about digging out the deployment details (including involved pipelines).

Quoted 4 lines

BTW, I find that xenomai.watchdog_timeout is not in the table of cobalt kernel parameters. It depends on ONFIG_XENO_OPT_WATCHDOG=y. Should it be added to the table?

Yes, indeed. Same for supported_cpus.

Thanks a lot for checking all this!

Jan

Signature · 2 lines
Siemens AG, Foundational Technologies
Linux Expert Center