]> code.ossystems Code Review - meta-freescale.git/commitdiff
u-boot-imx: Fix the build and GIT repository location
authorMahesh Mahadevan <mahesh.mahadevan@freescale.com>
Mon, 15 Oct 2012 17:31:15 +0000 (12:31 -0500)
committerOtavio Salvador <otavio@ossystems.com.br>
Mon, 15 Oct 2012 18:36:49 +0000 (15:36 -0300)
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 <mahesh.mahadevan@freescale.com>
meta-fsl-arm/recipes-bsp/u-boot/u-boot-imx_2009.08.bb

index c1268df7eba70b0813cc1f2d1d8604758066e308..8bd8af7465aac510a31159a1806a04a439c60ffe 100644 (file)
@@ -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}"