Building u boot5/7/2023 These instruction will show how to build this environment for our dev kit, which boots off of SD card. This environment will be stored on the SD card and it used to tell u-Boot where to load the kernel/fpga image/device tree/root filesystem from. With u-Boot built, now the environment needs to be created. Git archive -format=tar.gz -prefix=uboot-socfpga/ -remote=git:///home/git/u-boot-socfpga.git socfpga_v2013.01.01 > Ĭreating the u-Boot environment for the MitySOM-5CSX Dev Kit ¶ Download a tarball of the u-boot archive from our server.Sed -i -R 755 $(PRELOADER_SRC_DIR)' Makefile If you are using windows run the following to fix a permissions issue with the generated code. ![]() ![]() This command is expecting the SOC EDS to be installed to C:/altera/14.1Ĭp /cygdrive/c/altera/14.1/embedded/host_tools/altera/preloader/uboot-socfpga.patch/cygwin/*. If you are compiling under windows in cygwin, run the following command to pick up needed compatibility patches for minggw during the build process.Sed 's/altera\/socfpga/cl\/mitysom-5csx/' Makefile.new > Makefile Sed 's/socfpga_\$(DEVICE_FAMILY)/mitysom-5csx/' Makefile > Makefile.new Modify 2 lines in the Makefile to use the mitysom-5csx board configuration instead of the stock Altera DevKit configuration using the 2 commands below:.Change your working directory to the software/spl_bsp folder which is located in the project directory for your specific SoM (see "Project Locations" above).Make any additional settings needed, and hit generate.If you are building a preloader for a 5CSX module with ECC then in the bsp-editor, Click Advanced and Check the checkbox for SDRAM_SCRUBBING.This will tell the bsp-editor to use a local copy of the tarball that we will download in subsequent steps. In the bsp-editor, change the name of the PRELOADER_TGZ file for uboot to just "" (remove the paths).Launch an altera embedded command shell.This generates the necessary HPS software handoff files. The auto-generated files are not included in the git repository, so you won't be able to build a preloader or a u-Boot image unless you follow the steps: home/user/projects/mitysom_5cse_dev_board/dev_5cse_h4_3yaīuilding a "stock" Preloader and u-Boot for the MitySOM-5CSX module ¶īecause of the sensitivity of the Preloader to the HPS peripheral pin multiplexing and boot options, you need to follow the basic flow for generating the auto-generated files used by both the preloader and the u-Boot application prior to being able to build a working copy of either application. home/user/projects/mitysom_5cse_dev_board/dev_5cse_l2_3y8 ![]() home/user/projects/mitysom_5csx_dev_board/dev_5csx_h6_53b home/user/projects/mitysom_5csx_dev_board/dev_5csx_h5_4ya home/user/projects/mitysom_5csx_dev_board/dev_5csx_h6_4ya home/user/projects/mitysom_5csx_dev_board/dev_5csx_h6_42a These instructions are valid for Quartus 14.1 tools and SOC EDS.
0 Comments
Leave a Reply. |