FPGA, SoC, And CPLD Boards And Kits
FPGA Evaluation and Development Kits
6338 Discussions

ALTERA DE1SoC HPS booting using SD card (PuTTY not responding)

santosh2uu2
Beginner
206 Views

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:

  1. Are we following the right process for booting the system?
  2. 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.

 

 

 

 

 

 

 

 

0 Kudos
2 Replies
Jeet14
Employee
128 Views

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


0 Kudos
Jeet14
Employee
65 Views

Hi,


let me know if you have any question on this.


Regards

Tiwari


0 Kudos
Reply