Part Number: AM3358
Hi.
I have a custom am3358 board and boot linux from NAND.
I want to have 2 partitions in nand for device trees.
At boot time u-boot could select which partition to load device tree from, depending on some input.
I struggle to find a place where to change the device tree address before loading it.
It looks like the MTDPARTS_DEFAULT has a memory structure and uses it to determine where device tree is.
the fdt-control documentation references usage of CONFIG_OF_CONTROL to enable dynamic tree selection
and fdtcontroladdr variable for address.
But looking through source code and using printf() it looks like it is the destination address where device tree is flattened and not the source address where it is read from.
Does anyone have any suggestions on how to set up dynamic device tree address?
Kind regards,
Ugnius