Skip to content
Snippets Groups Projects
Commit ff771de7 authored by faqiang.zhu's avatar faqiang.zhu
Browse files

MA-15300-2 boot with A72 to save boot time in Android Automotive


change the parameter of "a53" to be "a72" when invoke mkimage_imx8

the rule for target "flash_b0_spl_container_m4_0_1_trusty" is a copy of
"flash_linux_m4", the target is renamed, and "a53" in the recipe is
modified to "a72".

leave the target for "mx8qm-ahab-container.img" to use "a53", spl won't
touch this parameter when load and execute the code in this file.

Change-Id: If302a8d6371193783890d6e198e56ba069737508
Signed-off-by: default avatarfaqiang.zhu <faqiang.zhu@nxp.com>
parent 1c2277b9
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ flash_b0_xen_uboot: u-boot-hash.bin
./$(MKIMG) -soc QM -rev B0 -c -ap u-boot-hash.bin a53 0x81080000 -out u-boot-xen-container.img \
flash_b0_spl_container_m4_1_trusty: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin u-boot-atf-container.img m4_1_image.bin tee.bin u-boot-spl.bin
./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -flags 0x01200000 -scfw scfw_tcm.bin -p4 -m4 m4_1_image.bin 1 0x88800000 -ap u-boot-spl.bin a53 0x00100000 -out flash.bin
./$(MKIMG) -soc QM -rev B0 -append mx8qm-ahab-container.img -c -flags 0x01200000 -scfw scfw_tcm.bin -p4 -m4 m4_1_image.bin 1 0x88800000 -ap u-boot-spl.bin a72 0x00100000 -out flash.bin
cp flash.bin boot-spl-container.img
@flashbin_size=`wc -c flash.bin | awk '{print $$1}'`; \
pad_cnt=$$(((flashbin_size + 0x400 - 1) / 0x400)); \
......@@ -24,3 +24,12 @@ flash_b0_spl_container_trusty: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin u-
pad_cnt=$$(((flashbin_size + 0x400 - 1) / 0x400)); \
echo "append u-boot-atf-container.img at $$pad_cnt KB"; \
dd if=u-boot-atf-container.img of=flash.bin bs=1K seek=$$pad_cnt; \
flash_b0_spl_container_m4_0_1_trusty: $(MKIMG) mx8qm-ahab-container.img scfw_tcm.bin u-boot-spl.bin m4_image.bin m4_1_image.bin u-boot-atf-container.img
./$(MKIMG) -soc QM -rev B0 -dcd skip -append mx8qm-ahab-container.img -c -flags 0x00200000 -scfw scfw_tcm.bin -ap u-boot-spl.bin a72 0x00100000 -p3 -m4 m4_image.bin 0 0x34FE0000 -p4 -m4 m4_1_image.bin 1 0x38FE0000 -out flash.bin
cp flash.bin boot-spl-container.img
@flashbin_size=`wc -c flash.bin | awk '{print $$1}'`; \
pad_cnt=$$(((flashbin_size + 0x400 - 1) / 0x400)); \
echo "append u-boot-atf-container.img at $$pad_cnt KB"; \
dd if=u-boot-atf-container.img of=flash.bin bs=1K seek=$$pad_cnt;
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