Forum Discussion

shivajim's avatar
shivajim
Icon for New Contributor rankNew Contributor
1 year ago

Agilex7i gsrd recompile - SPL: failed to boot from all boot devices

Hello,
I using DK-DEV-AGI027RBES devkit. GSRD provided images at Rocketboard kit boots-up with yocto. I have re-generated sof file for gsrd using quartus prime prom 24.1 (NIOS-V core excluded) and re-compile yocto to generate images.

The sof merged with uboot-spl-dtb - test_hps_auto.sof. i'm loading sof now, and i see u-boot break bootup process, looks it's unable to locate qspi.

Can anyone comment on this?

Thanks,

Shivaji M

4 Replies

    • shivajim's avatar
      shivajim
      Icon for New Contributor rankNew Contributor

      Hi,

      NIOS-V requires a license, which i haven't received yet . I saw in the netlist that HPS not dependent on it, so I removed it, please correct me if my i'm wrong and help me more why need NIOS-V in the GSRD.

      I configuring the SPI clock frequency to 25MHz with a delay of 10 seconds in drivers/mtd/spi/spi-nor-tiny.c. I'm not sure how to confirm that this change has been applied to loaded image. Please provide a step to verify if any.

      From what I understand qspi u-boot partion data pulls by SDM and stored in ARM's local RAM in AGIB027, which helps ARM to bootup further images partioned in the qspi.

      Currently i'm trying below -

      1. flash gsrd *.jic to qspi and check its boots up with linux image.

      2. Generate an *_auto.sof file merged with u-boot-spl-dtb.hex - (recompiled the file using the procedure given in gsrd)

      3. Use quartus programming tool to program *_auto.sof and see if ARM u-boot loads linux from aspi.

      Please correct my procedure/my understanding.

      Also, how do I load u-boot-spl-dtb.hex directly into HPS. Can this be achieved through system console tools?

      Thanks,

      Shivaji M

      • shivajim's avatar
        shivajim
        Icon for New Contributor rankNew Contributor

        Hi,

        Any comments on this?

        Thanks,

        Shivaji M