Hi,
Is there any specific reason for which you require GMAC to be setup in loopback under uboot? Are you trying to confirm a custom configuration? If you can help us elaborate more on your application, we could provide a better answer. We do apologize.
Are you using any NXP reference board?
Please, let us know.