Skip to content

AD40xx Platform Build uboot

Steven Kravatsky edited this page Apr 22, 2020 · 15 revisions

Table of Contents

As a prerequisite the hdl must be built and referenced when creating a custom version of uboot.

  1. Build with provided Virtual Machine
  2. Build with user Linux Host

Build with provided Virtual Machine

  1. Open an embedded command shell

     $ ./intelFPGA/18.0/embedded/embedded_command_shell.sh  
    
  2. Launch bsp-editor

     $ bsp-editor 
    
  3. Create a new BSP

     File --> New HPS BSP  
    
  4. Reference the Preloader settings directory

     Navigate to the hdl project hps_isw_handoff sub directory. Select "Open", then select "OK".
    
  1. 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.
    
  1. Build uboot

     $ cd <hdl repository>/hdl/project/ad40xx_fmc/tei0022/software/uboot_bsp
     $ make  
    
  2. uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory

Build with user Linux Host

a - Setting up the tool chain

  1. Download the Intel SoC FPGA Embedded Development Suite

  2. Follow the download and install instructions

b - Building uboot

  1. Open an embedded command shell

     $ ./intelFPGA/18.0/embedded/embedded_command_shell.sh  
    
  2. Launch bsp-editor

     $ bsp-editor 
    
  3. Create a new BSP

     File --> New HPS BSP  
    
  4. Reference the Preloader settings directory

     Navigate to the hdl project hps_isw_handoff sub directory. Select "Open", then select "OK". 
    
  1. 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.
    
  1. Build uboot

     $ cd <hdl repository>/hdl/project/adrv9371x/mitysom_a10s/software/uboot_bsp
     $ make  
    
  2. uboot_w_dtb-mkpimage.bin is located in the uboot_bsp directory



Next - Update the SD Card

Return to Build the Example Design
Return to AD40xx Platform User Guide

Clone this wiki locally