AnsweredAssumed Answered

Error building in mkimage_imx8

Question asked by Bong on May 10, 2018

Hi

 

I was building for my custom board project and believed I had done most of the duplicates of the 

EVK codes and edited the relevant Kconfig and makefiles.

One thing I has problem solving is the below build error which I think is most likely

from the IMXBOOT_TARGETS="flash_pci flash_pci_no_hdmi" from my machine file. 

 

Any replies is welcome.

 

The error message are as follows :

 

Log data follows:
| DEBUG: Executing shell function do_compile
| 8MQ boot binary build
| Copy ddr_firmware: lpddr4_pmu_train_1d_imem.bin from /home/et/imx8-pci-004/build-001/tmp/deploy/images/imx8mq-pci -> /home/et/imx8-pci-004/build-001/tmp/work/imx8mq_pci-poky-linux/imx-boot/0.2-r0/git/iMX8M
| Copy ddr_firmware: lpddr4_pmu_train_1d_dmem.bin from /home/et/imx8-pci-004/build-001/tmp/deploy/images/imx8mq-pci -> /home/et/imx8-pci-004/build-001/tmp/work/imx8mq_pci-poky-linux/imx-boot/0.2-r0/git/iMX8M
| Copy ddr_firmware: lpddr4_pmu_train_2d_imem.bin from /home/et/imx8-pci-004/build-001/tmp/deploy/images/imx8mq-pci -> /home/et/imx8-pci-004/build-001/tmp/work/imx8mq_pci-poky-linux/imx-boot/0.2-r0/git/iMX8M
| Copy ddr_firmware: lpddr4_pmu_train_2d_dmem.bin from /home/et/imx8-pci-004/build-001/tmp/deploy/images/imx8mq-pci -> /home/et/imx8-pci-004/build-001/tmp/work/imx8mq_pci-poky-linux/imx-boot/0.2-r0/git/iMX8M
| building iMX8M - flash_pci
| Compiling mkimage_imx8
| make[1]: *** No rule to make target `flash_pci'. Stop.
| make: *** [flash_pci] Error 2
| WARNING: exit code 2 from a shell command.
| ERROR: Function failed: do_compile (log file is located at /home/et/imx8-pci-004/build-001/tmp/work/imx8mq_pci-poky-linux/imx-boot/0.2-r0/temp/log.do_compile.9862)
ERROR: Task (/home/et/imx8-pci-004/sources/meta-fsl-bsp-release/imx/meta-bsp/recipes-bsp/imx-mkimage/imx-boot_0.2.bb:do_compile) failed with exit code '1'

 

 

regards, Edward

Outcomes