User Profile
KianHinT_altera
Joined 4 years ago
User Widgets
Contributions
Re: Repeated EDAC SEU UE Errors on Agilex 7 AGI027FB
Hi Rajas, Just to recap from direct message in case anyone encounter similar behavior, For the Agilex 7 I-series, it is the same or the issue with the same root cause as the F-series. The recommended voltage limits values you must set are universal for all Voltage Regulators (VR) when use as the SmartVID voltage regulators Specifically for Agilex 7 we recommed the following values VOUT_OV_WARN_LIMIT to VID_MAX 927mV VOUT_OV_FAULT_LIMIT to VID_MAX 930mV VOUT_MAX to VID_MAX 950mV VOUT_UV_WARN_LIMIT to VID_MIN 690mV VOUT_UV_FAULT_LIMIT to VID_MIN 680mV This is to cover all the range of values the SmartVID voltage can take ,so you see is the same values on the KDB with exception for the VOUT_MAX which is larger The recommendation is also in the guide 5.1.2.4. Fault Management and Error Reporting • Agilex® 7 Power Management User Guide • Altera Documentation and Resources Center Do you have any further questions on this case? Thanks Regards Kian4Views0likes0CommentsRe: SOPC Builder reports missing DB9000 Avalon components, but Quartus compilation does not
Dear Kannan, Thanks for the update and good to know Digital Blocks are working on this. If there are no further inquiries , I will step back and allow the community to assist with any future follow-up questions. Thank you for engaging with us! Best regards, Altera Technical Support19Views0likes0CommentsRe: Arria 10 SoC Dev Kit – Linux from SD Card Stops Booting After Erasing EPCQL1024
Hi Suresh, As there are no further inquiries, I will step back and allow the community to assist with any future follow-up questions. Thank you for engaging with us! Best regards, Altera Technical Support2Views0likes0CommentsRe: Repeated EDAC SEU UE Errors on Agilex 7 AGI027FB
Hi Rajas, Sorry for the delay in getting back, didnt notice Lok actually replied earlier, was waiting for the KDB to be release but unfortunately, it was delayed and needs to be reviewed again due to issues in the KDB document. I'm not able to share any unpublished documents in public. Meanwhile, I'm checking with the author of the KDB mentioned previously on for the settings recommendation for Agilex 7 I-series and maybe direct message you directly. Thanks Regards Kian22Views0likes1CommentRe: Repeated EDAC SEU UE Errors on Agilex 7 AGI027FB
Hi Rajas Patil Thanks for using our Altera forum. I did a quick check on your error code and seems this issue been reported on Agilex 7 F-series and there is a KDB on it. However as the KDB configuration is targetted on F-series, I will need to confirm with our engineering team for I series. https://community.altera.com/kb/knowledge-base/why-do-i-see-seu-errors-being-detected-consistently-on-my-agilex%C2%AE-7-fpga-f-serie/353509 I saw there is also an I-series KDB with similar explanation on the root cause and also uses LTPowerPlay to update the over voltage protection limit to resolve SMARTVID issue but this KDB is still pending on approval. Just take note that even though the KDB is being released, engineering is still accessing on the fix for this issue. Thanks Regards Kian71Views0likes0CommentsRe: Arria 10 SoC Dev Kit – Linux from SD Card Stops Booting After Erasing EPCQL1024
Hi Suresh, 1. Yes, the EPCQL1024 contains the GHRD .sof converted to a .jic An EPCQ device is used for FPGA configuration in Active Serial (AS) mode on power-up. Arria 10 SX SoC Development Kit User GuideTo program a .sof file into an EPCQ-L, you must convert it to a .jic file. AN 737: SEU Detection and Recovery in Arria 10 Devices So the factory flow is: GHRD .sof → Convert Programming Files → .jic → programmed into EPCQL1024. The .jic contains only the FPGA configuration bitstream. 2. What MSEL = 010 (AS-Active Serial x1 and x4, Fast) means Yes, your understanding is correct. The AS configuration scheme supports AS x1 (1-bit data width) and AS x4 (4-bit data width) modes. Arria® 10 Core Fabric and General Purpose I/Os Handbook With MSEL[2:0] = 010, on every power-on reset the FPGA reads the bitstream stored in the EPCQL1024 and configures itself automatically thus no JTAG needed for the FPGA fabric. The AS x4 mode provides four times faster configuration time than the AS x1 mode. Arria® 10 Core Fabric and General Purpose I/Os Handbook The EPCQL1024 / MSEL setting is concerned only with FPGA fabric configuration. It has nothing to do with HPS or SD card boot. 3. Where SD card boot comes which is from BSEL, not MSEL These are two completely independent mechanisms: MSEL[2:0] — controls how the FPGA fabric is configured (source = EPCQL1024 via Active Serial) BSEL[2:0] — controls which flash device the HPS boot ROM uses to load the second-stage boot loader (U-Boot) The boot select (BSEL) pins offer multiple methods to obtain the second-stage boot image. On a cold reset, the boot source is determined by a combination of secure boot fuses and BSEL pins. These fuse values and BSEL pin values are sent to the Security Manager module of the HPS when the cold reset occurs. When the HPS is released from reset, the boot ROM reads the bootinfo register of the System Manager to determine the source of the boot. Arria 10 SoC Boot User Guide From the jumper table in your screenshot (J3=BSEL0=0, J4=BSEL1=0, J5=BSEL2=1), your BSEL[2:0] = 0x4. Looking up that encoding: BSEL value 0x4 → Flash Device: 1.8 V SD/MMC flash memory with external transceiver. 4.3. Boot Select So the HPS boot ROM is directed to load U-Boot from the SD card's custom partition (type 0xA2). The boot images are stored in a primary partition with custom partition type (0xA2). The SD/MMC flash driver does not support a file system, so the boot images are located in partition A2 at fixed locations. Arria 10 SoC Boot User Guide Summary of the power-on sequence on your board: Power-on → FPGA reads bitstream from EPCQL1024 via Active Serial (MSEL=010) → FPGA enters user mode (GHRD running) Simultaneously, HPS boot ROM checks BSEL=0x4 → initializes SD/MMC controller → reads U-Boot from the SD card's 0xA2 partition → executes U-Boot → Linux boots These two paths are parallel and independent. The EPCQL1024 holds only the FPGA bitstream; the Linux kernel, device tree, and U-Boot reside entirely on the SD card. Thanks Regards Kian1View0likes0CommentsRe: Arria 10 SoC Dev Kit – Linux from SD Card Stops Booting After Erasing EPCQL1024
Hi Suresh, Thanks for the reply. 1. What tells the HPS to boot from the SD card? Neither the .sof file nor the EPCQL1024 flash tells the HPS where to boot from. On a cold reset, the HPS boot source is determined in hardware by the BSEL (Boot Select) DIP switch ( SW4 ) on the development kit (along with internal fuses). When the HPS is released from reset, its hardwired internal Boot ROM reads the BSEL pin values from the System Manager's bootinfo register. When BSEL is set for SD/MMC, the Boot ROM automatically knows to look at the SD card for the bootloader. 2. Where is the HPS boot software stored? The .sof loaded via JTAG (or .jic in EPCQL1024 ) only configures the FPGA side—it carries no HPS boot code. Everything the HPS needs to boot Linux lives on the SD card across three partitions: Partition A2 (Raw partition, no filesystem): Stores the second-stage bootloader—U-Boot SPL / U-Boot ( u-boot-splx4.sfp and u-boot.img in newer releases, or uboot_w_dtb-mkpimage.bin in older SoC EDS releases). FAT32 Partition: Holds the Linux kernel ( zImage or kernel.itb ), device tree blob ( .dtb ), and FPGA .rbf files ( fit_spl_fpga.itb / periph.rbf / core.rbf ) if U-Boot configures the fabric. EXT3/EXT4 Partition: Holds the Linux root filesystem ( rootfs ). 3. Why does the HPS need the FPGA configured ( .sof / .rbf ) to boot Linux? On Arria 10 SoC, the HPS DDR4 memory controller I/O and shared I/O pins are physically located inside the FPGA I/O banks. While the HPS Boot ROM and initial SPL can start running inside tiny On-Chip RAM (OCRAM), the HPS cannot release its shared I/Os or access DDR4 SDRAM until the FPGA I/O ring is configured. If your setup previously relied on the EPCQL1024 flash to configure the FPGA at power-up (and your SD card is not set up for SPL to load the .rbf automatically, or the MSEL switches are set for Active Serial instead of FPP), erasing the EPCQL1024 leaves the FPGA unconfigured on power-up. Without FPGA I/O configuration, DDR4 never initializes and the boot process halts before U-Boot/Linux can start. 4. Exact Boot Sequence When Using a .sof via JTAG + SD Card Load the .sof via JTAG: Configures the FPGA fabric and releases the HPS shared and DDR4 memory I/O banks into user mode. (Note: Loading a .sof over JTAG does not automatically restart the HPS if it already hung at power-up.) Trigger an HPS Reset (Warm/Cold Reset button on the board): Once the FPGA is configured, resetting the HPS causes the HPS Boot ROM to read the BSEL pins and access the SD card. Boot ROM loads SPL: The Boot ROM loads the U-Boot SPL image from the SD card's A2 partition into On-Chip RAM and executes it. U-Boot runs: SPL initializes the UART and DDR4 SDRAM, then runs full U-Boot, which loads the Linux kernel and device tree from the SD card's FAT partition into DDR4. Linux boots: The kernel starts and mounts the root filesystem from the SD card's EXT partition. Next Steps: Since erasing the EPCQL1024 only affected the onboard QSPI/AS flash, your SD card contents are still intact. To boot right now, load your reference .sof over JTAG and then press the HPS Reset button so the HPS restarts its boot sequence from the SD card. To restore automatic power-up behavior, either flash the factory .jic back into the EPCQL1024 or use the GSRD SD Card Image (with default MSEL / BSEL switch settings) where U-Boot SPL configures the FPGA directly from the .rbf on the SD card. Regards, Kian4Views0likes3CommentsRe: SOPC Builder reports missing DB9000 Avalon components, but Quartus compilation does not
Hi Kannan555, Yes, that's what I meant. You can't change anything inside the SOPC Builder system. You can change the rest of the Quartus project, and compilation will keep using the existing .vqm and the generated system HDL. You can change this like : Your top-level HDL and any custom logic outside the SOPC system. What connects to the SOPC system's exported ports, so long as the ports themselves stay the same. Pin assignments, I/O standards, timing constraints (.sdc), and other Quartus settings. Nios II application code, provided the hardware stays the same. Build against the existing .sopcinfo and board support package (BSP). What you can't change without SOPC Builder: Anything inside the system: the Nios II processor, peripherals, the DB9000, memory map, interrupts, clocks, or the interconnect. The SOPC system's exported port list. The generated system HDL. Editing it by hand is technically possible, but it's risky and breaks the link to the SOPC design. Things to watch when you change the Quartus side: Rerun timing analysis after every compile. Quartus re-places and re-routes everything, including the DB9000 logic from the .vqm. The DB9000 still works the same way logically, but its timing can change. Check that the SDRAM and LCD clock domains still meet timing. Don't regenerate. Don't open the system in SOPC Builder and click Generate. Keep the project pointing at the existing generated files, and keep a backup. On-chip memory contents. If Nios II code or data lives in on-chip memory initialized from a .hex file, a software change needs that file updated in the .sof/.pof. You can either recompile or use Quartus's update-memory-initialization step. Your existing compile logs will show which applies. Thanks. Regards, Kian11Views0likes1CommentRe: NAND flash issue with dual-core ARM® Cortex®-A9
Hi Keshnav, As the answer to this thread have been provided and we did not hear back from you, I will step back and allow the community to assist with any future follow-up questions. Thank you for engaging with us! Best regards, Altera Technical Support10Views0likes0Comments