Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 22

Thread: hps boot from fpga

  1. #11
    Join Date
    Oct 2015
    Posts
    229
    Rep Power
    1

    Default Re: hps boot from fpga

    for me the boot for qspi or sd card is the more convenient configuration usage to me. as FGPa one is not keeping all resource in same location

  2. #12
    Join Date
    Dec 2008
    Posts
    104
    Rep Power
    1

    Default Re: hps boot from fpga

    Without trying to hijacking the thread, are there any examples on how to build u-boot (or any other bare metal application) and convert the binary into a mif file?

  3. #13
    Join Date
    May 2011
    Posts
    23
    Rep Power
    1

    Default Re: hps boot from fpga

    It is not possible to place uboot in the FPGA. It is to big. There is only 64kB available for software in the FPGA.
    It is only possible to put a preloader in the FPGA. A preloader is a tiny program that configures clocks, SDRAM, etc and the loads uboot from SD, QSPI, etc.

    There are two common preloader available: SPL and MPL. SPL is part of uboot distribution, but compiles as a separate binary.
    MPL is from Altera.

  4. #14
    Join Date
    Sep 2017
    Posts
    5
    Rep Power
    1

    Default Re: hps boot from fpga

    Hi,

    The non volatile memory to be used for holding the uboot has to be connected to FPGA fabric or HPS fabric ?
    Can anyone please specify.

    Thanks & Regards,
    Nanjunda M

  5. #15
    Join Date
    May 2011
    Posts
    23
    Rep Power
    1

    Default Re: hps boot from fpga

    It's up to you. I have a EMMC connected to det HPS and a SD-card connected to SD IP in FPGA. My preloader can boot from both.

  6. #16
    Join Date
    Sep 2017
    Posts
    5
    Rep Power
    1

    Default Re: hps boot from fpga

    I want to boot from FPGA. Preloader I'll embedd in my .sof and the same I'll store in the dedicated EPCQ.
    But what about the u-boot image ? Where should I store this image ?
    Can it be stored in a memory that is interfaced to FPGA ? or it has to be memory device connected to the HPS only ?

    Thanks,
    Nanjunda M

  7. #17
    Join Date
    May 2011
    Posts
    23
    Rep Power
    1

    Default Re: hps boot from fpga

    Sorry for my misleading answer. It does not matter if your preloader is loaded from external memory or is embedded in the FPGA, you can still load u-boot external from memory connected to HPS or FPGA. In my case, I can boot from both.

    It's easiest to use SPL as preloader. SPL is part of u-boot. You can also use MPL from Altera. Both works fine.

    Check out this page: https://rocketboards.org/foswiki/Doc...sLab1Preloader


    Good luck!
    Last edited by mrkozmic; September 9th, 2017 at 07:12 AM.

  8. #18
    Join Date
    Sep 2017
    Posts
    5
    Rep Power
    1

    Default Re: hps boot from fpga

    Can I use a parallel flash /serial flash for storing my u-boot image and interfaced to FPGA ?
    Is there any flash parts recommended for connection to FPGA fabric for using for HPS boot ?

    I would prefer using SPL than MPL.

    Thanks & Regards,
    Nanjunda M

  9. #19
    Join Date
    May 2011
    Posts
    23
    Rep Power
    1

    Default Re: hps boot from fpga

    You can use any flash, eeprom or other memory if you can read the data from it and write to RAM.

  10. #20
    Join Date
    Sep 2017
    Posts
    5
    Rep Power
    1

    Default Re: hps boot from fpga

    Hi

    Is there any working solutions with Parallel flash ?
    Any part numbers in particular/tested?

    Regards,
    Nanjunda

Similar Threads

  1. boot NIOS and FPGA from EPCS flash
    By DevEmbed in forum General Discussion Forum
    Replies: 23
    Last Post: September 22nd, 2015, 12:27 AM
  2. Boot HPS part from FPGA
    By serjjo in forum SoC Discussion
    Replies: 1
    Last Post: February 4th, 2015, 06:17 AM
  3. Boot HPS from FPGA doesn't work
    By serjjo in forum SoC Discussion
    Replies: 3
    Last Post: January 14th, 2015, 03:42 AM
  4. how to boot Cyclone V GX series FPGA
    By raghavendra.gupta in forum FPGA, Hardcopy, and CPLD Discussion
    Replies: 1
    Last Post: December 25th, 2013, 06:47 PM
  5. How and where is boot-loader copied into FPGA
    By Wamor in forum General Altera Discussion
    Replies: 1
    Last Post: November 16th, 2011, 11:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •