[PATCH v3 1/2] dts: Add ability to build fallback DTBOs from arch/$(ARCH)/dts

Marek Vasut marex at denx.de
Tue Oct 8 16:29:39 CEST 2024


On 10/8/24 4:16 PM, Fabio Estevam wrote:
> Hi Marek,

Hi,

> On Mon, Oct 7, 2024 at 9:00 AM Marek Vasut <marex at denx.de> wrote:
>>
>> Currently the enablement of OF_UPSTREAM results on the build system
>> searching for DTs only in dts/upstream/ . There are platforms which
>> use U-Boot specific DTBOs applied on top of U-Boot control DT during
>> SPL stage, and source DTs for these are located in arch/$(ARCH)/dtb.
>>
>> Add dedicated 'dtbos' target which builds only .dtbos and not .dtbs and
>> in case CONFIG_OF_UPSTREAM_INCLUDE_LOCAL_FALLBACK_DTBOS is enabled, build
>> this target for arch/$(ARCH)/dtb to generate local U-Boot specific DTBOs.
>>
>> Adjust top level Makefile so binman would search for .dtb and .dtbo in
>> both OF_UPSTREAM specific paths and arch/$(ARCH)/dtb for the .dtbo case
>> in case CONFIG_OF_UPSTREAM_INCLUDE_LOCAL_FALLBACK_DTBOS is enabled.
>>
>> Reviewed-by: Sumit Garg <sumit.garg at linaro.org>
>> Signed-off-by: Marek Vasut <marex at denx.de>
> 
> This one no longer applies against the current u-boot/master.
> 
> Please rebase and resubmit.

Wait until "[PATCH v2] dts: Deduplicate dtbs target" lands, then this 
should apply too.


More information about the U-Boot mailing list