summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOtavio Salvador <otavio@ossystems.com.br>2022-07-29 18:20:49 -0300
committerGitHub <noreply@github.com>2022-07-29 18:20:49 -0300
commite195433d946dfcd335bc0431d0e0ffaf0f169799 (patch)
treef24997b88f4e60bcac67d9294c9d0acc69cc2a2b
parent7effa525a29c048dcaca24d51bad816e73eac948 (diff)
parent4c5cd39ba8573e8956e00ff2d270487c88c276a2 (diff)
downloadmeta-freescale-e195433d946dfcd335bc0431d0e0ffaf0f169799.tar.gz
Merge pull request #1152 from thochstein/u-boot-imx-mfgtool
Fix u-boot-imx-mfgtool for i.MX 6 SABRE, NXP BSP
-rw-r--r--conf/machine/imx6qdlsabreauto.conf25
-rw-r--r--conf/machine/imx6qdlsabresd.conf19
2 files changed, 27 insertions, 17 deletions
diff --git a/conf/machine/imx6qdlsabreauto.conf b/conf/machine/imx6qdlsabreauto.conf
index a5ec1249..16a061e5 100644
--- a/conf/machine/imx6qdlsabreauto.conf
+++ b/conf/machine/imx6qdlsabreauto.conf
@@ -40,22 +40,27 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img"
40### u-boot-imx settings ### 40### u-boot-imx settings ###
41SPL_BINARY:pn-u-boot-imx = "" 41SPL_BINARY:pn-u-boot-imx = ""
42UBOOT_CONFIG:pn-u-boot-imx ??= " \ 42UBOOT_CONFIG:pn-u-boot-imx ??= " \
43 sd-imx \ 43 sd \
44 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \ 44 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \
45" 45"
46UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 46UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
47UBOOT_SUFFIX:pn-u-boot-imx = "imx" 47UBOOT_SUFFIX:pn-u-boot-imx = "imx"
48UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx"
49UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx"
50
51UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig,sdcard"
52UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig,sdcard"
53UBOOT_CONFIG[eimnor] = "${UBOOT_CONFIG_MACHINE_NAME}_eimnor_defconfig"
54UBOOT_CONFIG[nand] = "${UBOOT_CONFIG_MACHINE_NAME}_nand_defconfig,ubifs"
55UBOOT_CONFIG[spinor] = "${UBOOT_CONFIG_MACHINE_NAME}_spinor_defconfig"
56UBOOT_CONFIG[sata] = "${UBOOT_CONFIG_MACHINE_NAME}_sata_defconfig"
57UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig"
48 58
49# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC 59# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
50# variants. Change the defconfig to the targeted SoC variant. 60# variants. Change the defconfig to the targeted SoC variant.
51UBOOT_CONFIG[sd-fslc] = "mx6sabreauto_defconfig,sdcard" 61UBOOT_CONFIG_MACHINE_NAME = "mx6sabreauto"
52UBOOT_CONFIG[sd-imx] = "mx6qpsabreauto_defconfig,sdcard" 62UBOOT_CONFIG_MACHINE_NAME:pn-u-boot-imx = "mx6qpsabreauto"
53UBOOT_CONFIG[sd-optee-imx] = "mx6qpsabreauto_optee_defconfig,sdcard" 63UBOOT_CONFIG_MACHINE_NAME:pn-u-boot-imx-mfgtool = "mx6qpsabreauto"
54UBOOT_CONFIG[eimnor-imx] = "mx6qpsabreauto_eimnor_defconfig"
55UBOOT_CONFIG[nand-imx] = "mx6qpsabreauto_nand_defconfig,ubifs"
56UBOOT_CONFIG[spinor-imx] = "mx6qpsabreauto_spinor_defconfig"
57UBOOT_CONFIG[sata-imx] = "mx6qpsabreauto_sata_defconfig"
58UBOOT_CONFIG[mfgtool-imx] = "mx6qpsabreauto_defconfig"
59 64
60WKS_FILE = " \ 65WKS_FILE = " \
61 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \ 66 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \
diff --git a/conf/machine/imx6qdlsabresd.conf b/conf/machine/imx6qdlsabresd.conf
index 81d1c962..62ad478e 100644
--- a/conf/machine/imx6qdlsabresd.conf
+++ b/conf/machine/imx6qdlsabresd.conf
@@ -49,19 +49,24 @@ UBOOT_SUFFIX:pn-u-boot-fslc = "img"
49### u-boot-imx settings ### 49### u-boot-imx settings ###
50SPL_BINARY:pn-u-boot-imx = "" 50SPL_BINARY:pn-u-boot-imx = ""
51UBOOT_CONFIG:pn-u-boot-imx ??= " \ 51UBOOT_CONFIG:pn-u-boot-imx ??= " \
52 sd-imx \ 52 sd \
53 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee-imx', '', d)} \ 53 ${@bb.utils.contains('MACHINE_FEATURES', 'optee', 'sd-optee', '', d)} \
54" 54"
55UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx" 55UBOOT_MAKE_TARGET:pn-u-boot-imx = "u-boot.imx"
56UBOOT_SUFFIX:pn-u-boot-imx = "imx" 56UBOOT_SUFFIX:pn-u-boot-imx = "imx"
57UBOOT_MAKE_TARGET:pn-u-boot-imx-mfgtool = "u-boot.imx"
58UBOOT_SUFFIX:pn-u-boot-imx-mfgtool = "imx"
59
60UBOOT_CONFIG[sd] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig,sdcard"
61UBOOT_CONFIG[sd-optee] = "${UBOOT_CONFIG_MACHINE_NAME}_optee_defconfig,sdcard"
62UBOOT_CONFIG[sata] = "${UBOOT_CONFIG_MACHINE_NAME}_sata_defconfig"
63UBOOT_CONFIG[mfgtool] = "${UBOOT_CONFIG_MACHINE_NAME}_defconfig"
57 64
58# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC 65# The u-boot-imx does not provide unified functionality for DL/Q/QP SoC
59# variants. Change the defconfig to the targeted SoC variant. 66# variants. Change the defconfig to the targeted SoC variant.
60UBOOT_CONFIG[sd-fslc] = "mx6sabresd_defconfig,sdcard" 67UBOOT_CONFIG_MACHINE_NAME = "mx6sabresd"
61UBOOT_CONFIG[sd-imx] = "mx6qsabresd_defconfig,sdcard" 68UBOOT_CONFIG_MACHINE_NAME:pn-u-boot-imx = "mx6qsabresd"
62UBOOT_CONFIG[sd-optee-imx] = "mx6qsabresd_optee_defconfig,sdcard" 69UBOOT_CONFIG_MACHINE_NAME:pn-u-boot-imx-mfgtool = "mx6qsabresd"
63UBOOT_CONFIG[sata-imx] = "mx6qsabresd_sata_defconfig"
64UBOOT_CONFIG[mfgtool-imx] = "mx6qsabresd_defconfig"
65 70
66WKS_FILE = " \ 71WKS_FILE = " \
67 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \ 72 ${@bb.utils.contains('IMX_DEFAULT_BOOTLOADER', \