[meta-xilinx] [PATCH] machine-xilinx-default.inc: Default to u-boot for Zynq
Manjukumar Harthikote Matha
manjukumar.harthikote-matha at xilinx.com
Wed Apr 26 09:41:26 PDT 2017
> -----Original Message-----
> From: meta-xilinx-bounces at yoctoproject.org [mailto:meta-xilinx-
> bounces at yoctoproject.org] On Behalf Of Nathan Rossi
> Sent: Wednesday, April 26, 2017 4:57 AM
> To: meta-xilinx at lists.yoctoproject.org
> Subject: [meta-xilinx] [PATCH] machine-xilinx-default.inc: Default to u-boot for Zynq
>
> Upstream U-Boot provides an almost complete environment for the majority of Zynq
> targets and specifically covers all the boot functionality required for the boards in
> the meta-xilinx layer. As such default to the mainline version of U-Boot.
>
> For users that require or prefer to use u-boot-xlnx this can be selected on a per-
> machine basis using:
>
> PREFERRED_PROVIDER_virtual/bootloader = "u-boot-xlnx"
>
> Signed-off-by: Nathan Rossi <nathan at nathanrossi.com>
> ---
> conf/machine/include/machine-xilinx-default.inc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/include/machine-xilinx-default.inc
> b/conf/machine/include/machine-xilinx-default.inc
> index 13e4df5746..f9e7e3a33f 100644
> --- a/conf/machine/include/machine-xilinx-default.inc
> +++ b/conf/machine/include/machine-xilinx-default.inc
> @@ -19,6 +19,7 @@ PREFERRED_VERSION_linux-xlnx ?= "4.6-xilinx-v2016.4%"
>
> # U-Boot Configuration
> XILINX_DEFAULT_UBOOT := "u-boot-xlnx"
> +XILINX_DEFAULT_UBOOT_zynq := "u-boot"
> XILINX_DEFAULT_UBOOT_zynqmp := "u-boot"
Why have any preferred_provider? Distro can provide these settings.
For ex: meta-petalinux can provide u-boot-xlnx, oe-core can provide u-boot
Any thoughts?
Thanks
Manju
> PREFERRED_PROVIDER_virtual/bootloader ??= "${XILINX_DEFAULT_UBOOT}"
>
> --
> 2.11.0
>
> --
> _______________________________________________
> meta-xilinx mailing list
> meta-xilinx at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-xilinx
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
More information about the meta-xilinx
mailing list