AlanCLTanOccasional ContributorJoined 2 years ago14 Posts3 LikesLikes received1 SolutionView All Badges
ContributionsMost RecentMost LikesSolutionsRe: SD Card Boot Hi BrianSune_Froum There is a new 25.1std release for Cyclone V, please refer to GSRD User Guide for the Cyclone® V and Linux Boot Examples for Cyclone® V The latest U-boot branch is socfpga_v2025.07, tag is QPDS25.1STD_REL_GSRD_PR Best regards, Re: Cyclone V: how to boot Linux from QSPI? Hi dpeng The latest 25.1std release for Cyclone V is now available. Please visit https://altera-fpga.github.io/rel-25.1/embedded-designs/cyclone-v/sx/soc/boot-examples/ug-linux-boot-cve-soc/#2-cyclone-v-soc-boot-from-qspi for the way to boot from QSPI. Thanks, Alan Re: HPS SDRAM Calibration Failed Hi F_A_A, Do you have any successful boot-up before? Any chance for you to try to get the debug log working? SEQ.C: Calibration Failed SEQ.C: Error Stage : <Num> SEQ.C: Error Substage: <Num> SEQ.C: Error Group : <Num> Regards, Alan Re: 25.3 PRO Release Hi Arun, USB3.1 in Host mode is enabled by default in Agilex 5, including 25.1. The workaround in USB 3.1 Gen-1 Controller Tutorial Example Design User Guide is mainly to enable the Device mode (a change from the Host mode), using 25.1.1. May I know how you see the device being detected as USB2.0? Re: HPS SDRAM Calibration Failed Do you have any design which successfully booted on your device? Or is this your first try? First thing to do is to isolate the problem, is it possible to boot a basic design (like the GSRD in the links you have)? Re: Operating system kernel-level FPGA bridge communication Hi Arun, devmem2 is the most common and easiest way to access a FPGA bridge from Linux kernel, to do it another way, you could try adding a node similar to https://www.kernel.org/doc/Documentation/devicetree/bindings/fpga/altera-hps2fpga-bridge.txt into https://github.com/altera-fpga/linux-socfpga/blob/QPDS25.1_REL_GSRD_PR/arch/arm64/boot/dts/intel/socfpga_agilex5_socdk.dts, but with another values for register range, reset, and clock. You will also need a custom driver to access the node you created. Re: Operating system kernel-level FPGA bridge communication Can you try running "bridge enable" in the U-boot Shell? You may refer to https://altera-fpga.github.io/rel-25.3/embedded-designs/agilex-7/f-series/soc/boot-examples/ug-linux-boot-agx7-soc/#enabling-bridges-from-u-boot (the same method works for Agilex5) Re: SD Card Boot Hi, For Cyclone V, Quartus 24.1std is the latest release. Quartus Pro releases in yearly cadence. Hence, the next release, 25.1std, will happen at the end of 2025. Thanks, Alan Re: Gate Level Simulation Hi, Could you try an experiments to see if it solves the error: 1. Remove the generic entity declaration, including GPIO_WIDTH, from the component declaration? component UART_Top port ( -- your ports here ); end component; ---------------------------------- Remove the generic map from the instantiation? UUT: UART_Top port map( -- your port mappings ); ---------------------------------- Best regards, Alan Tan Re: Gate Level Simulation Hi, The comparison of your component declaration in the testbench and the component declaration of UART_Top, one port is found missing: UART_TXD : OUT STD_LOGIC; Even though the error message complains about GPIO_WIDTH, the actual issue is likely due to incomplete port matching between the component and the entity. Please check again. Best regards, Alan Tan