Hello
I using Yocto to build custom image for AM6442-SK board. I want to add custom device tree for my board and I have question how U-Boot detect right device tree? For example
I have AM6442-SK board and TMDS64GPEVM board. How U-Boot determine to load k3-am642-sk.dtb or k3-am642-evm.dtb?
I found in U-Boot environment variable:
findfdt=if test $board_name = am64x_gpevm; then setenv fdtfile k3-am642-evm.dtb; fi; if test $board_name = am64x_skevm; then setenv fdtfile k3-am642-sk.dtb; fi;if test $fdtfile = undefined; then echo WARNING: Could not determine device tree to use; fi;
but why there are only two device trees? What about the other boards?
Where board_name variable is set?
BR
Jakub