[U-Boot] problems with building u-boot-fit-dtb.bin

Heiko Schocher hs at denx.de
Wed Oct 16 08:45:57 UTC 2019


Hello Tom,

Am 16.10.2019 um 06:56 schrieb Heiko Schocher:
> Hello Tom,
> 
> I planned to send my patches which convert the imx6 based aristainetos
> boards to support DM ... building U-Boot works fine on 2 different build
> machines at home, also on 2 build machines in munich @ denx ...
> 
> So I startet as usual a travi build and I get:
> 
> https://travis-ci.org/hsdenx/u-boot-test/jobs/596917922
> 
> 
> arm:  +   aristainetos2b
> +make[2]: *** No rule to make target 'u-boot-fit-dtb.bin', needed by 'u-boot-dtb.imx'.  Stop.
> +make[1]: *** [u-boot-dtb.imx] Error 2
> +make: *** [sub-make] Error 2
> 
> (for all aristainetos boards)
> 
> :-(
> 
> Unfortunately I cannot reproduce this on my machines...
> (builds with "-j 64" or "-j 1" working fine)
> 
> I think it is a timing/sync issue, but how to debug ?
> 
> Checked make versions:
> 
> make on one of my build machines:
> 
> pollux:~ hs $ make --version
> GNU Make 4.2.1
> Gebaut für x86_64-redhat-linux-gnu
> Copyright (C) 1988-2016 Free Software Foundation, Inc.
> Lizenz GPLv3+: GNU GPL Version 3 oder später <http://gnu.org/licenses/gpl.html>
> Dies ist freie Software: Sie können sie nach Belieben ändern und weiter verteilen.
> Soweit es die Gesetze erlauben gibt es KEINE GARANTIE.
> pollux:~ hs $ cd abb/mainlining/u-boot
> pollux:u-boot
> 
> make on travis:
> 
> Tool chain test:  OK, arch='aarch64', priority 5
> GNU Make 4.1
> Built for x86_64-pc-linux-gnu
> Copyright (C) 1988-2014 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law.
> 
> Ok, for faster "debugging travis" I removed all other jobs from the
> travis file and started build again:
> 
> https://travis-ci.org/hsdenx/u-boot-test/builds/597504777
> 
> The error for the aristainetos boards are gone .... ?!?!?
> (Ok, there are others, but not related to my changes)
> 
> I think it has to do with the config options:
> 
> CONFIG_OF_CONTROL=y
> CONFIG_DEFAULT_DEVICE_TREE="imx6dl-aristainetos2_4"
> CONFIG_OF_LIST="imx6dl-aristainetos2_4 imx6dl-aristainetos2_7"
> CONFIG_DTB_RESELECT=y
> CONFIG_MULTI_DTB_FIT=y
> 
> and I can only find mips boards, which has this settings. Difference
> for imx boards to mips Makefile is, imx has make target in 2 Makefiles:
> 
> Makefile
> arch/arm/mach-imx/Makefile
> 
> So the "u-boot-fit-dtb.bin" target is definitely there ...

Ok, I made a mistake in the travis.yml file, corrected it, and
started a new travis build now:

https://travis-ci.org/hsdenx/u-boot-test/builds/598489923

This job worked ...

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list