How to set EP mode on PCIe in Honeycomb LX2?

I would also like to be able to set PCIe Endpoint mode for my Honeycomb LX2 and use the PCIe x8 slot to connect to a Root Complex on another device. Unfortunately, I am not sure of the steps that @rbasso took to get to this point.

Would it be possible provide a bit more details on the background setup so that I could replicate this result?

@jnettlet if there is a set of instructions you’d recommend as well, I’d be appreciative for any references.

Thanks.