Use u-boot for data loading via TFTP. If there is no problem during data loading under u-boot, load Linux image (kernel, root file system and .dtb file).
There are a lot test programs under Linux. For example, see the following:
https://elinux.org/images/d/df/Understanding_Embedded_Linux_Benchmarking_Using_Kernel_Trace_Analysis...
or
https://spindance.com/test-automation-embedded-part-1/
Look at also the following document:
https://www.embeddedartists.com/sites/default/files/support/com/Interface_Testing_on_iMX_Developers_...
Use this document as example for board testing.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------