-
Notifications
You must be signed in to change notification settings - Fork 1
AD FMCDAQ2 Platform Build uboot
nnaufel edited this page Apr 28, 2020
·
6 revisions
As a prerequisite the hdl must be built and referenced when creating a custom version of uboot.
-
Open an embedded command shell
$ ./intelFPGA/18.0/embedded/embedded_command_shell.sh
-
Launch bsp-editor
$ bsp-editor
-
Create a new BSP
File --> New HPS BSP
-
Reference the Preloader settings directory
If compiling the HDL on Windows, copy <install path>/hdl/projects/daq2/iwg24d/hps_isw_handoff folder to the VM. Caution : Do not link from the VM to the Windows file system. Navigate to the hdl project hps_isw_handoff sub directory. Select "Open", then select "OK".
-
Specify the rbf file
uboot will read the FPGA image Raw Binary File (RBF) from the FAT partition of the SD card. Enter the filename exactly as shown in the image below - socfpga.rbf. Select "Generate" to create the uboot project. Select "Exit" to close bsp-editor.
-
Build uboot
$ cd <folder where bsp-editor invoked from>/software/uboot_bsp/ $ make
-
uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory
-
Download the Intel SoC FPGA Embedded Development Suite
-
Follow the download and install instructions
-
Open an embedded command shell
$ ./intelFPGA/18.0/embedded/embedded_command_shell.sh
-
Launch bsp-editor
$ bsp-editor
-
Create a new BSP
File --> New HPS BSP
-
Reference the Preloader settings directory
Navigate to the hdl project hps_isw_handoff sub directory. Select "Open", then select "OK".
-
Specify the rbf file
uboot will read the FPFA image Raw Binary File (RBF) from the FAT partition of the SD card. Enter the filename exactly as shown in the image below - socfpga.rbf. Select "Generate" to create the uboot project. Select "Exit" to close bsp-editor.
-
Build uboot
$ cd <hdl repository>/hdl/project/daq2/iwg24d/software/uboot_bsp $ make
-
uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory
Return to Build the Example Design
Return to AD-FMCDAQ2 Platform User Guide