* [PATCH] meta-isar: Add a x86 PC target
@ 2024-08-31 8:45 'Jan Kiszka' via isar-users
2024-09-04 8:23 ` Uladzimir Bely
0 siblings, 1 reply; 2+ messages in thread
From: 'Jan Kiszka' via isar-users @ 2024-08-31 8:45 UTC (permalink / raw)
To: isar-users
From: Jan Kiszka <jan.kiszka@siemens.com>
Just flash on a USB stick and boot. Supports both EFI and legacy
booting.
Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
---
Somehow strange that this was missing so far.
kas/machine/Kconfig | 4 ++++
kas/machine/x86-pc.yaml | 9 +++++++++
meta-isar/conf/machine/x86-pc.conf | 15 +++++++++++++++
meta-isar/conf/mc.conf | 1 +
meta-isar/conf/multiconfig/x86-pc-bookworm.conf | 7 +++++++
5 files changed, 36 insertions(+)
create mode 100644 kas/machine/x86-pc.yaml
create mode 100644 meta-isar/conf/machine/x86-pc.conf
create mode 100644 meta-isar/conf/multiconfig/x86-pc-bookworm.conf
diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
index 9ea5b50f..d406b85f 100644
--- a/kas/machine/Kconfig
+++ b/kas/machine/Kconfig
@@ -110,6 +110,9 @@ config MACHINE_VMWARE
bool "vmware"
depends on DEBIAN_BULLSEYE
+config MACHINE_X86_PC
+ bool "x86 PC"
+
endchoice
config KAS_INCLUDE_MACHINE
@@ -139,5 +142,6 @@ config KAS_INCLUDE_MACHINE
default "kas/machine/stm32mp15x.yaml" if MACHINE_STM32MP15X
default "kas/machine/virtualbox.yaml" if MACHINE_VIRTUALBOX
default "kas/machine/vmware.yaml" if MACHINE_VMWARE
+ default "kas/machine/x86-pc.yaml" if MACHINE_X86_PC
endmenu
diff --git a/kas/machine/x86-pc.yaml b/kas/machine/x86-pc.yaml
new file mode 100644
index 00000000..f1dfed28
--- /dev/null
+++ b/kas/machine/x86-pc.yaml
@@ -0,0 +1,9 @@
+# This software is a part of ISAR.
+# Copyright (c) Siemens AG, 2024
+#
+# SPDX-License-Identifier: MIT
+
+header:
+ version: 14
+
+machine: x86-pc
diff --git a/meta-isar/conf/machine/x86-pc.conf b/meta-isar/conf/machine/x86-pc.conf
new file mode 100644
index 00000000..4b2efbe3
--- /dev/null
+++ b/meta-isar/conf/machine/x86-pc.conf
@@ -0,0 +1,15 @@
+#
+# Copyright (c) Siemens AG, 2024
+#
+# SPDX-License-Identifier: MIT
+
+DISTRO_ARCH ?= "amd64"
+
+KERNEL_NAME ?= "amd64"
+
+IMAGE_FSTYPES ?= "wic"
+WKS_FILE ?= "efi-plus-pcbios"
+
+IMAGER_INSTALL:wic += " \
+ ${GRUB_BOOTLOADER_INSTALL} \
+ ${SYSLINUX_BOOTLOADER_INSTALL}"
diff --git a/meta-isar/conf/mc.conf b/meta-isar/conf/mc.conf
index 7fd638d3..d8c3a3a7 100644
--- a/meta-isar/conf/mc.conf
+++ b/meta-isar/conf/mc.conf
@@ -48,6 +48,7 @@ BBMULTICONFIG = " \
stm32mp15x-bullseye \
virtualbox-bullseye \
virtualbox-bookworm \
+ x86-pc-bookworm \
rpi-arm-bullseye \
rpi-arm-bookworm \
rpi-arm-v7-bullseye \
diff --git a/meta-isar/conf/multiconfig/x86-pc-bookworm.conf b/meta-isar/conf/multiconfig/x86-pc-bookworm.conf
new file mode 100644
index 00000000..1fd9d429
--- /dev/null
+++ b/meta-isar/conf/multiconfig/x86-pc-bookworm.conf
@@ -0,0 +1,7 @@
+#
+# Copyright (c) Siemens AG, 2024
+#
+# SPDX-License-Identifier: MIT
+
+MACHINE ?= "x86-pc"
+DISTRO ?= "debian-bookworm"
--
2.43.0
--
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 on the web visit https://groups.google.com/d/msgid/isar-users/05cb4098-8d7b-48a6-9615-1cb667ca55a6%40siemens.com.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] meta-isar: Add a x86 PC target
2024-08-31 8:45 [PATCH] meta-isar: Add a x86 PC target 'Jan Kiszka' via isar-users
@ 2024-09-04 8:23 ` Uladzimir Bely
0 siblings, 0 replies; 2+ messages in thread
From: Uladzimir Bely @ 2024-09-04 8:23 UTC (permalink / raw)
To: Jan Kiszka, isar-users
On Sat, 2024-08-31 at 10:45 +0200, 'Jan Kiszka' via isar-users wrote:
> From: Jan Kiszka <jan.kiszka@siemens.com>
>
> Just flash on a USB stick and boot. Supports both EFI and legacy
> booting.
>
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
>
> Somehow strange that this was missing so far.
>
> kas/machine/Kconfig | 4 ++++
> kas/machine/x86-pc.yaml | 9 +++++++++
> meta-isar/conf/machine/x86-pc.conf | 15 +++++++++++++++
> meta-isar/conf/mc.conf | 1 +
> meta-isar/conf/multiconfig/x86-pc-bookworm.conf | 7 +++++++
> 5 files changed, 36 insertions(+)
> create mode 100644 kas/machine/x86-pc.yaml
> create mode 100644 meta-isar/conf/machine/x86-pc.conf
> create mode 100644 meta-isar/conf/multiconfig/x86-pc-bookworm.conf
>
> diff --git a/kas/machine/Kconfig b/kas/machine/Kconfig
> index 9ea5b50f..d406b85f 100644
> --- a/kas/machine/Kconfig
> +++ b/kas/machine/Kconfig
> @@ -110,6 +110,9 @@ config MACHINE_VMWARE
> bool "vmware"
> depends on DEBIAN_BULLSEYE
>
> +config MACHINE_X86_PC
> + bool "x86 PC"
> +
> endchoice
>
> config KAS_INCLUDE_MACHINE
> @@ -139,5 +142,6 @@ config KAS_INCLUDE_MACHINE
> default "kas/machine/stm32mp15x.yaml" if MACHINE_STM32MP15X
> default "kas/machine/virtualbox.yaml" if MACHINE_VIRTUALBOX
> default "kas/machine/vmware.yaml" if MACHINE_VMWARE
> + default "kas/machine/x86-pc.yaml" if MACHINE_X86_PC
>
> endmenu
> diff --git a/kas/machine/x86-pc.yaml b/kas/machine/x86-pc.yaml
> new file mode 100644
> index 00000000..f1dfed28
> --- /dev/null
> +++ b/kas/machine/x86-pc.yaml
> @@ -0,0 +1,9 @@
> +# This software is a part of ISAR.
> +# Copyright (c) Siemens AG, 2024
> +#
> +# SPDX-License-Identifier: MIT
> +
> +header:
> + version: 14
> +
> +machine: x86-pc
> diff --git a/meta-isar/conf/machine/x86-pc.conf b/meta-
> isar/conf/machine/x86-pc.conf
> new file mode 100644
> index 00000000..4b2efbe3
> --- /dev/null
> +++ b/meta-isar/conf/machine/x86-pc.conf
> @@ -0,0 +1,15 @@
> +#
> +# Copyright (c) Siemens AG, 2024
> +#
> +# SPDX-License-Identifier: MIT
> +
> +DISTRO_ARCH ?= "amd64"
> +
> +KERNEL_NAME ?= "amd64"
> +
> +IMAGE_FSTYPES ?= "wic"
> +WKS_FILE ?= "efi-plus-pcbios"
> +
> +IMAGER_INSTALL:wic += " \
> + ${GRUB_BOOTLOADER_INSTALL} \
> + ${SYSLINUX_BOOTLOADER_INSTALL}"
> diff --git a/meta-isar/conf/mc.conf b/meta-isar/conf/mc.conf
> index 7fd638d3..d8c3a3a7 100644
> --- a/meta-isar/conf/mc.conf
> +++ b/meta-isar/conf/mc.conf
> @@ -48,6 +48,7 @@ BBMULTICONFIG = " \
> stm32mp15x-bullseye \
> virtualbox-bullseye \
> virtualbox-bookworm \
> + x86-pc-bookworm \
> rpi-arm-bullseye \
> rpi-arm-bookworm \
> rpi-arm-v7-bullseye \
> diff --git a/meta-isar/conf/multiconfig/x86-pc-bookworm.conf b/meta-
> isar/conf/multiconfig/x86-pc-bookworm.conf
> new file mode 100644
> index 00000000..1fd9d429
> --- /dev/null
> +++ b/meta-isar/conf/multiconfig/x86-pc-bookworm.conf
> @@ -0,0 +1,7 @@
> +#
> +# Copyright (c) Siemens AG, 2024
> +#
> +# SPDX-License-Identifier: MIT
> +
> +MACHINE ?= "x86-pc"
> +DISTRO ?= "debian-bookworm"
> --
> 2.43.0
>
Applied to next, thanks.
--
Best regards,
Uladzimir.
--
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 on the web visit https://groups.google.com/d/msgid/isar-users/cb4df2f479926c9c9d82b811c7d2b4a40ab21071.camel%40ilbers.de.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-09-04 8:23 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-31 8:45 [PATCH] meta-isar: Add a x86 PC target 'Jan Kiszka' via isar-users
2024-09-04 8:23 ` Uladzimir Bely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox