All of lore.kernel.org
 help / color / mirror / Atom feed
From: <Adithya.Balakumar@toshiba-tsip.com>
To: <felix.moessbauer@siemens.com>, <cip-dev@lists.cip-project.org>,
	<jan.kiszka@siemens.com>
Cc: <Shivanand.Kunijadar@toshiba-tsip.com>,
	<Sai.Sathujoda@toshiba-tsip.com>, <dinesh.kumar@toshiba-tsip.com>,
	<kazuhiro3.hayashi@toshiba.co.jp>
Subject: RE: [isar-cip-core][PATCH v1] wic: Set fixed partition UUID values
Date: Wed, 24 Jan 2024 06:03:12 +0000	[thread overview]
Message-ID: <TYCPR01MB966912B6A25CDDAEEBE16DE0C47B2@TYCPR01MB9669.jpnprd01.prod.outlook.com> (raw)
In-Reply-To: <9e37cacb919c267894dc25a3cf99026b48fd7886.camel@siemens.com>

Hi Felix,

Thanks for your comment. Will send out a v2 of the patch. I would like to ask a small clarification about your comments? 

As for the part "Can we please use unique UUIDs across all devices (not always the same).", I understand this. Will set unique UUIDs across all devices.

However, could you please elaborate on the second part of your comment: 
"Also it would be nice to add a note somewhere that these UUIDs should be changed in case the user creates an image for flashing and one for the target (which is quite common). Here, the UUIDs would collide."

Thanks and Regards,
Adithya Balakumar

-----Original Message-----
From: MOESSBAUER, Felix <felix.moessbauer@siemens.com> 
Sent: Tuesday, January 23, 2024 3:02 PM
To: cip-dev@lists.cip-project.org; balakumar adithya(TSIP TEUR) <Adithya.Balakumar@toshiba-tsip.com>; Kiszka, Jan <jan.kiszka@siemens.com>
Cc: kunijadar shivanand(TSIP TMIEC ODG Porting) <Shivanand.Kunijadar@toshiba-tsip.com>; ashrith sai(TSIP) <Sai.Sathujoda@toshiba-tsip.com>; dinesh kumar(TSIP TMIEC ODG Porting) <dinesh.kumar@toshiba-tsip.com>; hayashi kazuhiro(林 和宏 DME ○DIG□MPS○MP4) <kazuhiro3.hayashi@toshiba.co.jp>
Subject: Re: [isar-cip-core][PATCH v1] wic: Set fixed partition UUID values

On Mon, 2024-01-22 at 17:45 +0530, Adithya Balakumar wrote:
> From: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
> 
> This commit sets fixed partition uuid for partitions. The --uuid 
> option in wic allows to set fixed uuid for a partition. This is 
> required for generating reproducible images.

Thanks for this patch. Just a minor note:

Can we please use unique UUIDs across all devices (not always the same). Also it would be nice to add a note somewhere that these UUIDs should be changed in case the user creates an image for flashing and one for the target (which is quite common). Here, the UUIDs would collide.

Felix

