> -----Original Message----- > From: Chris Spencer [mailto:spence...@gmail.com] > Sent: 2019年3月1日 16:34 > To: Peng Fan <peng....@nxp.com> > Cc: Fabio Estevam <feste...@gmail.com>; Stefano Babic <sba...@denx.de>; > Baruch Siach <bar...@tkos.co.il>; U-Boot-Denx <u-boot@lists.denx.de> > Subject: Re: i.MX8MQ: u-boot-spl-ddr.bin not found > > On Fri, 1 Mar 2019 at 01:49, Peng Fan <peng....@nxp.com> wrote: > > > Hi Peng, > > > > > > On Thu, Feb 28, 2019 at 10:17 PM Peng Fan <peng....@nxp.com> wrote: > > > > > > > > Did you execute `make flash.bin`? > > > > > > Yes, I did, but flash.bin is not generated for me in mainline U-Boot > > > tree, only in u-boot-imx tree. > > > > That's weird, I did not meet issues. My command as following: > > > > . > > /opt/fsl-imx-internal-xwayland/4.14-sumo/environment-setup-aarch64-pok > > y-linux > > make CC="$CC" imx8mq_evk_defconfig > > make CC="$CC" flash.bin > > > > Regards, > > Peng. > > Works for me on the current U-Boot master as well. What happens when you > run the make script for u-boot-spl-ddr.bin manually? > make -f ./scripts/Makefile.build srctree=. obj=arch/arm/mach-imx > spl/u-boot-spl-ddr.bin
For a clean build without make flash.bin # # configuration written to .config # make: *** No rule to make target 'spl/u-boot-spl-ddr.bin'. Stop. For a already success build with make flash.bin: # # configuration written to .config # mkdir -p spl/ ./tools/imx8m_image.sh spl/u-boot-spl.cfgout 1 Regards, Peng. > > Or try running the tool directly: > srctree=. ./tools/imx8m_image.sh spl/u-boot-spl.cfgout 1 > > Chris _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot