Skip to contentSkip to conversation

arm-bsp/wic: add default wks file to create EFI disk image

PATCH Applied Khasim Mohammed 2 participants 4 messages Jul 1, 2020 – Jul 9, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm-bsp/wic: add default wks file to create EFI disk image

Creates a partitioned EFI disk image that the user
can directly dd to boot media. The selected bootloader is grub-efi.

Change-Id: I1a5e8bc953274cdcc1840b27351d8e6444b2c5ab
Issue-Id: PLATFORMS-3134

---
 meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arm-bsp/conf/machine/n1sdp.conf +3 -0
index 755bb09..318b2d0 100644
@@ -15,6 +15,9 @@ IMAGE_FSTYPES += "tar.bz2 ext4"
 
 SERIAL_CONSOLES = "115200;ttyAMA0"
 
+# Set default WKS
+WKS_FILE ?= "${@bb.utils.contains("EFI_PROVIDER", "systemd-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
+
 # Use kernel provided by linaro (Contains support for SCMi or HDMI)
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-arm"
 PREFERRED_VERSION_linux-linaro-arm ?= "5.4%"
Signature · 1 line
2.17.1
Applied
#1 lore raw
Quoted 6 lines · Khasim Mohammed

Creates a partitioned EFI disk image that the user
can directly dd to boot media. The selected bootloader is grub-efi.

Change-Id: I1a5e8bc953274cdcc1840b27351d8e6444b2c5ab
Issue-Id: PLATFORMS-3134

Applied to master.

Thanks,
Jon

Quoted 23 lines
---
 meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arm-bsp/conf/machine/n1sdp.conf +3 -0
index 755bb09..318b2d0 100644
@@ -15,6 +15,9 @@ IMAGE_FSTYPES += "tar.bz2 ext4"
 
 SERIAL_CONSOLES = "115200;ttyAMA0"
 
+# Set default WKS
+WKS_FILE ?= "${@bb.utils.contains("EFI_PROVIDER", "systemd-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
+
 # Use kernel provided by linaro (Contains support for SCMi or HDMI)
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-arm"
 PREFERRED_VERSION_linux-linaro-arm ?= "5.4%"
Signature · 1 line
2.17.1
#2 lore raw

Hi Jon,

________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, July 9, 2020 6:25 PM
To: Khasim Mohammed
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH] arm-bsp/wic: add default wks file to create EFI disk image

Quoted 8 lines · Khasim Mohammed

Creates a partitioned EFI disk image that the user
can directly dd to boot media. The selected bootloader is grub-efi.

Change-Id: I1a5e8bc953274cdcc1840b27351d8e6444b2c5ab
Issue-Id: PLATFORMS-3134

Applied to master.

Thanks, can you please consider applying this patch to Dunfell branch as well ?

Regards,
Khasim

Thanks,
Jon

Quoted 19 lines
---
 meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arm-bsp/conf/machine/n1sdp.conf +3 -1
index 755bb09..318b2d0 100644
@@ -15,6 +15,9 @@ IMAGE_FSTYPES += "tar.bz2 ext4"
 
 SERIAL_CONSOLES = "115200;ttyAMA0"
 
+# Set default WKS
+WKS_FILE ?= "${@bb.utils.contains("EFI_PROVIDER", "systemd-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
+
 # Use kernel provided by linaro (Contains support for SCMi or HDMI)
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-arm"
 PREFERRED_VERSION_linux-linaro-arm ?= "5.4%"
--
Quoted 4 lines

2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.

#3 lore raw
Quoted 14 lines · Khasim Mohammed

Hi Jon,

________________________________________
From: Jon Mason <[email protected]>
Sent: Thursday, July 9, 2020 6:25 PM
To: Khasim Mohammed
Cc: [email protected]
Subject: Re: [meta-arm] [PATCH] arm-bsp/wic: add default wks file to create EFI disk image

Quoted 3 lines · Khasim Mohammed

Creates a partitioned EFI disk image that the user
can directly dd to boot media. The selected bootloader is grub-efi.

Quoted 7 lines
Quoted 5 lines

Change-Id: I1a5e8bc953274cdcc1840b27351d8e6444b2c5ab
Issue-Id: PLATFORMS-3134

Applied to master.

Thanks, can you please consider applying this patch to Dunfell branch as well ?

Done

Quoted 32 lines

Regards,
Khasim

Thanks,
Jon

Quoted 19 lines
---
 meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
 1 file changed, 3 insertions(+)
meta-arm-bsp/conf/machine/n1sdp.conf +3 -1
index 755bb09..318b2d0 100644
@@ -15,6 +15,9 @@ IMAGE_FSTYPES += "tar.bz2 ext4"
 
 SERIAL_CONSOLES = "115200;ttyAMA0"
 
+# Set default WKS
+WKS_FILE ?= "${@bb.utils.contains("EFI_PROVIDER", "systemd-boot", "systemd-bootdisk.wks", "mkefidisk.wks", d)}"
+
 # Use kernel provided by linaro (Contains support for SCMi or HDMI)
 PREFERRED_PROVIDER_virtual/kernel ?= "linux-linaro-arm"
 PREFERRED_VERSION_linux-linaro-arm ?= "5.4%"
--
Quoted 4 lines

2.17.1

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.