Hi,
After modifying the GHRD, Compile Quartus Project
- Check QSys system
- Generate SOPCinfo file
- generates Handoff folder
Steps
- Open SoC EDS Command shell. $ bsp-editor&
- From BSP Editor : File > New BSP File > [Generated HPS Folder: hps_isw_handoff / demo_hps_0]
- Choose BOOT_FROM_SDMMC and enable the FAT_SUPPORT because BootLoader(aka U-Boot) has particular filename on the FAT partition of the SD card.
- Click “Generate” to generate Pre-Loader source files
- At this stage, BSP Editor generated a “Makefile” script as well as “software > generated” folder that has the specific customization for a particular board.
- In order to make the Pre-Loader, change your directory to “<project>/software/spl_bsp” and type $ make in the SoC EDS command shell.
- After Pre-Loader is generated, type “$ make uboot” in the SoC EDS command shell to generate the U-Boot files.
We have to update preloader and u-boot i.e Partition 1 & Partition 2 of sd card
- Insert the SD card into your PC’s SD card slot.
- Update Pre-Loader with new version(the generated files) using below command-p (point to .bin file..) , -a (action), -d (drive), $ alt-boot-disk-util.exe –p preloader-mkpimage.bin –a write –d i
- copy U-Boot image into SD card using normal linux file copy command. $ cp uboot-socfpga/u-boot.img /cygdrive/i
- sync to safely pull out the SD card from PC’s SD slot. $ sync
Let me know if this has helped resolve the issue you are facing or if you need any further assistance.
Best Regards,
Anand Raj Shankar
(This message was posted on behalf of Intel Corporation)