SoC u-boot stuck in loop trying to load bad FPGA soc
Hi,
I have an Arria-10 SoC design with eMMC, running u-boot / Linux. I have an incorrect FPGA soc (clear-mode) saved in flash. u-boot is stuck in a loop attempting to load the FPGA image into fabric, unsuccessfully. u-boot never reaches a text prompt where I can interrupt to issue command to erase flash so I can re-load soc with a working image. How can I get past this?
I appear to only have a session with u-boot on serial port. Cannot telnet in while u-boot is stuck in FPGA image loader loop.
When booting SoC platform from eMMC flash device (boot-ROM --> u-boot --> linux) and incorrect FPGA image mistakenly written to eMMC the only repair option appears to be a complete flash image (sdimage) re-write. For eMMC flash device the only supported option is to change HW boot-select (BSEL) pins to cause boot-ROM to ignore flash 2nd-stage boot loader (u-boot). Then one can use Intel flash_programmer Python-script to re-write original sdimage to eMMC flash as a recovery option.
Short answer: don't mistakenly write wrong FPGA image onto MMC flash of Soc platform or you're *DEADBEEF*