Skip to contentSkip to conversation

u-boot-fslc: Update to 20130409 patches-2013.04's snapshot

PATCH Superseded Otavio Salvador 1 participant 4 messages Apr 9, 2013 Arm i.MX and Layerscape

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/4 u-boot-fslc: Update to 20130409 patches-2013.04's snapshot

This updates our U-Boot mainline based branch to a 20130409 snapshot; the u-boot-fslc and u-boot-mxsboot recipes were updated.

Change-Id I89a3608e1cd94a7e26307c9dbe7774975af7baa3
---
 .../u-boot/{u-boot-fslc_2013.01.bb => u-boot-fslc_2013.04.bb}      | 7 +++----
 .../{u-boot-mxsboot_2013.01.bb => u-boot-mxsboot_2013.04.bb}       | 5 ++---
 2 files changed, 5 insertions(+), 7 deletions(-)
 rename recipes-bsp/u-boot/{u-boot-fslc_2013.01.bb => u-boot-fslc_2013.04.bb} (70%)
 rename recipes-bsp/u-boot/{u-boot-mxsboot_2013.01.bb => u-boot-mxsboot_2013.04.bb} (87%)
recipes-bsp/u-boot/u-boot-fslc_2013.04.bb renamed from recipes-bsp/u-boot/u-boot-fslc_2013.01.bb +3 -4
similarity index 70%
rename from recipes-bsp/u-boot/u-boot-fslc_2013.01.bb
rename to recipes-bsp/u-boot/u-boot-fslc_2013.04.bb
index f67a92b..2a88090 100644
@@ -2,16 +2,15 @@ require recipes-bsp/u-boot/u-boot.inc
 
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
-COMPATIBLE_MACHINE = "(imx28evk|mx3|mx5|mx6)"
+COMPATIBLE_MACHINE = "(mxs|mx3|mx5|mx6)"
 
 DEPENDS_mxs += "elftosb-native"
 
 PROVIDES += "u-boot"
 
-PV = "v2013.01"
-PR = "r3"
+PV = "v2013.04"
 
-SRCREV = "6997ad60ace1244119080bc1811586f231ef267a"
+SRCREV = "e11b0ce37c33578477843add74e604837ceaa3c1"
 SRC_URI = "git://github.com/Freescale/u-boot-imx.git"
 
 S = "${WORKDIR}/git"
recipes-bsp/u-boot/u-boot-mxsboot_2013.04.bb renamed from recipes-bsp/u-boot/u-boot-mxsboot_2013.01.bb +2 -3
similarity index 87%
rename from recipes-bsp/u-boot/u-boot-mxsboot_2013.01.bb
rename to recipes-bsp/u-boot/u-boot-mxsboot_2013.04.bb
index 42acd39..28245c2 100644
@@ -3,10 +3,9 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb"
 SECTION = "bootloader"
 
-PV = "v2013.01"
-PR = "r1"
+PV = "v2013.04"
 
-SRCREV = "d229fb849bd4b453a08b18f4f8cd00741ef53b1d"
+SRCREV = "e11b0ce37c33578477843add74e604837ceaa3c1"
 SRC_URI = "git://github.com/Freescale/u-boot-imx.git"
 
 S = "${WORKDIR}/git"
Signature · 1 line
1.8.1
#1 lore raw

PATCH v2 2/4 mxs-base.inc: Add U-Boot common definitions

This removes the U-Boot common definitions from imx28evk board as they are shared with all 'mxs' SoCs.

Change-Id: I44d33aa54971534c07a240e6cf88c0c4b3051f25

---
 conf/machine/imx28evk.conf        | 5 -----
 conf/machine/include/mxs-base.inc | 5 +++++
 2 files changed, 5 insertions(+), 5 deletions(-)
conf/machine/imx28evk.conf +0 -5
index d981358..fb9fdcf 100644
@@ -7,12 +7,7 @@ include conf/machine/include/mxs-base.inc
 SOC_FAMILY = "mx28:mxs"
 
 IMXBOOTLETS_MACHINE = "iMX28_EVK"
-
-UBOOT_ENTRYPOINT = "0x41008000"
-UBOOT_LOADADDRESS = "0x41008000"
 UBOOT_MACHINE = "mx28evk_config"
-UBOOT_MAKE_TARGET = "u-boot.sb"
-UBOOT_SUFFIX = "sb"
 
 KERNEL_IMAGETYPE = "uImage"
 KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx28-evk.dts"
conf/machine/include/mxs-base.inc +5 -0
index 74f839b..6dc1302 100644
@@ -9,6 +9,11 @@ include conf/machine/include/tune-arm926ejs.inc
 
 SOC_FAMILY = "mxs"
 
+UBOOT_ENTRYPOINT = "0x41008000"
+UBOOT_LOADADDRESS = "0x41008000"
+UBOOT_MAKE_TARGET = "u-boot.sb"
+UBOOT_SUFFIX = "sb"
+
 # Disable perf features as 2.6.35.3 fail to build otherwise
 PERF_FEATURES_ENABLE = ""
 
Signature · 1 line
1.8.1
#2 lore raw

PATCH v2 3/4 imx23evk: Use U-Boot by default

In reply to Otavio Salvador

The U-Boot now supports the imx23evk board so we now use it by default. The imx-bootlets support is still available in case someone needs it.

Change-Id I321e1b8e461e5bdfa9995964e4ab1c779c222c6b
---
 conf/machine/imx23evk.conf | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
conf/machine/imx23evk.conf +3 -4
index 759e4ab..a5c0f98 100644
@@ -7,13 +7,12 @@ include conf/machine/include/mxs-base.inc
 SOC_FAMILY = "mx23:mxs"
 
 IMXBOOTLETS_MACHINE = "stmp378x_dev"
+UBOOT_MACHINE = "mx23evk_config"
 
-KERNEL_IMAGETYPE = "zImage"
+KERNEL_IMAGETYPE = "uImage"
 KERNEL_DEVICETREE = "${S}/arch/arm/boot/dts/imx23-evk.dts"
 
-IMAGE_BOOTLOADER = "imx-bootlets"
-
 SDCARD_ROOTFS ?= "${DEPLOY_DIR_IMAGE}/${IMAGE_NAME}.rootfs.ext3"
-IMAGE_FSTYPES ?= "tar.bz2 ext3 linux.sb sdcard"
+IMAGE_FSTYPES ?= "tar.bz2 ext3 uboot.mxsboot-sdcard sdcard"
 
 MACHINE_FEATURES = "apm usbgadget usbhost vfat alsa touchscreen"
Signature · 1 line
1.8.1
#3 lore raw

PATCH v2 4/4 imx6slevk: Use U-Boot mainline

In reply to Otavio Salvador
Change-Id I8e5b3d6b31267f6cfcfe11be9a7aa4d6a5fdfec0
---
 conf/machine/imx6slevk.conf       | 2 --
 conf/machine/include/imx-base.inc | 1 -
 2 files changed, 3 deletions(-)
conf/machine/imx6slevk.conf +0 -2
index 786822a..454c34f 100644
@@ -8,8 +8,6 @@ include conf/machine/include/tune-cortexa9.inc
 SOC_FAMILY = "mx6sl:mx6"
 
 UBOOT_MACHINE = "mx6slevk_config"
-UBOOT_SUFFIX = "bin"
-UBOOT_PADDING = "2"
 
 SERIAL_CONSOLE = "115200 ttymxc0"
 
conf/machine/include/imx-base.inc +0 -1
index ad3df13..ffdb871 100644
@@ -72,7 +72,6 @@ PREFERRED_PROVIDER_virtual/libgles1_mx6 ?= "gpu-viv-bin-mx6q"
 PREFERRED_PROVIDER_virtual/libgles2_mx6 ?= "gpu-viv-bin-mx6q"
 
 PREFERRED_PROVIDER_virtual/kernel_mx3 = "linux-fslc"
-PREFERRED_PROVIDER_u-boot_mx6sl = "u-boot-imx"
 PREFERRED_PROVIDER_u-boot_mx6dl = "u-boot-imx"
 
 EXTRA_IMAGEDEPENDS = "u-boot"
Signature · 1 line
1.8.1