All of lore.kernel.org
 help / color / mirror / Atom feed
From: Daiane Angolini <daiane.angolini@freescale.com>
To: <meta-freescale@yoctoproject.org>
Subject: Re: [meta-fsl-arm-extra][PATCH 2/3] Add U-Boot Recipe for MarS Board by Embest-Tech Using Git Repository git://github.com/embest-tech/uboot-imx.git
Date: Wed, 29 Jan 2014 09:26:11 -0200	[thread overview]
Message-ID: <52E8E553.1020608@freescale.com> (raw)
In-Reply-To: <1390951221-32023-3-git-send-email-sven.ebenfeld@gmail.com>

On 28-01-2014 21:20, Sven Ebenfeld wrote:
>
> Signed-off-by: Sven Ebenfeld <sven.ebenfeld@gmail.com>
> ---
>   recipes-bsp/u-boot/u-boot-mars_2009.08.bb |   40 +++++++++++++++++++++++++++++
>   1 file changed, 40 insertions(+)
>   create mode 100644 recipes-bsp/u-boot/u-boot-mars_2009.08.bb
>
> diff --git a/recipes-bsp/u-boot/u-boot-mars_2009.08.bb b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb
> new file mode 100644
> index 0000000..72e4655
> --- /dev/null
> +++ b/recipes-bsp/u-boot/u-boot-mars_2009.08.bb
> @@ -0,0 +1,40 @@
> +# Copyright (C) 2011 Freescale Semiconductor
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +
> +DESCRIPTION = "Bootloader for MarS-Board from embest-tech"
> +require recipes-bsp/u-boot/u-boot.inc
> +
> +PROVIDES += "u-boot"
> +
> +LICENSE = "GPLv2+"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b"
> +
> +DEPENDS_mxs += "elftosb-native"

I don't understand this DEPENDS_mxs

> +
> +PR = "r0"
Please, drop PR

> +SRCREV = "fd0898ed076415a2378b8ba85da8c11a0bc07126"
> +
> +SRC_URI = "git://github.com/embest-tech/uboot-imx.git"
> +
> +UBOOT_MACHINE_marsboard = "mx6q_marsboard_config"
> +
> +UBOOT_MAKE_TARGET = "u-boot.bin"
> +
> +# Please, add the following variables to conf/local.conf
> +# in order to use this u-boot version
> +# UBOOT_SUFFIX = "bin"
> +# UBOOT_PADDING = "2"
> +# PREFERRED_PROVIDER_u-boot = "u-boot-mars"

I don't like this. You must configure this uboot to be the default one 
for your board.

By the way, are you sure you really need 2009.08 u-boot? Would be better 
to create a .bbppend instead of recreate the recipe here?

> +
> +S = "${WORKDIR}/git"
> +EXTRA_OEMAKE += 'HOSTSTRIP=true'
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +do_compile_prepend() {
> +	if [ "${@base_contains('DISTRO_FEATURES', 'ld-is-gold', 'ld-is-gold', '', d)}" = "ld-is-gold" ] ; then
> +		sed -i 's/$(CROSS_COMPILE)ld/$(CROSS_COMPILE)ld.bfd/g' config.mk
> +	fi
> +}
> +
> +COMPATIBLE_MACHINE = "(marsboard)"
>


-- 
Daiane



  reply	other threads:[~2014-01-29 11:31 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-28 23:20 [meta-fsl-arm-extra][PATCH 0/3] Add Machine Configuration and BSP for MarS Board by Embest-Tech Sven Ebenfeld
2014-01-28 23:20 ` [meta-fsl-arm-extra][PATCH 1/3] Add Machine configuration " Sven Ebenfeld
2014-01-29 11:21   ` Daiane Angolini
2014-01-28 23:20 ` [meta-fsl-arm-extra][PATCH 2/3] Add U-Boot Recipe for MarS Board by Embest-Tech Using Git Repository git://github.com/embest-tech/uboot-imx.git Sven Ebenfeld
2014-01-29 11:26   ` Daiane Angolini [this message]
2014-01-28 23:20 ` [meta-fsl-arm-extra][PATCH 3/3] Add Kernel Recipe and Configuration for MarS Board by Embest-Tech Kernel is compiled from git://github.com/embest-tech/linux-imx.git Sven Ebenfeld
2014-01-29 11:30   ` Daiane Angolini
2014-01-30 22:48     ` [meta-fsl-arm-extra][PATCH v2 0/3] Add Machine Configuration and BSP for MarS Board by Embest-Tech Sven Ebenfeld
2014-01-30 22:48       ` [meta-fsl-arm-extra][PATCH v2 1/3] Add Machine configuration for MarS Board by Embest-Tech Add myself as maintainer Sven Ebenfeld
2014-01-30 22:48       ` [meta-fsl-arm-extra][PATCH v2 2/3] Add U-Boot Recipe for MarS Board by Embest-Tech Using Git Repository git://github.com/embest-tech/uboot-imx.git Add SRCBRANCH Sven Ebenfeld
2014-01-30 22:48       ` [meta-fsl-arm-extra][PATCH v2 3/3] Add Kernel Recipe and Configuration for MarS Board by Embest-Tech Kernel is compiled from git://github.com/embest-tech/linux-imx.git Add SRCBRANCH, Remove INC_PR from new recipe Sven Ebenfeld
2014-01-31  1:07       ` [meta-fsl-arm-extra][PATCH v2 0/3] Add Machine Configuration and BSP for MarS Board by Embest-Tech Otavio Salvador
2014-01-31  1:29         ` Fabio Estevam
2014-01-31  4:47           ` Sven Ebenfeld

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=52E8E553.1020608@freescale.com \
    --to=daiane.angolini@freescale.com \
    --cc=meta-freescale@yoctoproject.org \
    /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.