Forum Discussion
Kernel restart issue while trying to read or write from the address space of hps2fpga and lwhps2fpga
Currently working on a Arria 10 FPGA and faced this issue while trying to access the gpio connected on the lwhps to fpga bridge but when i try to access the lwhps2fpgs address section(0xff200000) my kernel stucks and restarts.
below i have mentioned the bridge device tree
fpga-bridge@ff200000 {
compatible = “altr,socfpga-lwhps2fpga-bridge”;
reg = <0xff200000 0x00200000>;
resets = <0x06 0x61>;
clocks = <0x08>;
bridge-enable = <0x01>;
altr,l3-syscon = <0x99>;
phandle = <0x5b>;
init_val = <1>;
};
fpga-bridge@c0000000 {
compatible = “altr,socfpga-hps2fpga-bridge”;
reg = <0xc0000000 0x3c000000>;
resets = <0x06 0x60>;
clocks = <0x08>;
bridge-enable = <0x01>;
altr,l3-syscon = <0x99>;
phandle = <0x5c>;
init_val = <1>;
};
been following this guide from rocket board: https://www.rocketboards.org/foswiki/Documentation/BuildingBootloaderCycloneVAndArria10
and also can any one please share the correct device tree for fpga2hps and fpgs2sdram bridge device tree node
21 Replies
- ManthanWankar
New Contributor
also changed the memory reg value from reg = <0x0 0x40000000> to reg = <0x0 0x80000000> in the uboot dtsi
- ManthanWankar
New Contributor
tried (md 0xff200140), same results the uboot restarts
- aikeu
Regular Contributor
Hi ManthanWankar,
Your custom board has only memory size changes, I think can change only the memory size for that in the device tree. The rest remain the same as by default the GSRD has considered the bridge enable functionality.
Thanks.
Regards,
Aik Eu
- aikeu
Regular Contributor
Hi ManthanWankar,
Any follow up with the previous comment?
Thanks.
Regards,
Aik Eu
- aikeu
Regular Contributor
Hi ManthanWankar,
We do not receive any response from you to the previous question/reply/answer that I have provided. This thread will be transitioned to community support. If you have a new question, feel free to open a new thread to get the support from Intel experts. Otherwise, the community users will continue to help you on this thread. Thank you
Thanks.
Regards,
Aik Eu
- ManthanWankar
New Contributor
Hey,
got it working , upgraded to quartus 23.2 and downloaded the GSRD again, made changes on the lwhps2fpga bridge and had a reset which was mapped from top module to qsys which further was mapped to bridges. that reset was causing the restart issue, solved it .