From 608938e911a41b3712db2480c57ef45e8b135901 Mon Sep 17 00:00:00 2001 From: guowenxue <guowenxue@gmail.com> Date: Tue, 19 Dec 2023 23:13:04 +0800 Subject: [PATCH] Update bootloader build shell script, fix imx8mp can not flash bug --- bootloader/build.sh | 12 +++++------- 1 files changed, 5 insertions(+), 7 deletions(-) diff --git a/bootloader/build.sh b/bootloader/build.sh index 0e90a1f..921940a 100755 --- a/bootloader/build.sh +++ b/bootloader/build.sh @@ -69,8 +69,8 @@ ATF_PLATFORM=imx8mp IMX_BOOT_SOC_TARGET=iMX8MP - IMXBOOT_TARGETS=flash_ddr4_evk - IMXBOOT_DTB=imx8mp-ddr4-evk.dtb + IMXBOOT_TARGETS=flash_evk + IMXBOOT_DTB=imx8mp-evk.dtb MKIMG_BIN_PATH=$PRJ_PATH/imx-mkimage/iMX8M/ elif [[ $BOARD =~ mx8mm ]] ; then @@ -247,13 +247,11 @@ pr_info "Copy DDR4 firmware to $MKIMG_BIN_PATH" cp $FMW_PATH/firmware-imx-*/firmware/hdmi/cadence/signed_hdmi_imx8m.bin $MKIMG_BIN_PATH - cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/ddr4_imem_1d*.bin $MKIMG_BIN_PATH - cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/ddr4_dmem_1d*.bin $MKIMG_BIN_PATH - cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/ddr4_imem_2d*.bin $MKIMG_BIN_PATH - cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/ddr4_dmem_2d*.bin $MKIMG_BIN_PATH + cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/lpddr4_pmu_train_[1-2]d_imem_202006.bin $MKIMG_BIN_PATH + cp $FMW_PATH/firmware-imx-*/firmware/ddr/synopsys/lpddr4_pmu_train_[1-2]d_dmem_202006.bin $MKIMG_BIN_PATH fi - make SOC=$IMX_BOOT_SOC_TARGET REV=A2 $IMXBOOT_TARGETS + make SOC=$IMX_BOOT_SOC_TARGET $IMXBOOT_TARGETS cp $MKIMG_BIN_PATH/flash.bin u-boot-${BOARD}.imx chmod a+x u-boot-${BOARD}.imx -- Gitblit v1.9.1