
On Tue, Oct 8, 2019 at 7:50 PM Peng Fan peng.fan@nxp.com wrote:
<snip>
+Build U-Boot +============ +$ export CROSS_COMPILE=aarch64-poky-linux- $ make +imx8mm_evk_defconfig $ export ATF_LOAD_ADDR=0x920000 $ make
flash.bin
Build fails due to default_serial_console undefined. Did you need to enable DM_SERIAL?
Using imx/master I do not met build failure. I not enable DM_SERIAL.
After enabling DM_SERIAL build fails during image creation:
MKIMAGE u-boot.itb ./tools/imx8m_image.sh spl/u-boot-spl.cfgout 1 26061+0 records in 26061+0 records out 104244 bytes (104 kB, 102 KiB) copied, 0.0458568 s, 2.3 MB/s MKIMAGE flash.bin Not support no fit arch/arm/mach-imx/Makefile:151: recipe for target 'flash.bin' failed
If I hack using_fit=1 into tools/imx8mimage.c I can build flash.bin but it does not boot.
Am I missing some additional necessary patches to tools?
Please try imx/master.
Peng,
Yes, imx/master is working. I guess there is something different there that's still not in mainline. I'll wait for your next series and try again.
Thanks,
Tim