Skip to content
Snippets Groups Projects
Commit 8da5cd23 authored by Ye Li's avatar Ye Li
Browse files

MLK-24554 iMX8DXL: Fix some non-A core targets issue


SPL_CMD is used only when SPL included in boot image. However, we
wrongly added it in previous patch to some non-A core targets.

Signed-off-by: default avatarYe Li <ye.li@nxp.com>
(cherry picked from commit cdc5101e)
flash_m4: $(MKIMG) mx8dxla0-ahab-container.img scfw_tcm.bin m4_image.bin
SPL_CMD="$(shell cat u-boot-spl.bin_cmd)"; \
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x34FE0000 $$SPL_CMD $(V2X_DUMMY_OCRAM) -out flash.bin
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x34FE0000 $(V2X_DUMMY_OCRAM) -out flash.bin
flash_m4_ddr: $(MKIMG) mx8dxla0-ahab-container.img scfw_tcm.bin m4_image.bin
./$(MKIMG) -soc DXL -rev A0 -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x88000000 $(V2X_DUMMY_DDR) -out flash.bin
......
......@@ -2,12 +2,10 @@ flash_secofw flash_b0_secofw: $(MKIMG) ahabfw.bin
./$(MKIMG) -soc DXL -rev A0 -c -seco ahabfw.bin -out flash.bin
flash_msg_block:
SPL_CMD="$(shell cat u-boot-spl.bin_cmd)"; \
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -msg_blk test_block.bin field 0x00100000 $$SPL_CMD $(V2X_DUMMY_OCRAM) -out flash.bin
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -msg_blk test_block.bin field 0x00100000 $(V2X_DUMMY_OCRAM) -out flash.bin
flash_flexspi_msg_block: $(MKIMG) mx8dxla0-ahab-container.img scfw_tcm.bin u-boot-atf.bin $(QSPI_HEADER)
SPL_CMD="$(shell cat u-boot-spl.bin_cmd)"; \
./$(MKIMG) -soc DXL -rev A0 -dcd skip -dev flexspi -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -msg_blk test_block.bin field 0x00100000 $$SPL_CMD $(V2X_DUMMY_OCRAM) -out flash.bin
./$(MKIMG) -soc DXL -rev A0 -dcd skip -dev flexspi -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -msg_blk test_block.bin field 0x00100000 $(V2X_DUMMY_OCRAM) -out flash.bin
./$(QSPI_PACKER) $(QSPI_HEADER)
flash_nand_fw: $(MKIMG) mx8dxla0-ahab-container.img scfw_tcm.bin u-boot-atf.bin
......
......@@ -17,6 +17,5 @@ flash_test_build_mfg flash_a0_test_build_mfg: $(MKIMG) mx8dxla0-ahab-container.i
./$(MKIMG) -soc DXL -rev A0 -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin -ap u-boot.bin a35 0x80000000 -m4 CM4.bin 0 0x34FE0000 -data kernel.bin 0x80280000 -data initramfs.bin 0x83100000 -data board.dtb 0x83000000 $(V2X_DUMMY_DDR) -out flash.bin
flash_scfw_test flash_a0_scfw_test: $(MKIMG) mx8dxla0-ahab-container.img scfw_tcm.bin scfw_tests.bin
SPL_CMD="$(shell cat u-boot-spl.bin_cmd)"; \
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin --data scfw_tests.bin 0x100000 $$SPL_CMD $(V2X_DUMMY_OCRAM) -out flash.bin
./$(MKIMG) -soc DXL -rev A0 -dcd skip -append mx8dxla0-ahab-container.img -c -scfw scfw_tcm.bin --data scfw_tests.bin 0x100000 $(V2X_DUMMY_OCRAM) -out flash.bin
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment