
Hello Simon,
- dts/dt.dtb
This is a temporary file, probably deleted during the build.
No. It is a temporary file, but it must not be deleted during the build. Otherwise, dts/dt.dtb will be re-generated at every build even when it shouldn't.
I'm not even sure if it is created when you are building multiple files. Perhaps it use just used for CONFIG_OF_EMBED?
My patch is using dts/dt.dtb for both CONFIG_OF_EMBED and CONFIG_OF_SEPARTE.
If you don't want to generate dts/dt.dtb at all, most of lines in dts/Makefile must be moved to the top Makefile, which leads we get the top Makefile fatter and dirtier.
- ./u-boot.dtb
But, if you really need a DTB at the top directory, I can revive u-boot.dtb at version 3.
For now I think there is a 'default' .dtb for each board config. After all U-Boot does not have a way to select between several of them at runtime. So it makes sense for this one to be made available as it currently is I think. Perhaps it could be a symlink to the real one?
Creating a symbolic link during the build is generally troublesome and a bad idea, I think.
Best Regards Masahiro Yamada