Forum Discussion
mabdrahi
Contributor
2 years agoHi Akash,
Can you post your result here?
Thank you,
Aliff
- akashgupta2 years ago
New Contributor
Hi,
As partial result, I can post the following points:
- BuildingBootloaderCycloneV precisely describes the latest method for bulding complete bootloader with linux filesystem for ALTERA SoC Developement kit. The design fetched and compiled using "make generate_from_tcl" is targetting ALTERA SoC Dev Kit Board. Set boot pins accordingly.
- For Arrow SoC Dev Kit, download the latest ghrd design from here and compile it using Quartus Prime 22.1 as described in BuildingBootloaderCycloneV . Just the design and compilation needs to be changed for this method to work on ARROW SoC Dev Kit. Rest all things remain same. Set boot pins accordingly as described for this particular board.
- For custom board, I am not yet successful as my design is having some mmc issue, resolution of which is in process. (It is not limited to the 4 bit/ 8 bit issue as you had posted on the thread earlier as after chaging this parameter to 4 bit, it still results in error.) I can assure that if the pin config and hard processing system (HPS) configuration is done properly in the Quartus Prime design, the method suggested in BuildingBootloaderCycloneV is apt for building the bootloader and filesystem. I am not yet sure how the rbf file will be pushed for custom board as I feel it should be from sopcinfo > dtc > dtb method, but the system also runs with cyclone5_socdk.dtb provided in u-boot-socfpga folder.
- Bonus point a) In BuildingBootloaderCycloneV , at "B. Build U-Boot" section, the first command (cd $TOP_FOLDER/cv_soc_devkit) is little bit incorrect. The correct version is "cd $TOP_FOLDER/cv_soc_devkit_ghrd".
- Bonus point b) While running "bitbake core-image-minimal", it may download upto 5 GBs of data and the folder may expand upto a size of 120 GB and resulting in a error after 1 hour or so, hence a failed process. Rerunning the command may fix the issue. To prevent downloading these again, we can copy the files from "ROOTFS_TOP/build/downloads" folder and paste them in the same location if we need to rerun the process for same or other project.