Fdtdump fails for some dtbs for CE 19

Hi,

i’m not sure, if this is the right forum category. I was playing with an Odroid N2+ and wanted to check the documentation adding an LED and power button (see Power Off and Wake Up using GPIO Key Button.
But my main problem is regarding fdtset/fdtput using the N2 dtb (g12b_s922x_odroid_n2.dtb). All commands (including fdtdump) fails with

FATAL ERROR: g12b_s922x_odroid_n2.dtb: header is not valid

After testing all other dtb i’ve found out, that all of these dtbs throws the same error:

g12a_s905x2_beelink_gt1_mini.dtb
g12a_s905x2_beelink_gt_mini_a.dtb
g12b_bananapi_m2s.dtb
g12b_s922x_beelink_gs_king_x.dtb
g12b_s922x_beelink_gt_king.dtb
g12b_s922x_odroid_n2.dtb
g12b_s922x_ugoos_am6b.dtb
g12b_s922x_ugoos_am6.dtb
gxl_p212_lepotato.dtb
sm1_s905x3_beelink_gt1mini2.dtb

Nevertheless, at least the N2 boots fine and i’ve not found a problem.
The image i’ve tested is the official one from GitHub (19.5-Matrix)

Exists there a solution/workaround or an explantion for this problem?

You need to use the tools on the CE device directly, they are Amlogic multiDTB format.

fdtdump still does not work on the box itself. But fdtget/fdtput works fine and that’s enough for my testing purposes.

Many thanks for the information.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.