diff options
| author | Otavio Salvador <otavio@ossystems.com.br> | 2022-08-02 15:50:00 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-08-02 15:50:00 -0300 |
| commit | 80dfd0f11c8dca03f314590f2f35c93e702acc7e (patch) | |
| tree | 622b2467bcd293a5c3b721f6fe8806ed3c33600e /conf/machine/include | |
| parent | 79d3af06dc2c0e50b3928f6ad110c1cbbdbc235d (diff) | |
| parent | 526798901506f890f5682ff31a00ba1ea7b31331 (diff) | |
| download | meta-freescale-80dfd0f11c8dca03f314590f2f35c93e702acc7e.tar.gz | |
Merge pull request #1163 from thochstein/uboot-machine-config
Uboot machine config
Diffstat (limited to 'conf/machine/include')
| -rw-r--r-- | conf/machine/include/imx-base.inc | 8 | ||||
| -rw-r--r-- | conf/machine/include/imx8mm-evk.inc | 1 | ||||
| -rw-r--r-- | conf/machine/include/imx8mn-evk.inc | 1 | ||||
| -rw-r--r-- | conf/machine/include/imx8mp-evk.inc | 1 |
4 files changed, 8 insertions, 3 deletions
diff --git a/conf/machine/include/imx-base.inc b/conf/machine/include/imx-base.inc index f14d782e9..37991f39f 100644 --- a/conf/machine/include/imx-base.inc +++ b/conf/machine/include/imx-base.inc | |||
| @@ -60,6 +60,14 @@ UBOOT_BINARY ?= "u-boot.${UBOOT_SUFFIX}" | |||
| 60 | # | | 60 | # | |
| 61 | # | UBOOT_MACHINE = "mx53loco_config" | 61 | # | UBOOT_MACHINE = "mx53loco_config" |
| 62 | # `---- | 62 | # `---- |
| 63 | # | ||
| 64 | # Please note that UBOOT_SUFFIX must be set in the machine config even | ||
| 65 | # if the value is the same for the U-Boot flavors. If the value is not | ||
| 66 | # set, then the assignment here is the one used, the value resolves to | ||
| 67 | # empty, and the build fails: | ||
| 68 | # | cp: cannot stat '/.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/imx8qm_mek_defconfig/u-boot.': No such file or directory | ||
| 69 | #| WARNING: /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/temp/run.do_compile.21223:186 exit 1 from 'cp /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/${config}/${binary} /.../tmp/work/imx8qm_mek-fsl-linux/u-boot-imx/2022.04-r0/build/${config}/u-boot-${type}.${UBOOT_SUFFIX:pn-u-boot-imx}' | ||
| 70 | # | ||
| 63 | IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" | 71 | IMX_DEFAULT_BOOTLOADER ??= "u-boot-fslc" |
| 64 | UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}" | 72 | UBOOT_SUFFIX ?= "${UBOOT_SUFFIX:pn-${IMX_DEFAULT_BOOTLOADER}}" |
| 65 | 73 | ||
diff --git a/conf/machine/include/imx8mm-evk.inc b/conf/machine/include/imx8mm-evk.inc index f124b8f6c..36d3bd9aa 100644 --- a/conf/machine/include/imx8mm-evk.inc +++ b/conf/machine/include/imx8mm-evk.inc | |||
| @@ -67,7 +67,6 @@ UBOOT_EXTLINUX_ROOT:default:use-mainline-bsp = "root=/dev/mmcblk1p2" | |||
| 67 | IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" | 67 | IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" |
| 68 | 68 | ||
| 69 | LOADADDR = "" | 69 | LOADADDR = "" |
| 70 | UBOOT_SUFFIX = "bin" | ||
| 71 | UBOOT_MAKE_TARGET = "all" | 70 | UBOOT_MAKE_TARGET = "all" |
| 72 | IMX_BOOT_SEEK = "33" | 71 | IMX_BOOT_SEEK = "33" |
| 73 | 72 | ||
diff --git a/conf/machine/include/imx8mn-evk.inc b/conf/machine/include/imx8mn-evk.inc index 261c9b53c..4b3b3d22c 100644 --- a/conf/machine/include/imx8mn-evk.inc +++ b/conf/machine/include/imx8mn-evk.inc | |||
| @@ -73,7 +73,6 @@ IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.con | |||
| 73 | 73 | ||
| 74 | BOOT_SPACE = "65536" | 74 | BOOT_SPACE = "65536" |
| 75 | LOADADDR = "" | 75 | LOADADDR = "" |
| 76 | UBOOT_SUFFIX = "bin" | ||
| 77 | UBOOT_MAKE_TARGET = "all" | 76 | UBOOT_MAKE_TARGET = "all" |
| 78 | 77 | ||
| 79 | # Image boot offset as defined in section 6.1.6.1 "Primary image offset and IVT offset" of | 78 | # Image boot offset as defined in section 6.1.6.1 "Primary image offset and IVT offset" of |
diff --git a/conf/machine/include/imx8mp-evk.inc b/conf/machine/include/imx8mp-evk.inc index 1b83e677d..2f630ab4b 100644 --- a/conf/machine/include/imx8mp-evk.inc +++ b/conf/machine/include/imx8mp-evk.inc | |||
| @@ -69,7 +69,6 @@ UBOOT_EXTLINUX_ROOT:default:use-mainline-bsp = "root=/dev/mmcblk1p2" | |||
| 69 | IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" | 69 | IMAGE_BOOT_FILES:append:use-mainline-bsp = " extlinux.conf;extlinux/extlinux.conf" |
| 70 | 70 | ||
| 71 | LOADADDR = "" | 71 | LOADADDR = "" |
| 72 | UBOOT_SUFFIX = "bin" | ||
| 73 | UBOOT_MAKE_TARGET = "all" | 72 | UBOOT_MAKE_TARGET = "all" |
| 74 | IMX_BOOT_SEEK = "32" | 73 | IMX_BOOT_SEEK = "32" |
| 75 | 74 | ||
