[meta-ti] [PATCH v2] u-boot: switch from SPL/MLO to "ais" image for omapl138 SOCs
Tom Rini
trini at ti.com
Thu Jun 26 12:33:20 PDT 2014
On Thu, Jun 26, 2014 at 02:18:15PM -0400, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys at ti.com>
>
> Signed-off-by: Denys Dmytriyenko <denys at ti.com>
> Cc: Tom Rini <trini at ti.com>
> ---
> conf/machine/am180x-evm.conf | 4 +++-
> recipes-bsp/u-boot/u-boot-ti.inc | 4 ++--
> recipes-bsp/u-boot/u-boot_2014.07.bb | 3 +++
> 3 files changed, 8 insertions(+), 3 deletions(-)
>
> diff --git a/conf/machine/am180x-evm.conf b/conf/machine/am180x-evm.conf
> index 3182e8a..f83814e 100644
> --- a/conf/machine/am180x-evm.conf
> +++ b/conf/machine/am180x-evm.conf
> @@ -5,7 +5,9 @@
> require conf/machine/include/davinci.inc
> require conf/machine/include/omapl138.inc
>
> -UBOOT_MACHINE = "da850evm_config"
> +UBOOT_MACHINE = "da850_am18xxevm_config"
> +UBOOT_SUFFIX = "ais"
> +
> UBOOT_ENTRYPOINT = "0xc0008000"
> UBOOT_LOADADDRESS = "0xc0008000"
Since we've got ENTRYPOINT/LOADADDRESS in here which also are omapl138
rather than am180x specific, that's OK with me.
> diff --git a/recipes-bsp/u-boot/u-boot-ti.inc b/recipes-bsp/u-boot/u-boot-ti.inc
> index c024e96..0cb53ea 100644
> --- a/recipes-bsp/u-boot/u-boot-ti.inc
> +++ b/recipes-bsp/u-boot/u-boot-ti.inc
> @@ -1,3 +1,5 @@
> +UBOOT_SUFFIX ?= "img"
> +
> require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc
This isn't completely safe, is it? The COREBASE version also has ?= for
UBOOT_SUFFIX too. We need to either convince oe-core to use ??= or just
populate our machine.conf/soc.inc files with UBOOT_SUFFIX.
--
Tom
More information about the meta-ti
mailing list