linux-fpga.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux hang
@ 2017-12-06 17:02 Siegmund, Jan
  2017-12-07 11:00 ` WG: " Siegmund, Jan
  2017-12-08 13:52 ` Anatolij Gustschin
  0 siblings, 2 replies; 8+ messages in thread
From: Siegmund, Jan @ 2017-12-06 17:02 UTC (permalink / raw)
  To: linux-fpga@vger.kernel.org


Hi all,
does anybody have an idea for the following problem.

* FPGA is programmed using an overlay
* FPGA writes to SDRAM via the FPGA2SDRAM-bridge
* Linux hangs and the watchdog resets the board (the FPGA stays programmed)
* After the reset and boot the FPGA is reprogrammed using the same overlay
* Now, the FPGA can write to the SDRAM without a problem

The environment:

*Board:   DE0-NANO-SoC
*U-Boot: 2017.11
*Kernel:  4.14.0-rc7 (review-v4.14-rc7-non-dt-support-v5.1 branch)

The overlay:

/dts-v1/;
/plugin/;

/ {
	fragment@0 {
		target-path = "/soc/base_fpga_region";
		#address-cells = <1>;
		#size-cells = <1>;
		__overlay__ {
			#address-cells = <1>;
			#size-cells = <1>;
			fpga-bridges = <&fpga_bridge0 &fpga_bridge1>;
			firmware-name = "foo_base.rbf";

			fpga-bridge@ffc25080 {
				compatible = "altr,socfpga-fpga2sdram-bridge";
				reg = <0xffc25080 0x4>;
				bridge-enable = <1>;
			};

			foo@ff200000 {
				compatible= "altr,bar";
				interrupt-parent = <&intc>;
				interrupts = <0 40 4>;
			};

		};
	};
};

Thanks

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2017-12-11 16:23 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-06 17:02 Linux hang Siegmund, Jan
2017-12-07 11:00 ` WG: " Siegmund, Jan
2017-12-07 14:01   ` AW: " Goldschmidt Simon
2017-12-07 19:58     ` [U-Boot] " Jan Siegmund
2017-12-07 19:19   ` Alan Tull
2017-12-07 20:14     ` Jan Siegmund
2017-12-08 13:52 ` Anatolij Gustschin
2017-12-11 16:23   ` Jan Siegmund

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).