Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx8mm-lpddr4-evk: mfgtool: Set MFGTOOLCONFIG #1508

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions conf/machine/imx8mm-lpddr4-evk.conf
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,8 @@ DDR_FIRMWARE_NAME = " \
"

IMXBOOT_TARGETS_BASENAME = "flash_evk"

MFGTOOLCONFIG = "bootloader.uuu.in fullimage.uuu.in"
MFGTOOLCONFIG[bootloader.uuu.in] = "imx-boot:do_deploy,imx-boot"
MFGTOOLCONFIG[fullimage.uuu.in] = "imx-boot:do_deploy ${IMAGE_BASENAME}:do_image_complete,imx-boot ${IMAGE_BASENAME}-${MACHINE}.wic"

15 changes: 15 additions & 0 deletions mfgtool/imx8mm-lpddr4-evk/bootloader.uuu.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
uuu_version 1.2.39

SDP: boot -f binaries/imx-boot

SDPV: delay 1000
SDPV: write -f binaries/imx-boot -skipspl
SDPV: jump

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash bootloader binaries/imx-boot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: Done
17 changes: 17 additions & 0 deletions mfgtool/imx8mm-lpddr4-evk/fullimage.uuu.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@

uuu_version 1.2.39

SDP: boot -f binaries/imx-boot

SDPV: delay 1000
SDPV: write -f binaries/imx-boot -skipspl
SDPV: jump

FB: ucmd setenv fastboot_dev mmc
FB: ucmd setenv mmcdev ${emmc_dev}
FB: ucmd mmc dev ${emmc_dev}
FB: flash -raw2sparse all binaries/@@IMAGE_BASENAME@@-@@MACHINE@@.wic
FB: flash -scanterm -scanlimited 0x800000 bootloader binaries/imx-boot
FB: ucmd if env exists emmc_ack; then ; else setenv emmc_ack 0; fi;
FB: ucmd mmc partconf ${emmc_dev} ${emmc_ack} 1 0
FB: done