Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
11 years ago

eMMC OS bring-up: Best method to write SoC HPS image to embedded MMC memory

Hello!

I'm sure this question was asked before, hence I'm sure someone can help me.

I would like to know how to write a existing SoC HPS image (containing the OS, preloader, U-Boot and applications) to an empty embedded SD/MMC memory (which is soldered/fixed and can't be removed).

Or in other words - I would like to know how to bring-up a Altera SoC HPS system with a soldered embedded SD/MMC memory.

All descriptions I've found are based on SD cards which can be simply disconnected from the Altera board and plugged into a PC to write the image (by using winimager or dd linux command).

Obviously, this solutions can not be used if no Linux is running on the SoC and if the SD/MMC memory can be unplugged.

Is there a method to do this with Quartus II and JTAG (USB blaster) or the EDS?

Or do I have to write a FPGA code to configure partitions on the SD memory manually (via the F2H bridge and the DMA) and to transfer all files and everything else manually?

Thank's for your help.

14 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi folks!

    I'm sitting here, having exactly the same problem.

    Murillo, did your method work properly? Does your device boot from the eMMC now?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi!

    "my method??" ...which one? well if you mean ..booting from FPGA. It works!! take a look at devboards.de

    But programming the emmc over jtag.... I dont know the way to do that!!

    Its Very important to say here "Were talking about emmc programming when the emmc its totally empty"

    bye
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Sorry for my imprecise question. But yes, I was talking about booting from FPGA. Thanks for the info, I'm about to try that, too.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    hi... there is no example that the quartus_hps working to flash the EMMC, still with conventional way. plug into the usb converted and do it like the SD card method