> 
> Signed-off-by: Adithya Balakumar <adithya.balakumar@toshiba-tsip.com>
> ---
>  wic/bbb-efibootguard.wks.in                   | 4 ++--
>  wic/bbb.wks                                   | 2 +-
>  wic/ebg-signed-sysparts.inc                   | 6 +++---
>  wic/ebg-sysparts.inc                          | 6 +++---
>  wic/hihope-rzg2m-efibootguard.wks.in          | 4 ++--
>  wic/hihope-rzg2m.wks                          | 4 ++--
>  wic/iwg20m.wks                                | 4 ++--
>  wic/qemu-amd64-efibootguard-secureboot.wks.in | 4 ++--
>  wic/qemu-arm64-efibootguard-secureboot.wks.in | 4 ++--
>  wic/qemu-arm64-efibootguard.wks.in            | 4 ++--
>  wic/qemu-riscv64-efibootguard.wks.in          | 4 ++--
>  wic/x86-efibootguard.wks.in                   | 4 ++--
>  wic/x86_64-generic.wks                        | 4 ++--
>  13 files changed, 27 insertions(+), 27 deletions(-)
> 
> diff --git a/wic/bbb-efibootguard.wks.in b/wic/bbb- 
> efibootguard.wks.in index 48789c7..123f86b 100644
> --- a/wic/bbb-efibootguard.wks.in
> +++ b/wic/bbb-efibootguard.wks.in
> @@ -15,7 +15,7 @@ part --source rawcopy --sourceparams 
> "file=${IMAGE_FULLNAME}.squashfs" --align 1
>  part --source empty --align 1024 --fixed-size 1G --uuid 
> "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-
> 3D69D8477DE4
>  
>  # home and var are extra partitions
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002
> -part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-11ee-be56-
> 0242ac120002
> +part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002 --uuid 12343374-4258-11ee-be56-
> 0242ac120002
>  
>  bootloader --ptable gpt --append="rootwait console=ttyO0,115200
> omap_wdt.early_enable=1 omap_wdt.nowayout=1 
> watchdog.handle_boot_enabled=0"
> diff --git a/wic/bbb.wks b/wic/bbb.wks index a797e95..03939b4 100644
> --- a/wic/bbb.wks
> +++ b/wic/bbb.wks
> @@ -9,6 +9,6 @@
>  part --source rawcopy --sourceparams "file=/usr/lib/u-boot/bbb/MLO"
> --no-table --align 128
>  part --source rawcopy --sourceparams "file=/usr/lib/u-boot/bbb/u- 
> boot.img" --no-table --align 384
>  
> -part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --mkfs- 
> extraopts "-T default" --label platform --align 1024 --active -- 
> fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002
> +part / --source rootfs-u-boot --ondisk mmcblk0 --fstype ext4 --mkfs-
> extraopts "-T default" --label platform --align 1024 --active -- 
> fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-
> 11ee-be56-0242ac120002
>  
>  bootloader --append "rootwait console=ttyO0,115200"
> diff --git a/wic/ebg-signed-sysparts.inc b/wic/ebg-signed- 
> sysparts.inc index b2340e2..0c339fc 100644
> --- a/wic/ebg-signed-sysparts.inc
> +++ b/wic/ebg-signed-sysparts.inc
> @@ -1,8 +1,8 @@
>  # default partition layout EFI Boot Guard usage, signed version
>  
>  # EFI partition containing efibootguard bootloader binary -part 
> --source efibootguard-efi  --size 16M --extra-space 0 -- 
> overhead-factor 1 --label efi   --align 1024 --part-type=EF00 -- 
> active --sourceparams "signwith=/usr/bin/sign_secure_image.sh" -- 
> fsuuid 0x4321dcba
> +part --source efibootguard-efi  --size 16M --extra-space 0 --
> overhead-factor 1 --label efi   --align 1024 --part-type=EF00 -- 
> active --sourceparams "signwith=/usr/bin/sign_secure_image.sh" -- 
> fsuuid 0x4321dcba --uuid 0x5678dcba
>  
>  # EFI Boot Guard environment/config partitions plus Kernel files 
> -part --source efibootguard-boot --size 32M --extra-space 0 -- 
> overhead-factor 1 --label BOOT0 --align 1024 --part-type=0700 -- 
> sourceparams "revision=2,signwith=/usr/bin/sign_secure_image.sh" -- 
> fsuuid 0x4321dcbb -part --source efibootguard-boot --size 32M 
> --extra-space 0 -- overhead-factor 1 --label BOOT1 --align 1024 
> --part-type=0700 -- sourceparams 
> "revision=1,signwith=/usr/bin/sign_secure_image.sh" -- fsuuid 
> 0x4321dcbc
> +part --source efibootguard-boot --size 32M --extra-space 0 --
> overhead-factor 1 --label BOOT0 --align 1024 --part-type=0700 -- 
> sourceparams "revision=2,signwith=/usr/bin/sign_secure_image.sh" -- 
> fsuuid 0x4321dcbb --uuid 0x5678dcbb
> +part --source efibootguard-boot --size 32M --extra-space 0 --
> overhead-factor 1 --label BOOT1 --align 1024 --part-type=0700 -- 
> sourceparams "revision=1,signwith=/usr/bin/sign_secure_image.sh" -- 
> fsuuid 0x4321dcbc --uuid 0x5678dcbc diff --git a/wic/ebg-sysparts.inc 
> b/wic/ebg-sysparts.inc index 300c36f..beb0903 100644
> --- a/wic/ebg-sysparts.inc
> +++ b/wic/ebg-sysparts.inc
> @@ -1,8 +1,8 @@
>  # default partition layout EFI Boot Guard usage
>  
>  # EFI partition containing efibootguard bootloader binary -part 
> --source efibootguard-efi  --size 16M --extra-space 0 -- 
> overhead-factor 1 --label efi   --align 1024 --part-type=EF00 -- 
> active --fsuuid 0x4321dcba
> +part --source efibootguard-efi  --size 16M --extra-space 0 --
> overhead-factor 1 --label efi   --align 1024 --part-type=EF00 -- 
> active --fsuuid 0x4321dcba --uuid 0x5678dcba
>  
>  # EFI Boot Guard environment/config partitions plus Kernel files 
> -part --source efibootguard-boot --size 32M --extra-space 0 -- 
> overhead-factor 1 --label BOOT0 --align 1024 --part-type=0700 -- 
> sourceparams "revision=2" --fsuuid 0x4321dcbb -part --source 
> efibootguard-boot --size 32M --extra-space 0 -- overhead-factor 1 
> --label BOOT1 --align 1024 --part-type=0700 -- sourceparams 
> "revision=1" --fsuuid 0x4321dcbc
> +part --source efibootguard-boot --size 32M --extra-space 0 --
> overhead-factor 1 --label BOOT0 --align 1024 --part-type=0700 -- 
> sourceparams "revision=2" --fsuuid 0x4321dcbb --uuid 0x5678dcbb
> +part --source efibootguard-boot --size 32M --extra-space 0 --
> overhead-factor 1 --label BOOT1 --align 1024 --part-type=0700 -- 
> sourceparams "revision=1" --fsuuid 0x4321dcbc --uuid 0x5678dcbc diff 
> --git a/wic/hihope-rzg2m-efibootguard.wks.in b/wic/hihope-rzg2m- 
> efibootguard.wks.in index 2ac8850..38581dd 100644
> --- a/wic/hihope-rzg2m-efibootguard.wks.in
> +++ b/wic/hihope-rzg2m-efibootguard.wks.in
> @@ -8,7 +8,7 @@ part --source empty --align 1024 --fixed-size 1G -- 
> uuid "${ABROOTFS_PART_UUID_B}
>  
>  # home and var are extra partitions
>  
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --extra-space=100M - 
> -fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002
> -part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --extra-space=100M -- 
> fsuuid 96be3374-4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --extra-space=100M - 
> -fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-
> 11ee-be56-0242ac120002
> +part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --extra-space=100M -- 
> fsuuid 96be3374-4258-11ee-be56-0242ac120002 --uuid 12343374-4258-
> 11ee-be56-0242ac120002
>  
>  bootloader --ptable gpt --append="console=tty0 console=ttySC0,115200 
> rootwait earlyprintk"
> diff --git a/wic/hihope-rzg2m.wks b/wic/hihope-rzg2m.wks index 
> fd3a338..1bb8ced 100644
> --- a/wic/hihope-rzg2m.wks
> +++ b/wic/hihope-rzg2m.wks
> @@ -9,7 +9,7 @@
>  # SPDX-License-Identifier: MIT
>  #
>  
> -part /boot --source bootimg-partition --ondisk mmcblk0 --fstype vfat 
> --label boot --align 1 --size 32M --extra-space 0 --fsuuid 0x4321dcba
> +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype vfat
> --label boot --align 1 --size 32M --extra-space 0 --fsuuid 0x4321dcba 
> --uuid 0x5678dcba
>  
>  # Rootfs partition
> -part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label root - 
> -align 1024 --size 2G --active --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002
> +part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label root -
> -align 1024 --size 2G --active --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002 --uuid abcdd66a-40d8-11ee-be56-0242ac120002
> diff --git a/wic/iwg20m.wks b/wic/iwg20m.wks index 85765f0..feea21e 
> 100644
> --- a/wic/iwg20m.wks
> +++ b/wic/iwg20m.wks
> @@ -12,7 +12,7 @@
>  # [Note] u-boot runs from an SPI memory device
>  
>  # SDCard Boot partition (copies files in IMAGE_BOOT_FILES: zImage and 
> device tree) -part /boot --source bootimg-partition --ondisk mmcblk0 
> --fstype vfat --label boot --align 1 --size 32M --extra-space 0 
> --fsuuid 0x4321dcba
> +part /boot --source bootimg-partition --ondisk mmcblk0 --fstype vfat
> --label boot --align 1 --size 32M --extra-space 0 --fsuuid 0x4321dcba 
> --uuid 0x5678dcba
>  
>  # Rootfs partition
> -part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label root - 
> -align 1024 --size 2G --active --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002
> +part / --source rootfs --ondisk mmcblk0 --fstype ext4 --label root -
> -align 1024 --size 2G --active --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002 --uuid abcdd66a-40d8-11ee-be56-0242ac120002
> diff --git a/wic/qemu-amd64-efibootguard-secureboot.wks.in
> b/wic/qemu-amd64-efibootguard-secureboot.wks.in
> index 2e5cb39..03c715b 100644
> --- a/wic/qemu-amd64-efibootguard-secureboot.wks.in
> +++ b/wic/qemu-amd64-efibootguard-secureboot.wks.in
> @@ -4,7 +4,7 @@ part --source rawcopy --sourceparams 
> "file=${IMAGE_FULLNAME}.verity" --align 102
>  part --source empty --align 1024 --fixed-size 1G --uuid 
> "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-
> 3D69D8477DE4
>  
>  # home and var are extra partitions
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024 --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002
> -part /var  --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var  --
> fstype=ext4 --label var  --align 1024 --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024 --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-11ee-be56-
> 0242ac120002
> +part /var  --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var  --
> fstype=ext4 --label var  --align 1024 --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002 --uuid 12343374-4258-11ee-be56-
> 0242ac120002
>  
>  bootloader --ptable gpt --append="console=tty0 console=ttyS0,115200 
> rootwait earlyprintk watchdog.handle_boot_enabled=0
> iTCO_wdt.nowayout=1 panic=5"
> diff --git a/wic/qemu-arm64-efibootguard-secureboot.wks.in
> b/wic/qemu-arm64-efibootguard-secureboot.wks.in
> index 2fc389c..ede1fd5 100644
> --- a/wic/qemu-arm64-efibootguard-secureboot.wks.in
> +++ b/wic/qemu-arm64-efibootguard-secureboot.wks.in
> @@ -4,7 +4,7 @@ part --source rawcopy --sourceparams 
> "file=${IMAGE_FULLNAME}.verity" --align 102
>  part --source empty --align 1024 --fixed-size 1G --uuid 
> "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-
> 3D69D8477DE4
>  
>  # home and var are extra partitions
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024 --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002
> -part /var  --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var  --
> fstype=ext4 --label var  --align 1024 --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024 --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-11ee-be56-
> 0242ac120002
> +part /var  --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var  --
> fstype=ext4 --label var  --align 1024 --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002 --uuid 12343374-4258-11ee-be56-
> 0242ac120002
>  
>  bootloader --ptable gpt --append="panic=5"
> diff --git a/wic/qemu-arm64-efibootguard.wks.in b/wic/qemu-arm64- 
> efibootguard.wks.in index 1f50ba3..bf58e1c 100644
> --- a/wic/qemu-arm64-efibootguard.wks.in
> +++ b/wic/qemu-arm64-efibootguard.wks.in
> @@ -7,7 +7,7 @@ part --source rawcopy --sourceparams 
> "file=${IMAGE_FULLNAME}.squashfs" --align 1
>  part --source empty --align 1024 --fixed-size 1G --uuid 
> "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-
> 3D69D8477DE4
>  
>  # home and var are extra partitions
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002
> -part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-11ee-be56-
> 0242ac120002
> +part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002 --uuid 12343374-4258-11ee-be56-
> 0242ac120002
>  
>  bootloader --ptable gpt
> diff --git a/wic/qemu-riscv64-efibootguard.wks.in b/wic/qemu-riscv64- 
> efibootguard.wks.in index 9158aa4..b37c971 100644
> --- a/wic/qemu-riscv64-efibootguard.wks.in
> +++ b/wic/qemu-riscv64-efibootguard.wks.in
> @@ -7,7 +7,7 @@ part --source rawcopy --sourceparams 
> "file=${IMAGE_FULLNAME}.squashfs" --align 1
>  part --source empty --align 1024 --fixed-size 1G --uuid 
> "${ABROOTFS_PART_UUID_B}" --part-type 0FC63DAF-8483-4772-8E79-
> 3D69D8477DE4
>  
>  # home and var are extra partitions
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002
> -part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --fsuuid 1f55d66a-
> 40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-11ee-be56-
> 0242ac120002
> +part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --fsuuid 96be3374-
> 4258-11ee-be56-0242ac120002 --uuid 12343374-4258-11ee-be56-
> 0242ac120002
>  
>  bootloader --ptable gpt
> diff --git a/wic/x86-efibootguard.wks.in b/wic/x86- 
> efibootguard.wks.in index 98e8da5..b002ea5 100644
> --- a/wic/x86-efibootguard.wks.in
> +++ b/wic/x86-efibootguard.wks.in
> @@ -8,7 +8,7 @@ part --source empty --align 1024 --fixed-size 1G -- 
> uuid "${ABROOTFS_PART_UUID_B}
>  
>  # home and var are extra partitions
>  
> -part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --extra-space=100M - 
> -fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002
> -part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --extra-space=100M -- 
> fsuuid 96be3374-4258-11ee-be56-0242ac120002
> +part /home --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/home --
> fstype=ext4 --label home --align 1024  --size 1G --extra-space=100M - 
> -fsuuid 1f55d66a-40d8-11ee-be56-0242ac120002 --uuid abcdd66a-40d8-
> 11ee-be56-0242ac120002
> +part /var --source rootfs --rootfs-dir=${IMAGE_ROOTFS}/var --
> fstype=ext4 --label var --align 1024  --size 2G --extra-space=100M -- 
> fsuuid 96be3374-4258-11ee-be56-0242ac120002 --uuid 12343374-4258-
> 11ee-be56-0242ac120002
>  
>  bootloader --ptable gpt --append="console=tty0 console=ttyS0,115200 
> rootwait earlyprintk watchdog.handle_boot_enabled=0
> iTCO_wdt.nowayout=1 "
> diff --git a/wic/x86_64-generic.wks b/wic/x86_64-generic.wks index 
> 1a44e26..a63f7f3 100644
> --- a/wic/x86_64-generic.wks
> +++ b/wic/x86_64-generic.wks
> @@ -6,8 +6,8 @@
>  # SPDX-License-Identifier: MIT
>  #
>  
> -part /boot --source bootimg-efi-isar --sourceparams "loader=grub- 
> efi" --label efi --part-type EF00 --align 1024 --fsuuid 0x4321dcba
> +part /boot --source bootimg-efi-isar --sourceparams "loader=grub-
> efi" --label efi --part-type EF00 --align 1024 --fsuuid 0x4321dcba -- 
> uuid 0x5678dcba
>  
> -part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" - 
> -label platform --align 1024 --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002
> +part / --source rootfs --fstype ext4 --mkfs-extraopts "-T default" -
> -label platform --align 1024 --fsuuid 1f55d66a-40d8-11ee-be56-
> 0242ac120002 --uuid abcdd66a-40d8-11ee-be56-0242ac120002
>  
>  bootloader --ptable gpt --timeout 2 --append "console=ttyS0,115200"

