Forum Discussion

PeteHarbour's avatar
PeteHarbour
Icon for New Contributor rankNew Contributor
1 year ago
Solved

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 fa...
  • PeteHarbour's avatar
    PeteHarbour
    1 year ago

    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*