From 964b8eff2c47939a7efc0367043916f7363918c4 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Mon, 1 Jul 2019 11:20:04 +0200 Subject: [PATCH] ccimx8x: u-boot: add support for variant 0x06 in U-Boot scripts Signed-off-by: Hector Palacios https://jira.digi.com/browse/DEL-6641 --- .../u-boot/u-boot-dey/ccimx8x-sbc-express/boot.txt | 3 ++- .../recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/boot.txt | 3 ++- .../u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt | 4 ++++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/boot.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/boot.txt index c67c00d87..2abe55497 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/boot.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/boot.txt @@ -36,7 +36,8 @@ else test "${module_variant}" = "0x04"; then setenv fdt_file ccimx${soc_type}-sbc-express-wb.dtb elif test "${module_variant}" = "0x03" || - test "${module_variant}" = "0x05"; then + test "${module_variant}" = "0x05" || + test "${module_variant}" = "0x06"; then setenv fdt_file ccimx${soc_type}-sbc-express.dtb else setenv fdt_file ccimx${soc_type}-sbc-express-wb.dtb diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/boot.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/boot.txt index 2d069bc79..716ac770f 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/boot.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/boot.txt @@ -36,7 +36,8 @@ else test "${module_variant}" = "0x04"; then setenv fdt_file ccimx${soc_type}-sbc-pro-wb.dtb elif test "${module_variant}" = "0x03" || - test "${module_variant}" = "0x05"; then + test "${module_variant}" = "0x05" || + test "${module_variant}" = "0x06"; then setenv fdt_file ccimx${soc_type}-sbc-pro.dtb else setenv fdt_file ccimx${soc_type}-sbc-pro-wb.dtb diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt index 9f9fa5ddd..969609849 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-pro/install_linux_fw_sd.txt @@ -32,6 +32,8 @@ else elif test "${module_variant}" = "0x02" || test "${module_variant}" = "0x03"; then setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x_sbc_pro2GB.bin; + elif test "${module_variant}" = "0x06"; then + setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x_sbc_pro512MB.bin; fi fi fi @@ -49,6 +51,8 @@ else echo " => setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x_sbc_pro1GB.bin"; echo " - For a QuadXPlus CPU with 2GB DDR3, run:"; echo " => setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x_sbc_pro2GB.bin"; + echo " - For a DualX CPU with 512MB DDR3, run:"; + echo " => setenv INSTALL_UBOOT_FILENAME imx-boot-ccimx8x_sbc_pro512MB.bin"; echo ""; echo "2. Run the install script again."; echo "";