- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Team,
I am writing to seek urgent assistance regarding an issue we are facing with the custom card which features the Agilex FPGA (Part No: AGFB012R24B2I3E).
Currently, we are encountering a critical problem during the initialization process as the MMC (MultiMediaCard) is failing with an error code -5. We have been following the GitHub source (rocketboards.org/foswiki/Documentation/BuildingBootloaderAgilex7) for generating the FSBL (First Stage Boot Loader) and U-boot image.
Fpga PartNo : AGFB012R24B2I3E [E&P Tile]
We would like to mention that we have integrated a level shifter between the HPS (Hard Processor System) and the SD Card to achieve voltage translation from 1.8V (HPS output) to 3V (SD Card input) as per the datasheet.
I have attached the boot log for your reference. We kindly request your assistance in resolving the MMC init failed issue.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayasurya,
Can you elaborate more regarding the custom card which you have mentioned? Would like to know what is the changes as compared to a default dev kit.
Just to confirm, are you currently booting up with SD card or QSPI flash?
May I know how you enable the changes in the Uboot device tree to consider the hardware changes?
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aikeu,
Thanks for the reply.
We have changed the level translator, ESD diode part number compared to the reference design.
I have done the changes in the device tree file(arch/arm/dts/socfpga_agilex_socdk-u-boot.dtsi). In my custom board DDR size has changed from 8GB to 4GB. I have attached the dts file for your reference.
I have loaded the .jic file in the QSPI, so that FSBL will load from QSPI and I am trying to boot from MMC(SD Card).
Best Regards,
Jayasurya R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Aikeu,
Sorry, my dtsi file didn't get added last time.
Thanks,
Jayasurya R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayasurya,
Can refer this document and the way the patches was done for the default GSRD uboot to consider emmc:
https://www.rocketboards.org/foswiki/Projects/AgilexSoCWithEMMCStorageOnHPS
I think for the device tree, you must consider the socfpga_agilex_socdk.dts for Uboot instead and those properties for that particular node.
I do not know exactly on how it should be set for your case usage depending on your hardware but you can try to refer the example above and check the outcome.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayasurya,
I will close this thread if no further question.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi aikeu,
Sorry for the late reply. I have tried the patch added uboot workspace. But still I am getting the same error. I have attached the log for your reference.
Thanks,
Jayasurya R.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayasurya,
You will need to make the changes to the node properties according to your specific hardware MMC. The patch was only for reference purpose on where to make the device tree changes. I think the main part is the status="okay" must be considered.
Thanks.
Regards,
Aik Eu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Jayasurya,
I am closing the thread for now. Do consider re-open a new thread if there is further question.
Thanks.
Regards,
Aik Eu

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page