--
Siemens AG, Technology
Linux Expert Center



  reply	other threads:[~2024-01-24  6:03 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-22 12:15 [isar-cip-core][PATCH v1] wic: Set fixed partition UUID values Adithya Balakumar
2024-01-23  9:32 ` MOESSBAUER, Felix
2024-01-24  6:03   ` Adithya.Balakumar [this message]
2024-01-24  7:59     ` MOESSBAUER, Felix
2024-01-30  5:23       ` Adithya.Balakumar
2024-01-30  8:22         ` MOESSBAUER, Felix
2024-01-30 11:17           ` [isar-cip-core][PATCH v2] " Adithya Balakumar
2024-01-30 11:37             ` Jan Kiszka
2024-01-30 11:41               ` MOESSBAUER, Felix
2024-01-30 11:44                 ` Jan Kiszka
2024-01-29 12:30     ` [isar-cip-core][PATCH v1] " Jan Kiszka

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=TYCPR01MB966912B6A25CDDAEEBE16DE0C47B2@TYCPR01MB9669.jpnprd01.prod.outlook.com \
    --to=adithya.balakumar@toshiba-tsip.com \
    --cc=Sai.Sathujoda@toshiba-tsip.com \
    --cc=Shivanand.Kunijadar@toshiba-tsip.com \
    --cc=cip-dev@lists.cip-project.org \
    --cc=dinesh.kumar@toshiba-tsip.com \
    --cc=felix.moessbauer@siemens.com \
    --cc=jan.kiszka@siemens.com \
    --cc=kazuhiro3.hayashi@toshiba.co.jp \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.