On 03/09/19, Peng Fan wrote: > > > flash_linux_m4 is not a valid build target in U-Boot. > > > > yes indeed but this is the build target in the imx-mkimage repo. Which I > > currently need to build the complete bootstream with ATF and scu. > > flash_linux_m4 is imx-mkimage target, not U-Boot target. > U-Boot already mkimage already has i.MX8QM support.
I would like to avoid the imx-mkimage and use the internal mkimage support of u-boot instead to create the complete bootstream. but if I use: $ make flash.bin I run into this issue: aarch64-linux-gnu-ld.bfd: invalid length for memory region .sram scripts/Makefile.spl:404: recipe for target 'spl/u-boot-spl' failed make[1]: *** [spl/u-boot-spl] Error 1 Makefile:1731: recipe for target 'spl/u-boot-spl' failed make: *** [spl/u-boot-spl] Error 2 Some clue howto handle this? Best Regards, Oliver _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot