- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am working on the DE1-SoC Cyclone V board and attempting to set up the ARM/HPS booting process.
Quartus HPS Project in windows:
I am using Quartus prime lite 24.1 on a Windows machine. I have configured the ARM/HPS for our project and successfully generated the .sof file and handoff folder.
HPS Booting in LINUX using SD Card:
Thereafter, I am using Linux VirtualBox environment (Ubuntu 18.04) for building Linux Binaries and also for HPS booting process.
## Building Linux Binaries:
I followed the instructions in the documentation for Building Linux Binaries using the guide:
Building Bootloader for Cyclone V and Arria 10 and successfully generated Linux binaries.
Next step in the process is Cyclone V SoC - Boot from SD Card, as per the instructions in the following link: Boot from SD Card. Since we are working on a custom project generated using Quartus Prime 24.1 Lite, I skipped Part A and directly started from Part B.
## Build U-Boot:
Using cv_bsp_generator.py script and our handoff folder we have successfully generated the below files:
- iocsr_config.h
- pll_config.h
- pinmux_config.h
- sdram_config.h
later on, we have also successfully generated .sfp file (bootable binary file)
## Prepare FAT Partition:
From Linux Binaries:
- zImage (Compressed kernel image)
- socfpga_cyclone5_socdk.dtb (Linux device tree blob)
## Prepare Rootfs partition:
From Linux Binaries:
- core-image-minimal-cyclone5.tar.gz (Linux root filesystem)
- lib/modules (library modules)
## U-boot bootable binary file:
From u-boot-socfpga
- .sfp file
## Prepare SD Card Image (three partition):
- FAT partition
- Rootfs partition
- .sfp file
After successfully generating SD card image, for burning the SD card used following command:
*sudo dd if=sdcard_cv.img of=/dev/sdb bs=4M status=progress*
*sync*
However, after burning the image file to the SD card, we tried accessing the board using PuTTY, but we are not getting any script in the puTTy window. We have checked the USB serial port connection and other configurations, and everything appears to be fine, yet we are not receiving any response in PuTTY.
Request for Guidance:
- Are we following the right process for booting the system?
- Is there any step we might have missed or need to modify?
Please guide us on the correct approach to boot the DE1SoC HPS using SD card.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I see you have one open IPS case opened with your local FAE.
I have gone through the design which you have shared to FAE.
I don't see that you have enabled any UART port from the HPS IP.
Also, I suspect that you have not configured proper SD CARD pins like 4 data pin and DDR freq and other parameters.
For better understanding, I suggest you to go through the below GHRD
https://www.emb4fun.de/fpga/de1socghrd/index.html#download
Regards
Tiwari
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
let me know if you have any question on this.
Regards
Tiwari

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