-
Notifications
You must be signed in to change notification settings - Fork 0
application program
$ ~/intelFPGA_lite/18.1/embedded/embedded_command_shell.sh
You may receive a warning that SoC EDS may not function correctly without a DS-5 install. This warning is ok and can be ignored.
-
navigate to the directory where the project will be stored
$ git clone https://github.com/CriticalLink/ArrowCMR.git
-
Acquire the correct ARM® compiler. This step needs to be done only once.
$ wget https://developer.arm.com/-/media/Files/downloads/gnu-rm/10-2020q4/gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2 $ mkdir ~/opt $ sudo tar -C ~/opt -xf gcc-arm-none-eabi-10-2020-q4-major-x86_64-linux.tar.bz2
$ cd ~/najiCMR/sw/
$ source environment_setup.sh
- Enter /home/soceds/opt/gcc-arm-none-eabi-10-2020-q4-major when asked for gcc toolchain path
$ make
This will build cmr.bin, which you can copy to the SD card to load onto the dev board.
Note: Opening a new shell is very important.
-
Open a new shell in the VM player (Ctrl+Alt+T)
-
Launch an Embedded Command Shell
$ ~/intelFPGA_lite/18.1/embedded/embedded_command_shell.sh
This will actually build 4 components that are required to boot.
Name | Description |
---|---|
output_files/dev_5cs.rbf | FPGA bitstream file |
software/preloader/preloader-mkpimage.bin | Preloader executable |
software/preloader/uboot-socfpga/u-boot.img | u-boot executable |
software/preloader/ubootenv.bin | u-boot environment |
As the preloader is responsible for configuring the FPGA IO pins, you will need to update this image if you change any IO assignments. You will only need to rebuild uboot if you are adding functionality to it. The same is true for the ubootenv target, the default setup will load cmr.bin from the FAT filesystem. If you change the executable name or want to change other boot settings, this target will update the binary uboot environment file, which you can reload onto the sd card.
Return to Build the Example Design
Return to Reconfigurable Industrial Robotics Platform User Guide