From 5e730edb39594401f7b341d9ee3771fb4d779b7c Mon Sep 17 00:00:00 2001 From: Mahesh Mahadevan Date: Mon, 15 Oct 2012 12:31:15 -0500 Subject: [PATCH] u-boot-imx: Fix the build and GIT repository location 1. u-boot-imx build was broken after making the switch to open source u-boot. Added UBOOT_MACHINE defines since the u-boot config names are different from that used in the denx GIT repository. Also added defines UBOOT_MAKE_TARGET & UBOOT_SUFFIX given the older version of the u-boot code used. 2. Added 'HOSTSTRIP=true' to EXTRA_OEMAKE for build to succeed. 3. Use git.freescale.com to get the u-boot source code. Signed-off-by: Mahesh Mahadevan --- .../recipes-bsp/u-boot/u-boot-imx_2009.08.bb | 27 ++++++++++++++++--- 1 file changed, 24 insertions(+), 3 deletions(-) diff --git a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb index c1268df7..8bd8af74 100644 --- a/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb +++ b/meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb @@ -11,12 +11,33 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4c6cde5df68eff615d36789dc18edd3b" DEPENDS_mxs += "elftosb-native" -PR = "r5" +PR = "r6" -SRC_URI = "git://opensource.freescale.com/pub/scm/imx/uboot-imx.git;tag=rel_imx_2.6.38_11.11.01;protocol=http \ - file://mx53_loco_bootenv.patch" +# Revision of imx_2.6.35_10.12.01 branch +SRCREV_mxs = "e4437f1c192a1a68028e6fcff3f50ff50352041d" + +# Revision of imx_2.6.35_11.09.01 branch +SRCREV_mx5 = "897922d01c812be802e4a928b937535ea1b8e076" +SRC_URI_append_imx5 = " \ + file://mx53_loco_bootenv.patch \ +" + +# Revision of imx_2.6.35_11.11.01 branch +SRCREV_mx6 = "daa30bb22e006d9f39298fb28ea8391ae4ccbc52" + +SRC_URI = "git://git.freescale.com/imx/uboot-imx.git" + +UBOOT_MACHINE_imx53qsb = "mx53_loco_config" +UBOOT_MACHINE_imx53ard = "mx53_ard_ddr3_config" +UBOOT_MACHINE_imx51evk = "mx51_bbg_config" +UBOOT_MACHINE_imx6qsabrelite = "mx6q_sabrelite_config" +UBOOT_MACHINE_imx28evk = "mx28_evk_config" + +UBOOT_MAKE_TARGET = "u-boot.bin" +UBOOT_SUFFIX = "bin" S = "${WORKDIR}/git" +EXTRA_OEMAKE += 'HOSTSTRIP=true' PACKAGE_ARCH = "${MACHINE_ARCH}" -- 2.40.1