imx-boot: add support to ConnectCore 8M Mini DVK platform
Both ConnectCore 8M platforms share the same U-Boot build process, so apply the same changes for them. https://jira.digi.com/browse/DEL-7397 Signed-off-by: Arturo Buzarra <arturo.buzarra@digi.com>
This commit is contained in:
parent
5781efc559
commit
be7de5559c
|
|
@ -32,7 +32,7 @@ do_populate_lic[depends] += " \
|
||||||
IMXBOOT_TARGETS_ccimx8x = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
|
IMXBOOT_TARGETS_ccimx8x = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_flexspi', \
|
||||||
'flash flash_regression_linux_m4', d)}"
|
'flash flash_regression_linux_m4', d)}"
|
||||||
|
|
||||||
IMXBOOT_TARGETS_ccimx8mn = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_spl_uboot', d)}"
|
IMXBOOT_TARGETS_ccimx8m = "${@bb.utils.contains('UBOOT_CONFIG', 'fspi', 'flash_evk_flexspi', 'flash_spl_uboot', d)}"
|
||||||
|
|
||||||
compile_mx8x() {
|
compile_mx8x() {
|
||||||
bbnote 8QX boot binary build
|
bbnote 8QX boot binary build
|
||||||
|
|
@ -133,8 +133,8 @@ do_compile () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
# ConnectCore 8M Nano does not have different binaries
|
# ConnectCore 8M Nano and 8M Mini do not have different binaries
|
||||||
UBOOT_RAM_COMBINATIONS_ccimx8mn = ""
|
UBOOT_RAM_COMBINATIONS_ccimx8m = ""
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
install -d ${D}/boot
|
install -d ${D}/boot
|
||||||
|
|
@ -250,4 +250,4 @@ do_deploy_append () {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
COMPATIBLE_MACHINE = "(ccimx8x|ccimx8mn)"
|
COMPATIBLE_MACHINE = "(ccimx8x|ccimx8m)"
|
||||||
|
|
|
||||||
|
|
@ -192,8 +192,8 @@ do_deploy_append_ccimx8x() {
|
||||||
mv ${DEPLOYDIR}/${UBOOT_SYMLINK}-* ${DEPLOYDIR}/${BOOT_TOOLS}/
|
mv ${DEPLOYDIR}/${UBOOT_SYMLINK}-* ${DEPLOYDIR}/${BOOT_TOOLS}/
|
||||||
}
|
}
|
||||||
|
|
||||||
do_deploy_append_ccimx8mn() {
|
do_deploy_append_ccimx8m() {
|
||||||
# Deploy u-boot-nodtb.bin and ccimx8mn-dvk.dtb, to be packaged in boot binary by imx-boot
|
# Deploy u-boot-nodtb.bin and ccimx8m[m|n]-dvk.dtb, to be packaged in boot binary by imx-boot
|
||||||
if [ -n "${UBOOT_CONFIG}" ]
|
if [ -n "${UBOOT_CONFIG}" ]
|
||||||
then
|
then
|
||||||
for config in ${UBOOT_MACHINE}; do
|
for config in ${UBOOT_MACHINE}; do
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue