-
Notifications
You must be signed in to change notification settings - Fork 1
ADRV9371 Platform Build uboot
skravats edited this page May 21, 2020
·
13 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/adrv9371x/mitysom_a10s_gen2 folder to the VM. Caution : Do not link from the VM to the Windows file system. Navigate to the 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 - adrv9371x_mitysom_a10s.rbf. Select "Generate" to create the uboot project. Select "Exit" to close bsp-editor.
-
Apply custom uboot patch
$ cd <copy location>/mitysom_a10s_gen2/software/uboot_bsp $ make patch-apply
-
Build uboot
$ 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
Copy <install path>/hdl/projects/adrv9371x/mitysom_a10s_gen2 folder from the Windows build machine to the Linux host 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 - adrv9371x_mitysom_a10s.rbf. Select "Generate" to create the uboot project. Select "Exit" to close bsp-editor.
-
Apply custom uboot patch
$ cd <copy location>/mitysom_a10s_gen2/software/uboot_bsp $ make patch-apply
-
Build uboot
$ make
-
uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory
Return to Build the Example Design
Return to ADRV9371 Platform User Guide