Kernel device tree gets modified with bootm command when CONFIG_OFDEVICE is enabled
Marcel Hamer
marcel at solidxs.nl
Tue Oct 3 02:36:49 PDT 2017
Hello,
When passing a custom device tree to the kernel using the 'bootm'
command I see the device tree gets 'fixed up' when the CONFIG_OFDEVICE
option is enabled. Probably this should not be the case when the dtb is
passed to the kernel?
This happens on line common/bootm.c:395:
oftree = of_get_fixed_tree(data->of_root_node);
Should this not be changed to:
oftree = of_flatten_db(data->of_root_node);
Kind regards,
Marcel
More information about the barebox
mailing list