Due to a problem in Linux-socfpga Kernel version 4.17 for Intel® Stratix® 10 SoC from https://github.com/altera-opensource/linux-socfpga. The Linux Kernel may fail to boot if the HPS reference clock has been specified as the f2s_free_clk in the Hard Processor System Intel Stratix 10 FPGA IP in the Intel Quartus® Prime Pro Platform Designer.
A patch for the linux-socfpga 4.18 Kernel is available to resolve this issue. Download and apply the patch below to your socfpga-4.18 branch of your local git clone of https://github.com/altera-opensource/linux-socfpga, then re-build your Linux Kernel.
0001-fix-f2s_free_clk-setting_1.patch
This problem is scheduled to be fixed in a future release of the linux-socfpga Kernel.