Load fpga rbf from device tree overlay example?

This git repository might help you:

This indeed is implementing the steps given in FPGA Configuration, A-26 Cyclone5 handbook.

I tried to run the generated code on the DE10-nano. But unfortunately, after the step 4. ctrl.nconfigpull bit is set to 1, to pull down the nCONFIG pin of FPGA to enter reset phase. The linux reset is happening and reboot is trigerred after a few seconds. I am sure steps 1-3 are completed and also steps12-13 are met. Here are the register values:


MSEL Pin Config… 0xa
FPGA State… User Phase
cfgwdth Register… 0x1
cdratio Register… 0x3
axicfgen Register… 0x0
Nconfig pull reg… 0x0
CONF DONE… 0x0
nSTATUS… 0x0
ctrl.nce… 0x0
Ctrl.en… 0x1
dclk.dclkcnt… 0x5000
dclkstat.dcntdone… 0x0


Do point to what else is missing here!