From: Uladzimir Bely <ubely@ilbers.de>
To: Jan Kiszka <jan.kiszka@siemens.com>,
isar-users <isar-users@googlegroups.com>
Subject: Re: [PATCH] meta-isar: Add a x86 PC target
Date: Wed, 04 Sep 2024 11:23:39 +0300 [thread overview]
Message-ID: <cb4df2f479926c9c9d82b811c7d2b4a40ab21071.camel@ilbers.de> (raw)
In-Reply-To: <05cb4098-8d7b-48a6-9615-1cb667ca55a6@siemens.com>
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.
prev parent reply other threads:[~2024-09-04 8:23 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-31 8:45 'Jan Kiszka' via isar-users
2024-09-04 8:23 ` Uladzimir Bely [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cb4df2f479926c9c9d82b811c7d2b4a40ab21071.camel@ilbers.de \
--to=ubely@ilbers.de \
--cc=isar-users@googlegroups.com \
--cc=jan.kiszka@siemens.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox