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

Submitted by Khasim Mohammed on July 1, 2020, 3:20 p.m. | Patch ID: 174142

Details

Message ID 20200701152024.16320-1-khasim.mohammed@arm.com
State New
Headers show

Commit Message

Khasim Mohammed July 1, 2020, 3:20 p.m.
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
Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
---
 meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf
index 755bb09..318b2d0 100644
--- a/meta-arm-bsp/conf/machine/n1sdp.conf
+++ b/meta-arm-bsp/conf/machine/n1sdp.conf
@@ -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%"

Comments

Jon Mason July 9, 2020, 12:55 p.m.
On Wed, Jul 01, 2020 at 08:50:24PM +0530, Khasim Mohammed wrote:
> 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
> Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>

Applied to master.

Thanks,
Jon

> ---
>  meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf
> index 755bb09..318b2d0 100644
> --- a/meta-arm-bsp/conf/machine/n1sdp.conf
> +++ b/meta-arm-bsp/conf/machine/n1sdp.conf
> @@ -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%"
> -- 
> 2.17.1
> 

>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#829): https://lists.yoctoproject.org/g/meta-arm/message/829
Mute This Topic: https://lists.yoctoproject.org/mt/75237747/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-
Khasim Mohammed July 9, 2020, 1:01 p.m.
Hi Jon,
Jon Mason July 9, 2020, 2:13 p.m.
On Thu, Jul 09, 2020 at 01:01:52PM +0000, Khasim Mohammed wrote:
> Hi Jon,
> 
> 
> ________________________________________
> From: Jon Mason <jdmason@kudzu.us>
> Sent: Thursday, July 9, 2020 6:25 PM
> To: Khasim Mohammed
> Cc: meta-arm@lists.yoctoproject.org
> Subject: Re: [meta-arm] [PATCH] arm-bsp/wic: add default wks file to create EFI disk image
> 
> On Wed, Jul 01, 2020 at 08:50:24PM +0530, Khasim Mohammed wrote:
> > 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
> > Signed-off-by: Khasim Syed Mohammed <khasim.mohammed@arm.com>
> 
> > Applied to master.
> 
> Thanks, can you please consider applying this patch to Dunfell branch as well ?

Done

> 
> Regards,
> Khasim
> 
> Thanks,
> Jon
> 
> > ---
> >  meta-arm-bsp/conf/machine/n1sdp.conf | 3 +++
> >  1 file changed, 3 insertions(+)
> >
> > diff --git a/meta-arm-bsp/conf/machine/n1sdp.conf b/meta-arm-bsp/conf/machine/n1sdp.conf
> > index 755bb09..318b2d0 100644
> > --- a/meta-arm-bsp/conf/machine/n1sdp.conf
> > +++ b/meta-arm-bsp/conf/machine/n1sdp.conf
> > @@ -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%"
> > --
> > 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.
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#833): https://lists.yoctoproject.org/g/meta-arm/message/833
Mute This Topic: https://lists.yoctoproject.org/mt/75237747/3617530
Group Owner: meta-arm+owner@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-arm/unsub  [oe-patchwork@oe-patch.openembedded.org]
-=-=-=-=-=-=-=-=-=-=-=-