Build dtb.img [1/2]

Change-Id: I411f6d022124887fbc95bbaeb581fce2bd3997ec
A few fixes.

Change-Id: Ib6fbc93fe1d0e83cbedcdaee1fbb411b94da70fe