blob: 597691384f0730af835d8706f76554a6ca49ad62 [file] [log] [blame]
flash_cm4: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin
./$(MKIMG) -soc QM -rev B0 -dcd skip -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x34FE0000 -out flash.bin
flash_cm41: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_1_image.bin
./$(MKIMG) -soc QM -rev B0 -dcd skip -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_1_image.bin 1 0x38FE0000 -out flash.bin
flash_cm4s: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin m4_1_image.bin
./$(MKIMG) -soc QM -rev B0 -dcd skip -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x34FE0000 -m4 m4_1_image.bin 1 0x38FE0000 -out flash.bin
flash_cm4_ddr: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin
./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x88000000 -out flash.bin
flash_cm41_ddr: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_1_image.bin
./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_1_image.bin 1 0x88800000 -out flash.bin
flash_cm4s_ddr: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin m4_1_image.bin
./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -p1 -m4 m4_image.bin 0 0x88000000 -m4 m4_1_image.bin 1 0x88800000 -out flash.bin
flash_cm4_xip: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin $(QSPI_HEADER)
./$(MKIMG) -soc QM -rev B0 -dcd skip -dev flexspi -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -fileoff 0x80000 -p1 -m4 m4_image.bin 0 0x08081000 -out flash.bin
./$(QSPI_PACKER) $(QSPI_HEADER)
flash_cm41_xip: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_1_image.bin $(QSPI_HEADER)
./$(MKIMG) -soc QM -rev B0 -dcd skip -dev flexspi -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -fileoff 0x180000 -p1 -m4 m4_1_image.bin 1 0x08181000 -out flash.bin
./$(QSPI_PACKER) $(QSPI_HEADER)
flash_cm4s_xip: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin m4_image.bin m4_1_image.bin $(QSPI_HEADER)
./$(MKIMG) -soc QM -rev B0 -dcd skip -dev flexspi -append mx8qm-ahab-container.img -c -scfw scfw_tcm.bin -fileoff 0x80000 -p1 -m4 m4_image.bin 0 0x08081000 -fileoff 0x180000 -m4 m4_1_image.bin 1 0x08181000 -out flash.bin
./$(QSPI_PACKER) $(QSPI_HEADER)