public inbox for isar-users@googlegroups.com
 help / color / mirror / Atom feed
* [PATCH] docs(user_manual): add machine kernel support section
@ 2025-08-22  8:49 srinuvasan.a via isar-users
  2025-08-22 14:18 ` 'MOESSBAUER, Felix' via isar-users
  0 siblings, 1 reply; 3+ messages in thread
From: srinuvasan.a via isar-users @ 2025-08-22  8:49 UTC (permalink / raw)
  To: isar-users; +Cc: Srinuvasan A

From: Srinuvasan A <srinuvasan.a@siemens.com>

Update the per-kernel modules build section.
Document that setting `KERNEL_NAMES` is sufficient to build
modules for multiple supported kernels.

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 doc/user_manual.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/user_manual.md b/doc/user_manual.md
index a9348d26..2a9aca42 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -601,6 +601,21 @@ To add new machine user should perform the following steps:
 
 ---
 
+### Kernel Support
+
+A machine can be configured to support a specific kernel recipe by setting the `KERNEL_NAME` variable, and may be configured to support multiple kernelsby using the `KERNEL_NAMES` variable in addition. The latter is optional, and also enables generating packages like external kernel modules for all specified kernel variants.
+
+For example, in your machine configuration:
+
+```bitbake
+KERNEL_NAME = "armmp"
+KERNEL_NAMES = "armmp mainline"
+```
+
+When `KERNEL_NAMES` is set, recipes inheriting the `per-kernel` class will generate variants for each listed kernel. Installation of each must be explicitly handled in the image.
+
+---
+
 ## Add a New Image
 
 Image in Isar contains the following artifacts:
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250822084925.3601608-1-srinuvasan.a%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] docs(user_manual): add machine kernel support section
  2025-08-22  8:49 [PATCH] docs(user_manual): add machine kernel support section srinuvasan.a via isar-users
@ 2025-08-22 14:18 ` 'MOESSBAUER, Felix' via isar-users
  2025-09-01  6:02   ` [PATCH v2] " srinuvasan.a via isar-users
  0 siblings, 1 reply; 3+ messages in thread
From: 'MOESSBAUER, Felix' via isar-users @ 2025-08-22 14:18 UTC (permalink / raw)
  To: isar-users, Arjunan, Srinu

On Fri, 2025-08-22 at 14:19 +0530, srinuvasan.a via isar-users wrote:
> From: Srinuvasan A <srinuvasan.a@siemens.com>
> 
> Update the per-kernel modules build section.
> Document that setting `KERNEL_NAMES` is sufficient to build
> modules for multiple supported kernels.
> 
> Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
> ---
>  doc/user_manual.md | 15 +++++++++++++++
>  1 file changed, 15 insertions(+)
> 
> diff --git a/doc/user_manual.md b/doc/user_manual.md
> index a9348d26..2a9aca42 100644
> --- a/doc/user_manual.md
> +++ b/doc/user_manual.md
> @@ -601,6 +601,21 @@ To add new machine user should perform the
> following steps:
>  
>  ---
>  
> +### Kernel Support
> +
> +A machine can be configured to support a specific kernel recipe by
> setting the `KERNEL_NAME` variable, and may be configured to support

Hi, doesn't that variable also select the kernel that is used on that
machine? The term "support" indicates, that this kernel is just
supported but AFAIK it actually selects the kernel.

Apart from that terminology, the patch looks fine. Thanks for improving
the documentation!

Felix

> multiple kernelsby using the `KERNEL_NAMES` variable in addition. The
> latter is optional, and also enables generating packages like
> external kernel modules for all specified kernel variants.
> +
> +For example, in your machine configuration:
> +
> +```bitbake
> +KERNEL_NAME = "armmp"
> +KERNEL_NAMES = "armmp mainline"
> +```
> +
> +When `KERNEL_NAMES` is set, recipes inheriting the `per-kernel`
> class will generate variants for each listed kernel. Installation of
> each must be explicitly handled in the image.
> +
> +---
> +
>  ## Add a New Image
>  
>  Image in Isar contains the following artifacts:
> -- 
> 2.34.1

-- 
Siemens AG
Linux Expert Center
Friedrich-Ludwig-Bauer-Str. 3
85748 Garching, Germany

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/b18f509010e3287a05fb996cb41b0c9bf4d6a43e.camel%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH v2] docs(user_manual): add machine kernel support section
  2025-08-22 14:18 ` 'MOESSBAUER, Felix' via isar-users
@ 2025-09-01  6:02   ` srinuvasan.a via isar-users
  0 siblings, 0 replies; 3+ messages in thread
From: srinuvasan.a via isar-users @ 2025-09-01  6:02 UTC (permalink / raw)
  To: isar-users; +Cc: felix.moessbauer, Srinuvasan A

From: Srinuvasan A <srinuvasan.a@siemens.com>

Update the per-kernel modules build section.
Document that setting `KERNEL_NAMES` is sufficient to build
modules for multiple supported kernels.

Signed-off-by: Srinuvasan A <srinuvasan.a@siemens.com>
---
 doc/user_manual.md | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/doc/user_manual.md b/doc/user_manual.md
index a9348d26..67f91973 100644
--- a/doc/user_manual.md
+++ b/doc/user_manual.md
@@ -601,6 +601,21 @@ To add new machine user should perform the following steps:
 
 ---
 
+### Kernel Support
+
+A machine can be configured to select a specific kernel recipe by setting the `KERNEL_NAME` variable, and may be configured to support multiple kernels by using the `KERNEL_NAMES` variable in addition. The latter is optional, and also enables generating packages like external kernel modules for all specified kernel variants.
+
+For example, in your machine configuration:
+
+```bitbake
+KERNEL_NAME = "armmp"
+KERNEL_NAMES = "armmp mainline"
+```
+
+When `KERNEL_NAMES` is set, recipes inheriting the `per-kernel` class will generate variants for each listed kernel. Installation of each must be explicitly handled in the image.
+
+---
+
 ## Add a New Image
 
 Image in Isar contains the following artifacts:
-- 
2.34.1

-- 
You received this message because you are subscribed to the Google Groups "isar-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to isar-users+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/isar-users/20250901060229.3709132-1-srinuvasan.a%40siemens.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-01  6:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-08-22  8:49 [PATCH] docs(user_manual): add machine kernel support section srinuvasan.a via isar-users
2025-08-22 14:18 ` 'MOESSBAUER, Felix' via isar-users
2025-09-01  6:02   ` [PATCH v2] " srinuvasan.a via isar-users

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox