[meta-freescale] [3rdparty][PATCH v3 04/15] apalis-imx6.conf: build a spl based u-boot

Max Krummenacher max.oss.09 at gmail.com
Wed Nov 8 07:54:03 PST 2017


U-Boot is now used with SPL, set the machine conf file accordingly.

Signed-off-by: Max Krummenacher <max.krummenacher at toradex.com>
---
 conf/machine/apalis-imx6.conf | 15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

diff --git a/conf/machine/apalis-imx6.conf b/conf/machine/apalis-imx6.conf
index 8992047..f5bcf38 100644
--- a/conf/machine/apalis-imx6.conf
+++ b/conf/machine/apalis-imx6.conf
@@ -16,14 +16,13 @@ KERNEL_IMAGETYPE = "uImage"
 
 PREFERRED_PROVIDER_u-boot ?= "u-boot-toradex"
 PREFERRED_PROVIDER_virtual/bootloader ?= "u-boot-toradex"
-# Modules in commercial and industrial temperature range have different RAM.
-# Using apalis_imx6_it_defconfig builds an U-Boot working for both temperature
-# ranges, however, on commercially rated modules the RAM bandwidth is 5-10%
-# higher when using the optimized settings from apalis_imx6_defconfig.
-# The following builds both binaries, but uses the IT one in an SD image.
-UBOOT_CONFIG ??= "it"
-UBOOT_CONFIG[com] = "apalis_imx6_defconfig"
-UBOOT_CONFIG[it] = "apalis_imx6_it_defconfig"
+SPL_BINARY = "SPL"
+# The SPL configures the DDR RAM depending on the module it runs on. Thus there
+# is no need to distingush between the different module types.
+UBOOT_CONFIG ??= "spl"
+UBOOT_CONFIG[spl] = "apalis_imx6_defconfig,,u-boot.img"
+UBOOT_MAKE_TARGET = ""
+UBOOT_ENTRYPOINT_use-mainline-bsp = "0x10008000"
 
 IMAGE_FSTYPES = "sdcard.gz tar.xz"
 
-- 
2.9.4



More information about the meta-freescale mailing list