
(adding Hans)
On Mon, 2016-07-25 at 18:59 -0600, Simon Glass wrote:
Add an example usage of binman for a sunxi board. This involves adding the
image definition to the device tree and using it in the Makefile.
My concern with this approach is that the *.dts(i) files used for sunxi are sync'd unmodified from the upstream repo. I think this is a valuable property to retain in terms of maintenance burden for us (resync is trivial only if there are no local changes).
The conflict is then whether the device tree people would consider this new block to be "describing the hardware" or not and therefore whether these changes would be welcomed/allowed upstream. I'm not sure which way it would go TBH.
There is also an issue with duplication, since this stanza is going to be the same for all the dozens of sunxi platforms. I suppose this can be addressed by putting it in a suitable .dtsi file, but that does sort of start to suggest that this information belongs outside the per-board .dts in a per-platform file (at which point I would have have to ask if .dts is the best/most convenient syntax?).
Ian.