Need help with FDT overlay

Simon Glass sjg at chromium.org
Sat Mar 21 16:02:13 CET 2026


Hi Matwey,

On Sat, 21 Mar 2026 at 06:55, Matwey V. Kornilov
<matwey.kornilov at gmail.com> wrote:
>
> Hello,
>
> I am running U-boot 2026.01 with orangepi_zero2w config and I am
> trying to apply my hand-written dtbo via fdt apply.
> The issue is that the fdi apply command just hangs forever for me. The
> issue only appears when I try to append a new node to the root. How
> could I find what is going wrong here?
>
> The overlay source is the following:
>
> /dts-v1/;
> /plugin/;
>
> #include <dt-bindings/i2c/i2c.h>
> #include <dt-bindings/gpio/gpio.h>
>
>
> &i2c0 {
>     status = "okay";
> };
>
> &i2c1 {
>     status = "okay";
> };
>
> &{/} {
>     i2c_gpio: i2c-gpio {
>         compatible = "i2c-gpio";
>         sda-gpios = <&pio 8 0 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // PI0  (29)
>         scl-gpios = <&pio 8 15 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>; // PI15 (31)
>         i2c-gpio,delay-us = <2>;        /* ~100 kHz */
>         #address-cells = <1>;
>         #size-cells = <0>;
>         status = "okay";
>     };
> };
>

Can you provide thte dtc command you are using to build this? Is there
enough spare space in the dtb? I'm not sure what would cause it to
hang.

Regards,
Simon


More information about the U-Boot mailing list