[U-Boot] i.MX8MQ: u-boot-spl-ddr.bin not found

Peng Fan peng.fan at nxp.com
Fri Mar 1 09:53:30 UTC 2019



> -----Original Message-----
> From: Chris Spencer [mailto:spencercw at gmail.com]
> Sent: 2019年3月1日 16:34
> To: Peng Fan <peng.fan at nxp.com>
> Cc: Fabio Estevam <festevam at gmail.com>; Stefano Babic <sbabic at denx.de>;
> Baruch Siach <baruch at tkos.co.il>; U-Boot-Denx <u-boot at 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.fan at nxp.com> wrote:
> > > Hi Peng,
> > >
> > > On Thu, Feb 28, 2019 at 10:17 PM Peng Fan <peng.fan at 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


More information about the U-Boot mailing list