Skip to content

ADRV9002 Platform Build uboot

nnaufel edited this page Mar 22, 2021 · 9 revisions

Table of Contents

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

  1. Open a shell (Ctrl+Alt+T)

  2. Setup up the environment for the Bootloader build.

     $ ~/intelFPGA_lite/18.1/embedded/embedded_command_shell.sh   
    
  3. Launch bsp-editor

     $ bsp-editor 
    
  4. Create a new BSP

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

     Navigate to the /home/soceds/adrv9002/hdl/projects/adrv9002_fmc/tei0022/hps_isw_handoff/system_bd_sys_hps sub directory.   
    
     Select "Open", then select "OK".
    
  1. Generate the Preloader

     Select "Generate" to create the Preloader project. Select "Exit" to close bsp-editor.
    
  2. Build Preloader

     $ cd /home/soceds/adrv9002/hdl/project/adrv9002_fmc/tei0022/software/spl_bsp
     $ make  
    
  3. preloader-mkpimage.bin is located in the spl_bsp directory

  4. Build uboot

     $ make uboot
    
  5. u-boot.img is located in the spl_bsp/uboot-socfpga directory



Next - Update the SD Card

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

Clone this wiki locally