aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMahesh Mahadevan <mahesh.mahadevan@freescale.com>2012-10-15 12:31:15 -0500
committerOtavio Salvador <otavio@ossystems.com.br>2012-10-15 15:35:28 -0300
commitfabde4a444ecf38effc238c69f9303f43fd17992 (patch)
tree770c1e9993e2558e7596bd63ae8c0506435ac90d
parent6279292f85126aa6d79f8af634528d7983dd6754 (diff)
downloadmeta-fsl-arm-fabde4a444ecf38effc238c69f9303f43fd17992.tar.gz
meta-fsl-arm-fabde4a444ecf38effc238c69f9303f43fd17992.tar.bz2
meta-fsl-arm-fabde4a444ecf38effc238c69f9303f43fd17992.zip
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 <mahesh.mahadevan@freescale.com>
-rw-r--r--recipes-bsp/u-boot/u-boot-imx_2009.08.bb27
1 files changed, 24 insertions, 3 deletions
diff --git a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb b/recipes-bsp/u-boot/u-boot-imx_2009.08.bb
index c1268df..8bd8af7 100644
--- a/recipes-bsp/u-boot/u-boot-imx_2009.08.bb
+++ b/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}"