Commit fd26066cc6e20e000c70507b227f337b9e84ae4b
1 parent
d2b264165e
Exists in
kirtstone-5.15.71_2.2.0
and in
1 other branch
Fix iMX8QM SMARC boot file device tree name
Showing 3 changed files with 20 additions and 0 deletions Side-by-side Diff
conf/machine/smarcimx8qm4g.conf
conf/machine/smarcimx8qm8g.conf
recipes-bsp/imx-mkimage/imx-boot_1.0.bbappend
1 | 1 | # Workaround to fix do_compile() failure due to missing imx8mx-smarc.dtb |
2 | +compile_mx8:prepend:smarcimx8qm4g() { | |
3 | + echo "Copying DTB" | |
4 | + if [ -f ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/imx8qm-smarc.dtb ]; then | |
5 | + cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME} ${BOOT_STAGING}/imx8qm-mek.dtb | |
6 | + fi | |
7 | +} | |
8 | + | |
9 | +compile_mx8:prepend:smarcimx8qm8g() { | |
10 | + echo "Copying DTB" | |
11 | + if [ -f ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/imx8qm-smarc.dtb ]; then | |
12 | + cp ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/${UBOOT_DTB_NAME} ${BOOT_STAGING}/imx8qm-mek.dtb | |
13 | + fi | |
14 | +} | |
15 | + | |
2 | 16 | compile_mx8m:prepend:smarcimx8mp2g() { |
3 | 17 | echo "Copying DTB" |
4 | 18 | if [ -f ${DEPLOY_DIR_IMAGE}/${BOOT_TOOLS}/imx8mp-smarc.dtb ]; then |